-Wwrite-strings: Constify struct disassemble_info's disassembler_options field
[deliverable/binutils-gdb.git] / gdb / arm-tdep.c
index b3c3705c78eaccbd2e4595998732312c3d015d44..ade770ea0162cf69a76880e758d27268f77eb4aa 100644 (file)
@@ -8562,7 +8562,7 @@ show_disassembly_style_sfunc (struct ui_file *file, int from_tty,
   char *options = get_disassembler_options (gdbarch);
   const char *style = "";
   int len = 0;
-  char *opt;
+  const char *opt;
 
   FOR_EACH_DISASSEMBLER_OPTION (opt, options)
     if (CONST_STRNEQ (opt, "reg-names-"))
This page took 0.024855 seconds and 4 git commands to generate.