aboutsummaryrefslogtreecommitdiff
path: root/sim/rx/gdb-if.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/rx/gdb-if.c')
-rw-r--r--sim/rx/gdb-if.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/rx/gdb-if.c b/sim/rx/gdb-if.c
index 6f882d6..9a7e030 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);
}