tags:

views:

648

answers:

1

Getting this message inside gdb. I know its not an error or anything. I also did pagination so thats not an issue.

Is there any way to suppress this message?

+1  A: 

I was curious to see that this question was unanswered...

I obtained the GDB manual, and it says (in part - p33 of the PDF 'Ninth Edition, for gdb version 7.0.50.20091228'):

To be notified when inferiors are started or exit under gdb’s control use set print inferior-events:

set print inferior-events
set print inferior-events on
set print inferior-events off

The set print inferior-events command allows you to enable or disable printing of messages when gdb notices that new inferiors have started or that inferiors have exited or have been detached. By default, these messages will not be printed.

show print inferior-events

Show whether messages will be printed when gdb detects that inferiors have started, exited or have been detached.

The only concern I have about this is that it implies that you should not be seeing the messages by default. Just make sure that your settings match the default and do not override them.

Section 4.11 'Debugging Forks' (pp38-40) looks relevant to you, too.

Jonathan Leffler