projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6e5aba
)
gdb, infcmd: remove redundant ERROR_NO_INFERIOR in continue_command
author
Nils-Christian Kempke
<nils-christian.kempke@intel.com>
Wed, 6 Apr 2022 08:11:23 +0000
(10:11 +0200)
committer
Christina Schimpe
<christina.schimpe@intel.com>
Wed, 29 Mar 2023 10:54:48 +0000
(12:54 +0200)
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
patch
|
blob
|
history
diff --git
a/gdb/infcmd.c
b/gdb/infcmd.c
index e2032d185646b3ebfd1308c2b74d24ba31323914..a68611538f21884e9ff7a16457c59d3831c3f85f 100644
(file)
--- 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)