Re: how to build lilypond in debug mode?

2013-07-28 Thread Frédéric Bron
All that looks unrelated to LilyPond and more like a buggy installation of gdb And that one's URL:http://sourceware.org/bugzilla/show_bug.cgi?id=15415 You can get around it by doing break main run toto.ly set argv[0] = /home/fred/lilypond/build-2013-07-25_11-30/out/bin/lilypond continue

Re: how to build lilypond in debug mode?

2013-07-27 Thread David Kastrup
Frédéric Bron frederic.b...@m4x.org writes: Hi, I would like to run lilypond in gdb to understand what happens when using ties. How can I build lilypond for that? When I run configure --help, it says it is built with debug info by default: --enable-debugging compile with debugging

Re: how to build lilypond in debug mode?

2013-07-27 Thread Ian Hulin
Hi Frédéric, I think David K's already said it's a gdb featurette, aka bug, reported as gdb bug 15415. If you're feeling brave, you could download the gdb 7.6 sources and re-build gdb with the following patch submitted by Florian Baumert: diff -uNr gdb-7.6.original/gdb/utils.c

Re: how to build lilypond in debug mode?

2013-07-26 Thread immanuel litzroth
pass the debug flags to the configure call. CXXFLAGS=-ggdb3 ./configure possible args you can also build a profiling build throught the same mechanism. The --with-debug or like switches that a configure call supports should refer to extra debugging checks in the code switched on. i On Fri, Jul

Re: how to build lilypond in debug mode?

2013-07-26 Thread Benkő Pál
pass the debug flags to the configure call. CXXFLAGS=-ggdb3 ./configure possible args you can also build a profiling build throught the same mechanism. The --with-debug or like switches that a configure call supports should refer to extra debugging checks in the code switched on. even

Re: how to build lilypond in debug mode?

2013-07-26 Thread immanuel litzroth
I don't think that that is how it's supposed to work in autotools in general, but if it works: great! Immanuel On Fri, Jul 26, 2013 at 8:59 AM, Benkő Pál benko@gmail.com wrote: pass the debug flags to the configure call. CXXFLAGS=-ggdb3 ./configure possible args you can also build a

how to build lilypond in debug mode?

2013-07-25 Thread Frédéric Bron
Hi, I would like to run lilypond in gdb to understand what happens when using ties. How can I build lilypond for that? When I run configure --help, it says it is built with debug info by default: --enable-debugging compile with debugging info. Default: on But when I run gdb, I get some