Browse Source

dump the address we transfer control to

Mike Frysinger 19 years ago
parent
commit
34288f4de0
1 changed files with 2 additions and 1 deletions
  1. 2 1
      ldso/ldso/dl-startup.c

+ 2 - 1
ldso/ldso/dl-startup.c

@@ -302,7 +302,8 @@ static void * __attribute_used__ _dl_start(unsigned long args)
 
 
 	/* Transfer control to the application.  */
-	SEND_STDERR_DEBUG("transfering control to application\n");
+	SEND_STDERR_DEBUG("transfering control to application @ ");
 	_dl_elf_main = (int (*)(int, char **, char **)) auxvt[AT_ENTRY].a_un.a_val;
+	SEND_ADDRESS_STDERR_DEBUG(_dl_elf_main, 1);
 	START();
 }