On 11 Jun 2014, at 21:56, Craig Rodrigues <rodr...@freebsd.org> wrote:
> On Wed, Jun 11, 2014 at 12:30 PM, Dimitry Andric <d...@freebsd.org> wrote:
>> On 11 Jun 2014, at 20:53, Craig Rodrigues <rodr...@freebsd.org> wrote:
>>> 
>>> Recently when trying to debug some coredumps in CURRENT from
>>> a userland process in the devel/libvirt port, I found that the gdb in
>>> base could not get a backtrace from the core file:
>>> 
>>> http://lists.freebsd.org/pipermail/freebsd-virtualization/2014-June/002606.html
>> 
>> Can you please post the output of the following?
>> 
>> objdump -W /usr/local/sbin/libvirtd | head
>> 
>> -Dimitry
>> 
> 
> $ objdump -W /usr/local/sbin/libvirtd | head
> 
> /usr/local/sbin/libvirtd:     file format elf64-x86-64-freebsd
> 
> The section .debug_aranges contains:
> 
>  Length:                   92
>  Version:                  2
>  Offset into .debug_info:  0
>  Pointer Size:             8
>  Segment Size:             0

Ah sorry, your objdump prints sections in a different order than mine.
I was mainly interested in the DWARF version of debug information; maybe
the way you built libvirt has caused it to contain DWARF4 instead of
DWARF2.

Can you post the complete objdump output instead, or post just the part
under "The section .debug_info contains"?  That should look similar to:

The section .debug_info contains:

  Compilation Unit @ offset 0x0:
   Length:        59
   Version:       4
   Abbrev Offset: 0
   Pointer Size:  4
[...]

but with possibly another "Version:" line.

-Dimitry

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to