From: Tom Tromey Date: Sun, 10 Sep 2017 03:41:50 +0000 (-0600) Subject: Constify some commands in spu-tdep.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6738699f704ae1ece43e9758f60d084b45e5308;p=binutils-gdb.git Constify some commands in spu-tdep.c gdb/ChangeLog 2017-09-27 Tom Tromey * spu-tdep.c (info_spu_event_command, info_spu_signal_command) (info_spu_mailbox_command, info_spu_dma_command) (info_spu_proxydma_command): Constify. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 80588750cab..79925daa8a0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2017-09-27 Tom Tromey + + * spu-tdep.c (info_spu_event_command, info_spu_signal_command) + (info_spu_mailbox_command, info_spu_dma_command) + (info_spu_proxydma_command): Constify. + 2017-09-27 Tom Tromey * cli/cli-logging.c (set_logging_on, set_logging_off): Constify. diff --git a/gdb/spu-tdep.c b/gdb/spu-tdep.c index 6d7a35eccf5..39cecfe5a5f 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);