From xemacs-m  Fri Jan  3 19:51:46 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
          by xemacs.cs.uiuc.edu (8.8.4/8.8.4) with ESMTP
	  id TAA04839 for <xemacs-beta@xemacs.org>; Fri, 3 Jan 1997 19:51:45 -0600 (CST)
Received: (from steve@localhost)
          by altair.xemacs.org (8.8.4/8.8.4)
	  id SAA25945; Fri, 3 Jan 1997 18:02:03 -0800
Sender: steve@xemacs.org
To: xemacs-beta@xemacs.org
Subject: Re: more gdb woes
References: <9612312340.AA00485@euler.alphatech.com>
X-Url: http://www.miranova.com/%7Esteve/
Mail-Copies-To: never
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: greg@alphatech.com's message of Tue, 31 Dec 1996 18:40:59 -0500
Mime-Version: 1.0 (generated by tm-edit 7.100)
Content-Type: multipart/mixed;
 boundary="Multipart_Fri_Jan__3_18:02:01_1997-1"
Content-Transfer-Encoding: 7bit
Date: 03 Jan 1997 18:02:01 -0800
Message-ID: <m2n2uqxko6.fsf@altair.xemacs.org>
Lines: 68
X-Mailer: Red Gnus v0.72/XEmacs 20.0

--Multipart_Fri_Jan__3_18:02:01_1997-1
Content-Type: text/plain; charset=US-ASCII

>>>>> "Greg" == Greg Klanderman <greg@alphatech.com> writes:

Greg> Also in gdb mode in 19.15b4, C-c C-c does not interrupt the process.
Greg> The pulldown menu Comint2 -> Send INT does work, even though the menu
Greg> says the binding is C-c C-c.

Greg> The pulldown menu is running comint-interrupt-subjob (this works)
Greg> C-c C-c is running gdb-control-c-subjob (doesn't work).

Greg> Strangely, both "C-h w comint-interrupt-subjob" and
Greg> "C-h w gdb-control-c-subjob" give C-c C-c.

This fell through the cracks.  Unless anyone has a better solution,
I'm nuking gdb-control-c-subjob.


--Multipart_Fri_Jan__3_18:02:01_1997-1
Content-Type: text/plain; charset=US-ASCII

Newsgroups: comp.emacs.xemacs
Subject: Re: gdb: ctrl-c ctrl-c doesn't work
References: <327FED7C.4864@adobe.com>
From: Steven L Baur <steve@miranova.com>
Organization: XEmacs Advocacy Group
Date: 06 Nov 1996 17:44:54 -0800
Message-ID: <m2ybgek7ah.fsf@deanna.miranova.com>

>>>>> "Susan" == Susan Osofsky <susano@adobe.com> writes:

Susan> I switched to xemacs 19.14 and now when I run gdb in xemacs,
Susan> ctrl-c ctrl-c doesn't work.  I get no response from gdb.  I.e.,
Susan> gdb doesn't break.  The ctrl-c ctrl-c shortcut is indeed set to
Susan> gdb-control-c-subjob.  If I try M-x gdb-control-c-subjob,
Susan> nothing happens either.

Susan> Any suggestions?

I was able to duplicate the problem you describe on Linux 2, and it is
due to sending a naked Control C character at the gdb process when no
interrupt character is defined on the pseudo tty.  In other words,
gdb-control-c-subjob is totally broken.

Try adding this to your environment and see if works a little better:

(require 'gdb)
(fset 'gdb-control-c-subjob 'comint-interrupt-subjob)


--Multipart_Fri_Jan__3_18:02:01_1997-1
Content-Type: text/plain; charset=US-ASCII

Greg> I'm wondering if I should use GUD, but in gud.el I see,

>> ;;; XEmacs: don't autoload this yet since it's still buggy - use the
>> ;;; one in gdb.el instead
>> (defun gdb (command-line)


-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.
"That Bill Clinton.  He probably doesn't know how to log on to the
Internet."  -- Rush Limbaugh, noted Computer Expert

--Multipart_Fri_Jan__3_18:02:01_1997-1--

