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: [patch v4 24/24] record-btrace: skip tail calls in back trace


> -----Original Message-----
> From: Metzger, Markus T
> Sent: Wednesday, September 18, 2013 10:28 AM


> One way to solve this would be to add a BTRACE_TAILCALL_FRAME and
> extend struct target_ops to provide two optional unwinders that are both
> tried before any arch unwinder.  I'd try this unless you have a better idea.

This fixes all fails in the existing tests.

There's one problem found by a new test I added:  finish from a tail-called
function will not stop stepping.

I'll first incorporate the above fix into the patch series and send an updated
version out for review later today.  Then I'll look at the finish-from-tailcall
problem.

Regards,
Markus.
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052


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