summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-11 00:55:30 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-11 00:55:30 +0000
commit454a824ca59bf0520093d5a5b8cf9dbef0ea4265 (patch)
tree360970e61ebbcedee8d3582d3877a2850b0d18ca
parent523e137830ee9670c728d85a9a2bb529f63073ce (diff)
Fix debugging.
-rw-r--r--ldso/libdl/libdl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c
index 2a5674a6c..477ec423a 100644
--- a/ldso/libdl/libdl.c
+++ b/ldso/libdl/libdl.c
@@ -69,9 +69,6 @@ extern char *_dl_debug;
/* When libdl is linked as a static library, we need to replace all
* the symbols that otherwise would have been loaded in from ldso... */
-#ifdef __SUPPORT_LD_DEBUG__
-char *_dl_debug = 0;
-#endif
const char *_dl_progname = ""; /* Program name */
char *_dl_library_path = 0; /* Where we look for libraries */
char *_dl_ldsopath = 0; /* Location of the shared lib loader */
@@ -88,6 +85,9 @@ struct r_debug *_dl_debug_addr = NULL;
#endif /* SHARED */
#ifdef __SUPPORT_LD_DEBUG__
+char *_dl_debug = 0;
+int _dl_debug_file = 2;
+
# define _dl_if_debug_print(fmt, args...) \
do { \
if (_dl_debug) \