This is the mail archive of the gdb-patches@sourceware.org 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: [commit] Rename frame_pc_unwind and frame_unwind_id


On Tue, Jul 15, 2008 at 09:08:34PM +0200, Mark Kettenis wrote:
> > Date: Tue, 15 Jul 2008 15:01:25 -0400
> > From: Daniel Jacobowitz <drow@false.org>
> > 
> > This patch is the first non-trivial change in inlining support, and
> > readily separable.
> 
> Non-trivial...
> 
> > The users of frame_unwind_id and frame_pc_unwind are all either
> > inferior control, trying to find the caller / return address of a new
> > function, or trampoline handling.  I audited all of the uses, and the
> > right behavior in every one of them is to ignore any inlined functions
> > at the current location.  A future patch, the one adding inlined
> > frames, will make the corresponding change to frame_unwind_caller_id
> > and frame_unwind_caller_pc.  For now, I've just renamed them to
> > indicate the correct expectations.
> 
> ...so cann't we discuss this first please?

Sorry.  Want me to back it out?  I'm not going to commit anything
further; I've just posted the meat of the patch, which is harder to
separate.

I'm interested in your comments (about this patch or the larger one).

-- 
Daniel Jacobowitz
CodeSourcery


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