aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorNils-Christian Kempke <nils-christian.kempke@intel.com>2022-04-06 10:11:23 +0200
committerChristina Schimpe <christina.schimpe@intel.com>2023-03-29 12:54:48 +0200
commitb863b097ee7a79b1114b9dd386864bc3c23a51b0 (patch)
tree1ae0e6944ee09af2cb7cf53fc75914f95ee5df8e /gdb
parenta6e5abae4e9e845e6e69e07f755c0805558dcd63 (diff)
downloadgdb-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>
Diffstat (limited to 'gdb')
-rw-r--r--gdb/infcmd.c1
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)