diff options
author | Christopher Faylor <me@cgf.cx> | 2002-05-27 02:25:28 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-05-27 02:25:28 +0000 |
commit | 918a268c8085f18ff6683a9b5979411c064ace82 (patch) | |
tree | edd780e3950fc24cc81f9f39d5a6d1fd6e449d63 /winsup/cygwin/dtable.cc | |
parent | 0cfbfc249f26bec6c407bb54d8e5e7a65c95afe0 (diff) | |
download | cygnal-918a268c8085f18ff6683a9b5979411c064ace82.tar.gz cygnal-918a268c8085f18ff6683a9b5979411c064ace82.tar.bz2 cygnal-918a268c8085f18ff6683a9b5979411c064ace82.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/dtable.cc')
-rw-r--r-- | winsup/cygwin/dtable.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc index 2a43b0bfd..f43baea29 100644 --- a/winsup/cygwin/dtable.cc +++ b/winsup/cygwin/dtable.cc @@ -92,7 +92,7 @@ dtable::extend (int howmuch) void dtable::get_debugger_info () { - if (IsDebuggerPresent ()) + if (being_debugged ()) { char std[3][sizeof ("/dev/ttyNNNN")]; std[0][0] = std[1][0] = std [2][0] = '\0'; |