From: tangming chen <tangmingchen8@gmail.com>
To: gdb@sourceware.org
Subject: some questions about the underlying implementation principle of gdb
Date: Wed, 9 Nov 2022 23:30:56 +0800 [thread overview]
Message-ID: <CAAxoQC7iM55m-fR=iXemUPjfCQ8bwjx4yEYO6M_xDzvc2T=cLA@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 485 bytes --]
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!
next reply other threads:[~2022-11-09 15:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-09 15:30 tangming chen [this message]
2022-11-10 15:08 ` Bruno Larsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAAxoQC7iM55m-fR=iXemUPjfCQ8bwjx4yEYO6M_xDzvc2T=cLA@mail.gmail.com' \
--to=tangmingchen8@gmail.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).