Don't prune program spaces when doing "maintenance info program-spaces"
authorSimon Marchi <simon.marchi@ericsson.com>
Fri, 26 Sep 2014 14:35:12 +0000 (10:35 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Fri, 26 Sep 2014 14:35:12 +0000 (10:35 -0400)
commita73c2b56cd87f709fb9118232b19cdf516edfb10
tree2e86939eb936dca776574c580fe45c6bab6b125a
parent1707f183446fae9aca8523c1ebf721bcf2472008
Don't prune program spaces when doing "maintenance info program-spaces"

Remove the pruning of program spaces in print_program_space to remove
unwanted side-effects. "info" commands and print routines should
generally not change the state of the debugger.

gdb/Changelog:

* progspace.c (print_program_space): Don't prune program spaces
before printing them.
gdb/ChangeLog
gdb/progspace.c