RE: [EXT] Re: Context switch during stepping causes weird behavior
Adrian Oltean via Gdb <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <AM6PR04MB4630AD0335748D365C6CE6E4F1229@AM6PR04MB4630.eurprd04.prod.outlook.com> |
Hi Luis, Indeed, GDB does not handle very well such a case... I'll have to think about your suggestion. The idea is not bad but my GDB server is not aware about the underlying debugged app (Linux kernel), thus making it complicated to map kernel threads from target to actual GDB threads. Thanks, Adrian > -----Original Message----- > GDB doesn't really like things changing behind its back, and I don't think this case > is handled very well (or at all). > > When the thread migrates to a different core, would it be possible to re-order > the thread numbering so GDB's view of the threads is unchanged?