diff options
author | Pedro Alves <pedro@palves.net> | 2020-08-29 00:11:35 +0100 |
---|---|---|
committer | Pedro Alves <pedro@palves.net> | 2020-08-29 00:55:58 +0100 |
commit | f7c7700d3241d862512b1fe5bebc0fc74c4470d9 (patch) | |
tree | eda0577343b95c8ffcef4fd5d4ef286dfdf4279d /gdb/f-lang.c | |
parent | 8f57f343104b8d3632e65ac1fbb12ee69891ef5f (diff) | |
download | gdb-f7c7700d3241d862512b1fe5bebc0fc74c4470d9.zip gdb-f7c7700d3241d862512b1fe5bebc0fc74c4470d9.tar.gz gdb-f7c7700d3241d862512b1fe5bebc0fc74c4470d9.tar.bz2 |
Adjust "maint info program-spaces" to per-inferior target stack
By inspection, I noticed that print_program_space is calling
target_pid_to_str on the wrong target stack. Most targets print a
process pid the same way, so it isn't actually visible.
gdb/ChangeLog:
* progspace.c (print_program_space): Use all_inferiors. Switch to
the inferior before calling target_pid_to_str.
Diffstat (limited to 'gdb/f-lang.c')
0 files changed, 0 insertions, 0 deletions