Re: [RFA] dummy frame handling cleanup, plus inferior fun call signal handling improvement

Pedro Alves
2008-12-04T22:42:45Z

On Thursday 04 December 2008 22:32:12, Doug Evans wrote:
> In the original code, is there a case when stop_pc != registers.pc?

Here,

<stopped at 0x1234, thread 1>
(gdb) set $pc = 0xf00
(gdb) call func()

But here it isn't (!=):

<stopped at 0x1234, thread 1>
(gdb) set $pc = 0xf00
(gdb) thread 2
(gdb) thread 1
<stop_pc is set to 0x1234>
(gdb) call func()

Don't you love globals? :-) I bet that if we got rid of
stop_pc most people wouldn't notice a difference.

--
Pedro Alves