Re: gdb ignores set follow-fork-mode child

RVP <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
On Wed, 19 Mar 2025, Peter Skvarka wrote:

> Does not exist some similar setting to have functional set follow-fork-mode 
> child ? :)
>

GDB (even the latest, 16.2) doesn't have code to do `follow-fork-mode' on
NetBSD. Do what I do and use lldb(1) for this:

(lldb) settings set target.process.follow-fork-mode child
(lldb) break set -l NUM
[...]

-RVP
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.