aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/gnu-nat.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 236b117..6117bc9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2014-01-07 Yao Qi <yao@codesourcery.com>
+ * gnu-nat.c (info_port_rights): Add qualifier const to
+ argument args.
+
+2014-01-07 Yao Qi <yao@codesourcery.com>
+
* gnu-nat.c (trace_me): Use 'void' for empty argument list.
2014-01-07 Yao Qi <yao@codesourcery.com>
diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c
index b52e23b..ffab91e 100644
--- a/gdb/gnu-nat.c
+++ b/gdb/gnu-nat.c
@@ -3070,7 +3070,7 @@ set_noninvasive_cmd (char *args, int from_tty)
static void
-info_port_rights (char *args, mach_port_type_t only)
+info_port_rights (const char *args, mach_port_type_t only)
{
struct inf *inf = active_inf ();
struct value *vmark = value_mark ();