From 7a06d43074c2820554ff105a2df77411ae027005 Mon Sep 17 00:00:00 2001 From: Edjunior Barbosa Machado Date: Mon, 11 Nov 2013 07:00:14 -0600 Subject: Fix argument type on gdbsim_detach prototype. 2013-11-11 Edjunior Barbosa Machado * remote-sim.c (gdbsim_detach): Fix prototype. --- gdb/remote-sim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/remote-sim.c') diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index e095035484a..f7be6fa477a 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -78,7 +78,7 @@ static void gdbsim_open (char *args, int from_tty); static void gdbsim_close (void); -static void gdbsim_detach (struct target_ops *ops, char *args, int from_tty); +static void gdbsim_detach (struct target_ops *ops, const char *args, int from_tty); static void gdbsim_prepare_to_store (struct regcache *regcache); -- cgit v1.2.1