diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-02-01 06:35:29 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-02-01 06:35:29 +0000 |
commit | e782a927c24430100bf2008c96cd421a70285a7e (patch) | |
tree | ca91c08070e38fa5c2c9ed085f4835eb5ab3704b /debug | |
parent | 3a7ac8a0f596bb73093212cd1109c1413777e1f8 (diff) | |
download | glibc-e782a927c24430100bf2008c96cd421a70285a7e.zip glibc-e782a927c24430100bf2008c96cd421a70285a7e.tar.gz glibc-e782a927c24430100bf2008c96cd421a70285a7e.tar.bz2 |
Remove BOUNDED_N and BOUNDED_1.
Diffstat (limited to 'debug')
-rw-r--r-- | debug/backtrace.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/debug/backtrace.c b/debug/backtrace.c index bd60c04..ca80797 100644 --- a/debug/backtrace.c +++ b/debug/backtrace.c @@ -21,7 +21,6 @@ #include <signal.h> #include <frame.h> #include <sigcontextinfo.h> -#include <bp-checks.h> #include <ldsodefs.h> /* 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 |