Re: How can I implement new breakpoint commands

Simon Marchi <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.