* [PATCH] Don't include private kernel header building powerpc-elf sim
@ 2006-06-20 21:52 Fred Fish
2006-07-12 21:19 ` Daniel Jacobowitz
0 siblings, 1 reply; 3+ messages in thread
From: Fred Fish @ 2006-06-20 21:52 UTC (permalink / raw)
To: gdb-patches; +Cc: fnf
When building powerpc-eabi gdb on Fedora Core 5 I'm getting a bunch
of warnings of the form:
In file included from /src/latest/patched/src/gdb/sim/ppc/sim-endian.h:97,
from /src/latest/patched/src/gdb/sim/ppc/basics.h:137,
from /src/latest/patched/src/gdb/sim/ppc/psim.h:25,
from /src/latest/patched/src/gdb/sim/ppc/gdb-sim.c:22:
/usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel header; include <endian.h> instead!
apparently due to the following line in asm/byteorder.h:
#warning using private kernel header; include <endian.h> instead!
Removing the inclusion gets rid of the warning with no apparent ill
effects in either compiling or running the gdb testsuite.
Index: gdb/sim/ppc/ChangeLog
===================================================================
RCS file: /cvsroots/latest/src/gdb/sim/ppc/ChangeLog,v
retrieving revision 1.1.1.6.2.2
diff -c -p -r1.1.1.6.2.2 ChangeLog
*** gdb/sim/ppc/ChangeLog 14 Jun 2006 13:59:20 -0000 1.1.1.6.2.2
--- gdb/sim/ppc/ChangeLog 20 Jun 2006 20:53:52 -0000
***************
*** 1,3 ****
--- 1,8 ----
+ 2006-06-20 Fred Fish <fnf@specifix.com>
+
+ * sim-endian.h (asm/byteorder.h): Don't include private kernel
+ header.
+
2006-06-13 Richard Earnshaw <rearnsha@arm.com>
* configure: Regenerated.
Index: gdb/sim/ppc/sim-endian.h
===================================================================
RCS file: /cvsroots/latest/src/gdb/sim/ppc/sim-endian.h,v
retrieving revision 1.1.1.1
diff -c -p -r1.1.1.1 sim-endian.h
*** gdb/sim/ppc/sim-endian.h 8 Oct 2005 19:36:31 -0000 1.1.1.1
--- gdb/sim/ppc/sim-endian.h 20 Jun 2006 20:58:40 -0000
*************** INLINE_PSIM_ENDIAN(unsigned_8) endian_le
*** 94,100 ****
#if defined(__linux__)
# include <endian.h>
- # include <asm/byteorder.h>
# if defined(__LITTLE_ENDIAN) && !defined(LITTLE_ENDIAN)
# define LITTLE_ENDIAN __LITTLE_ENDIAN
# endif
--- 94,99 ----
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Don't include private kernel header building powerpc-elf sim
2006-06-20 21:52 [PATCH] Don't include private kernel header building powerpc-elf sim Fred Fish
@ 2006-07-12 21:19 ` Daniel Jacobowitz
2006-07-12 21:38 ` Fred Fish
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2006-07-12 21:19 UTC (permalink / raw)
To: fnf; +Cc: gdb-patches
On Tue, Jun 20, 2006 at 05:52:34PM -0400, Fred Fish wrote:
> + 2006-06-20 Fred Fish <fnf@specifix.com>
> +
> + * sim-endian.h (asm/byteorder.h): Don't include private kernel
> + header.
> +
Sorry for the delay; this patch is fine to commit.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Don't include private kernel header building powerpc-elf sim
2006-07-12 21:19 ` Daniel Jacobowitz
@ 2006-07-12 21:38 ` Fred Fish
0 siblings, 0 replies; 3+ messages in thread
From: Fred Fish @ 2006-07-12 21:38 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb-patches
On Wednesday 12 July 2006 17:19, Daniel Jacobowitz wrote:
> Sorry for the delay; this patch is fine to commit.
OK, thanks. Committed.
-Fred
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-07-12 21:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-20 21:52 [PATCH] Don't include private kernel header building powerpc-elf sim Fred Fish
2006-07-12 21:19 ` Daniel Jacobowitz
2006-07-12 21:38 ` Fred Fish
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox