Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-8]: src/libexec/ld.elf_so Pull up following revision(s) (requeste...
details: https://anonhg.NetBSD.org/src/rev/22cc055c79a2
branches: netbsd-8
changeset: 433996:22cc055c79a2
user: snj <snj%NetBSD.org@localhost>
date: Sat Jun 10 06:27:51 2017 +0000
description:
Pull up following revision(s) (requested by joerg in ticket #26):
libexec/ld.elf_so/rtld.c: revision 1.184
Call _rtld_debug_state before running the global initialisers, so give
gdb a chance to set break points etc.
diffstat:
libexec/ld.elf_so/rtld.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 7d2216be2d65 -r 22cc055c79a2 libexec/ld.elf_so/rtld.c
--- a/libexec/ld.elf_so/rtld.c Sat Jun 10 06:25:29 2017 +0000
+++ b/libexec/ld.elf_so/rtld.c Sat Jun 10 06:27:51 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtld.c,v 1.183 2017/02/27 20:25:26 chs Exp $ */
+/* $NetBSD: rtld.c,v 1.183.4.1 2017/06/10 06:27:51 snj Exp $ */
/*
* Copyright 1996 John D. Polstra.
@@ -40,7 +40,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: rtld.c,v 1.183 2017/02/27 20:25:26 chs Exp $");
+__RCSID("$NetBSD: rtld.c,v 1.183.4.1 2017/06/10 06:27:51 snj Exp $");
#endif /* not lint */
#include <sys/param.h>
@@ -733,6 +733,8 @@
if (real___mainprog_obj)
*real___mainprog_obj = _rtld_objmain;
+ _rtld_debug_state(); /* say hello to gdb! */
+
_rtld_exclusive_enter(&mask);
dbg(("calling _init functions"));
@@ -748,8 +750,6 @@
* of stack.
*/
- _rtld_debug_state(); /* say hello to gdb! */
-
((void **) osp)[0] = _rtld_exit;
((void **) osp)[1] = _rtld_objmain;
return (Elf_Addr) _rtld_objmain->entry;
Home |
Main Index |
Thread Index |
Old Index