aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Metzger <markus.t.metzger@intel.com>2016-10-13 16:09:41 +0200
committerMarkus Metzger <markus.t.metzger@intel.com>2016-10-14 09:31:20 +0200
commitafb1110bfa4fe150cb2f2c58329551bd82cb3627 (patch)
tree7f3e33dc17bd7fc18677f16668cef59621a6da3e
parent8ffc1bb12a22e548835c9291871ad0eb68b7f6f0 (diff)
downloadgdb-afb1110bfa4fe150cb2f2c58329551bd82cb3627.zip
gdb-afb1110bfa4fe150cb2f2c58329551bd82cb3627.tar.gz
gdb-afb1110bfa4fe150cb2f2c58329551bd82cb3627.tar.bz2
btrace: remove leftover comment
Remove a leftover comment on a function that was removed with commit 0568462bbf0f666d5bf9f720e16147da71eec46a.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/nat/linux-btrace.c5
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. */