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: [RFC 6/6] Cache a copy of the user's shell on macOS


On 2018-10-01 15:27, Tom Tromey wrote:
Simon> I am not on Mac right now so I can't test, but I was wondering how Simon> annoying it is to have this message every time you run and it succeeds. Simon> I like that we explain what's happening when things go wrong, but is Simon> it useful to explain it as well when everything works well? Will the
Simon> user care?

The cache ensures that in normal operation the message is only printed once.
This happens because the message is only printed when the copy is made.
Subsequent "run"s, or even subsequent invocations of gdb, will find the
copy of the shell in the cache and remain silent.

Tom

Oh, awesome then!

Simon


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