Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
into GDB python I tried gdb.Breakpoint('0xaaaa')
gdb.Breakpoint('0xaaaa')
I got error
Function 0xaaaa is not defided . Breakpoint 5(0xaaaa) pending
and the program not break at this address.
Why is that?
You just need to prefix the address with a '*', like when using break.
'*'
break
For example:
(gdb) python >gdb.Breakpoint('*0x080487ff') >end Breakpoint 1 at 0x80487ff (gdb)
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.