]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Update the return type of gdb_ptrace to be more flexible
authorKamil Rytarowski <n54@gmx.com>
Fri, 20 Mar 2020 14:37:18 +0000 (15:37 +0100)
committerKamil Rytarowski <n54@gmx.com>
Fri, 20 Mar 2020 14:51:16 +0000 (15:51 +0100)
commit1ff700c202465275d1ca3aee4dd979db36274294
tree89406345f0a8f406f572aeefeadd95f4f7054fa6
parentf7d4f0b1b9519fa10eb04cb195bdf7b5044d73c7
Update the return type of gdb_ptrace to be more flexible

Linux returns long from ptrace(2) and BSDs int.

gdb/ChangeLog:

       * amd64-bsd-nat.c (gdb_ptrace): Change return type from `int' to
       `PTRACE_TYPE_RET'.
       * i386-bsd-nat.c (gdb_ptrace): Likewise.
       * sparc-nat.c (gdb_ptrace): Likewise.
       * x86-bsd-nat.c (gdb_ptrace): Likewise.
gdb/ChangeLog
gdb/amd64-bsd-nat.c
gdb/i386-bsd-nat.c
gdb/sparc-nat.c
gdb/x86-bsd-nat.c