diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gnu-nat.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b28201e..9af1319 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2014-02-17 Yao Qi <yao@codesourcery.com> + * gnu-nat.c (ILL_RPC): Declare defined function. + +2014-02-17 Yao Qi <yao@codesourcery.com> + * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to mach_msg_type_number_t. (gnu_write_inferior): Likewise. diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c index e4140e0..ac98193 100644 --- a/gdb/gnu-nat.c +++ b/gdb/gnu-nat.c @@ -1783,6 +1783,7 @@ do_mach_notify_dead_name (mach_port_t notify, mach_port_t dead_port) #define ILL_RPC(fun, ...) \ + extern kern_return_t fun (__VA_ARGS__); \ kern_return_t fun (__VA_ARGS__) \ { \ warning (_("illegal rpc: %s"), #fun); \ |