gdb tui support broken ("layout regs" gives internal error, "layout split" gives core dump
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdb (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gdb
The tui "layout" commands appear rather "fragile":
_______
1) "layout regs" causes a gdb internal error
To recreate:
gcc -g file.c
gdb --tui a.out
(gdb) b main
(gdb) layout regs
(gdb) r
Starting program: /home/james/
/build/
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)
_______
2) "layout split" causes gdb core dump
To recreate:
gcc -g file.c
gdb --tui a.out
(gdb) b main
(gdb) layout split
(gdb) r
Segmentation fault (core dumped)
_______
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gdb 7.2-1ubuntu3
ProcVersionSign
Uname: Linux 2.6.35-
NonfreeKernelMo
Architecture: i386
Date: Thu Nov 18 09:29:40 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.utf8
SHELL=/bin/bash
SourcePackage: gdb
Notes:
- problem occurs with and without ~/.gdbinit
- problem appears independent of terminal size (occurs with 24x80 and 48x143).