o Wordwrap usage messages from sim-options

o	Clarify how to use alias options
o	use in sim-watch (better usage message)
o	Don't pass something on the stack into the
	watch-point interrupt hander.
This commit is contained in:
Andrew Cagney
1997-09-10 22:47:12 +00:00
parent 43898c918f
commit cad7297e80
5 changed files with 81 additions and 17 deletions

View File

@ -63,7 +63,9 @@ do_interrupt (sd, data)
SIM_DESC sd;
void *data;
{
enum interrupt_type inttype = *(int*)data;
char **interrupt_name = (char**)data;
enum interrupt_type inttype;
inttype = (interrupt_name - STATE_WATCHPOINTS (sd)->interrupt_names);
/* Disable further interrupts. */
PSW |= PSW_ID;
/* Indicate that we're doing interrupt not exception processing. */