diff options
author | Xavier Roirand <roirand@adacore.com> | 2018-09-08 16:51:21 +0200 |
---|---|---|
committer | Xavier Roirand <roirand@adacore.com> | 2018-09-11 15:42:18 +0200 |
commit | d6be54ef73eacaaf5bf28bafc7dfebc80ebac832 (patch) | |
tree | 73b5ff49510eb578e03a8fa569c2904df81a0e8a /gdb/README | |
parent | de1ec836c8cc4eeb68e3e4eb8223eeff9840546e (diff) | |
download | gdb-d6be54ef73eacaaf5bf28bafc7dfebc80ebac832.zip gdb-d6be54ef73eacaaf5bf28bafc7dfebc80ebac832.tar.gz gdb-d6be54ef73eacaaf5bf28bafc7dfebc80ebac832.tar.bz2 |
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
Diffstat (limited to 'gdb/README')
0 files changed, 0 insertions, 0 deletions