diff options
author | Nils-Christian Kempke <nils-christian.kempke@intel.com> | 2022-04-06 10:11:23 +0200 |
---|---|---|
committer | Christina Schimpe <christina.schimpe@intel.com> | 2023-03-29 12:54:48 +0200 |
commit | b863b097ee7a79b1114b9dd386864bc3c23a51b0 (patch) | |
tree | 1ae0e6944ee09af2cb7cf53fc75914f95ee5df8e | |
parent | a6e5abae4e9e845e6e69e07f755c0805558dcd63 (diff) | |
download | gdb-b863b097ee7a79b1114b9dd386864bc3c23a51b0.zip gdb-b863b097ee7a79b1114b9dd386864bc3c23a51b0.tar.gz gdb-b863b097ee7a79b1114b9dd386864bc3c23a51b0.tar.bz2 |
gdb, infcmd: remove redundant ERROR_NO_INFERIOR in continue_command
The ERROR_NO_INFERIOR macro is already called at the beginning of the
function continue_command. Since target/inferior are not switched in-between,
the second call to it is redundant.
Co-Authored-By: Christina Schimpe <christina.schimpe@intel.com>
-rw-r--r-- | gdb/infcmd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c index e2032d1..a686115 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -735,7 +735,6 @@ continue_command (const char *args, int from_tty) } } - ERROR_NO_INFERIOR; ensure_not_tfind_mode (); if (!non_stop || !all_threads_p) |