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]

Re: [patch/rfc] Use frame_type for sigtramp test in infrun.c


> Joel, from memory you had a change to:
> 
>   if (((stop_pc == ecs->stop_func_start	/* Quick test */
> 	|| in_prologue (stop_pc, ecs->stop_func_start))
>        && !IN_SOLIB_RETURN_TRAMPOLINE (stop_pc, ecs->stop_func_name))
>       || IN_SOLIB_CALL_TRAMPOLINE (stop_pc, ecs->stop_func_name)
>       || ecs->stop_func_name == 0)
>     {
>       /* It's a subroutine call.  */
>       handle_step_into_function (ecs);
>       return;
>     }
> 
> pending?  If we do pull the sigtramp code I think it would be prudent to 
> first have that committed - Joel's change greatly clarifies the logic.

Just to make sure we're talking about the same patch, attached is the
patch I was working on (may need to be updated to the current sources).
Is that what you were refering to?

Thanks,
-- 
Joel

Attachment: infrun.c.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]