From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26737 invoked by alias); 5 Feb 2003 20:46:47 -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 26730 invoked from network); 5 Feb 2003 20:46:46 -0000 Received: from unknown (HELO motgate5.mot.com) (144.189.100.105) by 172.16.49.205 with SMTP; 5 Feb 2003 20:46:46 -0000 Received: from mothost.mot.com (mothost.mot.com [129.188.137.101]) by motgate5.mot.com (Motorola/Motgate5) with ESMTP id h15Kkb5u005530; Wed, 5 Feb 2003 13:46:37 -0700 (MST) Received: [from udc.urbana.css.mot.com (udc.urbana.css.mot.com [192.88.153.21]) by mothost.mot.com (MOT-pobox 2.0) with ESMTP id NAA22041; Wed, 5 Feb 2003 13:46:43 -0700 (MST)] Received: from tmclinux.urbana.css.mot.com (tmclinux.urbana.css.mot.com [192.88.153.36]) by udc.urbana.css.mot.com (8.11.6+Sun/8.11.6) with ESMTP id h15KkgI04803; Wed, 5 Feb 2003 14:46:42 -0600 (CST) X-POPI: The contents of this message are Motorola Internal Use Only (MIUO) unless indicated otherwise in the message. Received: (from tcombs@localhost) by tmclinux.urbana.css.mot.com (8.11.6/8.11.6) id h15KkgH24240; Wed, 5 Feb 2003 14:46:42 -0600 Date: Wed, 05 Feb 2003 20:46:00 -0000 From: Tim Combs To: christopher j bottaro Cc: gdb@sources.redhat.com Subject: Re: newbie gdb help... Message-ID: <20030205144642.K12462@urbana.css.mot.com> References: <200302051438.10934.cjb@cs.utexas.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200302051438.10934.cjb@cs.utexas.edu>; from cjb@cs.utexas.edu on Wed, Feb 05, 2003 at 02:38:10PM -0600 X-SW-Source: 2003-02/txt/msg00109.txt.bz2 I use the "frame" command that lets me know where I am again. An interrupt (cntrl-c ) command should stop GDB. Are you using the command line? Tim On Wed, Feb 05, 2003 at 02:38:10PM -0600, christopher j bottaro wrote: > hello, > i just started using gdb yesterday. i've read a lot of the manual and to my > suprise, gdb is pretty easy to use. i got pretty comfortable navagating thru > the stack, the source, setting break and watch points, etc... > > anyways, i have 2 questions that i couldn't find in the documentation: > > 1) command to show you what line is about to be executed. sometimes after > many print commands, and many list commands, i lose track of where i am in > the program's execution. > > 2) when i resume execution of my program with the continue command, is there > anyway to break it again from within gdb? while the program is running > (after issuing the continue command), gdb seems to ignore any input i try to > tell it. > > thanks for the help, > -- christopher