This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit/Ada] improve message when cannot insert Ada exception catchpoint.
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Cc: Joel Brobecker <brobecker at adacore dot com>
- Date: Sun, 11 Dec 2011 12:45:53 -0500
- Subject: [commit/Ada] improve message when cannot insert Ada exception catchpoint.
- References: <20111207100101.GC21915@adacore.com>
Hello,
This tries to improve the error message pointed out by Pedro.
I think the problem was the generality of the error message, so
fixed thusly.
gdb/ChangeLog:
* ada-lang.c (ada_exception_support_info_sniffer): Improve
error message.
Tested on x86_64-linux, checked in.
---
gdb/ChangeLog | 5 +++++
gdb/ada-lang.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9089e21..28bc272 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2011-12-11 Joel Brobecker <brobecker@adacore.com>
+ * ada-lang.c (ada_exception_support_info_sniffer): Improve
+ error message.
+
+2011-12-11 Joel Brobecker <brobecker@adacore.com>
+
* ada-lang.c (struct ada_inferior_data) [exception_info]:
New field.
(exception_info): Delete.
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index ff43ca4..30a561d 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -10757,7 +10757,7 @@ ada_exception_support_info_sniffer (void)
out by the linker... In any case, at this point it is not worth
supporting this feature. */
- error (_("Cannot insert catchpoints in this configuration."));
+ error (_("Cannot insert Ada exception catchpoints in this configuration."));
}
/* True iff FRAME is very likely to be that of a function that is
--
1.7.1