This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA v3 10/13] Call wrap_hint in one more spot in py-framefilter.c
- From: Tom Tromey <tom at tromey dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tom at tromey dot com>
- Date: Fri, 23 Mar 2018 14:55:09 -0600
- Subject: [RFA v3 10/13] Call wrap_hint in one more spot in py-framefilter.c
- References: <20180323205512.14434-1-tom@tromey.com>
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-23 Tom Tromey <tom@tromey.com>
PR python/16486:
* python/py-framefilter.c (py_print_args): Call wrap_hint.
---
gdb/ChangeLog | 5 +++++
gdb/python/py-framefilter.c | 1 +
2 files changed, 6 insertions(+)
diff --git a/gdb/python/py-framefilter.c b/gdb/python/py-framefilter.c
index 6186ffd274..eb4f9c6adf 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 (" (");
--
2.13.6