This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc][15/37] Eliminate builtin_type_ macros: Dereferencing of integer types
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: tromey at redhat dot com
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 3 Sep 2008 01:32:20 +0200 (CEST)
- Subject: Re: [rfc][15/37] Eliminate builtin_type_ macros: Dereferencing of integer types
Tom Tromey wrote:
> >>>>> "Ulrich" == Ulrich Weigand <uweigand@de.ibm.com> writes:
>
> Ulrich> GDB allows to dereference an integer type, treating it as if
> Ulrich> it were an "int *".
>
> Ulrich> It might make sense to check for which languages this extension
> Ulrich> is actually useful, and remove it from the rest.
>
> Ulrich> * jv-lang.c (evaluate_subexp_java): Likewise.
>
> FWIW -- I couldn't come up with a situation where this extension makes
> sense for Java. I'm certain I have never used it while debugging Java
> code.
Fine with me -- I'll leave the jv-lang.c part out then.
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com