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: Tom Tromey <tromey at redhat dot com>
- To: uweigand at de dot ibm dot com
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 01 Sep 2008 01:16:35 -0600
- Subject: Re: [rfc][15/37] Eliminate builtin_type_ macros: Dereferencing of integer types
- References: <20080831175045.128504000@de.ibm.com> <20080831175126.215914000@de.ibm.com>
- Reply-to: tromey at redhat dot com
>>>>> "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.
Tom