This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC 6/6] Cache a copy of the user's shell on macOS
- From: Tom Tromey <tom at tromey dot com>
- To: Simon Marchi <simark at simark dot ca>
- Cc: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Mon, 01 Oct 2018 13:27:22 -0600
- Subject: Re: [RFC 6/6] Cache a copy of the user's shell on macOS
- References: <20180926111130.18956-1-tom@tromey.com> <20180926111130.18956-7-tom@tromey.com> <e52963a9-c023-cd9d-6f87-2d823f4f81cc@simark.ca>
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