Hi !

The binary I'm using is a self-compiled Inkscape from the repository 0.49 trunk.
I've checked the objdump ( thanks ! it's very useful ) command and I can see there are several symbols in the executable, but not the one I'm looking for. For instance the SPRect example works also for me.

But when I go to the compilation folder, I can see the cssreader.o file which means that it has been compiled. So I'm confused. Should I compile with some specific options or should the default ./configure and make approach work ?

Thank you
guiu


On Thu, Sep 26, 2013 at 12:15 AM, Markus Engel <p637777@...1081...> wrote:
> Hi,
>
>> I'm trying to set a breakpoint in the function cssReader::parseFile()
>> using gdb.
>>
>> I've tried several's ways to do that in gdb, including:
>>
>> "break cssReader::parseFile"
>
> For me this works perfectly:
>
> > markus@...3046...:~/Inkscape/cppify_build$ gdb src/inkscape GNU gdb
> > (GDB) 7.5-ubuntu [...] Reading symbols from
> /home/markus/Inkscape/cppify_build/src/inkscape...done.
> > (gdb) b dyna-draw-context.cpp:963
> > Breakpoint 1 at 0x4bd7e4: file ../../cppify/src/dyna-draw-context.cpp,
> line 963.
> > (gdb) b SPRect::write
> > Breakpoint 2 at 0x5d9a50: file ../../cppify/src/sp-rect.cpp, line 138.
> > (gdb)
>
> Does your inkscape executable contain debug symbols?
>
> Regards,
> Markus

Try "objdump -t -C src/inkscape | less" and search for the cssreader. For me
there are no symbols of it in the executable.




--
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html