Call wrap_hint in one more spot in py-framefilter.c
authorTom Tromey <tom@tromey.com>
Tue, 25 Apr 2017 03:59:43 +0000 (21:59 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 27 Mar 2018 03:57:14 +0000 (21:57 -0600)
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.

gdb/ChangeLog
gdb/python/py-framefilter.c

index 97da81134cb459459a2a73aaee83d81fa731b24a..05f0c2dc6fac83e7e6d5b823eb3b0c6f30cc8a6f 100644 (file)
@@ -1,3 +1,8 @@
+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
index 6186ffd274513ff21c0af6067c915d00786527f1..eb4f9c6adf7d464fcc97270943d654166d62f14f 100644 (file)
@@ -864,6 +864,7 @@ py_print_args (PyObject *filter,
 
   TRY
     {
+      out->wrap_hint ("   ");
       annotate_frame_args ();
       if (! out->is_mi_like_p ())
        out->text (" (");