diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2017-11-20 23:29:10 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2017-11-20 23:29:10 -0500 |
commit | 0fc7642151cc5e62f05ac8ea91fe4d5b44bee11a (patch) | |
tree | 834d218c29183c732cc1bee455db99b4ace7b739 /gdb/darwin-nat.c | |
parent | 0ee5a0e48314fec3522f7eabadd5fea920628077 (diff) | |
download | gdb-0fc7642151cc5e62f05ac8ea91fe4d5b44bee11a.zip gdb-0fc7642151cc5e62f05ac8ea91fe4d5b44bee11a.tar.gz gdb-0fc7642151cc5e62f05ac8ea91fe4d5b44bee11a.tar.bz2 |
Fix build failure in darwin-nat.c
Fix:
/Users/simark/src/binutils-gdb/gdb/darwin-nat.c:2404:3: error: no matching function for call to 'add_setshow_boolean_cmd'
add_setshow_boolean_cmd ("mach-exceptions", class_support,
^~~~~~~~~~~~~~~~~~~~~~~
gdb/ChangeLog:
* darwin-nat.c (set_enable_mach_exceptions): Constify parameter.
Diffstat (limited to 'gdb/darwin-nat.c')
-rw-r--r-- | gdb/darwin-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c index e57bcf9..6e420c4 100644 --- a/gdb/darwin-nat.c +++ b/gdb/darwin-nat.c @@ -2229,7 +2229,7 @@ darwin_xfer_partial (struct target_ops *ops, } static void -set_enable_mach_exceptions (char *args, int from_tty, +set_enable_mach_exceptions (const char *args, int from_tty, struct cmd_list_element *c) { if (!ptid_equal (inferior_ptid, null_ptid)) |