From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Zoltan Kemenczy" Newsgroups: gmane.emacs.devel Subject: RE: gdb-ui can't handle mutiple debugging sessions Date: Wed, 15 Sep 2004 20:05:48 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1095293182 2600 80.91.229.6 (16 Sep 2004 00:06:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Sep 2004 00:06:22 +0000 (UTC) Cc: Nick Roberts , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 16 02:06:04 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C7jmm-0008Vo-00 for ; Thu, 16 Sep 2004 02:06:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C7jsP-0000TT-VF for ged-emacs-devel@m.gmane.org; Wed, 15 Sep 2004 20:11:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C7jsH-0000TD-FU for emacs-devel@gnu.org; Wed, 15 Sep 2004 20:11:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C7jsF-0000Sq-KL for emacs-devel@gnu.org; Wed, 15 Sep 2004 20:11:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C7jsF-0000Sg-HP for emacs-devel@gnu.org; Wed, 15 Sep 2004 20:11:43 -0400 Original-Received: from [216.9.243.75] (helo=mhs99ykf.rim.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C7jmX-0000j5-9I; Wed, 15 Sep 2004 20:05:49 -0400 Original-Received: from ngw02ykf.rim.net (ngw02ykf.rim.net [10.102.101.225]) by mhs99ykf.rim.net (Postfix) with SMTP id A5D91B4B37; Wed, 15 Sep 2004 20:05:48 -0400 (EDT) Original-Received: from XCH21YKF.rim.net ([10.102.100.36]) by ngw02ykf.rim.net (SAVSMTP 3.1.6.45) with SMTP id M2004091520054825911 ; Wed, 15 Sep 2004 20:05:48 -0400 Original-Received: from XCH26YKF.rim.net ([10.102.100.41]) by XCH21YKF.rim.net with Microsoft SMTPSVC(5.0.2195.6713); Wed, 15 Sep 2004 20:05:49 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: gdb-ui can't handle mutiple debugging sessions Thread-Index: AcSbcbx7hcVFgS0LSsKBd9xVG4NqzQADVHiQ Original-To: "Stefan Monnier" X-OriginalArrivalTime: 16 Sep 2004 00:05:49.0036 (UTC) FILETIME=[EBF9EAC0:01C49B80] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27155 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27155 No. And my emacs is a snapshot from CVS on Sep 1, built using mingw = (not cygwin). Ofcourse, jdb (in *gud-javadebug*) is 'dead' while I'm e.g = single-stepping native (C) code (as expected), and as soon as I do = 'cont' in gdb (in *gud*), my *gud-javadebug* gets control back... What kind of problems should I be looking for? I am not using gdb-ui in = any way during the above. My original email was just to point out a need for supporting multiple = gud session within emacs... Zoltan P.S.: It took me a while to 'dust'-off the java/native c code = application. Loading native dlls built with later cygwin gccs (starting = at version 3.3.1) fails with JDK 1.4.2, so I had to go back to gcc 3.2 = prerelease which still works with this JDK. > -----Original Message----- > From: Stefan Monnier [mailto:monnier@iro.umontreal.ca] > Sent: September 15, 2004 6:17 PM > To: Zoltan Kemenczy > Cc: Nick Roberts; emacs-devel@gnu.org > Subject: Re: gdb-ui can't handle mutiple debugging sessions >=20 >=20 > > Yes. For the java application I used M-x jdb with the=20 > default 'jdb -attach > > javadebug' parameters, and M-x gdb used 'gbd -fullname'=20 > (the 'attach' and > > 'dll' gdb commands are used subsequently in the *gud*=20 > buffer to specify > > the dll file and process id). > > I was able to do this with emacs-CVS and and emacs-21.3. >=20 > And after the M-x gdb step, have you noticed any problems in=20 > the jdb buffer? >=20 >=20 > Stefan >=20