aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2011-12-11 17:36:10 +0000
committerJoel Brobecker <brobecker@gnat.com>2011-12-11 17:36:10 +0000
commita6af7abe5d7e3635aac073dfc2b1fd336d42089d (patch)
tree919936f25d864590ade8c11068e32e3de73bcc7c /gdb/ChangeLog
parentf17011e0cdc423256adc389981b4a51b8a13c1ec (diff)
downloadgdb-a6af7abe5d7e3635aac073dfc2b1fd336d42089d.zip
gdb-a6af7abe5d7e3635aac073dfc2b1fd336d42089d.tar.gz
gdb-a6af7abe5d7e3635aac073dfc2b1fd336d42089d.tar.bz2
Warn if missing debug info for Ada exception catchpoints
This patch should help the user understand why the debugger is not able to insert Ada exception catchpoints when the Ada runtime was stripped of debugging info, as is often the case on many GNU/Linux distros: (gdb) catch exception Your Ada runtime appears to be missing some debugging information. Cannot insert Ada exception catchpoint in this configuration. gdb/ChangeLog: * ada-lang.c (ada_has_this_exception_support): Raise an error if we could find the Ada exception hook in the Ada runtime, but no debugging info for that hook. gdb/testsuite/ChangeLog: * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust expected output for unsupported case.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cbd770b..31397e0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2011-12-11 Joel Brobecker <brobecker@adacore.com>
+ * ada-lang.c (ada_has_this_exception_support): Raise an error
+ if we could find the Ada exception hook in the Ada runtime,
+ but no debugging info for that hook.
+
+2011-12-11 Joel Brobecker <brobecker@adacore.com>
+
* ada-lang.c (ada_has_this_exception_support): New function,
extracted out of ada_exception_sal and ada_exception_sal.
(ada_exception_support_info_sniffer): Simplify by using