aboutsummaryrefslogtreecommitdiff
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
parent3b570dee4f42f8229b8defdf4360dc0f52e820a0 (diff)
downloadgdb-7a06d43074c2820554ff105a2df77411ae027005.zip
gdb-7a06d43074c2820554ff105a2df77411ae027005.tar.gz
gdb-7a06d43074c2820554ff105a2df77411ae027005.tar.bz2
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.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/remote-sim.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 79abe3d..5a0d355 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2013-11-11 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
+
+ * remote-sim.c (gdbsim_detach): Fix prototype.
+
2013-11-08 Doug Evans <dje@google.com>
* dwarf2read.c (dwarf2_read_debug): Change to unsigned int.
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index e095035..f7be6fa 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);