From: Tom Tromey Date: Wed, 3 Sep 2025 17:54:57 +0000 (-0600) Subject: Fix minor bug in dap-support.exp X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6f40bbb93abcbc389eeb5939751db3f6513a08fe;p=thirdparty%2Fbinutils-gdb.git 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. --- 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] }