+2010-03-30 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c (interrupt_names): Add const to pointer type.
+ (do_interrupt): Add const to interrupt_name.
+
2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure: Regenerate.
num_int_types
};
-char *interrupt_names[] = {
+const char *interrupt_names[] = {
"reset",
"nmi",
"intov1",
SIM_DESC sd;
void *data;
{
- char **interrupt_name = (char**)data;
+ const char **interrupt_name = (const char**)data;
enum interrupt_type inttype;
inttype = (interrupt_name - STATE_WATCHPOINTS (sd)->interrupt_names);