diff options
Diffstat (limited to 'gdb/remote-st.c')
-rw-r--r-- | gdb/remote-st.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/remote-st.c b/gdb/remote-st.c index ce4c7ab13e5..eba847fde74 100644 --- a/gdb/remote-st.c +++ b/gdb/remote-st.c @@ -222,14 +222,15 @@ get_hex_regs (int n, int regno) val = 0; for (j = 0; j < 8; j++) val = (val << 4) + get_hex_digit (j == 0); - supply_register (regno++, (char *) &val); + regcache_raw_supply (current_regcache, regno++, (char *) &val); } } /* This is called not only when we first attach, but also when the user types "run" after having attached. */ static void -st2000_create_inferior (char *execfile, char *args, char **env) +st2000_create_inferior (char *execfile, char *args, char **env, + int from_tty) { int entry_pt; |