This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: debugging custom array types
- From: Tom Tromey <tromey at redhat dot com>
- To: Michael Haupt <m at haupz dot de>
- Cc: "gdb\ at sourceware dot org" <gdb at sourceware dot org>
- Date: Tue, 12 Feb 2013 12:28:25 -0700
- Subject: Re: debugging custom array types
- References: <AF075507-9C9E-4D7A-A747-589E0074057E@haupz.de>
>>>>> "Michael" == Michael Haupt <m@haupz.de> writes:
Michael> 1. I would like to generate DWARF info that allows gdb to
Michael> display array contents.
If you are emitting DW_LANG_Java, then you are going to have to modify
gdb. gdb currently "knows" that Java means gcj -- and it knows this in
a particularly awful way.
Search gdb/jv-*.c for "array". I think there aren't *that* many places
to modify.
Tom