This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC 0/6] A different approach to startup-with-shell on macOS
- From: Simon Marchi <simon dot marchi at polymtl dot ca>
- To: Tom Tromey <tom at tromey dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 28 Sep 2018 17:21:36 -0400
- Subject: Re: [RFC 0/6] A different approach to startup-with-shell on macOS
- References: <20180926111130.18956-1-tom@tromey.com>
On 2018-09-26 07:11, Tom Tromey wrote:
One question I have is whether it's possible to build gdb on an older
version of macOS and then run it on a newer version. If this can be
done, then the #if-based approach taken in the final patch will not
work.
Good question. I asked on #machomebrew about how they build the binary
packages, whether a package intended for a certain macOS version is
always built on that version of macOS, or there is some cross-version
compiling involved.
Until we have proof that it's necessary, I think what you have done is
fine.
I didn't include any way to control this feature other than "set
startup-with-shell off". My thinking was that turning this off will
just result in failures, which isn't useful. However if there's a
reason to do something else, I could add it.
Makes sense.
Simon