aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorMarc Khouzam <marc.khouzam@ericsson.com>2010-12-06 14:16:43 +0000
committerMarc Khouzam <marc.khouzam@ericsson.com>2010-12-06 14:16:43 +0000
commit8e0e408ae67929c13582e95db3f037627b83947f (patch)
tree1a34b8946dfeef9ebbfcc21ccc8cb7c749396e91 /gdb/mi
parent7d509c83fd0ddbfa7e92599d20c970c212a10ce9 (diff)
downloadgdb-8e0e408ae67929c13582e95db3f037627b83947f.zip
gdb-8e0e408ae67929c13582e95db3f037627b83947f.tar.gz
gdb-8e0e408ae67929c13582e95db3f037627b83947f.tar.bz2
2010-12-06 Marc Khouzam <marc.khouzam@ericsson.com>
* mi/mi-parse.c (mi_parse): Missing else.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/mi-parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mi/mi-parse.c b/gdb/mi/mi-parse.c
index a5a4e75..4541b66 100644
--- a/gdb/mi/mi-parse.c
+++ b/gdb/mi/mi-parse.c
@@ -319,7 +319,7 @@ mi_parse (char *cmd)
chp += 1;
parse->thread_group = strtol (chp, &chp, 10);
}
- if (strncmp (chp, "--thread ", ts) == 0)
+ else if (strncmp (chp, "--thread ", ts) == 0)
{
if (parse->thread != -1)
error (_("Duplicate '--thread' option"));