aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-11-23 01:01:22 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-11-23 01:01:22 +0000
commitdf30368de152f204fb04f69281ab9e1e2c93cc56 (patch)
tree04d0fbddc4f727b71c00462943dd8bbd1c2e8489 /gdb
parent4889bbbc1d2574889f4dfad9999c1ffb1620772f (diff)
downloadgdb-df30368de152f204fb04f69281ab9e1e2c93cc56.zip
gdb-df30368de152f204fb04f69281ab9e1e2c93cc56.tar.gz
gdb-df30368de152f204fb04f69281ab9e1e2c93cc56.tar.bz2
Add `_finalizer' to the list of known GNAT auxilary routines.
This is a new routine that is being generated by the expander in the context of controlled types. This patch adds it to the list of such routines so that the debugger does not show it when selecting the first "user" frame (when switching tasks for instance). gdb/ChangeLog: * ada-lang.h (ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS): Add "_finalizer" to the list.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/ada-lang.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3fb418c..18de389 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2010-11-22 Joel Brobecker <brobecker@adacore.com>
+ * ada-lang.h (ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS): Add
+ "_finalizer" to the list.
+
+2010-11-22 Joel Brobecker <brobecker@adacore.com>
+
* symfile.c: Remove all "#if 0"/"#endif" blocks.
2010-11-22 Joel Brobecker <brobecker@adacore.com>
diff --git a/gdb/ada-lang.h b/gdb/ada-lang.h
index cbd0f06..0cd20df 100644
--- a/gdb/ada-lang.h
+++ b/gdb/ada-lang.h
@@ -51,7 +51,8 @@ struct frame_info;
interest to users. Each name (a basic regular expression string)
is followed by a comma. */
#define ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS \
- "___clean[.$a-zA-Z0-9_]*$",
+ "___clean[.$a-zA-Z0-9_]*$", \
+ "___finalizer[.$a-zA-Z0-9_]*$",
/* The maximum number of frame levels searched for non-local,
* non-global symbols. This limit exists as a precaution to prevent