public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] Improving frame printing with recursive calls
@ 2023-11-07 12:41 Guinevere Larsen
  2023-11-07 12:41 ` [PATCH v4 1/2] gdb/record: print frame information when exiting a recursive call Guinevere Larsen
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Guinevere Larsen @ 2023-11-07 12:41 UTC (permalink / raw)
  To: gdb-patches; +Cc: Guinevere Larsen

This started with the first patch, just fixing PR record/29178. However,
Kevin pointed out that I could reuse some of the local variables to make
the function as a whole simpler, which I did on patch 2.
My changes on v3 introduced a regression in a dwarf2 test. I gave some
time for people to comment on Kevin's solution (then forgot about this
patch), but since no one disagreed, this new version changes thetest,
rather than the code.

Changelog for v4:
* changed gdb.dwarf2/dw2-out-of-range... because it was reporting a
  failure, but it is just some symbols being read earlier than before.

Changelog for v3:
* Fix remaining style issues in the testsuite

Changelog for v2:
* Added second patch in the series
* Fixed some tyle issues

Guinevere Larsen (2):
  gdb/record: print frame information when exiting a recursive call
  gdb/infrun: simplify process_event_stop_test

 gdb/infrun.c                                  | 36 ++++++++++-----
 .../dw2-out-of-range-end-of-seq.exp           |  2 +-
 gdb/testsuite/gdb.reverse/recursion.c         | 44 ++++++++++++++++++
 gdb/testsuite/gdb.reverse/recursion.exp       | 45 +++++++++++++++++++
 4 files changed, 114 insertions(+), 13 deletions(-)
 create mode 100644 gdb/testsuite/gdb.reverse/recursion.c
 create mode 100644 gdb/testsuite/gdb.reverse/recursion.exp

-- 
2.41.0


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

end of thread, other threads:[~2023-11-29 12:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-07 12:41 [PATCH v4 0/2] Improving frame printing with recursive calls Guinevere Larsen
2023-11-07 12:41 ` [PATCH v4 1/2] gdb/record: print frame information when exiting a recursive call Guinevere Larsen
2023-11-07 12:41 ` [PATCH v4 2/2] gdb/infrun: simplify process_event_stop_test Guinevere Larsen
2023-11-17 14:38 ` [PATCH v4 0/2] Improving frame printing with recursive calls Tom Tromey
2023-11-20  9:54   ` Guinevere Larsen
2023-11-29 11:42     ` Luis Machado
2023-11-29 12:09       ` Guinevere Larsen

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