* newbie gdb help...
@ 2003-02-05 20:37 christopher j bottaro
2003-02-05 20:45 ` Daniel Jacobowitz
2003-02-05 20:46 ` Tim Combs
0 siblings, 2 replies; 3+ messages in thread
From: christopher j bottaro @ 2003-02-05 20:37 UTC (permalink / raw)
To: gdb
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: newbie gdb help...
2003-02-05 20:37 newbie gdb help christopher j bottaro
@ 2003-02-05 20:45 ` Daniel Jacobowitz
2003-02-05 20:46 ` Tim Combs
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Jacobowitz @ 2003-02-05 20:45 UTC (permalink / raw)
To: christopher j bottaro; +Cc: gdb
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: newbie gdb help...
2003-02-05 20:37 newbie gdb help christopher j bottaro
2003-02-05 20:45 ` Daniel Jacobowitz
@ 2003-02-05 20:46 ` Tim Combs
1 sibling, 0 replies; 3+ messages in thread
From: Tim Combs @ 2003-02-05 20:46 UTC (permalink / raw)
To: christopher j bottaro; +Cc: gdb
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-02-05 20:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-05 20:37 newbie gdb help christopher j bottaro
2003-02-05 20:45 ` Daniel Jacobowitz
2003-02-05 20:46 ` Tim Combs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox