From 8e0e408ae67929c13582e95db3f037627b83947f Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Mon, 6 Dec 2010 14:16:43 +0000 Subject: [PATCH] 2010-12-06 Marc Khouzam * mi/mi-parse.c (mi_parse): Missing else. --- gdb/ChangeLog | 4 ++++ gdb/mi/mi-parse.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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")); -- 2.30.2