diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 11e5565584..8bb7943aae 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2014-01-07 Yao Qi + + * spu-linux-nat.c (_initialize_spu_nat): Declare. + 2014-01-07 Joel Brobecker * ada-valprint.c (print_field_values): Add "language" parameter. diff --git a/gdb/spu-linux-nat.c b/gdb/spu-linux-nat.c index e9b155bbb7..9441e02a5e 100644 --- a/gdb/spu-linux-nat.c +++ b/gdb/spu-linux-nat.c @@ -610,6 +610,8 @@ spu_can_use_hw_breakpoint (int type, int cnt, int othertype) return 0; } +/* -Wmissing-prototypes */ +extern initialize_file_ftype _initialize_spu_nat; /* Initialize SPU native target. */ void