Add `_finalizer' to the list of known GNAT auxilary routines.
authorJoel Brobecker <brobecker@gnat.com>
Tue, 23 Nov 2010 01:01:22 +0000 (01:01 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Tue, 23 Nov 2010 01:01:22 +0000 (01:01 +0000)
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.

gdb/ChangeLog
gdb/ada-lang.h

index 3fb418c13cfcb2fb93c8b9940a1b14bc0e7f1068..18de38966254adcebf5275ce08d31864abb66509 100644 (file)
@@ -1,3 +1,8 @@
+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.
index cbd0f0606a1e9ada9fd94e16125580ad7cf45d8d..0cd20df7d10e2ae6f6bc0c49f11026c72b9c7f37 100644 (file)
@@ -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
This page took 0.030261 seconds and 4 git commands to generate.