public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 0/2] Allow debugging of runtime loader / dynamic linker
Date: Fri,  7 Oct 2022 20:57:14 -0700	[thread overview]
Message-ID: <20221008035716.46147-1-kevinb@redhat.com> (raw)

This series contains a small change to gdb/infrun.c which allows
stepping within the runtime loader / dynamic linker.  It also adds a
test case for testing this functionality.

Kevin Buettner (2):
  Allow debugging of runtime loader / dynamic linker
  Test stepping within a runtime loader / dynamic linker

 gdb/infrun.c                            |   5 +-
 gdb/testsuite/gdb.base/rtld-step-main.c |  22 ++++
 gdb/testsuite/gdb.base/rtld-step-rtld.c |  65 +++++++++++
 gdb/testsuite/gdb.base/rtld-step.exp    | 140 ++++++++++++++++++++++++
 4 files changed, 231 insertions(+), 1 deletion(-)
 create mode 100644 gdb/testsuite/gdb.base/rtld-step-main.c
 create mode 100644 gdb/testsuite/gdb.base/rtld-step-rtld.c
 create mode 100644 gdb/testsuite/gdb.base/rtld-step.exp

-- 
2.37.3


             reply	other threads:[~2022-10-08  3:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-08  3:57 Kevin Buettner [this message]
2022-10-08  3:57 ` [PATCH 1/2] " Kevin Buettner
2022-11-03 15:52   ` Lancelot SIX
2022-10-08  3:57 ` [PATCH 2/2] Test stepping within a " Kevin Buettner
2022-10-10 18:45   ` John Baldwin
2022-10-20  2:42     ` Kevin Buettner

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=20221008035716.46147-1-kevinb@redhat.com \
    --to=kevinb@redhat.com \
    --cc=gdb-patches@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).