diff options
author | Marc Khouzam <marc.khouzam@ericsson.com> | 2010-12-06 14:16:43 +0000 |
---|---|---|
committer | Marc Khouzam <marc.khouzam@ericsson.com> | 2010-12-06 14:16:43 +0000 |
commit | 8e0e408ae67929c13582e95db3f037627b83947f (patch) | |
tree | 1a34b8946dfeef9ebbfcc21ccc8cb7c749396e91 /gdb | |
parent | 7d509c83fd0ddbfa7e92599d20c970c212a10ce9 (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/mi/mi-parse.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b2dd553..b8875d9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-12-06 Marc Khouzam <marc.khouzam@ericsson.com> + + * mi/mi-parse.c (mi_parse): Missing else. + 2010-12-04 Masaki Muranaka <monaka@monami-software.com> * configure.tgt: Accept microblaze*-*-linux* for linux target 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")); |