From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: RE: gdb-ui can't handle mutiple debugging sessions Date: Thu, 16 Sep 2004 09:08:04 +1200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <001c01c49b68$3e13b700$4d9260cb@h> Reply-To: Nick Roberts NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1095283219 431 80.91.229.6 (15 Sep 2004 21:20:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Sep 2004 21:20:19 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 15 23:20:05 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 1C7hC9-0006BE-00 for ; Wed, 15 Sep 2004 23:20:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C7hHm-0003WU-Sp for ged-emacs-devel@m.gmane.org; Wed, 15 Sep 2004 17:25:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C7hHb-0003U4-JN for emacs-devel@gnu.org; Wed, 15 Sep 2004 17:25:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C7hHZ-0003TH-LB for emacs-devel@gnu.org; Wed, 15 Sep 2004 17:25:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C7hHZ-0003Sn-Gw for emacs-devel@gnu.org; Wed, 15 Sep 2004 17:25:41 -0400 Original-Received: from [202.0.58.21] (helo=linda-2.paradise.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C7hBi-0001uA-2h for emacs-devel@gnu.org; Wed, 15 Sep 2004 17:19:38 -0400 Original-Received: from smtp-2.paradise.net.nz (smtp-2a.paradise.net.nz [202.0.32.195]) by linda-2.paradise.net.nz (Paradise.net.nz) with ESMTP id <0I43007EDPWOHA@linda-2.paradise.net.nz> for emacs-devel@gnu.org; Thu, 16 Sep 2004 09:19:37 +1200 (NZST) Original-Received: from suzanne (203-96-146-77.apx1.paradise.net.nz [203.96.146.77]) by smtp-2.paradise.net.nz (Postfix) with SMTP id 9DD319E4C9; Thu, 16 Sep 2004 09:19:35 +1200 (NZST) Original-To: zkemenczy@rim.com X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-Priority: 3 X-MSMail-priority: Normal 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:27148 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27148 > 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. Can you currently do this with 'gdb -fullname' in CVS Emacs or with Emacs 21.3 with 'M-x gdb' (which also uses -fullname)? Nick