From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16352 invoked by alias); 16 Apr 2003 20:04:14 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 16345 invoked from network); 16 Apr 2003 20:04:13 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 16 Apr 2003 20:04:13 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 195t8W-0000K1-00; Wed, 16 Apr 2003 15:04:04 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 195t8J-0001LQ-00; Wed, 16 Apr 2003 16:03:51 -0400 Date: Wed, 16 Apr 2003 20:04:00 -0000 From: Daniel Jacobowitz To: Smita Cc: gdb@sources.redhat.com Subject: Re: gdb's communication to a process/libgdb? Message-ID: <20030416200351.GA5152@nevyn.them.org> Mail-Followup-To: Smita , gdb@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2003-04/txt/msg00176.txt.bz2 On Wed, Apr 16, 2003 at 12:59:14PM -0700, Smita wrote: > Hi, > I am spawing a gdb process from my process and feeding to gdb an input > script. > I want the parent process to be able to control this gdb process. For this > to happen, I want to communicate to the parent process that a breakpoint > has occurred when gdb stops at a breakpoint? Is it possible to to this? > There is something called libgdb. I am not sure if that can be used for > this purpose. > > Any feedback on this would be greatly appreciated. You should probably be reading the documentation for "MI". Check the manual, available online under http://sources.redhat.com/gdb/. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer