aboutsummaryrefslogtreecommitdiff
path: root/COPYING.LIB
diff options
context:
space:
mode:
authorPedro Franco de Carvalho <pedromfc@linux.ibm.com>2020-08-14 15:41:13 -0300
committerPedro Franco de Carvalho <pedromfc@linux.ibm.com>2020-08-14 15:41:13 -0300
commit6e562fa3ba95b5415b269410137c0ca3e620a08d (patch)
tree199507168df2d5215aab75def94fa900e1e86add /COPYING.LIB
parentd369b608a1fc84813762e71a40a6cafb3ab828fe (diff)
downloadgdb-6e562fa3ba95b5415b269410137c0ca3e620a08d.zip
gdb-6e562fa3ba95b5415b269410137c0ca3e620a08d.tar.gz
gdb-6e562fa3ba95b5415b269410137c0ca3e620a08d.tar.bz2
[PowerPC] Use < 0 and >= 0 for watchpoint ptrace calls
In commit 227c0bf4b3dd0cf65dceb58e729e9da81b38b5a7, which fixed some watchpoint bugs, I compared the return value of some ptrace calls with == -1 and != -1. Althought this should be correct, since the rest of the file uses < 0 and >= 0, I have modified this for consistency. gdb/ChangeLog: * ppc-linux-nat.c (ppc_linux_dreg_interface::detect) (ppc_linux_nat_target::low_prepare_to_resume): Use ptrace () < 0 and >= to check return value instead of == -1 and != -1.
Diffstat (limited to 'COPYING.LIB')
0 files changed, 0 insertions, 0 deletions