* 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:
@@ -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)));
|
||||
|
Reference in New Issue
Block a user