This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
In message <19971126180959.30502@marka.cygnus.com> you write: > GDB snapshot 971126 is available on ftp.cygnus.com in /private/gdb. > GDBTK is not included in this snapshot. > > Here is a list of the files: > > -rw-rw-r-- 1 312 cygnus 501733 Nov 27 01:59 dejagnu-970817-971126.diff. > gz > -rw-rw-r-- 1 312 cygnus 2493929 Nov 27 01:59 dejagnu-971126.tar.gz > -rw-rw-r-- 1 312 cygnus 1470993 Nov 27 01:59 gdb-970817-971126.diff.gz > -rw-rw-r-- 1 312 cygnus 9102579 Nov 27 02:00 gdb-971126.tar.gz > > Here are the corresponding URLs: > > ftp://ftp.cygnus.com/private/gdb/dejagnu-970817-971126.diff.gz > ftp://ftp.cygnus.com/private/gdb/dejagnu-971126.tar.gz > ftp://ftp.cygnus.com/private/gdb/gdb-970817-971126.diff.gz > ftp://ftp.cygnus.com/private/gdb/gdb-971126.tar.gz This release seems to be completely broken under Irix 6. I compiled with CC='cc -n32' under Irix 6.2 and gdb cannot even selftest: % ./gdb gdb irix6/gdb GNU gdb 971126 Copyright 1997 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "mips-sgi-irix6"... cu_header: length=45061 abbrev_offset=52206, dwarf_abbrev_size=84256 Dwarf Error: bad length in compilation unit header. Setting up the environment for debugging gdb. .gdbinit:5: Error in sourced command file: No symbol table is loaded. Use the "file" command. (gdb) The extra msg was from a debug line I added: *** dwarf2read.c.~1~ Tue Dec 2 15:59:34 1997 --- dwarf2read.c Wed Dec 3 11:47:34 1997 *************** dwarf2_build_psymtabs_hard (objfile, sec *** 940,943 **** --- 940,944 ---- if (cu_header.length > dwarf_abbrev_size - cu_header.abbrev_offset) { + printf ("\ncu_header: length=%d abbrev_offset=%d, dwarf_abbrev_size=%d", cu_header.length, cu_header.abbrev_offset, dwarf_abbrev_size); error ("Dwarf Error: bad length in compilation unit header."); return; So what's the problem here? 84256-52206 = 32050 and 45061 > 32050! ------------------------------------------------------------------------------- Lee Iverson SRI International leei@ai.sri.com 333 Ravenswood Ave., Menlo Park CA 94025 http://www.ai.sri.com/~leei/ (650) 859-3307