[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 23.0.60; gdb not running the program first time around
From: |
Nick Roberts |
Subject: |
Re: 23.0.60; gdb not running the program first time around |
Date: |
Fri, 22 Feb 2008 21:43:19 +1300 |
> Just to confirm that the patch still works ok - the only issue where it
> appears to get confused - though I've not verified whether the pre-patch
> code also had this issue - is when gdb crashes - then a M-x gdb restarts
> the debugger but doesn't produce a prompt until you press return
OK, thanks for getting back. I've only applied the patch to trunk (which I
think you have anyway) because it causes problems to gud-gdb which need to be
investigated.
Gdb crashing should be a rare occurance but the problem coincidentally seems
to be solved by Stefan Monnier's recent patch. If you're updating in CVS
you can get it that way, otherwise it's reproduced below.
--
Nick http://www.inet.net.nz/~nickrob
--- orig/lisp/progmodes/gdb-ui.el
+++ mod/lisp/progmodes/gdb-ui.el
@@ -150,7 +150,7 @@
(defvar gdb-prompting nil
"True when gdb is idle with no pending input.")
-(defvar gdb-output-sink 'user
+(defvar gdb-output-sink nil
"The disposition of the output of the current gdb command.
Possible values are these symbols:
@@ -317,6 +317,7 @@
(local-set-key "\C-i" 'gud-gdb-complete-command)
(setq comint-prompt-regexp "^(.*gdb[+]?) *")
(setq paragraph-start comint-prompt-regexp)
+ (setq gdb-output-sink 'user)
(setq gdb-first-prompt t)
(setq gud-running nil)
(setq gdb-ready nil)
- Re: 23.0.60; gdb not running the program first time around, (continued)
- Re: 23.0.60; gdb not running the program first time around, Nick Roberts, 2008/02/13
- Re: 23.0.60; gdb not running the program first time around, robert marshall, 2008/02/14
- Re: 23.0.60; gdb not running the program first time around, Nick Roberts, 2008/02/14
- Re: 23.0.60; gdb not running the program first time around, robert marshall, 2008/02/15
- Re: 23.0.60; gdb not running the program first time around, Nick Roberts, 2008/02/15
- Re: 23.0.60; gdb not running the program first time around, Miles Bader, 2008/02/15
- Re: 23.0.60; gdb not running the program first time around, Eli Zaretskii, 2008/02/16
- Re: 23.0.60; gdb not running the program first time around, robert marshall, 2008/02/18
- Re: 23.0.60; gdb not running the program first time around, Nick Roberts, 2008/02/18
- Re: 23.0.60; gdb not running the program first time around, robert marshall, 2008/02/21
- Re: 23.0.60; gdb not running the program first time around,
Nick Roberts <=