public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
* [Bug gdb/29612] New: Does not follow child processes spawned with posix_spawn() @ 2022-09-25 18:53 diskpoppy at proton dot me 2022-09-25 18:56 ` [Bug gdb/29612] " diskpoppy at proton dot me ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: diskpoppy at proton dot me @ 2022-09-25 18:53 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=29612 Bug ID: 29612 Summary: Does not follow child processes spawned with posix_spawn() Product: gdb Version: 12.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: diskpoppy at proton dot me Target Milestone: --- I'm using homebrew gdb 12.1 on macOS 11.6.4 I have "set follow-fork-mode child" I expected for gdb to follow the process spawned with posix_spawn Minimal program using posix_spawn (that spawns itself, but it could also spawn other executables): #include <spawn.h> #define NULL 0 extern char **environ; int main(int argc, char** argv) { if(argc > 1 && argv[1][0] == 'g') { return 1; } pid_t pid_this = 0; char * argv_this[] = {"test_program", "g", NULL}; posix_spawn(&pid_this, "/path/test_program", NULL, NULL, argv_this, environ); return 0; } -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug gdb/29612] Does not follow child processes spawned with posix_spawn() 2022-09-25 18:53 [Bug gdb/29612] New: Does not follow child processes spawned with posix_spawn() diskpoppy at proton dot me @ 2022-09-25 18:56 ` diskpoppy at proton dot me 2022-09-25 19:45 ` diskpoppy at proton dot me 2022-10-01 16:09 ` tromey at sourceware dot org 2 siblings, 0 replies; 4+ messages in thread From: diskpoppy at proton dot me @ 2022-09-25 18:56 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=29612 Disk Poppy <diskpoppy at proton dot me> changed: What |Removed |Added ---------------------------------------------------------------------------- Host| |macOS 11.6.4 -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug gdb/29612] Does not follow child processes spawned with posix_spawn() 2022-09-25 18:53 [Bug gdb/29612] New: Does not follow child processes spawned with posix_spawn() diskpoppy at proton dot me 2022-09-25 18:56 ` [Bug gdb/29612] " diskpoppy at proton dot me @ 2022-09-25 19:45 ` diskpoppy at proton dot me 2022-10-01 16:09 ` tromey at sourceware dot org 2 siblings, 0 replies; 4+ messages in thread From: diskpoppy at proton dot me @ 2022-09-25 19:45 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=29612 Disk Poppy <diskpoppy at proton dot me> changed: What |Removed |Added ---------------------------------------------------------------------------- Host|macOS 11.6.4 |x86_64 macOS 11.6.4 -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug gdb/29612] Does not follow child processes spawned with posix_spawn() 2022-09-25 18:53 [Bug gdb/29612] New: Does not follow child processes spawned with posix_spawn() diskpoppy at proton dot me 2022-09-25 18:56 ` [Bug gdb/29612] " diskpoppy at proton dot me 2022-09-25 19:45 ` diskpoppy at proton dot me @ 2022-10-01 16:09 ` tromey at sourceware dot org 2 siblings, 0 replies; 4+ messages in thread From: tromey at sourceware dot org @ 2022-10-01 16:09 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=29612 Tom Tromey <tromey at sourceware dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at sourceware dot org Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2022-10-01 --- Comment #1 from Tom Tromey <tromey at sourceware dot org> --- I don't think anybody has implemented follow-fork or multi-inferior for macOS. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-10-01 16:09 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-09-25 18:53 [Bug gdb/29612] New: Does not follow child processes spawned with posix_spawn() diskpoppy at proton dot me 2022-09-25 18:56 ` [Bug gdb/29612] " diskpoppy at proton dot me 2022-09-25 19:45 ` diskpoppy at proton dot me 2022-10-01 16:09 ` tromey at sourceware dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).