This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug tui/11392] New: Calling |layout next| before running the program under test causes error: Assertion gdbarch != NULL failed
- From: "justin dot lebar+gdb at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 17 Mar 2010 03:18:52 -0000
- Subject: [Bug tui/11392] New: Calling |layout next| before running the program under test causes error: Assertion gdbarch != NULL failed
- Reply-to: sourceware-bugzilla at sourceware dot org
STR:
* Create a simple program
$ cat main.c
int main() {
return 42;
}
$ gcc -g main.c
$ ./a.out; echo $?
42
* Open the program in gdb:
$ gdb a.out
* Enable TUI:
(gdb) layout next
Expected results:
TUI starts.
Actual results:
gdb displays an error:
/build/buildd/gdb-7.0/gdb/gdbarch.c:1428: internal-error: gdbarch_addr_bit:
Assertion `gdbarch != NULL' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)
--
Summary: Calling |layout next| before running the program under
test causes error: Assertion gdbarch != NULL failed
Product: gdb
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: tui
AssignedTo: unassigned at sourceware dot org
ReportedBy: justin dot lebar+gdb at gmail dot com
CC: gdb-prs at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=11392
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.