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

Ulrich Weigand
2008-03-05T18:27:33Z

Carlos Eduardo Seo wrote:
> Ulrich Weigand wrote:
> >
> > You should either use some routine that formats the (host) pointer
> > properly (similar to gdb_print_host_address) or else maybe just
> > disable debug output for this field.
>
> How do I disable printing? I think you said previously that '0' would
> disable it, but that didn't work.

Well, '0' (should really be something like (char *)0) will not
*disable* debug output, strictly speaking, but the output will
simply always be <nil>, which should be fine ...

As I said above, the cleaner solution would be to define a routine
like "host_address_to_string" along the lines of core_addr_to_string
but using the method in gdb_print_host_address.

Bye,
Ulrich

--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com