From 34b611d9615afc898b2e9b7957608de673f85a36 Mon Sep 17 00:00:00 2001 From: "beard%netscape.com" Date: Thu, 13 Apr 2000 06:33:09 +0000 Subject: [PATCH] [not part of build] NFRAMES == 2 for alignment reasons. --- gc/boehm/gc_priv.h | 2 +- gc/boehm/misc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gc/boehm/gc_priv.h b/gc/boehm/gc_priv.h index 013d1d975fb..8c837cde30d 100644 --- a/gc/boehm/gc_priv.h +++ b/gc/boehm/gc_priv.h @@ -225,7 +225,7 @@ typedef char * ptr_t; /* A generic pointer to which we can add */ * Number of frames and arguments to save in objects allocated by * debugging allocator. */ -# define NFRAMES 1 /* Number of frames to save. Even for */ +# define NFRAMES 2 /* Number of frames to save. Even for */ /* alignment reasons. */ # define NARGS 0 /* Mumber of arguments to save for each call. */ diff --git a/gc/boehm/misc.c b/gc/boehm/misc.c index 3e010266646..d37549aafbe 100644 --- a/gc/boehm/misc.c +++ b/gc/boehm/misc.c @@ -809,7 +809,7 @@ static char* pc2name(word pc, char name[], long size) extern void MWUnmangle(const char *mangled_name, char *unmangled_name, size_t buffersize); extern int GC_address_to_source(char* codeAddr, char symbolName[256], char fileName[256], UInt32* fileOffset); -#if NFRAMES > 1 +#if NFRAMES > 2 void GC_print_callers(struct callinfo info[NFRAMES]) {