mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-20 14:22:35 +08:00
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.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2014-09-26 Simon Marchi <simon.marchi@ericsson.com>
|
||||||
|
|
||||||
|
* progspace.c (print_program_space): Don't prune program spaces
|
||||||
|
before printing them.
|
||||||
|
|
||||||
2014-09-25 Pedro Alves <palves@redhat.com>
|
2014-09-25 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
* infrun.c (user_visible_resume_ptid): Don't check
|
* infrun.c (user_visible_resume_ptid): Don't check
|
||||||
|
@ -281,10 +281,6 @@ print_program_space (struct ui_out *uiout, int requested)
|
|||||||
int count = 0;
|
int count = 0;
|
||||||
struct cleanup *old_chain;
|
struct cleanup *old_chain;
|
||||||
|
|
||||||
/* Might as well prune away unneeded ones, so the user doesn't even
|
|
||||||
seem them. */
|
|
||||||
prune_program_spaces ();
|
|
||||||
|
|
||||||
/* Compute number of pspaces we will print. */
|
/* Compute number of pspaces we will print. */
|
||||||
ALL_PSPACES (pspace)
|
ALL_PSPACES (pspace)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user