2 ms·
"What extensions would you add? We already have stack-layout information, and the debugger implicitly knows the platform ABI." But it does not know the C++ ABI
by DannyBee 11y ago
"What extensions would you add? We already have stack-layout information, and the debugger implicitly knows the platform ABI."
But it does not know the C++ ABI.
Here is the minimum amount the random crap GDB currently has to understand, on it's own, about the GNU v3 C++ ABI:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/gnu-v3-abi.c;hb=HEAD https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=b...
(There's more, it's just not all in this file :P)
In an ideal world, the debugger should need to know none of this. It should be part of the debug info.