diff options
-rw-r--r-- | gdbserver/Makefile.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdbserver/Makefile.in b/gdbserver/Makefile.in index 040f0b6..39cb9e7 100644 --- a/gdbserver/Makefile.in +++ b/gdbserver/Makefile.in @@ -235,7 +235,7 @@ DEPFILES = @GDBSERVER_DEPFILES@ LIBOBJS = @LIBOBJS@ SOURCES = $(SFILES) -TAGFILES = $(SOURCES) ${HFILES} ${ALLPARAM} ${POSSLIBS} +TAGFILES = $(SOURCES) OBS = \ alloc.o \ @@ -398,8 +398,9 @@ TAGS: ${TAGFILES} etags \ `for i in yzzy ${DEPFILES}; do \ if [ x$$i != xyzzy ]; then \ - echo ${srcdir}/$$i | sed -e 's/\.o$$/\.cc/' \ - -e 's,/\(arch\|nat\|target\)/,/../\1/,' \ + echo ${srcdir}/$$i | \ + sed -e 's,/\(\(arch\|nat\|target\)/.*\)\.o$$,/../gdb/\1.c,' \ + -e 's/\.o$$/\.cc/'; \ fi; \ done` \ ${TAGFILES} |