summaryrefslogtreecommitdiff
path: root/gdb/remote-rdp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-rdp.c')
-rw-r--r--gdb/remote-rdp.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gdb/remote-rdp.c b/gdb/remote-rdp.c
index eab68eaf9e4..20683110232 100644
--- a/gdb/remote-rdp.c
+++ b/gdb/remote-rdp.c
@@ -645,7 +645,7 @@ remote_rdp_fetch_register (int regno)
{
printf ("Help me with fetch reg %d\n", regno);
}
- supply_register (regno, buf);
+ regcache_raw_supply (current_regcache, regno, buf);
}
}
@@ -721,7 +721,7 @@ rdp_set_command_line (char *command, char *args)
if (commandline != NULL)
xfree (commandline);
- xasprintf (&commandline, "%s %s", command, args);
+ commandline = xstrprintf ("%s %s", command, args);
}
static void
@@ -1181,7 +1181,7 @@ remote_rdp_open (char *args, int from_tty)
flush_cached_frames ();
registers_changed ();
stop_pc = read_pc ();
- print_stack_frame (get_selected_frame (), -1, 1);
+ print_stack_frame (get_selected_frame (), 0, SRC_AND_LOC);
}
@@ -1351,7 +1351,8 @@ remote_rdp_files_info (struct target_ops *target)
static void
-remote_rdp_create_inferior (char *exec_file, char *allargs, char **env)
+remote_rdp_create_inferior (char *exec_file, char *allargs, char **env,
+ int from_tty)
{
CORE_ADDR entry_point;