From: Tom Tromey Date: Tue, 25 Apr 2017 03:59:43 +0000 (-0600) Subject: Call wrap_hint in one more spot in py-framefilter.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eb68e48764d4b038858dd4255ed248dbee6c4c0e;p=binutils-gdb.git Call wrap_hint in one more spot in py-framefilter.c PR python/16486 notes that "bt" output is still wrapped differently when a frame filter is in use. This patch brings it a bit closer by adding one more wrap_hint call, in a place where stack.c does this as well. gdb/ChangeLog 2018-03-26 Tom Tromey PR python/16486: * python/py-framefilter.c (py_print_args): Call wrap_hint. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 97da81134cb..05f0c2dc6fa 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2018-03-26 Tom Tromey + + PR python/16486: + * python/py-framefilter.c (py_print_args): Call wrap_hint. + 2018-03-26 Tom Tromey * python/py-framefilter.c (py_print_single_arg): Return diff --git a/gdb/python/py-framefilter.c b/gdb/python/py-framefilter.c index 6186ffd2745..eb4f9c6adf7 100644 --- a/gdb/python/py-framefilter.c +++ b/gdb/python/py-framefilter.c @@ -864,6 +864,7 @@ py_print_args (PyObject *filter, TRY { + out->wrap_hint (" "); annotate_frame_args (); if (! out->is_mi_like_p ()) out->text (" (");