* GDB 6.4, Linux, Multiple process
@ 2006-01-25 16:16 Carlos Eduardo Rodrigues de Almeida
2006-01-25 17:39 ` Daniel Jacobowitz
0 siblings, 1 reply; 4+ messages in thread
From: Carlos Eduardo Rodrigues de Almeida @ 2006-01-25 16:16 UTC (permalink / raw)
To: gdb
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: GDB 6.4, Linux, Multiple process
2006-01-25 16:16 GDB 6.4, Linux, Multiple process Carlos Eduardo Rodrigues de Almeida
@ 2006-01-25 17:39 ` Daniel Jacobowitz
2006-01-26 0:42 ` Carlos Eduardo Rodrigues de Almeida
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2006-01-25 17:39 UTC (permalink / raw)
To: Carlos Eduardo Rodrigues de Almeida; +Cc: gdb
On Wed, Jan 25, 2006 at 04:04:56PM +0000, Carlos Eduardo Rodrigues de Almeida wrote:
> Hi all,
> I'm using gentoo linux. I emerged gdb 6.4 and reading the
> documentation
Which documentation? The online documentation (on sourceware.org) is
for the current development snapshot, not for GDB 6.4. These features
are not in 6.4.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: GDB 6.4, Linux, Multiple process
2006-01-25 17:39 ` Daniel Jacobowitz
@ 2006-01-26 0:42 ` Carlos Eduardo Rodrigues de Almeida
2006-01-26 5:57 ` Daniel Jacobowitz
0 siblings, 1 reply; 4+ messages in thread
From: Carlos Eduardo Rodrigues de Almeida @ 2006-01-26 0:42 UTC (permalink / raw)
To: Carlos Eduardo Rodrigues de Almeida, gdb
Sorry, I was not clear about the documentation. Well, it is the GDB
User Manual that can be download in this link:
http://sources.redhat.com/gdb/current/onlinedocs/gdb.pdf.gz
The page I was reading was 46.
Eduardo
On 1/25/06, Daniel Jacobowitz <drow@false.org> wrote:
> On Wed, Jan 25, 2006 at 04:04:56PM +0000, Carlos Eduardo Rodrigues de Almeida wrote:
> > Hi all,
> > I'm using gentoo linux. I emerged gdb 6.4 and reading the
> > documentation
>
> Which documentation? The online documentation (on sourceware.org) is
> for the current development snapshot, not for GDB 6.4. These features
> are not in 6.4.
>
>
> --
> Daniel Jacobowitz
> CodeSourcery
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: GDB 6.4, Linux, Multiple process
2006-01-26 0:42 ` Carlos Eduardo Rodrigues de Almeida
@ 2006-01-26 5:57 ` Daniel Jacobowitz
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2006-01-26 5:57 UTC (permalink / raw)
To: Carlos Eduardo Rodrigues de Almeida; +Cc: gdb
On Thu, Jan 26, 2006 at 12:41:28AM +0000, Carlos Eduardo Rodrigues de Almeida wrote:
> Sorry, I was not clear about the documentation. Well, it is the GDB
> User Manual that can be download in this link:
> http://sources.redhat.com/gdb/current/onlinedocs/gdb.pdf.gz
> The page I was reading was 46.
You'll need to download a development snapshot (6.4.50.*), then.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-01-26 0:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-25 16:16 GDB 6.4, Linux, Multiple process Carlos Eduardo Rodrigues de Almeida
2006-01-25 17:39 ` Daniel Jacobowitz
2006-01-26 0:42 ` Carlos Eduardo Rodrigues de Almeida
2006-01-26 5:57 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox