summaryrefslogtreecommitdiff
path: root/gdb/remote-sim.c
diff options
context:
space:
mode:
authorEdjunior Barbosa Machado <emachado@linux.vnet.ibm.com>2013-11-11 07:00:14 -0600
committerEdjunior Barbosa Machado <emachado@linux.vnet.ibm.com>2013-11-11 07:00:14 -0600
commit7a06d43074c2820554ff105a2df77411ae027005 (patch)
tree64033db6d6243d7b5c6001589384e598f7379bcf /gdb/remote-sim.c
parent3b570dee4f42f8229b8defdf4360dc0f52e820a0 (diff)
downloadbinutils-gdb-7a06d43074c2820554ff105a2df77411ae027005.tar.gz
Fix argument type on gdbsim_detach prototype.
2013-11-11 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> * remote-sim.c (gdbsim_detach): Fix prototype.
Diffstat (limited to 'gdb/remote-sim.c')
-rw-r--r--gdb/remote-sim.c2
1 files changed, 1 insertions, 1 deletions
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);