RE: [PATCH 0/2] gdb: improve interrupting an empty remote target
"Rohr, Stephan" <[email protected]>
| Newsgroups | gmane.comp.gdb.patches |
|---|---|
| Message-ID | <DS7PR11MB62471262AFFA3EAEE6143C5A93A72@DS7PR11MB6247.namprd11.prod.outlook.com> |
Kindly pinging 😊 > -----Original Message----- > From: Stephan Rohr <[email protected]> > Sent: Wednesday, 5 August 2026 10:59 > To: [email protected] > Subject: [PATCH 0/2] gdb: improve interrupting an empty remote target > > From: "Rohr, Stephan" <[email protected]> > > Hello all, > > GDB hits an assertion when interrupting an empty remote target. Fix it > by ensuring a valid thread first. We can also skip sending the 'vCont' > package for an empty target. This is fixed in the second patch. > > Regression tested on Ubuntu 24 with the native, gdbserver and extended > gdbserver targets. > > I appreciate your feedback. > > Thanks > Stephan > > Rohr, Stephan (2): > gdb: fix assertion when interrupting an empty remote target > gdb, remote: Skip sending of 'vCont' package if remote target is empty > > gdb/infcmd.c | 5 +- > gdb/remote.c | 4 ++ > .../interrupt-empty-remote-target.exp | 56 +++++++++++++++++++ > gdb/thread-iter.h | 3 + > 4 files changed, 67 insertions(+), 1 deletion(-) > create mode 100644 gdb/testsuite/gdb.server/interrupt-empty-remote- > target.exp > > -- > 2.43.0 > > ________________________________________ > Intel Deutschland GmbH > > Registered Address: Dornacher Strasse 1, 85622 Feldkirchen, Germany > > Tel: +49 (89) 99143-0 > > www.intel.de > > Managing Directors: Candice Moore, Jeffrey Schneiderman, Ramachandran > Sitaraman > > Chairperson of the Supervisory Board: Sonja Pierer > > Registered Seat: Munich Commercial Register B: Amtsgericht Munich HRB > 186928 > > This e-mail and any attachments may contain confidential material for > the sole use of the intended recipient(s). Any review or distribution > by others is strictly prohibited. If you are not the intended > recipient, please contact the sender and delete all copies. ________________________________________ Intel Deutschland GmbH Registered Address: Dornacher Strasse 1, 85622 Feldkirchen, Germany Tel: +49 (89) 99143-0 www.intel.de Managing Directors: Candice Moore, Jeffrey Schneiderman, Ramachandran Sitaraman Chairperson of the Supervisory Board: Sonja Pierer Registered Seat: Munich Commercial Register B: Amtsgericht Munich HRB 186928 This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.