Weird x86 Linux/GNU crashes

Joe Buck Joe.Buck@synopsys.com
Wed Jul 31 20:12:00 GMT 2002


Mark writes:
> If we really need shell functionality in GDB, it would be far better
> to link in the relevant bash code and use it directly.

In the meantime, the best way to cope is to always write

SHELL=/bin/sh gdb ...

or, for csh/tcsh users

env SHELL=/bin/sh gdb ...

When bash is invoked as /bin/sh and it's not a login shell, it won't try
to read any startup files (DO NOT say SHELL=/bin/bash or similar).



More information about the Gcc mailing list