This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 4/5] Darwin: fix thread ptid started by fork_inferior
- From: Tom Tromey <tom at tromey dot com>
- To: Xavier Roirand <roirand at adacore dot com>
- Cc: gdb-patches at sourceware dot org, brobecker at adacore dot com
- Date: Tue, 18 Sep 2018 15:00:20 -0600
- Subject: Re: [RFA 4/5] Darwin: fix thread ptid started by fork_inferior
- References: <1534932677-9496-1-git-send-email-roirand@adacore.com> <1534932677-9496-5-git-send-email-roirand@adacore.com>
>>>>> "Xavier" == Xavier Roirand <roirand@adacore.com> writes:
Xavier> When debugging a program on Mac OS X Darwin, gdb stops with:
Xavier> Temporary breakpoint 1 at 0x100000fb4: file /tmp/helloworld.c, line 1.
Xavier> Starting program: /private/tmp/helloworld
Xavier> [New Thread 0xb03 of process 65066]
Xavier> [New Thread 0xd03 of process 65066]
Xavier> During startup program terminated with signal SIGTRAP, Trace/breakpoint trap.
I applied patch #2 from this series locally, but not patch #4. Then I
ran gdb on a simple test program. This worked fine. So at least here
this patch seems not to be needed now.
Tom