return status;
}
-static char *
+static const char *
watchpoint_type_to_str (SIM_DESC sd,
watchpoint_type type)
{
return NULL;
}
-static char *
+static const char *
interrupt_nr_to_str (SIM_DESC sd,
int interrupt_nr)
{
{ {NULL, no_argument, NULL, 0}, '\0', NULL, NULL, NULL }
};
-static char *default_interrupt_names[] = { "int", 0, };
+static const char *default_interrupt_names[] = { "int", 0, };
/* adjust first few entries so that they contain real
documentation, the first entry includes a list of actions. */
{
- char *prefix =
+ const char *prefix =
"Watch the simulator, take ACTION in COUNT cycles (`+' for every COUNT cycles), ACTION is";
char *doc;
int len = strlen (prefix) + 1;