diff options
| author | Sébastien Darche <sdarche@efficios.com> | 2025-09-29 10:50:48 -0400 |
|---|---|---|
| committer | Sébastien Darche <sdarche@efficios.com> | 2025-10-08 16:00:33 -0400 |
| commit | b091f85b80de2d94a0703d86c1424b1f34fffc47 (patch) | |
| tree | f6073c93b2aaea8ba64dcc3996da65a9dd798f9c /gdb/testsuite/gdb.python/py-cmd-exception.py | |
| parent | 890bc1b7f5b156d57e86154cf333d4c5714f3a03 (diff) | |
| download | binutils-b091f85b80de2d94a0703d86c1424b1f34fffc47.zip binutils-b091f85b80de2d94a0703d86c1424b1f34fffc47.tar.gz binutils-b091f85b80de2d94a0703d86c1424b1f34fffc47.tar.bz2 | |
gdb: make deprecated_show_value_hack use its ui_file parameter
If a setting does not provide a "show" function, we fall back to the
deprecated_show_value_hack function to print the value in a generic
way. The current version ignores the `file` parameter specifying the
output file in favor of always using gdb_stdout.
To make things consistent with how the values are printed using a
regular show command, the proposed change makes the function use the
ui_file parameter it receives (even though do_show_command passes
gdb_stdout).
Co-Authored-By: Simon Marchi <simon.marchi@efficios.com>
Change-Id: I54028ed654a1fa4d955e6e46f979472c8d98ace9
Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdb/testsuite/gdb.python/py-cmd-exception.py')
0 files changed, 0 insertions, 0 deletions
