mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
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.
This commit is contained in:
@ -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))
|
||||
|
Reference in New Issue
Block a user