From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13845 invoked by alias); 16 Apr 2003 19:59:16 -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 13834 invoked from network); 16 Apr 2003 19:59:15 -0000 Received: from unknown (HELO sundance.cse.ucsc.edu) (128.114.48.62) by sources.redhat.com with SMTP; 16 Apr 2003 19:59:15 -0000 Received: from localhost (smita@localhost) by sundance.cse.ucsc.edu (8.6.10/8.6.12) with ESMTP id MAA03828; Wed, 16 Apr 2003 12:59:14 -0700 X-Authentication-Warning: sundance.cse.ucsc.edu: smita owned process doing -bs Date: Wed, 16 Apr 2003 19:59:00 -0000 From: Smita To: Smita cc: gdb@sources.redhat.com Subject: gdb's communication to a process/libgdb? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2003-04/txt/msg00175.txt.bz2 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. Thanks Smita