From afb1110bfa4fe150cb2f2c58329551bd82cb3627 Mon Sep 17 00:00:00 2001 From: Markus Metzger Date: Thu, 13 Oct 2016 16:09:41 +0200 Subject: [PATCH] btrace: remove leftover comment Remove a leftover comment on a function that was removed with commit 0568462bbf0f666d5bf9f720e16147da71eec46a. --- 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 045bdc8db44..279ddde7d41 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2016-10-14 Markus Metzger + + * nat/linux-btrace.c: Remove leftover comment. + 2016-10-14 Eli Zaretskii * 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 e399e7336b8..5ac5db24e1b 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. */ -- 2.30.2