Re: [RFC] Add support for PPC Altivec registers in gcore

Ulrich Weigand
2008-05-09T19:08:09Z

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