Python interface: is there any way to...
Paul Smith
psmith@gnu.org
Tue Feb 2 16:46:14 GMT 2021
I'm wondering if there are ways to detect, from within the Python
extensions for GDB, these things:
Can I determine whether I'm working on a core file, versus working with
a live process?
Can I determine whether my Python methods are being invoked from within
a variable "pretty printer context", versus some other context such as
the result of a function call from the prompt etc.?
Thanks!
More information about the Gdb
mailing list