[Cgdb-devel] [ 790050 ] segfault in filedlg - patch
Brought to you by:
bobbybrasko,
crouchingturbo
From: Bartosz Z. <ba...@kl...> - 2003-08-20 03:42:52
|
Hi Here's a patch that solves the bug #790050. I plan to package cgdb for Debian and have this package sponsored. Because of that you can expect more patches from me, because I want no bugs in programs I package, got it ;). This patch is rather a quick hack, and not the proper solution. However, the source code is hard do hack, hence this workaround. The proper fix would be to patch tgdb sources. Try the following *before* applying this patch: $ cgdb ESC, o q ESC, o As you can see, at first you get a blank screen. At a second 'o' command you get Error: No sources available! Was program compiled with debug? As I figured out, the problem is in annotate-two, which incorrectly parses gdb output for the first time (or maybe it's gdb bad boy?). -- Bartosz Zapalowski ba...@kl... |