This is the mail archive of the gdb@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]
Other format: [Raw text]

Re: CVS current: Sparc Linux crashing on startup deprecated_set_gdbarch_data


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



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