From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21107 invoked by alias); 28 Oct 2008 20:34:35 -0000 Received: (qmail 21090 invoked by uid 22791); 28 Oct 2008 20:34:34 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 28 Oct 2008 20:33:35 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id m9SKXYDt030268 for ; Tue, 28 Oct 2008 16:33:34 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m9SKXXoj011259; Tue, 28 Oct 2008 16:33:33 -0400 Received: from opsy.redhat.com (vpn-12-121.rdu.redhat.com [10.11.12.121]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id m9SKXW9N032155; Tue, 28 Oct 2008 16:33:32 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 048A13785B9; Tue, 28 Oct 2008 14:33:32 -0600 (MDT) To: gdb-patches@sourceware.org Subject: RFA: delete two empty files From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom Date: Tue, 28 Oct 2008 20:46:00 -0000 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-10/txt/msg00685.txt.bz2 Yesterday I happened to notice that cli-utils.c and cli-utils.h are empty. According to the cvs log, the only changes to these files since 2001 has been to update the copyright notices. This patch removes them. Built & regtested on x86-64 (compile farm). Ok? Tom 2008-10-28 Tom Tromey * Makefile.in (SUBDIR_CLI_OBS): Don't mention cli-utils.o. (SUBDIR_CLI_DEPS): Don't mention cli-utils.c. (HFILES_NO_SRCDIR): Don't mention cli-utils.h. (cli-utils.o): Remove. * cli/cli-utils.c: Remove. * cli/cli-utils.h: Remove. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index ec4b1d2..5432c88 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -185,15 +185,14 @@ GNULIB_H = gnulib/string.h @GNULIB_STDINT_H@ # SUBDIR_CLI_OBS = \ cli-dump.o \ - cli-decode.o cli-script.o cli-cmds.o cli-setshow.o cli-utils.o \ + cli-decode.o cli-script.o cli-cmds.o cli-setshow.o \ cli-logging.o \ cli-interp.o SUBDIR_CLI_SRCS = \ cli/cli-dump.c \ cli/cli-decode.c cli/cli-script.c cli/cli-cmds.c cli/cli-setshow.c \ cli/cli-logging.c \ - cli/cli-interp.c \ - cli/cli-utils.c + cli/cli-interp.c SUBDIR_CLI_DEPS = SUBDIR_CLI_LDFLAGS= SUBDIR_CLI_CFLAGS= @@ -682,7 +681,7 @@ exec.h m32r-tdep.h osabi.h gdbcore.h solib-som.h \ i386bsd-nat.h xml-support.h xml-tdesc.h alphabsd-tdep.h gdb_obstack.h \ ia64-tdep.h ada-lang.h varobj.h frv-tdep.h nto-tdep.h serial.h \ c-lang.h frame.h event-loop.h block.h cli/cli-setshow.h \ -cli/cli-decode.h cli/cli-cmds.h cli/cli-utils.h cli/cli-dump.h \ +cli/cli-decode.h cli/cli-cmds.h cli/cli-dump.h \ cli/cli-script.h macrotab.h symtab.h version.h gnulib/wchar.in.h \ gnulib/string.in.h gnulib/str-two-way.h gnulib/extra/link-warning.h \ gnulib/stdint.in.h remote.h gdb.h sparc-nat.h gdbserver/win32-low.h \ @@ -1554,10 +1553,6 @@ cli-setshow.o: $(srcdir)/cli/cli-setshow.c $(COMPILE) $(srcdir)/cli/cli-setshow.c $(POSTCOMPILE) -cli-utils.o: $(srcdir)/cli/cli-utils.c - $(COMPILE) $(srcdir)/cli/cli-utils.c - $(POSTCOMPILE) - # # GDBTK sub-directory diff --git a/gdb/cli/cli-utils.c b/gdb/cli/cli-utils.c deleted file mode 100644 index adb8a6e..0000000 --- a/gdb/cli/cli-utils.c +++ /dev/null @@ -1,19 +0,0 @@ -/* GDB CLI utility library. - Copyright (c) 2001, 2007, 2008 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . */ - -#include "defs.h" -#include "cli/cli-utils.h" - diff --git a/gdb/cli/cli-utils.h b/gdb/cli/cli-utils.h deleted file mode 100644 index 303b768..0000000 --- a/gdb/cli/cli-utils.h +++ /dev/null @@ -1,20 +0,0 @@ -/* Header file for GDB CLI utility library. - Copyright (c) 2001, 2007, 2008 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . */ - -#if !defined (CLI_UTILS_H) -# define CLI_UTILS_H 1 - -#endif /* !defined (CLI_UTILS_H) */