From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13367 invoked by alias); 26 Sep 2005 01:39:02 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 13346 invoked by uid 22791); 26 Sep 2005 01:38:57 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 26 Sep 2005 01:38:57 +0000 Received: from drow by nevyn.them.org with local (Exim 4.52) id 1EJhxH-0005uP-J3; Sun, 25 Sep 2005 21:38:55 -0400 Date: Mon, 26 Sep 2005 01:39:00 -0000 From: Daniel Jacobowitz To: Nick Roberts Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] Get make TAGS to work in gdb directory Message-ID: <20050926013855.GD22284@nevyn.them.org> Mail-Followup-To: Nick Roberts , gdb-patches@sources.redhat.com References: <17200.36038.631429.268643@farnswood.snap.net.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17200.36038.631429.268643@farnswood.snap.net.nz> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-09/txt/msg00209.txt.bz2 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 > directories. > > > 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 > > * 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 instead work? -- Daniel Jacobowitz CodeSourcery, LLC