* New ARI warning Fri Apr 23 02:18:56 UTC 2010
@ 2010-04-23 2:19 GDB Administrator
2010-04-23 12:37 ` Joel Brobecker
0 siblings, 1 reply; 2+ messages in thread
From: GDB Administrator @ 2010-04-23 2:19 UTC (permalink / raw)
To: gdb-patches
993a994
> gdb/ppc-linux-nat.c:1511: code: inline: Do not use the inline attribute; since the compiler generally ignores this, better algorithm selection is needed to improved performance
gdb/ppc-linux-nat.c:1511:static inline int
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: New ARI warning Fri Apr 23 02:18:56 UTC 2010
2010-04-23 2:19 New ARI warning Fri Apr 23 02:18:56 UTC 2010 GDB Administrator
@ 2010-04-23 12:37 ` Joel Brobecker
0 siblings, 0 replies; 2+ messages in thread
From: Joel Brobecker @ 2010-04-23 12:37 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 450 bytes --]
> > gdb/ppc-linux-nat.c:1511: code: inline: Do not use the inline attribute; since the compiler generally ignores this, better algorithm selection is needed to improved performance
> gdb/ppc-linux-nat.c:1511:static inline int
I checked in the attached patch to get rid of this new warning...
2010-04-23 Joel Brobecker <brobecker@adacore.com>
Fix ARI warning.
* ppc-linux-nat.c (booke_cmp_hw_point): Do not mark inline.
--
Joel
[-- Attachment #2: inline.diff --]
[-- Type: text/x-diff, Size: 607 bytes --]
Index: ppc-linux-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/ppc-linux-nat.c,v
retrieving revision 1.93
diff -u -u -p -r1.93 ppc-linux-nat.c
--- ppc-linux-nat.c 22 Apr 2010 22:26:36 -0000 1.93
+++ ppc-linux-nat.c 23 Apr 2010 12:34:10 -0000
@@ -1508,7 +1508,7 @@ ppc_linux_region_ok_for_hw_watchpoint (C
}
/* 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-23 12:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-23 2:19 New ARI warning Fri Apr 23 02:18:56 UTC 2010 GDB Administrator
2010-04-23 12:37 ` Joel Brobecker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox