diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2017-06-17 23:19:08 +0200 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2017-06-17 23:19:09 +0200 |
commit | ae3e2ccfe75e5c62749c15ead5c95e052aad21ca (patch) | |
tree | 285b0955af4e4f9fb8554eee200039da0f78818d /gdb/top.c | |
parent | 8465943af6a6f756c3d4b077eb1081ade927b26b (diff) | |
download | gdb-ae3e2ccfe75e5c62749c15ead5c95e052aad21ca.zip gdb-ae3e2ccfe75e5c62749c15ead5c95e052aad21ca.tar.gz gdb-ae3e2ccfe75e5c62749c15ead5c95e052aad21ca.tar.bz2 |
linux-low: Remove usage of "register" keyword
AFAIK, the register keyword is not relevant today, and clang complains
about it:
/home/emaisin/src/binutils-gdb/gdb/gdbserver/linux-low.c:5873:3: error: 'register' storage class specifier is deprecated and incompatible with C++1z
[-Werror,-Wdeprecated-register]
register PTRACE_XFER_TYPE *buffer;
^~~~~~~~~
I think we can safely remove it.
gdb/gdbserver/ChangeLog:
* linux-low.c (linux_read_memory, linux_write_memory): Remove
usage of "register" keyword.
Diffstat (limited to 'gdb/top.c')
0 files changed, 0 insertions, 0 deletions