From e4166a49ea402e8ec97329268d80cf75144c4628 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Fri, 23 Apr 2010 12:36:05 +0000 Subject: [PATCH] Fix ARI warning. * ppc-linux-nat.c (booke_cmp_hw_point): Do not mark inline. --- gdb/ChangeLog | 5 +++++ gdb/ppc-linux-nat.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 12057a4d003..45985bf3839 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-04-23 Joel Brobecker + + Fix ARI warning. + * ppc-linux-nat.c (booke_cmp_hw_point): Do not mark inline. + 2010-04-20 Chris Moller PR 10179 diff --git a/gdb/ppc-linux-nat.c b/gdb/ppc-linux-nat.c index f7c5bf55eb0..f61ac5d6fa7 100644 --- a/gdb/ppc-linux-nat.c +++ b/gdb/ppc-linux-nat.c @@ -1508,7 +1508,7 @@ ppc_linux_region_ok_for_hw_watchpoint (CORE_ADDR addr, int len) } /* This function compares two ppc_hw_breakpoint structs field-by-field. */ -static inline int +static int booke_cmp_hw_point (struct ppc_hw_breakpoint *a, struct ppc_hw_breakpoint *b) { return (a->trigger_type == b->trigger_type -- 2.30.2