aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-09-12 21:09:47 -0600
committerTom Tromey <tom@tromey.com>2017-09-27 08:44:54 -0600
commit8949cb878d5daae969db6326e1e1323bfa3ad9d4 (patch)
treeeaff7be308a9e051d473b10127d0bbc753807d90
parentac88e2de8314efd9aaa9132c5643ecbf715de508 (diff)
downloadgdb-8949cb878d5daae969db6326e1e1323bfa3ad9d4.zip
gdb-8949cb878d5daae969db6326e1e1323bfa3ad9d4.tar.gz
gdb-8949cb878d5daae969db6326e1e1323bfa3ad9d4.tar.bz2
Constify delete_bookmark_command
gdb/ChangeLog 2017-09-27 Tom Tromey <tom@tromey.com> * reverse.c (delete_bookmark_command): Constify.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/reverse.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 37a6635..b3a6611 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2017-09-27 Tom Tromey <tom@tromey.com>
+ * reverse.c (delete_bookmark_command): Constify.
+
+2017-09-27 Tom Tromey <tom@tromey.com>
+
* remote.c (set_memory_packet_size)
(set_memory_write_packet_size, show_memory_write_packet_size)
(set_memory_read_packet_size, show_memory_read_packet_size)
diff --git a/gdb/reverse.c b/gdb/reverse.c
index 80e414a..e7ef5c3 100644
--- a/gdb/reverse.c
+++ b/gdb/reverse.c
@@ -201,7 +201,7 @@ delete_all_bookmarks (void)
}
static void
-delete_bookmark_command (char *args, int from_tty)
+delete_bookmark_command (const char *args, int from_tty)
{
if (bookmark_chain == NULL)
{