MI: Fix printing of frame architecture with Python frame filters enabled
authorJan Vrany <jan.vrany@fit.cvut.cz>
Mon, 27 Aug 2018 20:52:44 +0000 (21:52 +0100)
committerSimon Marchi <simon.marchi@ericsson.com>
Mon, 27 Aug 2018 21:12:41 +0000 (17:12 -0400)
commit3bf9c013e4a7b72aaa7e242e163a776ad7347c26
tree0193a7e9e7bf7947eb50780b90e0fd97edccd858
parent65b3d26e7d53ea03eb99791dd324d56c599f4c99
MI: Fix printing of frame architecture with Python frame filters enabled

Commit 6d52907e226a (MI: Print frame architecture when printing frames
on an MI channel) added frame's architecture to MI frame output. However
the frame architecture was not correctly printed in the output of
"-stack-list-frames" with frame filters enabled (via "-enable-frame-filters").
This was because with frame filters enabled, the actual frame printing is
done in "py_print_frame" rather than "print_frame". This issue is now fixed.

gdb/Changelog:
2018-08-27  Jan Vrany  <jan.vrany@fit.cvut.cz>

* python/py-framefilter.c (py_print_frame): Print frame architecture
when printing on an MI output.

gdb/testsuite/Changelog:
2018-08-27  Jan Vrany  <jan.vrany@fit.cvut.cz>

* gdb.python/py-framefilter-mi.exp: Update regexp to
check for "arch" field in frame output.
gdb/ChangeLog
gdb/python/py-framefilter.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-framefilter-mi.exp
This page took 0.027404 seconds and 4 git commands to generate.