0
0
Fork 0
Commit Graph

4 Commits

Author SHA1 Message Date
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
Augustin Cavalier 0ee98d9e05 gdb: Fix and enable for x64. 2018-09-02 01:56:03 -04:00
Augustin Cavalier c7f3cdb75d gdb: recipe for 6.3.
This is the same version we have in-tree, so we can now outsource that
version. AFAICT, it works just as well as the version included in the "haiku"
package.

I've left the static libs in the main package as that seems to be the
convention among Linux distros.
2015-02-11 11:18:10 -05:00
Jonathan Schleifer 0f38eeacff Initial gdb port
Compiles, but gdb complains that it does not know how to start or how to
attach. Therefore marked as broken, but wanted to commit what I already
have.
2014-03-26 04:12:32 +01:00