This is the mail archive of the
mailing list for the GDB project.
Today's gdb failed
- To: Gdb List <gdb at sources dot redhat dot com>
- Subject: Today's gdb failed
- From: Tom Tromey <tromey at redhat dot com>
- Date: 06 Nov 2001 17:20:21 -0700
- Reply-To: tromey at redhat dot com
I'm using today's trunk cvs gdb on my x86 Red Hat Linux 6.2 system.
I get a failure in a trivial debug session.
The session is appended.
creche. gdb -nw ./gdb
GNU gdb 2001-11-06-cvs
Copyright 2001 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-linux-gnu"...
Setting up the environment for debugging gdb.
Breakpoint 1 at 0x80e1a6b: file ../../src/gdb/utils.c, line 753.
Breakpoint 2 at 0x812fcb3: file ../../src/gdb/cli/cli-cmds.c, line 182.
(top-gdb) b mian
Function "mian" not defined.
(top-gdb) b main
Breakpoint 3 at 0x808c514: file ../../src/gdb/main.c, line 700.
(top-gdb) r --help
Starting program: /x3/gdb/build/gdb/gdb --help
../../src/gdb/regcache.c:329: gdb-internal-error: legacy_write_register_gen: Assertion `regnum >= 0 && regnum < (NUM_REGS + NUM_PSEUDO_REGS)' failed.
An internal GDB error was detected. This may make further
debugging unreliable. Continue this debugging session? (y or n) n
Create a core file containing the current state of GDB? (y or n) n