From: Edjunior Barbosa Machado Date: Mon, 11 Nov 2013 13:00:14 +0000 (-0600) Subject: Fix argument type on gdbsim_detach prototype. X-Git-Tag: hjl/linux/release/2.24.51.0.2~3^2~9^2~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7a06d43074c2820554ff105a2df77411ae027005;p=thirdparty%2Fbinutils-gdb.git Fix argument type on gdbsim_detach prototype. 2013-11-11 Edjunior Barbosa Machado * remote-sim.c (gdbsim_detach): Fix prototype. --- 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);