Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libexecinfo New gcc can reuse stack frames for tai...
details: https://anonhg.NetBSD.org/src/rev/38e1a663eaf0
branches: trunk
changeset: 792670:38e1a663eaf0
user: martin <martin%NetBSD.org@localhost>
date: Sat Jan 11 19:48:22 2014 +0000
description:
New gcc can reuse stack frames for tail calls, so "main" is an optional
frame as well.
diffstat:
tests/lib/libexecinfo/t_backtrace.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ca595f6fff81 -r 38e1a663eaf0 tests/lib/libexecinfo/t_backtrace.c
--- a/tests/lib/libexecinfo/t_backtrace.c Sat Jan 11 19:31:47 2014 +0000
+++ b/tests/lib/libexecinfo/t_backtrace.c Sat Jan 11 19:48:22 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_backtrace.c,v 1.11 2014/01/11 19:13:41 martin Exp $ */
+/* $NetBSD: t_backtrace.c,v 1.12 2014/01/11 19:48:22 martin Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_backtrace.c,v 1.11 2014/01/11 19:13:41 martin Exp $");
+__RCSID("$NetBSD: t_backtrace.c,v 1.12 2014/01/11 19:48:22 martin Exp $");
#include <atf-c.h>
#include <atf-c/config.h>
@@ -56,7 +56,7 @@
static const char *top[] = { "myfunc", "atfu_backtrace_fmt_basic_body",
"atf_tc_run", "atf_tp_run", "atf_tp_main", "main", "___start" };
static bool optional_frame[] = { false, false, false, true, false,
- false, true };
+ true, true };
size_t j, nptrs, min_frames, max_frames;
void *buffer[ncalls + 10];
char **strings;
Home |
Main Index |
Thread Index |
Old Index