projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix PR 21352: Command tsave does not support -r argument
[binutils-gdb.git]
/
gdb
/
tracefile.c
diff --git
a/gdb/tracefile.c
b/gdb/tracefile.c
index 641ad4d93704b21db270ca8f1926777249635611..cc90945bb2abfc9d017c1234e6759c000b016001 100644
(file)
--- a/
gdb/tracefile.c
+++ b/
gdb/tracefile.c
@@
-325,7
+325,7
@@
tsave_command (char *args, int from_tty)
{
if (strcmp (*argv, "-r") == 0)
target_does_save = 1;
- if (strcmp (*argv, "-ctf") == 0)
+
else
if (strcmp (*argv, "-ctf") == 0)
generate_ctf = 1;
else if (**argv == '-')
error (_("unknown option `%s'"), *argv);