mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 20:39:33 +08:00
* exceptions.cc (handle_exceptions): Don't print message when executing from a
cygwin program.
This commit is contained in:
parent
723190cf71
commit
5bba0cb5a3
@ -1,3 +1,8 @@
|
||||
Fri May 11 01:04:17 2001 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
* exceptions.cc (handle_exceptions): Don't print message when executing
|
||||
from a cygwin program.
|
||||
|
||||
2001-05-10 Egor Duda <deo@logos-m.ru>
|
||||
Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
|
@ -358,7 +358,6 @@ try_to_debug (bool waitloop)
|
||||
{
|
||||
if (strncmp (p, "CYGWIN=", sizeof ("CYGWIN=") - 1) == 0)
|
||||
{
|
||||
system_printf ("%s", p);
|
||||
char* q = strstr (p, "error_start") ;
|
||||
/* replace 'error_start=...' with '_rror_start=...' */
|
||||
if (q) *q = '_' ;
|
||||
@ -502,7 +501,8 @@ handle_exceptions (EXCEPTION_RECORD *e, void *, CONTEXT *in, void *)
|
||||
{
|
||||
if (status_info[i].code == e->ExceptionCode)
|
||||
{
|
||||
system_printf ("Exception: %s", status_info[i].name);
|
||||
if (!myself->ppid_handle)
|
||||
system_printf ("Exception: %s", status_info[i].name);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user