diff options
author | Alexander Kabaev <kan@FreeBSD.org> | 2007-05-19 03:22:19 +0000 |
---|---|---|
committer | Alexander Kabaev <kan@FreeBSD.org> | 2007-05-19 03:22:19 +0000 |
commit | 520d6ec0d80c1c969f9ef0bd509b752ae5b5121b (patch) | |
tree | 2bcf8ed5683010d320ee2e18bd7589bc0aa2df8d /gnu | |
parent | 9f4623d21feff400fb455bea79ac9e3727e8b0ad (diff) | |
download | src-520d6ec0d80c1c969f9ef0bd509b752ae5b5121b.tar.gz src-520d6ec0d80c1c969f9ef0bd509b752ae5b5121b.zip |
Fix static/extern mismatch by patching corresponding tdep files
in-place.
Notes
Notes:
svn path=/head/; revision=169713
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/gdb/arch/amd64/Makefile | 7 | ||||
-rw-r--r-- | gnu/usr.bin/gdb/arch/i386/Makefile | 6 |
2 files changed, 11 insertions, 2 deletions
diff --git a/gnu/usr.bin/gdb/arch/amd64/Makefile b/gnu/usr.bin/gdb/arch/amd64/Makefile index a7d37f12a402..94d7bbbcdc35 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.c i387-tdep.c + i386fbsd-tdep-fixed.c i387-tdep.c nm.h: echo '#include "i386/nm-fbsd64.h"' > ${.TARGET} @@ -17,3 +17,8 @@ tm.h: xm.h: echo '#include "i386/xm-i386.h"' > ${.TARGET} + +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 fd4a880e8a17..f0286593f30e 100644 --- a/gnu/usr.bin/gdb/arch/i386/Makefile +++ b/gnu/usr.bin/gdb/arch/i386/Makefile @@ -6,7 +6,7 @@ LIBSRCS+= fbsd-proc.c fbsd-threads.c gcore.c LIBSRCS+= i386-nat.c i386bsd-nat.c i386fbsd-nat.c .endif LIBSRCS+= solib.c solib-svr4.c -LIBSRCS+= i386-tdep.c i386bsd-tdep.c i386fbsd-tdep.c i387-tdep.c +LIBSRCS+= i386-tdep.c i386bsd-tdep.c i386fbsd-tdep-fixed.c i387-tdep.c nm.h: echo '#include "i386/nm-fbsd.h"' > ${.TARGET} @@ -16,3 +16,7 @@ tm.h: xm.h: echo '#include "i386/xm-i386.h"' > ${.TARGET} + +i386fbsd-tdep-fixed.c: i386fbsd-tdep.c + sed -e '48s/^static\ //' ${.ALLSRC} > ${.TARGET} +CLEANFILES += i386fbsd-tdep-fixed.c |