Remove TARGET_XFER_STATUS_ERROR_P
authorYao Qi <yao@codesourcery.com>
Sun, 23 Feb 2014 04:24:08 +0000 (12:24 +0800)
committerYao Qi <yao@codesourcery.com>
Mon, 24 Feb 2014 03:27:37 +0000 (11:27 +0800)
commit5c328c057e963faacc50796c650a5feb06762c67
tree8e9c4f388e27f1997f3e95558ed8700b9a0650d9
parent605a662f6ad5841f77467727bad6611234f232cc
Remove TARGET_XFER_STATUS_ERROR_P

This patch removes macro TARGET_XFER_STATUS_ERROR_P, as Pedro pointed
out during patches review that TARGET_XFER_STATUS_ERROR_P tends to
be unnecessary.

gdb:

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

* target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
* corefile.c (read_memory): Adjusted.
* target.c (target_write_with_progress): Adjusted.
gdb/ChangeLog
gdb/corefile.c
gdb/target.c
gdb/target.h