diff options
author | Tom Tromey <tom@tromey.com> | 2018-06-28 10:32:13 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-06-28 15:13:43 -0600 |
commit | 44cee4fdf46a13b63d90ed706c815d9c81e972e3 (patch) | |
tree | 6f4c3c482d7ab94560e0e3a2d5b3bd9b1b7e5123 /gdb/NEWS | |
parent | f2ffa92bbce9dd5fbedc138ac2a3bc8a88327d09 (diff) | |
download | gdb-44cee4fdf46a13b63d90ed706c815d9c81e972e3.zip gdb-44cee4fdf46a13b63d90ed706c815d9c81e972e3.tar.gz gdb-44cee4fdf46a13b63d90ed706c815d9c81e972e3.tar.bz2 |
Add --enable-codesign to gdb's configure
macOS requires that the gdb executable be signed in order to be able
to successfully use ptrace. This must be done after each link.
This patch adds a new --enable-codesign configure option so that this
step can be automated.
gdb/ChangeLog
2018-06-28 Tom Tromey <tom@tromey.com>
* NEWS: Mention --enable-codesign.
* silent-rules.mk (ECHO_SIGN): New variable.
* configure.ac: Add --enable-codesign.
* configure: Rebuild.
* Makefile.in (CODESIGN, CODESIGN_CERT): New variables.
(gdb$(EXEEXT)): Optionally invoke codesign.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r-- | gdb/NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -94,6 +94,13 @@ SH-5/SH64 running OpenBSD SH-5/SH64 support in sh*-*-openbsd* the tradeoff that there is a possibility of false hits being reported. +* New configure options + +--enable-codesign=CERT + This can be used to invoke "codesign -s CERT" after building gdb. + This option is useful on macOS, where code signing is required for + gdb to work properly. + *** Changes in GDB 8.1 * GDB now supports dynamically creating arbitrary register groups specified |