public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Fix inline function stepping
@ 2024-02-01 15:21 Toby Lloyd Davies
  2024-02-01 15:21 ` [PATCH 1/3] gdb: Fix missed inline callsite when the frame has changed Toby Lloyd Davies
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Toby Lloyd Davies @ 2024-02-01 15:21 UTC (permalink / raw)
  To: gdb-patches; +Cc: Toby Lloyd Davies

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-02-01 21:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-01 15:21 [PATCH 0/3] Fix inline function stepping Toby Lloyd Davies
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

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