This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Another issue found in testing on arm-linux. A return was added to this function back in June; if we return from the middle of it, we leave inferior_ptid set to the wrong thread. This causes a "!ptid_equal (ecs->ptid, inferior_ptid)" test to fail, since we called read_pc_pid with ecs->ptid. That leads to not calling context_switch; which clobbers the stepping range for the previous thread; which causes stepping to stop unexpectedly.
I'll commit this patch as obvious in a day or two.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |