bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0


From: Gavin Smith
Subject: Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0
Date: Fri, 29 Jun 2018 17:28:03 +0100

On Fri, Jun 29, 2018 at 7:41 AM, Eli Zaretskii <address@hidden> wrote:
>> From: Melvin Mawhin <address@hidden>
>> Date: Fri, 29 Jun 2018 05:46:29 +0000
>> Cc: "address@hidden" <address@hidden>
>>
>> Reading symbols from /usr/lib64/texinfo/XSParagraph.so...done.
>> Reading symbols from /usr/lib64/perl5/auto/PerlIO/encoding/encoding.so...(no 
>> debugging symbols
>> found)...done.
>> 0x00007fdd1764318c in xspara.add_next () from 
>> /usr/lib64/texinfo/XSParagraph.so
>> (gdb) n
>> Single stepping until exit from function xspara__add_next,
>> which has no line number information.
>
> Looks like you need to compile XSParagraph with more powerful
> debugging switches, like -g3.  You cannot step through the code on the
> source level if the binary has no line number information, and -g3
> compilation switch tells the compiler to record that information.

When testing this, I found I had to build Texinfo with a configure
invocation like:

./configure CFLAGS=-g PERL_EXT_CFLAGS=-g

to make sure that the extension was built with the debugging
information. In my case, gdb found the source files, but if it didn't,
you would use the "dir" command inside gdb.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]