mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 02:50:08 +08:00
gdb/testsuite/dap: remove catch from dap_read_event
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
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user