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: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: cseo at linux dot vnet dot ibm dot com (Carlos Eduardo Seo)
- Cc: gdb-patches at sourceware dot org (GDB Patches Mailing List)
- Date: Fri, 9 May 2008 21:07:28 +0200 (CEST)
- Subject: Re: [RFC] Add support for PPC Altivec registers in gcore
Carlos Eduardo Seo:
> The patch is almost ready; only the debug printf issue remains. My only
> question now is where is the best place to declare the
> 'host_address_to_string' conversion function? I thought about utils.c,
> but I don't think gdbarch.c will find it there.
I would suggest to place the definition in utils.c (next to
gdb_print_host_address), and a prototype in defs.h (next to
the prototype for gdb_print_host_address). As gdbarch.c
does include defs.h, it will find it here ...
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com