aboutsummaryrefslogtreecommitdiff
path: root/debug
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-02-01 06:35:29 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-02-01 06:35:29 +0000
commite782a927c24430100bf2008c96cd421a70285a7e (patch)
treeca91c08070e38fa5c2c9ed085f4835eb5ab3704b /debug
parentRemove bp-start.h and INIT_ARGV_and_ENVIRON. (diff)
downloadglibc-e782a927c24430100bf2008c96cd421a70285a7e.tar.gz
glibc-e782a927c24430100bf2008c96cd421a70285a7e.tar.bz2
glibc-e782a927c24430100bf2008c96cd421a70285a7e.zip
Remove BOUNDED_N and BOUNDED_1.
Diffstat (limited to 'debug')
-rw-r--r--debug/backtrace.c5
1 files changed, 2 insertions, 3 deletions
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 <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