From 3eb970a80b84e5d1b86b16f5a5336b3fdc772c74 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 6 Oct 2001 19:19:27 +0000 Subject: [PATCH] * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Define. --- gdb/ChangeLog | 4 ++++ gdb/config/alpha/tm-fbsd.h | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9203a324b60..357870a8f19 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2001-10-06 Mark Kettenis + + * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Define. + 2001-10-04 Tom Tromey * 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 315712c5bc9..00d3c27dc0b 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. */ -- 2.30.2