summaryrefslogtreecommitdiff
path: root/gdb/ada-lang.h
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
commit3d81451aabc6ef8a122269afdc1440d4661c1732 (patch)
treec96ed9f789f9a3ae4ddc7fb76972d710f626e529 /gdb/ada-lang.h
parentd8d0d782ba2ecf92f27a8998d1e420598d42b22f (diff)
downloadgdb-3d81451aabc6ef8a122269afdc1440d4661c1732.tar.gz
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/ada-lang.h')
-rw-r--r--gdb/ada-lang.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/ada-lang.h b/gdb/ada-lang.h
index cbd0f0606a1..0cd20df7d10 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