From: Joel Brobecker <brobecker@adacore.com>
To: aladdin <aladdin@csunv.com>
Cc: gdb@sourceware.org
Subject: Re: Is this the right list...
Date: Fri, 04 May 2007 01:40:00 -0000 [thread overview]
Message-ID: <20070504014035.GB3804@adacore.com> (raw)
In-Reply-To: <200705032136.32942.aladdin@csunv.com>
[yes, you can send questions about using GDB to this]
> When a program goes off into a daemon, or an endless loop or whatever, how do
> you get gdb attention (i. e., get a prompt so you can stop/check/abort the
> program)?
If GDB is still attached to your program, hitting control-c should
interrupt your program and allow you to see where it is. Otherwise,
your other option, if you are not attach, then just get the pid of
your program, and attach GDB to it using "attach <pid>".
The GDB documentation should provide you more details about this.
(my very first lesson at engineering school was RTFM :-)
--
Joel
next prev parent reply other threads:[~2007-05-04 1:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-04 1:36 aladdin
2007-05-04 1:40 ` Joel Brobecker [this message]
2007-05-04 2:04 ` aladdin
2007-05-04 15:42 Jude Moersdorf
2007-05-05 15:00 ` aladdin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070504014035.GB3804@adacore.com \
--to=brobecker@adacore.com \
--cc=aladdin@csunv.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox