From: Tom Tromey <tromey@redhat.com>
To: gdb-patches@sourceware.org
Subject: RFA: delete two empty files
Date: Tue, 28 Oct 2008 20:46:00 -0000 [thread overview]
Message-ID: <m363ncmpd0.fsf@fleche.redhat.com> (raw)
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 <tromey@redhat.com>
* 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 <http://www.gnu.org/licenses/>. */
-
-#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 <http://www.gnu.org/licenses/>. */
-
-#if !defined (CLI_UTILS_H)
-# define CLI_UTILS_H 1
-
-#endif /* !defined (CLI_UTILS_H) */
next reply other threads:[~2008-10-28 20:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-28 20:46 Tom Tromey [this message]
2008-10-28 22:58 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m363ncmpd0.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox