diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2017-06-25 12:38:59 +0200 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2017-06-25 12:40:10 +0200 |
commit | f076f0349cb958b451872ce4a7987821533c2f49 (patch) | |
tree | ffa2e335184c0704fc23b9ef391bde749d09b285 /sim | |
parent | d7e2ebe7e73105766a854f4f0e3a5c509fd0e82a (diff) | |
download | gdb-f076f0349cb958b451872ce4a7987821533c2f49.zip gdb-f076f0349cb958b451872ce4a7987821533c2f49.tar.gz gdb-f076f0349cb958b451872ce4a7987821533c2f49.tar.bz2 |
x86-dregs: Print debug registers one per line
This get around this warning given by clang...
/home/emaisin/src/binutils-gdb/gdb/nat/x86-dregs.c:209:7: error: variable 'i' is incremented both in the loop header and in the loop body [-Werror,-Wfor-loop-analysis]
i++;
^
/home/emaisin/src/binutils-gdb/gdb/nat/x86-dregs.c:199:32: note: incremented here
ALL_DEBUG_ADDRESS_REGISTERS (i)
^
... I decided in the end to simply print the debug registers one per
line. I don't think it particularly helps readability to have them two
per line anyway.
gdb/ChangeLog:
* nat/x86-dregs.c (x86_show_dr): Print registers one per line.
Diffstat (limited to 'sim')
0 files changed, 0 insertions, 0 deletions