[RFC 0/6] A different approach to startup-with-shell on macOS

Simon Marchi simon.marchi@polymtl.ca
Fri Sep 28 21:21:00 GMT 2018


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



More information about the Gdb-patches mailing list