Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFC v2 0/3] [gdb] Fix missing print frame when stepping out of function
@ 2026-03-31 13:23 Tom de Vries
  2026-03-31 13:23 ` [RFC v2 1/3] [gdb/symtab] Add find_symbol_for_pc_maybe_inline Tom de Vries
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Tom de Vries @ 2026-03-31 13:23 UTC (permalink / raw)
  To: gdb-patches

This patch series consisting of three patches.

The first two patches do some refactoring, to make the last patch minimal.

The last patch contains a fix for PR33981 (though it introduces a new problem,
hence the RFC).

A v1 was submitted here [1].

Changes in v2:
- added two refactoring patches
- changed approach after review comment by Andrew, changing
  in_step_start_function usage to notice stepping in and out of inlined
  functions

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=33981

[1] https://sourceware.org/pipermail/gdb-patches/2026-March/225916.html

Tom de Vries (3):
  [gdb/symtab] Add find_symbol_for_pc_maybe_inline
  [gdb] Add thread_control_state::step_start_function methods
  [gdb] Fix missing print frame when stepping out of function

 gdb/blockframe.c                              |  8 ++++
 gdb/gdbthread.h                               | 41 ++++++++++++++++-
 gdb/infcmd.c                                  |  5 +--
 gdb/infrun.c                                  | 12 +++--
 gdb/symtab.h                                  |  6 +++
 .../gdb.dwarf2/dw2-extend-inline-block.exp    | 45 +++++++++++++++++--
 6 files changed, 102 insertions(+), 15 deletions(-)


base-commit: ad6615bf96d148a238f21907caebf8100f92d74e
-- 
2.51.0


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

end of thread, other threads:[~2026-04-10 10:48 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-31 13:23 [RFC v2 0/3] [gdb] Fix missing print frame when stepping out of function Tom de Vries
2026-03-31 13:23 ` [RFC v2 1/3] [gdb/symtab] Add find_symbol_for_pc_maybe_inline Tom de Vries
2026-03-31 13:23 ` [RFC v2 2/3] [gdb] Add thread_control_state::step_start_function methods Tom de Vries
2026-03-31 13:23 ` [RFC v2 3/3] [gdb] Fix missing print frame when stepping out of function Tom de Vries
2026-04-05 10:12 ` [PATCH 0/2] " Andrew Burgess
2026-04-05 10:12   ` [PATCH 1/2] gdb: use get_current_frame consistently in print_stop_location Andrew Burgess
2026-04-09  6:42     ` Tom de Vries
2026-04-09  8:54       ` Andrew Burgess
2026-04-09 13:43         ` Tom de Vries
2026-04-10  8:57           ` Andrew Burgess
2026-04-10 10:17             ` Tom de Vries
2026-04-05 10:12   ` [PATCH 2/2] gdb: fix missing print frame when stepping out of function Andrew Burgess
2026-04-10 10:29     ` Tom de Vries
2026-04-10 10:48   ` [PATCH 0/2] Fix " Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox