Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/ld.elf_so disable debugging that makes us core dump



details:   https://anonhg.NetBSD.org/src/rev/15aca8c3c8b6
branches:  trunk
changeset: 768286:15aca8c3c8b6
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Aug 13 22:24:24 2011 +0000

description:
disable debugging that makes us core dump

diffstat:

 libexec/ld.elf_so/rtld.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r fbe4cbe60eb3 -r 15aca8c3c8b6 libexec/ld.elf_so/rtld.c
--- a/libexec/ld.elf_so/rtld.c  Sat Aug 13 22:22:00 2011 +0000
+++ b/libexec/ld.elf_so/rtld.c  Sat Aug 13 22:24:24 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rtld.c,v 1.151 2011/06/25 05:45:12 nonaka Exp $         */
+/*     $NetBSD: rtld.c,v 1.152 2011/08/13 22:24:24 christos Exp $       */
 
 /*
  * Copyright 1996 John D. Polstra.
@@ -40,7 +40,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: rtld.c,v 1.151 2011/06/25 05:45:12 nonaka Exp $");
+__RCSID("$NetBSD: rtld.c,v 1.152 2011/08/13 22:24:24 christos Exp $");
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -403,8 +403,10 @@
        debug = 1;
        dbg(("sp = %p, argc = %ld, argv = %p <%s> relocbase %p", sp,
            (long)sp[2], &sp[3], (char *) sp[3], (void *)relocbase));
+#if 0
        dbg(("got is at %p, dynamic is at %p", _GLOBAL_OFFSET_TABLE_,
            &_DYNAMIC));
+#endif
        dbg(("_ctype_ is %p", _ctype_));
 #endif
 



Home | Main Index | Thread Index | Old Index