]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/symmisc.c
Remove gdb_print_host_address
authorTom Tromey <tom@tromey.com>
Wed, 22 Dec 2021 17:28:37 +0000 (10:28 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 24 Dec 2021 17:32:14 +0000 (10:32 -0700)
commit64b7cc507b77224eeefa64f6c66a9c8e0321b26a
tree28cbf1b56bda90741cd1c79b21dbc9cbcc8ca2d8
parent34b965f7c006e64dbd5546575744daa642d4856f
Remove gdb_print_host_address

gdb_print_host_address is just a simple wrapper around
fprintf_filtered.  However, it is readily replaced in all callers by a
combination of %s and call to host_address_to_string.  This also
simplifies the code, so I think it's worthwhile to remove this
function.

Regression tested on x86-64 Fedora 64.
gdb/dummy-frame.c
gdb/gdbtypes.c
gdb/psymtab.c
gdb/symmisc.c
gdb/utils.c
gdb/utils.h