I had unconsciously found the workaround a few months ago while hacking around Little Snitch with kernel debugging. To make things easier I had a small GDB script to call the debug kit macros and set all the variables that are the source of the problem with gdbinit. This was something I never thought about, just accepted it.
Today, while answering to a comment, the connection was made inside my brain (I love how the brain works!
Print
Share
Comment
Cite
Upload
Translate
APA
() » Workaround for Apple’s GDB bug…. Retrieved from https://www.truth.cx/2009/08/06/workaround-for-apples-gdb-bug/.
MLA" » Workaround for Apple’s GDB bug…." - , https://www.truth.cx/2009/08/06/workaround-for-apples-gdb-bug/
HARVARD » Workaround for Apple’s GDB bug…., viewed ,
VANCOUVER - » Workaround for Apple’s GDB bug…. [Internet]. [Accessed ]. Available from: https://www.truth.cx/2009/08/06/workaround-for-apples-gdb-bug/
CHICAGO" » Workaround for Apple’s GDB bug…." - Accessed . https://www.truth.cx/2009/08/06/workaround-for-apples-gdb-bug/
IEEE" » Workaround for Apple’s GDB bug…." [Online]. Available: https://www.truth.cx/2009/08/06/workaround-for-apples-gdb-bug/. [Accessed: ]