This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: debugging custom array types


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]