[PATCH] Fix stepping bug associated with non-contiguous blocks

Tom Tromey tom@tromey.com
Mon Jul 15 15:21:00 GMT 2019


>>>>> "Kevin" == Kevin Buettner <kevinb@redhat.com> writes:

Kevin> gdb/ChangeLog:

Kevin> 	* infrun.c (fill_in_stop_func): Use find_pc_partial_function
Kevin> 	instead of find_function_entry_range_from_pc.

Thanks for the explanation.  I think this makes sense.

Kevin> +	  ecs->stop_func_start
Kevin> +	    += gdbarch_deprecated_function_start_offset (gdbarch);

This hook is only used by VAX.  I wonder if we could delete it somehow.

Tom



More information about the Gdb-patches mailing list