From e782a927c24430100bf2008c96cd421a70285a7e Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 1 Feb 2013 06:35:29 +0000 Subject: Remove BOUNDED_N and BOUNDED_1. --- debug/backtrace.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'debug/backtrace.c') diff --git a/debug/backtrace.c b/debug/backtrace.c index bd60c04d5d..ca80797fc9 100644 --- a/debug/backtrace.c +++ b/debug/backtrace.c @@ -21,7 +21,6 @@ #include #include #include -#include #include /* This implementation assumes a stack layout that matches the defaults @@ -50,7 +49,7 @@ /* By default assume the `next' pointer in struct layout points to the next struct layout. */ #ifndef ADVANCE_STACK_FRAME -# define ADVANCE_STACK_FRAME(next) BOUNDED_1 ((struct layout *) (next)) +# define ADVANCE_STACK_FRAME(next) ((struct layout *) (next)) #endif /* By default, the frame pointer is just what we get from gcc. */ @@ -72,7 +71,7 @@ __backtrace (array, size) top_stack = CURRENT_STACK_FRAME; /* We skip the call to this function, it makes no sense to record it. */ - current = BOUNDED_1 ((struct layout *) top_frame); + current = ((struct layout *) top_frame); while (cnt < size) { if ((void *) current INNER_THAN top_stack -- cgit 1.4.1