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] |
I did get a chance to follow up somewhat on my earlier message about this new snapshot not doing so well in the testsuite. Many of the failures are of this form: $ ./gdb ./gdb GNU gdb 4.17.86 Copyright 1998 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 "i686-pc-sysv42mp"... Setting up the environment for debugging gdb. During symbol reading, DIE @ 0x6d97a8 "string", type modifier 'const' ignored. During symbol reading, DIE @ 0x6dfdc7 "_simplelock_t", type modifier 'volatile' ignored. Breakpoint 1 at 0x80cc224: file ../../gdb-4.17.86/gdb/utils.c, line 480. Breakpoint 2 at 0x80ca827: file ../../gdb-4.17.86/gdb/top.c, line 2608. (top-gdb) break main Breakpoint 3 at 0x80cec1c: file ../../gdb-4.17.86/gdb/main.c, line 96. (top-gdb) run Starting program: /home3/gdb/g/gdb/./gdb PIOCWSTOP, stopped for unknown/unhandled reason, flags 0x80 (top-gdb) info processes Information for /proc/14450/ctl.1085818217: Process status flags: PR_STOPPED PR_ISTOP PR_RLC Reason for stopping: PR_SYSEXIT execve PC: 0xbff9eec0 My reading of procfs.h shows that an LWP status flag of 0x80 is: #define PR_PCINVAL 0x0080 /* %pc refers to an invalid virtual address */ This is quite strange since we didn't actually hit the breakpoint. Even stranger is that the 'PC' value isn't a particularly sensible value for this target: (top-gdb) info file Symbols from "/home3/gdb/g/gdb/./gdb". Unix /proc child process: Using the running image of child process 14479 via /proc. While running this, GDB does not access memory from... Local exec file: `/home3/gdb/g/gdb/./gdb', file type elf32-i386. Entry point: 0x804a350 0x080480d4 - 0x080480e7 is .interp 0x080480e8 - 0x080485a4 is .hash 0x080485a4 - 0x08049044 is .dynsym 0x08049044 - 0x0804959c is .dynstr 0x0804959c - 0x080495b4 is .rel.bss 0x080495b4 - 0x08049a34 is .rel.plt 0x08049a34 - 0x08049a3f is .init 0x08049a40 - 0x0804a350 is .plt 0x0804a350 - 0x0811cc0e is .text 0x0811cc10 - 0x0811cc16 is .fini 0x0811cc20 - 0x08162c44 is .rodata 0x08162c44 - 0x08163b06 is .rodata1 0x08164b20 - 0x08173d34 is .data 0x08173d34 - 0x08173d38 is .eh_frame 0x08173d38 - 0x081745cd is .data1 0x081745d0 - 0x081745d8 is .ctors 0x081745d8 - 0x081745e0 is .dtors 0x081745e0 - 0x0817482c is .got 0x0817482c - 0x081748c4 is .dynamic 0x081748e0 - 0x0818afc4 is .bss