This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [patch] [trivial] fix NULL deref


This problem appears when the following macro is configured in
gdb/interior.h to be:

#define STARTUP_WITH_SHELL 0
#define START_INFERIOR_TRAPS_EXPECTED	1

The reason I set these macros is because forking a shell ends up
resenting some of the state when .cshrc is parsed (env vars like
$PATH, etc.). Thanks,

-Ali


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