aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib/dap-support.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/lib/dap-support.exp')
-rw-r--r--gdb/testsuite/lib/dap-support.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/lib/dap-support.exp b/gdb/testsuite/lib/dap-support.exp
index 2d962e6..5c078ca 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]
}