public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
From: Weimin Pan <wmpan@sourceware.org>
To: gdb-cvs@sourceware.org
Subject: [binutils-gdb] Renaming of ctf (the trace format) files
Date: Mon, 07 Oct 2019 02:28:00 -0000	[thread overview]
Message-ID: <20191007022837.44159.qmail@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=518fe38cd9c206b2a239d9b93677017203c385cb

commit 518fe38cd9c206b2a239d9b93677017203c385cb
Author: Weimin Pan <weimin.pan@oracle.com>
Date:   Mon Oct 7 00:16:06 2019 +0000

    Renaming of ctf (the trace format) files

Diff:
---
 gdb/ChangeLog             | 9 +++++++++
 gdb/Makefile.in           | 4 ++--
 gdb/mi/mi-main.c          | 1 -
 gdb/{ctf.c => tracectf.c} | 2 +-
 gdb/{ctf.h => tracectf.h} | 0
 gdb/tracefile.c           | 2 +-
 gdb/tracepoint.c          | 1 -
 7 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7bfcab5..7d378c8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,12 @@
+2019-10-07  Weimin Pan  <weimin.pan@oracle.com>
+
+	* tracectf.h: Rename, was ctf.h.
+	* tracectf.c: Rename, was ctf.c, replace ctf.h with tracectf.h.
+	* tracefile.c: Likewise.
+	* tracepoint.c: Remove unused include ctf.h.
+	* mi/mi-main.c: Likewise.
+	* Makefile.in Replace ctf.c with tracectf.c.
+
 2019-10-06  Joel Brobecker  <brobecker@adacore.com>
 
 	* version.in: Change version number to "9.0.50.DATE-git".
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 81bed90..d902671 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -988,7 +988,6 @@ COMMON_SFILES = \
 	cp-namespace.c \
 	cp-support.c \
 	cp-valprint.c \
-	ctf.c \
 	d-lang.c \
 	d-namespace.c \
 	d-valprint.c \
@@ -1124,6 +1123,7 @@ COMMON_SFILES = \
 	thread-iter.c \
 	tid-parse.c \
 	top.c \
+	tracectf.c \
 	tracefile.c \
 	tracefile-tfile.c \
 	tracepoint.c \
@@ -1224,7 +1224,6 @@ HFILES_NO_SRCDIR = \
 	cp-abi.h \
 	cp-support.h \
 	csky-tdep.h \
-	ctf.h \
 	d-lang.h \
 	darwin-nat.h \
 	dcache.h \
@@ -1398,6 +1397,7 @@ HFILES_NO_SRCDIR = \
 	terminal.h \
 	tid-parse.h \
 	top.h \
+	tracectf.h \
 	tracefile.h \
 	tracepoint.h \
 	trad-frame.h \
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c
index 2ece360..9a0b7f9 100644
--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -46,7 +46,6 @@
 #include "osdata.h"
 #include "gdbsupport/gdb_splay_tree.h"
 #include "tracepoint.h"
-#include "ctf.h"
 #include "ada-lang.h"
 #include "linespec.h"
 #include "extension.h"
diff --git a/gdb/ctf.c b/gdb/tracectf.c
similarity index 99%
rename from gdb/ctf.c
rename to gdb/tracectf.c
index b3c3f0d..758dd56 100644
--- a/gdb/ctf.c
+++ b/gdb/tracectf.c
@@ -20,7 +20,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "ctf.h"
+#include "tracectf.h"
 #include "tracepoint.h"
 #include "regcache.h"
 #include <sys/stat.h>
diff --git a/gdb/ctf.h b/gdb/tracectf.h
similarity index 100%
rename from gdb/ctf.h
rename to gdb/tracectf.h
diff --git a/gdb/tracefile.c b/gdb/tracefile.c
index a92104b..79ba541 100644
--- a/gdb/tracefile.c
+++ b/gdb/tracefile.c
@@ -19,7 +19,7 @@
 
 #include "defs.h"
 #include "tracefile.h"
-#include "ctf.h"
+#include "tracectf.h"
 #include "exec.h"
 #include "regcache.h"
 #include "gdbsupport/byte-vector.h"
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index 843341a..4db7060 100644
--- a/gdb/tracepoint.c
+++ b/gdb/tracepoint.c
@@ -51,7 +51,6 @@
 #include "memrange.h"
 #include "cli/cli-utils.h"
 #include "probe.h"
-#include "ctf.h"
 #include "gdbsupport/filestuff.h"
 #include "gdbsupport/rsp-low.h"
 #include "tracefile.h"


                 reply	other threads:[~2019-10-07  2:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20191007022837.44159.qmail@sourceware.org \
    --to=wmpan@sourceware.org \
    --cc=gdb-cvs@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).