0
0
Fork 0
haikuports/dev-util/gdb/patches
Augustin Cavalier 985c28d7c7 gdb: Add almost-working recipe and patchset for 8.1 (!!!).
Reworking the Haiku backend from 6.3 (2004) to 8.1 (2018) surprisingly
only took a few hours to get it to compile ... but then it crashes when
attempting to start inferiors with a use-after free that I spent over
three hours debugging and got nowhere.

It seems that somehow, an event object that is created, deleted, and otherwise
managed entirely by the Haiku patches is somehow deleted between waits?!
The guarded heap was of not much help here, it obviously caught the UAF
before the regular heap did, but couldn't even say where it had been freed,
only where it had been allocated; and the allocation location looked
completely wrong also. So, this is very close, but it doesn't work just yet.

It would sure be nice to have Qt Creator's GDB support (which needs
Python-enabled GDB) working...
2018-09-02 21:25:08 -04:00
..
gdb-6.3.patch gdb: Fix and enable for x64. 2018-09-02 01:56:03 -04:00
gdb-7.7.patchset Initial gdb port 2014-03-26 04:12:32 +01:00
gdb-8.1.patch gdb: Add almost-working recipe and patchset for 8.1 (!!!). 2018-09-02 21:25:08 -04:00