linux-mips-low.c: Fix type of mips_add_watchpoint parameter
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 3 Nov 2015 18:33:14 +0000 (13:33 -0500)
committerSimon Marchi <simon.marchi@ericsson.com>
Tue, 3 Nov 2015 18:33:14 +0000 (13:33 -0500)
commiteb3e3c67e5f922e8f2c665e1687a71f08dbe37a8
tree12067efd99535075961405c5862237076883742d
parentf844cf0ec3887110375e9c1d4c48a68cb6a8b141
linux-mips-low.c: Fix type of mips_add_watchpoint parameter

Fixes

/home/simark/src/binutils-gdb/gdb/gdbserver/linux-mips-low.c: In function ‘void mips_add_watchpoint(arch_process_info*, CORE_ADDR, int, int)’:
/home/simark/src/binutils-gdb/gdb/gdbserver/linux-mips-low.c:368:19: error: invalid conversion from ‘int’ to ‘target_hw_bp_type’ [-fpermissive]
   new_watch->type = watch_type;
                   ^

gdb/gdbserver/ChangeLog:

* linux-mips-low.c (mips_linux_new_thread): Change type of
watch_type to enum target_hw_bp_type.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-mips-low.c