* mi/mi-main.c (mi_cmd_exec_continue)
(mi_cmd_exec_interrupt): Adjust parsing of thread group ids to current reality, where they don't have any 'p' prefix.
This commit is contained in:
parent
805bb01c4b
commit
4b45997780
@ -1,3 +1,9 @@
|
||||
2009-06-05 Marc Khouzam <marc.khouzam@ericsson.com>
|
||||
|
||||
* mi/mi-main.c (mi_cmd_exec_continue)
|
||||
(mi_cmd_exec_interrupt): Adjust parsing of thread group
|
||||
ids to current reality, where they don't have any 'p' prefix.
|
||||
|
||||
2009-06-05 Aleksandar Ristovski <aristovski@qnx.com>
|
||||
|
||||
* corelow.c (core_open): Check for core_gdbarch before calling
|
||||
|
@ -205,7 +205,7 @@ mi_cmd_exec_continue (char *command, char **argv, int argc)
|
||||
int pid;
|
||||
if (argv[1] == NULL || argv[1] == '\0')
|
||||
error ("Thread group id not specified");
|
||||
pid = atoi (argv[1] + 1);
|
||||
pid = atoi (argv[1]);
|
||||
if (!in_inferior_list (pid))
|
||||
error ("Invalid thread group id '%s'", argv[1]);
|
||||
|
||||
@ -260,7 +260,7 @@ mi_cmd_exec_interrupt (char *command, char **argv, int argc)
|
||||
int pid;
|
||||
if (argv[1] == NULL || argv[1] == '\0')
|
||||
error ("Thread group id not specified");
|
||||
pid = atoi (argv[1] + 1);
|
||||
pid = atoi (argv[1]);
|
||||
if (!in_inferior_list (pid))
|
||||
error ("Invalid thread group id '%s'", argv[1]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user