From 6f40bbb93abcbc389eeb5939751db3f6513a08fe Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 3 Sep 2025 11:54:57 -0600 Subject: [PATCH] Fix minor bug in dap-support.exp Commit faee137249c8 refactored dap-support.exp, but accidentally left a reference to a variable that was renamed. I noticed this when an earlier version of this series provoked one of the errors in this code. --- gdb/testsuite/lib/dap-support.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/lib/dap-support.exp b/gdb/testsuite/lib/dap-support.exp index 2d962e6dd09..5c078ca011d 100644 --- a/gdb/testsuite/lib/dap-support.exp +++ b/gdb/testsuite/lib/dap-support.exp @@ -231,9 +231,9 @@ proc dap_read_response {cmd num} { set d [_dap_read_json] if {[dict get $d type] == "response"} { if {[dict get $d request_seq] != $num} { - error "saw wrong request_seq in $obj" + error "saw wrong request_seq in $d" } elseif {[dict get $d command] != $cmd} { - error "saw wrong command in $obj" + error "saw wrong command in $d" } else { return [list $d $result] } -- 2.47.3