|
|
Choosing A Webhost: |
Re: [PATCH] Cross target core debugging: host=i386, Target=PPC: msg#00589gdb.patches
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kevin Buettner wrote: | On Jul 30, 11:32am, Daniel Jacobowitz wrote: | | |>+#define ELF_NGREG 48 /* includes nip, msr, lr, etc. */ |>+#define ELF_NFPREG 33 /* includes fpscr */ |>+#define ELF_NVRREG 33 /* includes vscr */ | | | I noticed that the above are never actually referenced anywhere. Can | we dispense with these defines? Or are there some hard coded | constants lurking somewhere that should actually be defined in terms | of one or more of the above? They are: + +#define ELF_NGREG 48 /* includes nip, msr, lr, etc. */ +#define ELF_NFPREG 33 /* includes fpscr */ +#define ELF_NVRREG 33 /* includes vscr */ + +typedef unsigned long elf_greg_t; +typedef elf_greg_t elf_gregset_t[ELF_NGREG]; + +typedef double elf_fpreg_t; +typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG]; + Only NVRREG is not referenced. It was copied as-is from ppc asm/elf.h. I don't think there's any other reference other than those above. - -- ============== Martin Gadbois S/W Developper Colubris Networks Inc. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAj1G0LgACgkQ9Y3/iTTCEDlbCQCgskGKCiatmSGznovEtnwtXuAw wFMAoKzMzxtapAWssmcpgFj0mcngrWKJ =2tZ0 -----END PGP SIGNATURE-----
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [PATCH] Cross target core debugging: host=i386, Target=PPC, Kevin Buettner |
|---|---|
| Next by Date: | Re: [PATCH] Cross target core debugging: host=i386, Target=PPC, Daniel Jacobowitz |
| Previous by Thread: | Re: [PATCH] Cross target core debugging: host=i386, Target=PPC, Kevin Buettner |
| Next by Thread: | Re: [PATCH] Cross target core debugging: host=i386, Target=PPC, Kevin Buettner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |