This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]