gdb ignores set follow-fork-mode child

Peter Skvarka <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Organization Soft in Engines
Message-ID <[email protected]>
Hello,
I have NetBSD 10.1.
When I start gdb and issue command: set follow-fork-mode child
then gdb is still stepping through parent process after fork(), it 
ignored above command.

It is the same with both gdb which I have:
/usr/bin/gdb   11.0.50.20200914-git
/usr/pkg/bin/gdb 10.1 (package gdb-10.1nb6)

Does exist any trick how to force gdb to follow-fork-mode child ?

Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.