Re: debugging with gdb

2012-05-10 Thread Ochirov Nikolay
Hi, all! Thank you, Ariel and Eric! Thanks to your tips i begin to understand what's what) and one more question: build script gives this warning: ... WARNING(S): Some modules contain old output trees! Please check: instsetoo_nativeuser@ubuntu:~/ooo/main/instsetoo_native$ clean output trees ... W

Re: debugging with gdb

2012-05-09 Thread Ariel Constenla-Haile
Hi Nikolay, On Wed, May 09, 2012 at 07:07:49PM +0400, Ochirov Nikolay wrote: > Hi all! > Again, it doesn't work > > Here's the output gdb: > ... > 0x0349594f in?? () From / opt / openoffice.org / ure / lib / > bootstrap.uno.so > > I rebuilt the module stoc as Eric suggested: >ooo cd / main /

Re: debugging with gdb

2012-05-09 Thread Ochirov Nikolay
Hi all! Again, it doesn't work Here's the output gdb: ... 0x0349594f in?? () From / opt / openoffice.org / ure / lib / bootstrap.uno.so I rebuilt the module stoc as Eric suggested: ooo cd / main / stoc mv unxlng *. pro unxlng *. pro_back build debug = t And if I understand correctly, re

Re: debugging with gdb

2012-05-08 Thread Ariel Constenla-Haile
Hi Nikolay, On Tue, May 08, 2012 at 11:21:03PM +0400, Ochirov Nikolay wrote: > Thank you for help, Ariel! > Your hint is very usefull! I didn't clean, yes) > And one more question if i may: > Which module should be rebuilt in order to get the debugging symbols for > bootstrap.uno.so? For modules

Re: debugging with gdb

2012-05-08 Thread Ochirov Nikolay
Thank you for help, Ariel! Your hint is very usefull! I didn't clean, yes) And one more question if i may: Which module should be rebuilt in order to get the debugging symbols for bootstrap.uno.so? sincerely, Nikolay. 2012/5/8 Ariel Constenla-Haile > Hi Nikolay, > > On Tue, May 08, 2012 at 10:08

Re: debugging with gdb

2012-05-08 Thread eric b
Le 8 mai 12 à 20:08, Ochirov Nikolay a écrit : Hi, that's part of gdb session: ... Continuing. #0 desktop::Desktop::Main (this=0xbfc28244) at /home/user/ooo/ main/desktop/source/app/app.cxx:1670 #1 0x018b410d in ImplSVMain() () from /opt/openoffice.org3/ program/../basis-link/program/li

Re: debugging with gdb

2012-05-08 Thread Ariel Constenla-Haile
Hi Nikolay, On Tue, May 08, 2012 at 10:08:37PM +0400, Ochirov Nikolay wrote: > Hi, > that's part of gdb session: > ... > Continuing. > #0 desktop::Desktop::Main (this=0xbfc28244) > at /home/user/ooo/main/desktop/source/app/app.cxx:1670 > #1 0x018b410d in ImplSVMain() () >from /opt/openof

Re: debugging with gdb

2012-05-08 Thread Ochirov Nikolay
Hi, that's part of gdb session: ... Continuing. #0 desktop::Desktop::Main (this=0xbfc28244) at /home/user/ooo/main/desktop/source/app/app.cxx:1670 #1 0x018b410d in ImplSVMain() () from /opt/openoffice.org3/program/../basis-link/program/libvcl.so #2 0x018b42a4 in SVMain() () from /opt/o

Re: debugging with gdb

2012-05-08 Thread Ariel Constenla-Haile
Hi Nikolay, On Tue, May 08, 2012 at 08:47:37PM +0400, Ochirov Nikolay wrote: > Thank you, Andre, I notice that. > I rebuilt desktop module but still nothing happened. > I will try again) There might be some missing step, please copy the steps you are following, how and where are you copying the l

Re: debugging with gdb

2012-05-08 Thread Ochirov Nikolay
Thank you, Andre, I notice that. I rebuilt desktop module but still nothing happened. I will try again) 2012/5/8 Andre Fischer > Hm, > > There was small typo in one of the build command line. It should be > >cd trunk/main/desktop >build debug=true dbglevel=3 >^ > > The missi

Re: debugging with gdb

2012-05-08 Thread Andre Fischer
Hm, There was small typo in one of the build command line. It should be cd trunk/main/desktop build debug=true dbglevel=3 ^ The missing b does not lead to an error, the debug information is just not added. -Andre On 08.05.2012 16:56, Ochirov Nikolay wrote: gdb is stil

Re: debugging with gdb

2012-05-08 Thread Ochirov Nikolay
gdb is still writes to console - debugging symbols not found Can anyone give an example of configure script for configuration with debugging symbols 2012/5/8 Ariel Constenla-Haile > Hi Nikolay, > > On Tue, May 08, 2012 at 12:25:15AM +0400, Ochirov Nikolay wrote: > > Thank you, Ariel! > > I will t

Re: debugging with gdb

2012-05-07 Thread Ariel Constenla-Haile
Hi Nikolay, On Tue, May 08, 2012 at 12:25:15AM +0400, Ochirov Nikolay wrote: > Thank you, Ariel! > I will try to deal with gbuild. This is somwthing new) > In general, I want to debug feature Desktop::Main(). After correcting i > have error in it. then you should rebuild trunk/main/desktop with

Re: debugging with gdb

2012-05-07 Thread Ochirov Nikolay
Thank you, Ariel! I will try to deal with gbuild. This is somwthing new) In general, I want to debug feature Desktop::Main(). After correcting i have error in it. Regards, Nikolay 2012/5/7 Ariel Constenla-Haile > Hi Nikolay, > > On Mon, May 07, 2012 at 11:16:55PM +0400, Ochirov Nikolay wrote: >

Re: debugging with gdb

2012-05-07 Thread Ariel Constenla-Haile
Hi Nikolay, On Mon, May 07, 2012 at 11:16:55PM +0400, Ochirov Nikolay wrote: > Thank you, Ariel! > One more question - what is gbuild? AOO build environment is a mix of a Perl script (build.pl) + Dmake and the newly introduced "Gbuild", a build system based only on GNU Make. Some modules have be

Re: debugging with gdb

2012-05-07 Thread Ochirov Nikolay
Thank you, Ariel! One more question - what is gbuild? 2012/5/7 Ariel Constenla-Haile > Hello Nikolay, > > On Mon, May 07, 2012 at 10:49:55PM +0400, Ochirov Nikolay wrote: > > How to add debugging symbols of AOO in gdb? > > I'm trying to debug the AOO but can't figure out how to add debug > > inf

Re: debugging with gdb

2012-05-07 Thread Ariel Constenla-Haile
Hello Nikolay, On Mon, May 07, 2012 at 10:49:55PM +0400, Ochirov Nikolay wrote: > How to add debugging symbols of AOO in gdb? > I'm trying to debug the AOO but can't figure out how to add debug > information into gdb. I add --enable-symbols in configure, and add the > path to the source into gdb(