summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/gdb
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2008-10-16 18:09:27 +0000
committerobrien <obrien@FreeBSD.org>2008-10-16 18:09:27 +0000
commit85d2767d87eb28294c3d5a4c13d9a00acc3ec318 (patch)
treed7676e31a4c29bbb5e534d3329748c274cd65389 /gnu/usr.bin/gdb
parent708fbd2d50b4d81ed23c54f3f5a96dbd26e07d06 (diff)
downloadFreeBSD-src-85d2767d87eb28294c3d5a4c13d9a00acc3ec318.zip
FreeBSD-src-85d2767d87eb28294c3d5a4c13d9a00acc3ec318.tar.gz
Document what the sed trick is for.
Remove an embedded <TAB>, and use same style for both files.
Diffstat (limited to 'gnu/usr.bin/gdb')
-rw-r--r--gnu/usr.bin/gdb/arch/amd64/Makefile6
-rw-r--r--gnu/usr.bin/gdb/arch/i386/Makefile3
2 files changed, 5 insertions, 4 deletions
diff --git a/gnu/usr.bin/gdb/arch/amd64/Makefile b/gnu/usr.bin/gdb/arch/amd64/Makefile
index 94d7bbb..a43e894 100644
--- a/gnu/usr.bin/gdb/arch/amd64/Makefile
+++ b/gnu/usr.bin/gdb/arch/amd64/Makefile
@@ -7,7 +7,7 @@ LIBSRCS+= amd64-nat.c amd64bsd-nat.c amd64fbsd-nat.c
.endif
LIBSRCS+= solib.c solib-svr4.c
LIBSRCS+= amd64-tdep.c amd64fbsd-tdep.c i386-tdep.c i386bsd-tdep.c \
- i386fbsd-tdep-fixed.c i387-tdep.c
+ i386fbsd-tdep-fixed.c i387-tdep.c
nm.h:
echo '#include "i386/nm-fbsd64.h"' > ${.TARGET}
@@ -18,7 +18,7 @@ tm.h:
xm.h:
echo '#include "i386/xm-i386.h"' > ${.TARGET}
+# Fix source static/extern mismatch nits that GCC 4.2 warns about.
+CLEANFILES+= i386fbsd-tdep-fixed.c
i386fbsd-tdep-fixed.c: i386fbsd-tdep.c
sed -e '48s/^static //' ${.ALLSRC} > ${.TARGET}
-
-CLEANFILES+= i386fbsd-tdep-fixed.c
diff --git a/gnu/usr.bin/gdb/arch/i386/Makefile b/gnu/usr.bin/gdb/arch/i386/Makefile
index f028659..3d96278 100644
--- a/gnu/usr.bin/gdb/arch/i386/Makefile
+++ b/gnu/usr.bin/gdb/arch/i386/Makefile
@@ -17,6 +17,7 @@ tm.h:
xm.h:
echo '#include "i386/xm-i386.h"' > ${.TARGET}
+# Fix source static/extern mismatch nits that GCC 4.2 warns about.
+CLEANFILES += i386fbsd-tdep-fixed.c
i386fbsd-tdep-fixed.c: i386fbsd-tdep.c
sed -e '48s/^static\ //' ${.ALLSRC} > ${.TARGET}
-CLEANFILES += i386fbsd-tdep-fixed.c
OpenPOWER on IntegriCloud