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