diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gnu-nat.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1568a9e..236b117 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 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> + * gnu-nat.c (make_inf) Update declaration. (make_inf): Make it static. (inf_set_traced): Likewise. diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c index 68e7459..b52e23b 100644 --- a/gdb/gnu-nat.c +++ b/gdb/gnu-nat.c @@ -2103,7 +2103,7 @@ gnu_create_inferior (struct target_ops *ops, struct inf *inf = cur_inf (); int pid; - void trace_me () + void trace_me (void) { /* We're in the child; make this process stop as soon as it execs. */ inf_debug (inf, "tracing self"); |