Closed galli-leo closed 5 years ago
I've pushed some codestyle fixes, but also fixed a logic bug. Your code was checking for multiprocess+
in the featureset the stub reports to gdb, not the featureset that gdb advertises. I've confirmed that this detects gdb's multiprocess support correctly. Can you make sure it works the way you expect with IDA?
I came across this while trying to use the gdb stub with ida and ida did not list any threads because it did not recognize the format the threads where reported in. This checks whether the
Supported
query containsmultiprocess+
and only then also sends the process id along with the thread id. It also errors if you try to attach to more than one process without multi process being enabled.Btw. not sure if the
+
aftermultiprocess
get's stripped or not.