Re: how GDB use ptrace to return from a function

Yubin Ruan <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAJYFCiN5Syn+=wmqBd3DAAv8bHe9QD+o7WRaMLfqw6M1=WGSnA@mail.gmail.com>
2017-11-18 12:03 GMT+08:00 Joel Brobecker <[email protected]>:
>> what break point events are common for X86?
>
> IIRC, the breakpoint instruction on x86 is the int3 instruction.
> It should generate a SIGTRAP upon execution, just like any user-
> inserted breakpoints.

Thanks Joel ;-)

Yubin
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.