RE: [PATCH v5] Change message when reaching end of reverse history.

Metzger, Markus T
2024-07-09T06:25:13Z

> gdb/NEWS | 5 +++
> gdb/infrun.c | 9 +++++-
> gdb/testsuite/gdb.btrace/non-stop.exp | 32 ++++++++++++-------
> gdb/testsuite/gdb.reverse/break-precsave.exp | 6 ++--
> gdb/testsuite/gdb.reverse/break-reverse.exp | 4 +--
> .../gdb.reverse/machinestate-precsave.exp | 2 +-
> gdb/testsuite/gdb.reverse/sigall-precsave.exp | 2 +-
> 7 files changed, 41 insertions(+), 19 deletions(-)

When I grep for 'No more reverse' I find more hits in gdb.btrace.

>+proc gdb_cont_to_no_history_backward { threads cmd nthreads } {
> gdb_cont_to $threads $cmd \
> [multi_line \
>- "No more reverse-execution history\." \
>+ "Reached end of recorded.*Backward execution.*" \

If we just scanned for "Reached end of recorded history", this would be
a one-line change.

Regards,
Markus.

Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Sean Fennelly, Jeffrey Schneiderman, Tiffany Doon Silva
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928