On Fri, Jun 29, 2018 at 7:41 AM, Eli Zaretskii <[email protected]> wrote: >> From: Melvin Mawhin <[email protected]> >> Date: Fri, 29 Jun 2018 05:46:29 +0000 >> Cc: "[email protected]" <[email protected]> >> >> 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.
