aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2001-10-06 19:19:27 +0000
committerMark Kettenis <kettenis@gnu.org>2001-10-06 19:19:27 +0000
commit3eb970a80b84e5d1b86b16f5a5336b3fdc772c74 (patch)
treefb8773fcdaf42ec7944596079934c993c250f11e /gdb
parent3f5864e1f47b2678c57a84c619c3b04d63e31e49 (diff)
downloadgdb-3eb970a80b84e5d1b86b16f5a5336b3fdc772c74.zip
gdb-3eb970a80b84e5d1b86b16f5a5336b3fdc772c74.tar.gz
gdb-3eb970a80b84e5d1b86b16f5a5336b3fdc772c74.tar.bz2
* config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Define.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/config/alpha/tm-fbsd.h7
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9203a32..357870a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2001-10-06 Mark Kettenis <kettenis@beast.freebsd.org>
+
+ * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Define.
+
2001-10-04 Tom Tromey <tromey@redhat.com>
* main.c (enable_external_editor): Don't declare.
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. */