aboutsummaryrefslogtreecommitdiff
path: root/gdb/spu-tdep.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-09-09 21:41:50 -0600
committerTom Tromey <tom@tromey.com>2017-09-27 08:44:33 -0600
commite6738699f704ae1ece43e9758f60d084b45e5308 (patch)
treeff9d6f51cf925c16b645b42575dd28d794860a42 /gdb/spu-tdep.c
parentaa360cd5dd21a527f67f93ef75db92bac6cf02d5 (diff)
downloadgdb-e6738699f704ae1ece43e9758f60d084b45e5308.zip
gdb-e6738699f704ae1ece43e9758f60d084b45e5308.tar.gz
gdb-e6738699f704ae1ece43e9758f60d084b45e5308.tar.bz2
Constify some commands in spu-tdep.c
gdb/ChangeLog 2017-09-27 Tom Tromey <tom@tromey.com> * spu-tdep.c (info_spu_event_command, info_spu_signal_command) (info_spu_mailbox_command, info_spu_dma_command) (info_spu_proxydma_command): Constify.
Diffstat (limited to 'gdb/spu-tdep.c')
-rw-r--r--gdb/spu-tdep.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/spu-tdep.c b/gdb/spu-tdep.c
index 6d7a35e..39cecfe 100644
--- a/gdb/spu-tdep.c
+++ b/gdb/spu-tdep.c
@@ -2059,7 +2059,7 @@ spu_attach_normal_stop (struct bpstats *bs, int print_frame)
/* "info spu" commands. */
static void
-info_spu_event_command (char *args, int from_tty)
+info_spu_event_command (const char *args, int from_tty)
{
struct frame_info *frame = get_selected_frame (NULL);
ULONGEST event_status = 0;
@@ -2107,7 +2107,7 @@ info_spu_event_command (char *args, int from_tty)
}
static void
-info_spu_signal_command (char *args, int from_tty)
+info_spu_signal_command (const char *args, int from_tty)
{
struct frame_info *frame = get_selected_frame (NULL);
struct gdbarch *gdbarch = get_frame_arch (frame);
@@ -2228,7 +2228,7 @@ info_spu_mailbox_list (gdb_byte *buf, int nr, enum bfd_endian byte_order,
}
static void
-info_spu_mailbox_command (char *args, int from_tty)
+info_spu_mailbox_command (const char *args, int from_tty)
{
struct frame_info *frame = get_selected_frame (NULL);
struct gdbarch *gdbarch = get_frame_arch (frame);
@@ -2456,7 +2456,7 @@ info_spu_dma_cmdlist (gdb_byte *buf, int nr, enum bfd_endian byte_order)
}
static void
-info_spu_dma_command (char *args, int from_tty)
+info_spu_dma_command (const char *args, int from_tty)
{
struct frame_info *frame = get_selected_frame (NULL);
struct gdbarch *gdbarch = get_frame_arch (frame);
@@ -2535,7 +2535,7 @@ info_spu_dma_command (char *args, int from_tty)
}
static void
-info_spu_proxydma_command (char *args, int from_tty)
+info_spu_proxydma_command (const char *args, int from_tty)
{
struct frame_info *frame = get_selected_frame (NULL);
struct gdbarch *gdbarch = get_frame_arch (frame);