[PATCH] gdb: trivial segfault fix in tui

Hal Ashburner hal@ashburner.info
Sun Aug 12 16:13:00 GMT 2012


Hello!

I hope this is the correct etiquette and that it's useful. Copyright
assigned to whoever commits to assign to GNU or do whatever is
appropriate (assuming it is committed).

To the easiest way to replicate the segfault:
gdb some_prog
b main
run
C-x a
C-x 2
C-x 2
C-x 2 -- so you now have registers on the top panel and source in the middle.
resize the terminal.
step,
segfault

Regards,
Hal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdbtui_segfault.patch
Type: application/octet-stream
Size: 825 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20120812/d30cf9f4/attachment.obj>


More information about the Gdb-patches mailing list