This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: obvious set_cu_language patch


Daniel Berlin <dan@cgsoftware.com> writes:

> dwarf2.h in gcc defines DW_LANG_Java as 0x000b.
> binutils/gdb's include/elf/dwarf2.h defines DW_LANG_Java as 0x9af4

> Which is correct?

I was going to say that I didn't know.  But then I found:
        http://reality.sgi.com/dehnert_engr/dwarf/d2-summary.html
Draft 6, page 139, lists:
        DW_LANG_Java 0x000b

I'll fix include/elf/dwarf2.h.  I'm sure Stu Groassman just picked a
random number unlikely to conflict with some other assignment.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/


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