OSDN Git Service

gdb/
authorpalves <palves>
Thu, 28 May 2009 17:19:55 +0000 (17:19 +0000)
committerpalves <palves>
Thu, 28 May 2009 17:19:55 +0000 (17:19 +0000)
commit54524402edb3e455c7c6b7b2b3bb9e9d436c647e
tree045e50c7cb7fa97c9c922a901168874113f9f6d6
parent9b960b25733b3d91dad3fcd4d2f937a617e30afb
gdb/
2009-05-28  Pedro Alves  <pedro@codesourcery.com>

* infrun.c (handle_inferior_event): When thread hoping, switch
inferior_ptid to the event thread before removing breakpoints from
the target.  If not stopping, also try to revert back to a thread
that was doing a "next".  Check if that thread still exists before
resuming.
(currently_stepping_thread): Delete and merge with ...
(currently_stepping): ... this.
(currently_stepping_callback): Rename to ...
(currently_stepping_or_nexting_callback): ... this, and also
return true if the thread was stepping over a call (has a
step-resume breakpoint).

gdb/testsuite/
2009-05-28  Pedro Alves  <pedro@codesourcery.com>

* gdb.threads/threxit-hop-specific.c: New.
* gdb.threads/threxit-hop-specific.exp: New.
* gdb.threads/thread-execl.c: New.
* gdb.threads/thread-execl.exp: New.
gdb/ChangeLog
gdb/infrun.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/thread-execl.c [new file with mode: 0644]
gdb/testsuite/gdb.threads/thread-execl.exp [new file with mode: 0644]
gdb/testsuite/gdb.threads/threxit-hop-specific.c [new file with mode: 0644]
gdb/testsuite/gdb.threads/threxit-hop-specific.exp [new file with mode: 0644]