This is the mail archive of the
mailing list for the GDB project.
Re: [PATCH] Get make TAGS to work in gdb directory
- From: Daniel Jacobowitz <drow at false dot org>
- To: Nick Roberts <nickrob at snap dot net dot nz>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sun, 25 Sep 2005 21:38:55 -0400
- Subject: Re: [PATCH] Get make TAGS to work in gdb directory
- References: <email@example.com>
On Wed, Sep 21, 2005 at 10:27:18AM +1200, Nick Roberts wrote:
> make TAGS doesn't seem to work in the gdb directory for two reason:
> 1) minimon.h, symfile-mem.h, amdfbsd-nat.c, irix4-nat.c, m3-nat.c,
> mipsm3-nat.c, ns32k-tdep.c, symm-tdep.c and symm-nat.c have been removed.
> 2) It doesn't find mi-*.c tui-*.c because they are in different
> It's been bust for quite a long time so either people don't use it much,
> they have a local patch or there's something wrong with my setup. Assuming
> its not the latter, I attach a patch.
It's the first option, I think. I know I don't use it.
> 2005-09-21 Nick Roberts <firstname.lastname@example.org>
> * Makefile.in (HFILES_NO_SRCDIR): Remove minimon.h, symfile-mem.h,
> amdfbsd-nat.c, irix4-nat.c, m3-nat.c, mipsm3-nat.c, ns32k-tdep.c,
> symm-tdep.c and symm-nat.c.
> (TAGFILES_NO_SRCDIR): Add SUBDIR_MI_SRCS SUBDIR_TUI_SRCS.
> (DEPFILES): Remove CONFIG_OBS and include it explicitly where needed.
This doesn't match what you said above but tipped me off to the
problem; s/amdfbsd-nat.c/amd64fbsd-nat.c/ instead please.
Also, removing CONFIG_OBS doesn't have quite the affect you wanted.
You've also lost anything else that configure can add e.g.
libunwind-frame.c. Would adding CONFIG_SRCS to TAGFILES_NO_SRCDIR