0

In gdbinit I defined some breakpoints.

How can I do that when specific breakpoint called I want to run x/s $r1 ?

0

I think your question is similar to an old (solved) thread on stackoverflow:

https://stackoverflow.com/questions/6517423/how-to-do-an-specific-action-when-a-certain-breakpoint-is-hit-in-gdb

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.