diff options
Diffstat (limited to 'gdb/sh-tdep.c')
-rw-r--r-- | gdb/sh-tdep.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index 9a60489..5b89780 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -241,8 +241,19 @@ pop_frame () set_current_frame (create_new_frame (read_register (FP_REGNUM), read_pc ())); } - - + +/* This doesn't quite fit either in the simulator or in gdb proper. + Perhaps the simulator could return 1 to mean it loaded it and 0 to + mean "you deal with it, caller". */ + +int +sim_load (abfd, prog) +bfd *abfd; +char *prog; +{ + return sim_load_standard (abfd); +} + _initialize_sh_tdep () { extern int sim_memory_size; |