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: problem unwinding past pthread_cond_wait() on x86 RedHat 9.0


> >    % objdump --headers /lib/tls/libpthread.so.0 | grep frame
> >     15 .eh_frame_hdr 0000002c  00009dc8  00009dc8  00009dc8  2**2
> >     16 .eh_frame     0000010c  00009df4  00009df4  00009df4  2**2
> > 
> > No .debug_frame section (not a single dwarf2-related section for
> > that matter).
> 
> That is CFI.  The .eh_frame section is actually just about the same as
> the .debug_frame section, but encoded a little differently and loaded
> into memory instead of marked as a debugging section.

Ah, OK, thanks. Given the name of the section, I thought it would
contain exception handling _regions_, without necessarily providing
frame information for each and every function. I need to learn a bit
more about them...

-- 
Joel


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