Use host_address_to_string in compile_cplus_instance::enter_scope
authorKeith Seitz <keiths@redhat.com>
Thu, 30 Aug 2018 14:47:03 +0000 (07:47 -0700)
committerKeith Seitz <keiths@redhat.com>
Thu, 30 Aug 2018 14:47:03 +0000 (07:47 -0700)
commitfdad7678b74a170ead1ef967007be087435715f7
treee7f0836e901518feb4d9fcad056b3a5be01838f8
parent4c971803c4fb225b029420f812229941beabd42e
Use host_address_to_string in compile_cplus_instance::enter_scope

This patch fixes a problem being reported by the buildbot with an
invalid argument to a "%p" printf format. Instead of "%p", the
debug output is changed to use "%s" and host_address_to_string.

gdb/ChangeLog

* compile/compile-cplus-types.c (compile_cplus_instance::enter_scope):
Use "%s" and host_address_to_string instead of "%p" in printf.
gdb/ChangeLog
gdb/compile/compile-cplus-types.c