This is the mail archive of the gcc@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: Weird x86 Linux/GNU crashes


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).


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