Rename the read symbol to xread
authorKamil Rytarowski <n54@gmx.com>
Tue, 17 Mar 2020 12:41:46 +0000 (13:41 +0100)
committerKamil Rytarowski <n54@gmx.com>
Wed, 18 Mar 2020 01:23:13 +0000 (02:23 +0100)
commit5ccd2fb722d1900adf799dd808fa2146cac85d0d
tree3d2f9700c989b4a832fe6c78dbb2aed9116d7b71
parentfe64b263e025c5abc02738138d9283f53641ca42
Rename the read symbol to xread

This avoids clashes with macro read in the NetBSD headers.

gdb/ChangeLog:

* user-regs.c (user_reg::read): Rename to...
(user_reg::xread): ...this.
* (append_user_reg): Rename argument `read' to `xread'.
* (user_reg_add_builtin): Likewise.
* (user_reg_add): Likewise.
* (value_of_user_reg): Likewise.
gdb/ChangeLog
gdb/user-regs.c