From c281872eec33c92db0565afdbfdee91558e5d8e0 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 9 Sep 2017 21:22:05 -0600 Subject: [PATCH] Constify display_tib gdb/ChangeLog 2017-09-27 Tom Tromey * windows-tdep.c (display_tib): Constify. --- gdb/ChangeLog | 4 ++++ gdb/windows-tdep.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 00de27b2669..676aadd1263 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-09-27 Tom Tromey + + * windows-tdep.c (display_tib): Constify. + 2017-09-27 Tom Tromey * linux-fork.c (delete_checkpoint_command) diff --git a/gdb/windows-tdep.c b/gdb/windows-tdep.c index 197d7797d7f..49402d372a3 100644 --- a/gdb/windows-tdep.c +++ b/gdb/windows-tdep.c @@ -361,7 +361,7 @@ display_one_tib (ptid_t ptid) /* Display thread information block of the current thread. */ static void -display_tib (char * args, int from_tty) +display_tib (const char * args, int from_tty) { if (!ptid_equal (inferior_ptid, null_ptid)) display_one_tib (inferior_ptid); -- 2.30.2