From: Toby Lloyd Davies <tlloyddavies@undo.io>
To: gdb-patches@sourceware.org
Cc: Toby Lloyd Davies <tlloyddavies@undo.io>
Subject: [PATCH 0/3] Fix inline function stepping
Date: Thu, 1 Feb 2024 15:21:15 +0000 [thread overview]
Message-ID: <20240201152118.598375-1-tlloyddavies@undo.io> (raw)
These patches fix various bugs with gdb's handling when stepping into
inline functions.
Toby Lloyd Davies (3):
gdb: Fix missed inline callsite when the frame has changed
gdb: Don't stop at non-statement line after stepping into inline
function
gdb: Fix 'next' skipping over remainder of inline function
gdb/gdbthread.h | 6 +
gdb/infcmd.c | 3 +-
gdb/infrun.c | 121 +++++++------
.../gdb.dwarf2/dw2-inline-stepping-2.c | 49 +++++
.../gdb.dwarf2/dw2-inline-stepping-2.exp | 127 +++++++++++++
.../gdb.dwarf2/dw2-inline-stepping-3.c | 50 ++++++
.../gdb.dwarf2/dw2-inline-stepping-3.exp | 153 ++++++++++++++++
.../gdb.dwarf2/dw2-inline-stepping-4.c | 59 +++++++
.../gdb.dwarf2/dw2-inline-stepping-4.exp | 167 ++++++++++++++++++
9 files changed, 679 insertions(+), 56 deletions(-)
create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-inline-stepping-2.c
create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-inline-stepping-2.exp
create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-inline-stepping-3.c
create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-inline-stepping-3.exp
create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-inline-stepping-4.c
create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-inline-stepping-4.exp
--
2.34.1
next reply other threads:[~2024-02-01 15:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-01 15:21 Toby Lloyd Davies [this message]
2024-02-01 15:21 ` [PATCH 1/3] gdb: Fix missed inline callsite when the frame has changed Toby Lloyd Davies
2024-02-01 15:21 ` [PATCH 2/3] gdb: Don't stop at non-statement line after stepping into inline function Toby Lloyd Davies
2024-02-01 15:43 ` [PATCH v2 " Toby Lloyd Davies
2024-02-01 20:45 ` [PATCH " Carl Love
2024-02-01 21:35 ` Carl Love
2024-02-01 15:21 ` [PATCH 3/3] gdb: Fix 'next' skipping over remainder of " Toby Lloyd Davies
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=20240201152118.598375-1-tlloyddavies@undo.io \
--to=tlloyddavies@undo.io \
--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).