How can I implement new breakpoint commands
Simon Marchi
simark@simark.ca
Fri Nov 13 15:43:15 GMT 2020
On 2020-11-12 4:36 a.m., Nagmat Nazar via Gdb wrote:
> I would like to add 3 more commands to GDB, *set, unset, list PCB *commands
> and would like to break if I have the same value with the *program context
> register(special register implemented by me). *How can I implement these
> commands? Where can I start from?
>
> Kind regards,
> Nagmat
>
Hi Nagmat,
Maybe I don't understand your goal correctly, but it sounds like you could use breakpoints conditions?
Simon
More information about the Gdb
mailing list