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 09:22:02 -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 1095254561 20028 80.91.229.6 (15 Sep 2004 13:22:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Sep 2004 13:22:41 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 15 15:22:28 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 1C7Zjw-0003vV-00 for ; Wed, 15 Sep 2004 15:22:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C7ZpY-0006eZ-SP for ged-emacs-devel@m.gmane.org; Wed, 15 Sep 2004 09:28:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C7ZpO-0006eU-Lh for emacs-devel@gnu.org; Wed, 15 Sep 2004 09:28:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C7ZpM-0006eI-ON for emacs-devel@gnu.org; Wed, 15 Sep 2004 09:28:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C7ZpM-0006eF-Lc for emacs-devel@gnu.org; Wed, 15 Sep 2004 09:28:04 -0400 Original-Received: from [216.9.243.75] (helo=mhs99ykf.rim.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C7ZjZ-0004l4-6x for emacs-devel@gnu.org; Wed, 15 Sep 2004 09:22:05 -0400 Original-Received: from ngw02ykf.rim.net (ngw02ykf.rim.net [10.102.101.225]) by mhs99ykf.rim.net (Postfix) with SMTP id 929A2B6915 for ; Wed, 15 Sep 2004 09:22:03 -0400 (EDT) Original-Received: from XCH20YKF.rim.net ([10.102.100.35]) by ngw02ykf.rim.net (SAVSMTP 3.1.6.45) with SMTP id M2004091509220202500 for ; Wed, 15 Sep 2004 09:22:02 -0400 Original-Received: from XCH26YKF.rim.net ([10.102.100.41]) by XCH20YKF.rim.net with Microsoft SMTPSVC(5.0.2195.6713); Wed, 15 Sep 2004 09:22:03 -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: Emacs-devel Digest, Vol 7, Issue 55 Thread-Index: AcSa+Zf2mi/UZe/ISbCz+kDPkm3mxgAK5E4Q Original-To: X-OriginalArrivalTime: 15 Sep 2004 13:22:03.0424 (UTC) FILETIME=[FD514200:01C49B26] 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:27133 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27133 Another example where multiple debugging sessions are used is concurrent = java / c debugging. In this case a java application (debuggee 1) at some point loads one of = the native code extensions (shared library, DLL (debugee 2). The = trouble here is that, because the native code runs from a shared = library, one has to stop the java application just after the DLL had = been loaded (jdb), and then attach to the native code process using gdb = to set breakpoints. While debugging the native code, the jdb session is = active and waiting for the native code to return control... This can't = be performed in a serial fashion. Regards, Zoltan Kemenczy > Message: 4 > Date: Wed, 15 Sep 2004 13:10:06 +0900 (JST) > From: Kenichi Handa > Subject: Re: gdb-ui can't handle mutiple debugging sessions > To: nickrob@gnu.org > Cc: schwab@suse.de, monnier@iro.umontreal.ca, emacs-devel@gnu.org > Message-ID: <200409150410.NAA16483@etlken.m17n.org> > Content-Type: text/plain; charset=3DUS-ASCII >=20 > In article <000401c49ad5$e94a78e0$bc9260cb@h>, Nick Roberts=20 > writes: > >> I'm writing a C library. I also wrote several programs that > >> use that library to test it. So, it's important for me to > >> use a single Emacs session to run those test programs under > >> multiple gdb sessions... =20 >=20 > > Why can't you test the library with your programs in a=20 > serial fashion? > > Do you really need to start the second test before=20 > finishing the first? >=20 > Because I must confirm that a bug fix for test 2 doesn't > break test 1. >=20 > --- > Ken'ichi HANDA > handa@m17n.org >=20