diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/printcmd.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4f3af0d..43aace7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2014-05-05 Yao Qi <yao@codesourcery.com> + + * printcmd.c (display_command): Remove the check to + target_has_execution. + 2014-05-03 Mark Kettenis <kettenis@gnu.org> * ppcobsd-nat.c: Include "obsd-nat.h". diff --git a/gdb/printcmd.c b/gdb/printcmd.c index 87b1448..228d4ad 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -1547,7 +1547,7 @@ display_command (char *arg, int from_tty) new->enabled_p = 1; display_chain = new; - if (from_tty && target_has_execution) + if (from_tty) do_one_display (new); dont_repeat (); |