This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: CVS current: Sparc Linux crashing on startup deprecated_set_gdbarch_data
- From: Andrew Cagney <cagney at gnu dot org>
- To: RChan <rspchan at starhub dot net dot sg>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 15 Jul 2004 10:48:54 -0400
- Subject: Re: CVS current: Sparc Linux crashing on startup deprecated_set_gdbarch_data
- References: <40F1E25F.8080200@starhub.net.sg>
Just tried CVS HEAD and am getting crash on startup. Known problem?
Thanks.
-richard-
host = target = sparc64-redhat-linux --with-cpu=v7(default)
kernel = 2.6.7-bk (self-compiled)
user-space = Aurora 1.91 Wombat
/mnt/insight/gdb/gdbarch.c:4635: internal-error: deprecated_set_gdbarch_data: Assertion `gdbarch->data[data->index] == NULL' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
We'll need to know how GDB to to that point in the code.
- (just for sanity's sake) do a clean build
- post a full trascript of the crashing gdb something like:
$ cc <flags> program.c
$ file a.out
... output ...
$ .../gdb a.out
full output from gdb
- a backtrace of gdb containing this internal error
Try the following (with a not so recent GDB):
...
Create a core file? y
Quit gdb? y
$ working-gdb gdb gdb.core
...
(gdb) backtrace
Andrew