From: Carlos Eduardo Rodrigues de Almeida <eduardo.almeida@gmail.com>
To: gdb@sources.redhat.com
Subject: GDB 6.4, Linux, Multiple process
Date: Wed, 25 Jan 2006 16:16:00 -0000 [thread overview]
Message-ID: <214135380601250804o63c49085v418f4bc69e8e7931@mail.gmail.com> (raw)
Hi all,
I'm using gentoo linux. I emerged gdb 6.4 and reading the
documentation I noticed that now it is possible to debug program with
multiple process. I tried it out and I can only use the set/show
follow-fork-mode commands. The set detach-on-fork, info forks, fork
does not work.
(gdb) info forks
Undefined info command: "forks". Try "help info".
(gdb) fork
Undefined command: "fork". Try "help".
(gdb) set detach-on-fork
No symbol "detach" in current context.
And I think there is a bug in the documentation... there is the
explanation about the set detach-on-fork and the show it says
detach-on-follow:
set detach-on-fork mode
Tells gdb whether to detach one of the processes after a fork, or
retain debugger
control over them both.
on The child process (or parent process, depending on the value of
follow-fork-mode) will be detached and allowed to run independently.
This is the default.
off Both processes will be held under the control of gdb. One process
(child or parent, depending on the value of follow-fork-mode) is
debugged as usual, while the other is held suspended.
show detach-on-follow
Show whether detach-on-follow mode is on/off.
Are the multiple process commands implemented? What do I have to do
for them to work?
I tried the gdb-6.4.tar.bz2 from the ftp and I still can't use these commands
Thank you,
Eduardo
next reply other threads:[~2006-01-25 16:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-25 16:16 Carlos Eduardo Rodrigues de Almeida [this message]
2006-01-25 17:39 ` Daniel Jacobowitz
2006-01-26 0:42 ` Carlos Eduardo Rodrigues de Almeida
2006-01-26 5:57 ` Daniel Jacobowitz
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=214135380601250804o63c49085v418f4bc69e8e7931@mail.gmail.com \
--to=eduardo.almeida@gmail.com \
--cc=gdb@sources.redhat.com \
/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