Questions tagged [xmethod]

2 questions
2
votes
1 answer

Set up GDB C++ STL xmethods

I'm trying to enable xmethods as mentioned in this answer. However, info xmethod returns nothing even if I called enable xmethod beforehand: (gdb) enable xmethod (gdb) info xmethod (gdb) How can I import the xmethods into my GDB? Note that this is…
J3soon
  • 3,013
  • 2
  • 29
  • 49
0
votes
0 answers

How is a GDB xmethod enabled?

When creating an 'xmethod' how do I activate it in GDB? source /home/me/xmethod/my-class.py enable xmethod The documentation does not provide an activation example. help enable xmethod GDB command to enable a specified (group of) xmethod(s). …
phreed
  • 1,759
  • 1
  • 15
  • 30