* dcrt0.cc (dll_crt0_1): Call strace.dll_info after call to pinfo_init.

* strace.cc (strace::hello): Drop printing DLL information here since
	application info is not always available at this point.
	(strace::dll_info): New method to print DLL info.
	* include/sys/strace.h (strace::dll_info): Declare.
This commit is contained in:
Corinna Vinschen
2011-06-17 08:30:27 +00:00
parent 2ae8e0e482
commit a716252619
4 changed files with 22 additions and 4 deletions

View File

@@ -46,6 +46,7 @@ public:
int lmicrosec;
bool execing;
void hello () __attribute__ ((regparm (1)));
void dll_info () __attribute__ ((regparm (1)));
void prntf (unsigned, const char *func, const char *, ...) /*__attribute__ ((regparm(3)))*/;
void vprntf (unsigned, const char *func, const char *, va_list ap) /*__attribute__ ((regparm(3)))*/;
void wm (int message, int word, int lon) __attribute__ ((regparm(3)));