From: Marc Khouzam Date: Mon, 6 Dec 2010 14:16:43 +0000 (+0000) Subject: 2010-12-06 Marc Khouzam X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8e0e408ae67929c13582e95db3f037627b83947f;p=binutils-gdb.git 2010-12-06 Marc Khouzam * mi/mi-parse.c (mi_parse): Missing else. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b2dd5537172..b8875d9a2fa 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-12-06 Marc Khouzam + + * mi/mi-parse.c (mi_parse): Missing else. + 2010-12-04 Masaki Muranaka * configure.tgt: Accept microblaze*-*-linux* for linux target diff --git a/gdb/mi/mi-parse.c b/gdb/mi/mi-parse.c index a5a4e75b52d..4541b6692a4 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"));