[RFC/RFA] continue stepping if landed in new range of same line
Sat Dec 22 18:05:00 GMT 2007
On Sat, Dec 22, 2007 at 10:01:37AM +0400, Joel Brobecker wrote:
> I wouldn't mind removing the code altogether; as a bonus it would also
> reduce the size of handle_inferior_event. I can send a patch now, or
> I can poll users on gdb@ and see what they think... Honestly, given
> the likeliness of one-line functions, I'd just say it's not very
> important to keep that special case.
There are a few one line functions in the testsuite. In my opinion /
experience, they cover all the cases that really need to be covered;
if we find an omission, we can add some more tests :-)
> 2007-12-22 Joel Brobecker <firstname.lastname@example.org>
> * infrun.c (handle_inferior_event): Remove code that made us
> stop when stepping into the last line of the current function.
> Tested on x86-linux, no regression.
This is OK as far as I'm concerned. And I am always in favor of
More information about the Gdb-patches