mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
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:
@ -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. */
|
||||
|
Reference in New Issue
Block a user