[binutils-gdb] Darwin: set startup-with-shell to off on Sierra and later.

sergiodj+buildbot@sergiodj.net sergiodj+buildbot@sergiodj.net
Thu Sep 13 13:35:00 GMT 2018


*** TEST RESULTS FOR COMMIT d6be54ef73eacaaf5bf28bafc7dfebc80ebac832 ***

Author: Xavier Roirand <roirand@adacore.com>
Branch: master
Commit: d6be54ef73eacaaf5bf28bafc7dfebc80ebac832

Darwin: set startup-with-shell to off on Sierra and later.

On Mac OS X Sierra and later, the shell is not allowed to be
debug so add a check and disable startup with shell in that
case. This disabling is done temporary before forking
inferior and restored after the fork.

gdb/ChangeLog:

        * darwin-nat.c (should_disable_startup_with_shell):
        New function.
        (darwin_nat_target::create_inferior): Add call.

Change-Id: Ie4d9090f65fdf2e83ecf7a0f9d0647fb1c27cdcc



More information about the Gdb-testers mailing list