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:
9f82823
)
Stop gdb in gnat_runtime_has_debug_info
author
Tom Tromey
<tromey@adacore.com>
Mon, 17 Apr 2023 17:20:02 +0000
(11:20 -0600)
committer
Tom Tromey
<tromey@adacore.com>
Mon, 12 Jun 2023 17:51:52 +0000
(11:51 -0600)
gnat_runtime_has_debug_info starts a new gdb to do its work. However,
it also leaves this gdb running, which can potentially confuse the
calling test -- I encountered this when writing a new DAP test. This
patch changes the proc to shut down gdb.
gdb/testsuite/lib/ada.exp
patch
|
blob
|
history
diff --git
a/gdb/testsuite/lib/ada.exp
b/gdb/testsuite/lib/ada.exp
index b728e3a2aba9e62c7cd2402e3042d5a291017c49..b4a93faefa5a6f299e9797923cf95dec772f60db 100644
(file)
--- a/
gdb/testsuite/lib/ada.exp
+++ b/
gdb/testsuite/lib/ada.exp
@@
-204,5
+204,7
@@
gdb_caching_proc gnat_runtime_has_debug_info {} {
}
}
+ gdb_exit
+
return $has_debug_info
}