This is the mail archive of the gdb@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: Skipping over trampolines/stubs


On Wed, Apr 01, 2009 at 09:08:11PM +0200, Jonas Maebe wrote:
> So I'm wondering whether there's maybe some trick that you can use to  
> make gdb step through arbitrary stubs somehow (maybe some kind of fake  
> line information that it always ignores and just skips over), or whether 
> there is another possible approach.

GDB already supports this for other languages; I suggest just adding
detection of the Free Pascal stubs to the debugger.  ObjC and C++
both have similar requirements, I believe.  In C++ they're virtual
call thunks.

-- 
Daniel Jacobowitz
CodeSourcery


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