]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/common/sim-watch.h
sim: constify watchpoint interrupt names
[thirdparty/binutils-gdb.git] / sim / common / sim-watch.h
index 65be89fcf5d02d08015bffcd1785c5f67182cfd2..2945f8d91ba2f2969de3006f116bc1b92055b78e 100644 (file)
@@ -63,7 +63,7 @@ typedef struct _sim_watchpoints {
   /* FIXME: can this be done better?  Look at the PPC's interrupt
      mechanism and table for a rough idea of where it will go next */
   int nr_interrupts;
-  char **interrupt_names;
+  const char **interrupt_names;
 
   /* active watchpoints */
   int last_point_nr;