Re: v2 of GDB hooks for debugging GCC

2013-08-27 Thread Tom Tromey
> "David" == David Malcolm writes: David> Is there a precanned event provided by gdb that I can connect to for David> when the underlying code has changed and my caches need to be David> invalidated? Maybe not :( You could use the "exited" event as a decent approximation. Also, and I think

Re: v2 of GDB hooks for debugging GCC

2013-08-26 Thread David Malcolm
On Wed, 2013-08-21 at 15:01 -0600, Tom Tromey wrote: > > "David" == David Malcolm writes: [...] > David> How would one go about toggling the enabledness of a prettyprinter? Is > David> this something that can only be done from python? > > You can use "enable pretty-printer" and "disable pre

Re: v2 of GDB hooks for debugging GCC

2013-08-21 Thread Tom Tromey
> "David" == David Malcolm writes: Tom> Naughty. David> We chatted about this at Cauldron; I haven't yet had a chance to David> implement the magic bullet approach we discussed there. In the David> meantime, is there a API I can call to determine how safe this kludge David> is? Not right n