This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] btrace: remove leftover comment
- From: Markus Metzger <mmetzger at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 14 Oct 2016 07:31:22 -0000
- Subject: [binutils-gdb] btrace: remove leftover comment
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=afb1110bfa4fe150cb2f2c58329551bd82cb3627
commit afb1110bfa4fe150cb2f2c58329551bd82cb3627
Author: Markus Metzger <markus.t.metzger@intel.com>
Date: Thu Oct 13 16:09:41 2016 +0200
btrace: remove leftover comment
Remove a leftover comment on a function that was removed with commit
0568462bbf0f666d5bf9f720e16147da71eec46a.
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/nat/linux-btrace.c | 5 -----
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 045bdc8..279ddde 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2016-10-14 Markus Metzger <markus.t.metzger@intel.com>
+
+ * nat/linux-btrace.c: Remove leftover comment.
+
2016-10-14 Eli Zaretskii <eliz@gnu.org>
* common/common-defs.h [HAVE_STRINGS_H]: Include strings.h if
diff --git a/gdb/nat/linux-btrace.c b/gdb/nat/linux-btrace.c
index e399e73..5ac5db2 100644
--- a/gdb/nat/linux-btrace.c
+++ b/gdb/nat/linux-btrace.c
@@ -103,11 +103,6 @@ perf_event_new_data (const struct perf_event_buffer *pev)
return *pev->data_head != pev->last_head;
}
-/* Try to determine the size of a pointer in bits for the OS.
-
- This is the same as the size of a pointer for the inferior process
- except when a 32-bit inferior is running on a 64-bit OS. */
-
/* Copy the last SIZE bytes from PEV ending at DATA_HEAD and return a pointer
to the memory holding the copy.
The caller is responsible for freeing the memory. */