mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-24 00:44:14 +08:00
gdb/ChangeLog * remote-sim.c (gdbsim_create_inferior): Call init_thread_list to reset thread numbering back to 1.
This commit is contained in:
parent
11fc905705
commit
2a7c8fd5b4
@ -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."));
|
||||
|
Loading…
Reference in New Issue
Block a user