This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: flag to dump core on error


Geoffrey Keating <gkeating@apple.com> 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
| will.
| 
| 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.

Thanks,

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]