From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30850 invoked by alias); 15 Nov 2002 08:51:52 -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 30843 invoked from network); 15 Nov 2002 08:51:50 -0000 Received: from unknown (HELO postfix2.ofir.com) (193.0.243.237) by sources.redhat.com with SMTP; 15 Nov 2002 08:51:50 -0000 Received: from webmail5.ofir.dk (unknown [192.168.197.25]) by postfix2.ofir.com (Postfix) with ESMTP id 5966225A8B; Fri, 15 Nov 2002 10:15:59 +0100 (CET) X-WM-Posted-At: webmail5.ofir.dk; Fri, 15 Nov 02 09:51:35 +0100 Date: Fri, 15 Nov 2002 00:51:00 -0000 From: James Sampson To: GDB Archive , Tim Combs X-EXP32-SerialNo: 00002117 Subject: RE: Debugging GDB with GDB Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <20021115091559.5966225A8B@postfix2.ofir.com> X-SW-Source: 2002-11/txt/msg00178.txt.bz2 Thanks a lot - I didn't know the ctrl-c options, since I'm pretty new to GDB :-D Now I can get a bit further - More problems are sure to arise ;-) J.S. >The .gdbinit file uses "set prompt (top-gdb)" so you can differentiate >between which gdb is running. This works best on >the command line as you can readily see which gdb you are in. Things >work the same as when you are debugging a program. When you want to >stop use ctrl-c and you will see the top-level prompt and you can step >through gdb source. When using the command line, I've always found it >helpful to open the source file I'm debugging to follow along. > >Hope this helps >Tim