aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-04-24 21:59:43 -0600
committerTom Tromey <tom@tromey.com>2018-03-26 21:57:14 -0600
commiteb68e48764d4b038858dd4255ed248dbee6c4c0e (patch)
tree351f580b641c01660c551d9f5918714577a8e5eb
parent1f111921a0f8e3f62a19808349ff9bcbd4e54043 (diff)
downloadgdb-eb68e48764d4b038858dd4255ed248dbee6c4c0e.zip
gdb-eb68e48764d4b038858dd4255ed248dbee6c4c0e.tar.gz
gdb-eb68e48764d4b038858dd4255ed248dbee6c4c0e.tar.bz2
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 <tom@tromey.com> PR python/16486: * python/py-framefilter.c (py_print_args): Call wrap_hint.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/python/py-framefilter.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 97da811..05f0c2d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2018-03-26 Tom Tromey <tom@tromey.com>
+ PR python/16486:
+ * python/py-framefilter.c (py_print_args): Call wrap_hint.
+
+2018-03-26 Tom Tromey <tom@tromey.com>
+
* python/py-framefilter.c (py_print_single_arg): Return
EXT_LANG_BT_ERROR from catch.
diff --git a/gdb/python/py-framefilter.c b/gdb/python/py-framefilter.c
index 6186ffd..eb4f9c6 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 (" (");