forked from Imagelibrary/binutils-gdb
gdb/ChangeLog
* remote-sim.c (gdbsim_create_inferior): Call init_thread_list to
reset thread numbering back to 1.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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."));
|
||||
|
||||
Reference in New Issue
Block a user