aboutsummaryrefslogtreecommitdiff
path: root/gdb/nat
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 /gdb/nat
parent8ffc1bb12a22e548835c9291871ad0eb68b7f6f0 (diff)
btrace: remove leftover comment
Remove a leftover comment on a function that was removed with commit 0568462bbf0f666d5bf9f720e16147da71eec46a.
Diffstat (limited to 'gdb/nat')
-rw-r--r--gdb/nat/linux-btrace.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/nat/linux-btrace.c b/gdb/nat/linux-btrace.c
index e399e7336b..5ac5db24e1 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. */