Constify some commands in spu-tdep.c
authorTom Tromey <tom@tromey.com>
Sun, 10 Sep 2017 03:41:50 +0000 (21:41 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 27 Sep 2017 14:44:33 +0000 (08:44 -0600)
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.

gdb/ChangeLog
gdb/spu-tdep.c

index 80588750cabbeacd340fed9768c8b96b3b805d78..79925daa8a046ff47c9168159ce5e97632b87bd3 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2017-09-27  Tom Tromey  <tom@tromey.com>
 
        * cli/cli-logging.c (set_logging_on, set_logging_off): Constify.
 2017-09-27  Tom Tromey  <tom@tromey.com>
 
        * cli/cli-logging.c (set_logging_on, set_logging_off): Constify.
index 6d7a35eccf557589416086ec98e07771f60dfb1f..39cecfe5a5fb2d5cb074899036b6462d05e0db13 100644 (file)
@@ -2059,7 +2059,7 @@ spu_attach_normal_stop (struct bpstats *bs, int print_frame)
 /* "info spu" commands.  */
 
 static void
 /* "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;
 {
   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
 }
 
 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);
 {
   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
 }
 
 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);
 {
   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
 }
 
 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);
 {
   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
 }
 
 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);
 {
   struct frame_info *frame = get_selected_frame (NULL);
   struct gdbarch *gdbarch = get_frame_arch (frame);
This page took 0.035663 seconds and 4 git commands to generate.