Index: sim/rx/gdb-if.c |
diff --git a/sim/rx/gdb-if.c b/sim/rx/gdb-if.c |
index 6f882d686a89a5365c3fa33302d8e107d686555c..a9903e502cd811f1778018cb0393ad55eebcb7fe 100644 |
--- a/sim/rx/gdb-if.c |
+++ b/sim/rx/gdb-if.c |
@@ -201,7 +201,7 @@ sim_load (SIM_DESC sd, char *prog, struct bfd *abfd, int from_tty) |
if (!abfd) |
return SIM_RC_FAIL; |
- rx_load (abfd); |
+ rx_load (abfd, get_callbacks ()); |
build_swap_list (abfd); |
return SIM_RC_OK; |
@@ -214,7 +214,7 @@ sim_create_inferior (SIM_DESC sd, struct bfd *abfd, char **argv, char **env) |
if (abfd) |
{ |
- rx_load (abfd); |
+ rx_load (abfd, NULL); |
build_swap_list (abfd); |
} |
@@ -710,12 +710,12 @@ handle_step (int rc) |
if (execution_error_get_last_error () != SIM_ERR_NONE) |
{ |
reason = sim_stopped; |
- siggnal = TARGET_SIGNAL_SEGV; |
+ siggnal = GDB_SIGNAL_SEGV; |
} |
if (RX_STEPPED (rc) || RX_HIT_BREAK (rc)) |
{ |
reason = sim_stopped; |
- siggnal = TARGET_SIGNAL_TRAP; |
+ siggnal = GDB_SIGNAL_TRAP; |
} |
else if (RX_STOPPED (rc)) |
{ |
@@ -766,7 +766,7 @@ sim_resume (SIM_DESC sd, int step, int sig_to_deliver) |
{ |
stop = 0; |
reason = sim_stopped; |
- siggnal = TARGET_SIGNAL_INT; |
+ siggnal = GDB_SIGNAL_INT; |
break; |
} |
@@ -777,7 +777,7 @@ sim_resume (SIM_DESC sd, int step, int sig_to_deliver) |
if (execution_error_get_last_error () != SIM_ERR_NONE) |
{ |
reason = sim_stopped; |
- siggnal = TARGET_SIGNAL_SEGV; |
+ siggnal = GDB_SIGNAL_SEGV; |
break; |
} |