* debug.h (being_debugged): New macro.
* dtable.cc (dtable::extend): Use new macro. * exceptions.cc (try_to_debug): Ditto. * strace.cc (strace::hello): Only output debugging info when we think we're being debugged.
This commit is contained in:
@@ -38,6 +38,9 @@ strace::hello()
|
||||
return;
|
||||
}
|
||||
|
||||
if (!being_debugged ())
|
||||
return;
|
||||
|
||||
__small_sprintf (buf, "cYg%8x %x", _STRACE_INTERFACE_ACTIVATE_ADDR, &active);
|
||||
OutputDebugString (buf);
|
||||
|
||||
|
Reference in New Issue
Block a user