gdb, infcmd: remove redundant ERROR_NO_INFERIOR in continue_command
authorNils-Christian Kempke <nils-christian.kempke@intel.com>
Wed, 6 Apr 2022 08:11:23 +0000 (10:11 +0200)
committerChristina Schimpe <christina.schimpe@intel.com>
Wed, 29 Mar 2023 10:54:48 +0000 (12:54 +0200)
commitb863b097ee7a79b1114b9dd386864bc3c23a51b0
tree1ae0e6944ee09af2cb7cf53fc75914f95ee5df8e
parenta6e5abae4e9e845e6e69e07f755c0805558dcd63
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>
gdb/infcmd.c