fatal() -> internal_error() jumbo patch

Andrew Cagney ac131313@cygnus.com
Mon Aug 9 18:06:00 GMT 1999


"J.T. Conklin" wrote:

>         if (query ("dump core? ")) {
>                 if (fork() == 0) {
>                         abort();
>                 }
>         }
>         if (query ("exit? ")) {
>                 _exit(1);
>         }
> 
>         dejavu = 0;
>         return_to_top_level (RETURN_ERROR);
>     }

Ah, of course, @!$^(*&!($ fork() :-)  Thanks, I'll add this.

> I'm unsure about what to do on non-UNIX systems that can't force a
> core dump in this way.  Perhaps your original code should be used.

Cygwin has fork() so ...

	thanks,
		Andrew


More information about the Gdb-patches mailing list