projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e9a03f
)
gdb/testsuite/dap: remove catch from dap_read_event
author
Simon Marchi
<simon.marchi@efficios.com>
Fri, 6 Jan 2023 16:39:29 +0000
(11:39 -0500)
committer
Simon Marchi
<simon.marchi@efficios.com>
Thu, 26 Jan 2023 19:31:33 +0000
(14:31 -0500)
This catch didn't cause me any trouble, but for the same reason as the
preceding patch, I think it's a bit better to just let any exception
propagate, to make for easier debugging.
Change-Id: I1779e62c788b77fef2d50434edf4c3d2ec5e1c4c
gdb/testsuite/lib/dap-support.exp
patch
|
blob
|
history
diff --git
a/gdb/testsuite/lib/dap-support.exp
b/gdb/testsuite/lib/dap-support.exp
index bc99f0182a7631bcfd9a98182aa7166c4c28bfb1..8c85f90c352abea7b4b0409705297538916cb3ee 100644
(file)
--- a/
gdb/testsuite/lib/dap-support.exp
+++ b/
gdb/testsuite/lib/dap-support.exp
@@
-310,11
+310,7
@@
proc dap_read_event {name type args} {
set name $type
}
- if {[catch {_dap_read_event $type} result]} {
- fail $name
- return ""
- }
-
+ set result [_dap_read_event $type]
eval dap_match_values [list $name $result] $args
return $result