diff options
author | Keith Seitz <keiths@redhat.com> | 2018-08-30 07:47:03 -0700 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2018-08-30 07:47:03 -0700 |
commit | fdad7678b74a170ead1ef967007be087435715f7 (patch) | |
tree | e7f0836e901518feb4d9fcad056b3a5be01838f8 /gdb/ChangeLog | |
parent | 4c971803c4fb225b029420f812229941beabd42e (diff) | |
download | gdb-fdad7678b74a170ead1ef967007be087435715f7.zip gdb-fdad7678b74a170ead1ef967007be087435715f7.tar.gz gdb-fdad7678b74a170ead1ef967007be087435715f7.tar.bz2 |
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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 43e22e2..2e59caf 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2018-08-30 Keith Seitz <keiths@redhat.com> + + * compile/compile-cplus-types.c (compile_cplus_instance::enter_scope): + Use "%s" and host_address_to_string instead of "%p" in printf. + 2018-08-29 Keith Seitz <keiths@redhat.com> * Makefile.in (SUBDIR_GCC_COMPILE_SRCS): Add compile-cplus-symbols.c |