gdb/ChangeLog

        * remote-sim.c (gdbsim_create_inferior): Call init_thread_list to
        reset thread numbering back to 1.
This commit is contained in:
Andrew Burgess 2012-10-11 21:25:18 +00:00
parent 11fc905705
commit 2a7c8fd5b4
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2012-10-11 Andrew Burgess <aburgess@broadcom.com>
* remote-sim.c (gdbsim_create_inferior): Call init_thread_list to
reset thread numbering back to 1.
2012-10-11 Doug Evans <dje@google.com>
PR breakpoints/14643.

View file

@ -640,6 +640,9 @@ gdbsim_create_inferior (struct target_ops *target, char *exec_file, char *args,
else
argv = NULL;
if (!have_inferiors ())
init_thread_list ();
if (sim_create_inferior (sim_data->gdbsim_desc, exec_bfd, argv, env)
!= SIM_RC_OK)
error (_("Unable to create sim inferior."));