public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
* [Bug gdb/13211] New: Async / Process group and interrupt not working @ 2011-09-21 11:36 kevin.pouget at gmail dot com 2011-09-21 13:23 ` [Bug gdb/13211] " kevin.pouget at gmail dot com ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: kevin.pouget at gmail dot com @ 2011-09-21 11:36 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=13211 Bug #: 13211 Summary: Async / Process group and interrupt not working Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: gdb AssignedTo: unassigned@sourceware.org ReportedBy: kevin.pouget@gmail.com Classification: Unclassified The `interrupt` command seems not to be working correctly when pgid != pid Testcase: ======== Execute the proc you want to debug from `make` Check their pgid/pid: `ps -eo pid,pgid,args --sort pgid` PID PGID COMMAND 11555 11555 make run 11556 11555 ./test Start GDB with `target-async on` and attach to your process. Continue it asynchronously `cont&` Try to interrupt it `interrupt` Nothing happens! Reason: ====== in inf-ptrace.c:331, inf_ptrace_stop tries to kill `-inferior_process_group ()` which is 11556. `perror` confirms that: "status: No such process" (I'm not sure 1. why `inferior_process_group` returns the wrong pg, 2. why you want to kill the entire group, my `make` did nothing wrong!) -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- 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/13211] Async / Process group and interrupt not working 2011-09-21 11:36 [Bug gdb/13211] New: Async / Process group and interrupt not working kevin.pouget at gmail dot com @ 2011-09-21 13:23 ` kevin.pouget at gmail dot com 2015-08-19 19:03 ` robertknight at gmail dot com 2022-04-22 12:38 ` tromey at sourceware dot org 2 siblings, 0 replies; 4+ messages in thread From: kevin.pouget at gmail dot com @ 2011-09-21 13:23 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=13211 Kevin Pouget <kevin.pouget at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kevin.pouget at gmail dot | |com -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- 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/13211] Async / Process group and interrupt not working 2011-09-21 11:36 [Bug gdb/13211] New: Async / Process group and interrupt not working kevin.pouget at gmail dot com 2011-09-21 13:23 ` [Bug gdb/13211] " kevin.pouget at gmail dot com @ 2015-08-19 19:03 ` robertknight at gmail dot com 2022-04-22 12:38 ` tromey at sourceware dot org 2 siblings, 0 replies; 4+ messages in thread From: robertknight at gmail dot com @ 2015-08-19 19:03 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=13211 Robert Knight <robertknight at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |robertknight at gmail dot com -- 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/13211] Async / Process group and interrupt not working 2011-09-21 11:36 [Bug gdb/13211] New: Async / Process group and interrupt not working kevin.pouget at gmail dot com 2011-09-21 13:23 ` [Bug gdb/13211] " kevin.pouget at gmail dot com 2015-08-19 19:03 ` robertknight at gmail dot com @ 2022-04-22 12:38 ` tromey at sourceware dot org 2 siblings, 0 replies; 4+ messages in thread From: tromey at sourceware dot org @ 2022-04-22 12:38 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=13211 Tom Tromey <tromey at sourceware dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED CC| |tromey at sourceware dot org Status|NEW |RESOLVED --- Comment #4 from Tom Tromey <tromey at sourceware dot org> --- I think this was fixed a while ago. -- 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-04-22 12:38 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-09-21 11:36 [Bug gdb/13211] New: Async / Process group and interrupt not working kevin.pouget at gmail dot com 2011-09-21 13:23 ` [Bug gdb/13211] " kevin.pouget at gmail dot com 2015-08-19 19:03 ` robertknight at gmail dot com 2022-04-22 12:38 ` 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).