This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA 09/67] Constify display_tib
- From: Tom Tromey <tom at tromey dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tom at tromey dot com>
- Date: Wed, 20 Sep 2017 23:09:25 -0600
- Subject: [RFA 09/67] Constify display_tib
- Authentication-results: sourceware.org; auth=none
- References: <20170921051023.19023-1-tom@tromey.com>
ChangeLog
2017-09-20 Tom Tromey <tom@tromey.com>
* 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/windows-tdep.c b/gdb/windows-tdep.c
index 197d779..49402d3 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.9.4