Browse Source

As noted by Doru Petrescu, there was a spurious line that was using
_dl_debug_addr prior to checking if it was NULL.

Eric Andersen 21 years ago
parent
commit
4c1038a2b6
2 changed files with 0 additions and 2 deletions
  1. 0 1
      ldso/libdl/dlib.c
  2. 0 1
      ldso/libdl/libdl.c

+ 0 - 1
ldso/libdl/dlib.c

@@ -288,7 +288,6 @@ void *_dlopen(const char *libname, int flag)
 	
 
 	/* Notify the debugger we have added some objects. */
-	_dl_debug_addr->r_state = RT_ADD;
 	if (_dl_debug_addr) {
 		dl_brk = (void (*)(void)) _dl_debug_addr->r_brk;
 		if (dl_brk != NULL) {

+ 0 - 1
ldso/libdl/libdl.c

@@ -288,7 +288,6 @@ void *_dlopen(const char *libname, int flag)
 	
 
 	/* Notify the debugger we have added some objects. */
-	_dl_debug_addr->r_state = RT_ADD;
 	if (_dl_debug_addr) {
 		dl_brk = (void (*)(void)) _dl_debug_addr->r_brk;
 		if (dl_brk != NULL) {