]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdbserver/ChangeLog
Merge printing code
authorGary Benson <gbenson@redhat.com>
Tue, 17 Jun 2014 10:32:58 +0000 (11:32 +0100)
committerGary Benson <gbenson@redhat.com>
Wed, 18 Jun 2014 09:15:17 +0000 (10:15 +0100)
commit1b6d4134c776d54513114199f1478f83894f490b
tree2ec954539c3c3502d9a58d63cd315d1c36a33d7a
parent9b4550ef5e4223bf03a343dc8dd29285bf635e8b
Merge printing code

This commit synchronizes the debug printing code in i386-nat.c and
i386-low.c.

gdb/
2014-06-18  Gary Benson  <gbenson@redhat.com>

* i386-nat.c (debug_printf): New macro.
(i386_get_debug_register_length): Likewise.
(TARGET_HAS_DR_LEN_8): Use above macro.
(i386_show_dr): Use debug_printf instead of puts_unfiltered
and printf_unfiltered.  Use phex to format values.

gdb/gdbserver/
2014-06-18  Gary Benson  <gbenson@redhat.com>

* i386-low.c (i386_get_debug_register_length): New macro.
(TARGET_HAS_DR_LEN_8): Remove conditional.  Use above macro.
(i386_show_dr): Use debug_printf instead of fprintf.  Use
phex to format values.
gdb/ChangeLog
gdb/gdbserver/ChangeLog
gdb/gdbserver/i386-low.c
gdb/i386-nat.c