aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/alpha/tm-fbsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config/alpha/tm-fbsd.h')
-rw-r--r--gdb/config/alpha/tm-fbsd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/config/alpha/tm-fbsd.h b/gdb/config/alpha/tm-fbsd.h
index 315712c..00d3c27 100644
--- a/gdb/config/alpha/tm-fbsd.h
+++ b/gdb/config/alpha/tm-fbsd.h
@@ -29,6 +29,13 @@
#define USE_STRUCT_CONVENTION(gcc_p, type) \
alphafbsd_use_struct_convention (gcc_p, type)
+/* FreeBSD doesn't mark the outermost frame. While some FreeBSD/Alpha
+ releases include (a minimal amount of) debugging info in its
+ startup code (crt1.o), the safest thing is to consider the user
+ code entry point as the outermost frame. */
+#define FRAME_CHAIN_VALID(chain, thisframe) \
+ func_frame_chain_valid(chain, thisframe)
+
/* Number of traps that happen between exec'ing the shell to run an
inferior, and when we finally get to the inferior code. The
default is right for FreeBSD. */