From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25934 invoked by alias); 5 Feb 2003 20:45:03 -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 25913 invoked from network); 5 Feb 2003 20:45:03 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by 172.16.49.205 with SMTP; 5 Feb 2003 20:45:03 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18gYIn-0002pL-00; Wed, 05 Feb 2003 16:45:58 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18gWPp-0006wb-00; Wed, 05 Feb 2003 15:45:05 -0500 Date: Wed, 05 Feb 2003 20:45:00 -0000 From: Daniel Jacobowitz To: christopher j bottaro Cc: gdb@sources.redhat.com Subject: Re: newbie gdb help... Message-ID: <20030205204505.GA26638@nevyn.them.org> Mail-Followup-To: christopher j bottaro , gdb@sources.redhat.com References: <200302051438.10934.cjb@cs.utexas.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200302051438.10934.cjb@cs.utexas.edu> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-02/txt/msg00108.txt.bz2 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. Try "f", for "frame". It should show the current line. > 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. If you hit Control-C, GDB should stop the program. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer