debugging custom array types

Tom Tromey tromey@redhat.com
Tue Feb 12 19:28:00 GMT 2013


>>>>> "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



More information about the Gdb mailing list