Unbreak mips native build
authorYao Qi <yao@codesourcery.com>
Mon, 24 Feb 2014 04:03:05 +0000 (12:03 +0800)
committerYao Qi <yao@codesourcery.com>
Mon, 24 Feb 2014 04:03:05 +0000 (12:03 +0800)
commit93063aa69bbd3f19faa85baefd1b7fa9363a6790
treeb4b11445d0a386c200a58843c6cf77ae589a23a5
parent5c328c057e963faacc50796c650a5feb06762c67
Unbreak mips native build

When I build mips native gdb today, I get the follow error,

../../../git/gdb/mips-linux-nat.c: In function '_initialize_mips_linux_nat':
../../../git/gdb/mips-linux-nat.c:792:15: error: assignment from incompatible pointer type [-Werror]
cc1: all warnings being treated as errors

It looks an oversight of recent target_ops delegation patches.  This
patch is to fix the build error.

gdb:

2014-02-24  Yao Qi  <yao@codesourcery.com>

* mips-linux-nat.c (super_close): Update its type.
(mips_linux_close): Pass 'self' to super_close.
gdb/ChangeLog
gdb/mips-linux-nat.c