This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 To be a JIT-debugger [1] on Windows, gdb has to be able to signal an event, which is passed to it by command line. If that is not done, the process being debugged will not come out of a waiting loop after gdb attaches to it. If the event is signaled, Windows will break the loop, and let the exception fall into gdb's lap (well, stack will be a bit borked, but that's another issue for another day, and there are ways of working around it), after gdb user does 'continue'. The attached patch [2] does exactly that by adding extra "--event=EVENT" argument, thus AeDebug command line will look like this: c:\mingw32\bin\gdb.exe --pid=%ld --event=%ld Here [3] is the changelog entry. Here [4] is a bug entry on the tracker. [1] http://msdn.microsoft.com/en-us/library/5hs4b7a6%28v=vs.80%29.aspx [2] http://sourceware.org/bugzilla/attachment.cgi?id=6619&action=diff [3] http://sourceware.org/bugzilla/attachment.cgi?id=6620 [4] http://sourceware.org/bugzilla/show_bug.cgi?id=14529 [2] and [3] are also attached. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (MingW32) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQEcBAEBAgAGBQJQPldbAAoJEOs4Jb6SI2CwuPYH/iSQJq2NEmsMGJ7dECdfFlWB TF3hmodpd+CPfo/M/jB6DwRAGVM3l5goLXH6oWU1/sffUlTWwFJmI+Z66AQXayt5 xCMYRUs8lsBNloVsGWoHeVBhBD9yLpPrnG7CIK4RyE1FmXeEa1+/8YSfg8R/VqxL Bjo6dVynXwqwuVmoFZnIqYd0X7v86p+6znpojFAqgYlJa640XyXel1wrJb9tPpiy NV2iW03tnNPzVm+czwl7T1IA5DQUaOmPTbuTL1O9nO7S6xJu3juo7ZcFe0tZvtZn eFHT6r0DI4meJ1DQ4KtvT2d0k6gJkHk4/HxzjZ9neuaE/lWFG5ug6tGZcY4+GS4= =o1gF -----END PGP SIGNATURE-----
Attachment:
0001-Make-gdb-JIT-capable-W32.patch
Description: Text document
Attachment:
ChangeLog.14529
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |