This is the mail archive of the
mailing list for the GCC project.
Re: flag to dump core on error
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Geoffrey Keating <gkeating at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 12 Feb 2003 11:15:35 +0100
- Subject: Re: flag to dump core on error
- Organization: Integrable Solutions
- References: <200302112355.h1BNtVes003620@keatge.apple.com>
Geoffrey Keating <firstname.lastname@example.org> writes:
| Sometimes I hit a bug that depends on the exact memory layout,
| including environment variables provided by make or the rest of the
| build system, and my usual procedure is to write a program 'fake-gcc'
| that prints out the environment and then another one that starts GCC
| with exactly that environment. That's a lot of work. I'd much rather
| have a flag that I could restart the build with and get a
| coredump---the same compile wouldn't fail, but chances are something
| Thus, -dH (because a-h and A-G were taken).
:-) Too cute for me to understand. I would have prefered averbose flags.
| Bootstrapped & tested on powerpc-darwin.