This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Add support for PPC Altivec registers in gcore
- From: Carlos Eduardo Seo <cseo at linux dot vnet dot ibm dot com>
- To: Ulrich Weigand <Ulrich dot Weigand at de dot ibm dot com>
- Cc: GDB Patches Mailing List <gdb-patches at sourceware dot org>
- Date: Sun, 25 Nov 2007 02:51:12 -0200
- Subject: Re: [RFC] Add support for PPC Altivec registers in gcore
- Openpgp: id=8BFFA900
- References: <OF67129E0D.852FADB2-ON4125738B.0050E74D-4125738B.005102FF@de.ibm.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ulrich Weigand wrote:
>
> Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> wrote on 11/06/2007
> 02:42:43 PM:
>
> > I was taking a look at gdbarch.sh. Where's the "right" place to put
> > the register list?
>
> In "function_list". If you want to add a new data symbol, you'll
> need type "v". Best place is probably after regset_from_core_section.
Do you think it's better to initialize this new structure with the
registers names in gdbarch.c, or have it initialized in each
arch-tdep.c file with the supported registers for that arch?
- --
Carlos Eduardo Seo
Software Engineer
IBM Linux Technology Center
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHSP9Aqvq7Aov/qQARAqhbAJ9LhIlde4temthhdowinlysnO9TbQCeMcXk
ZqpCz9hMw8462qMvrhDY7bg=
=yy6H
-----END PGP SIGNATURE-----