This is the release version of gdb 11.1 adapted to work with mulle-objc. Currently only x86_64 is known to work.
The version tracks that of gdb, but extends it to 4 parts, where the last digit is the mulle version. (e.g. 11.1 > 11.1.0.1)
Debugs code linked with mulle-objc-runtime 0.20.
The majority of the changes are predictably in gdb/objc-lang.c. They are not specifically marked. Changes outside of this file should be marked '// @mulle-gdb' and therefore easy to find.
- (hardcoded) mulle-objc runtime functions do not appear in the stacktrace
- (hardcoded) mulle-objc runtime functions are skipped in step-in/step-out/finish
There are no mulle-gdb
packages. You have to build and install mulle-gdb
manually.
Prerequisite | Comment |
---|---|
autoconf | |
texinfo | |
flex | |
bison | |
build-essential | c++, make etc. |
MULLE_GDB_VERSION=11.1.0.1
./configure-mulle-gdb --prefix "/opt/mulle-gdb/${MULLE_GDB_VERSION}"
make -j 8
sudo make install
sudo ln -f -s "/opt/mulle-gdb/${MULLE_GDB_VERSION}/bin/mulle-gdb" \
"/usr/local/bin/mulle-gdb"
You may want to change the options in the configure-mulle-gdb script to your liking. I prefer a minimal debugger without python.
Does it work on macOS ? Maybe. Beware though, that macOS is a consumer platform and not a developer platform.
Here are some links to get mulle-gdb
to run:
Hangs:
Even properly signed I need
sudo DevToolsSecurity -enable
to debug.