From 7a06d43074c2820554ff105a2df77411ae027005 Mon Sep 17 00:00:00 2001 From: Edjunior Barbosa Machado Date: Mon, 11 Nov 2013 07:00:14 -0600 Subject: [PATCH] Fix argument type on gdbsim_detach prototype. 2013-11-11 Edjunior Barbosa Machado * remote-sim.c (gdbsim_detach): Fix prototype. --- gdb/ChangeLog | 4 ++++ gdb/remote-sim.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 79abe3ddc58..5a0d35566a0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2013-11-11 Edjunior Barbosa Machado + + * remote-sim.c (gdbsim_detach): Fix prototype. + 2013-11-08 Doug Evans * dwarf2read.c (dwarf2_read_debug): Change to unsigned int. 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); -- 2.30.2