some questions about the underlying implementation principle of gdb
tangming chen via Gdb <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <CAAxoQC7iM55m-fR=iXemUPjfCQ8bwjx4yEYO6M_xDzvc2T=cLA@mail.gmail.com> |
Hello:
I am an undergraduate, and i am studying gdb. I have some questions
about the underlying implementation principle of gdb.
I learned that the implementation of gdb is related to ptrace.
Therefore,how does gdb debug programs through ptrace? More specifically, I
recently learned the awatch command,ignore command(ignore n number (n is
watchpoint number)),continue command. how does gdb implement the
commands(awatch ignore continue)?
Thank you!