Re: [fpc-devel] gdb crashes with trunk

2008-04-05 Thread Martin Schreiber
On Friday 04 April 2008 19.40:30 Jonas Maebe wrote: And this 6.6 also works fine with stabs. I tried with gdb 6.8.50: GNU gdb 6.8.50.20080306 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you

Re: [fpc-devel] symify.pp broken

2008-04-05 Thread Tomas Hajny
On Fri, April 4, 2008 16:47, Robert Riebisch wrote: Tomas Hajny wrote: You're more than welcome. :-) What bug is it? You might try debugging with gdbpas too if just the line info is not sufficient. I downloaded latest fpcbuild.zip and ran make nogdb in ide folder. This created a stripped

Re: [fpc-devel] gdb crashes with trunk

2008-04-05 Thread Martin Schreiber
On Saturday 05 April 2008 10.25:45 Martin Schreiber wrote: Hurray! Update: GNU gdb 6.8.50.20080306 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it.

Re[2]: [fpc-devel] Debugging FPC

2008-04-05 Thread Никита Баль
How are you trying to debug it? With gdb, lazarus, fp, ...? And what are the exact steps you are following? Jonas I compile fpc under Lazarus(+gdb) with following keys: -di386 -Fu../rtl/units/i386-win32 -FE. -FUi386/units/i386-win32 -dGDB -dBROWSERLOG _ (pp.pas) ...

Re: [fpc-devel] symify.pp broken

2008-04-05 Thread Jonas Maebe
On 05 Apr 2008, at 10:39, Tomas Hajny wrote: On Fri, April 4, 2008 16:47, Robert Riebisch wrote: Tomas Hajny wrote: You're more than welcome. :-) What bug is it? You might try debugging with gdbpas too if just the line info is not sufficient. I downloaded latest fpcbuild.zip and ran make

Re: Re[2]: [fpc-devel] Debugging FPC

2008-04-05 Thread Jonas Maebe
On 05 Apr 2008, at 11:41, Никита Баль wrote: How are you trying to debug it? With gdb, lazarus, fp, ...? And what are the exact steps you are following? I compile fpc under Lazarus(+gdb) with following keys: -di386 -Fu../rtl/units/i386-win32 -FE. -FUi386/units/i386-win32 - dGDB -dBROWSERLOG

Re: [fpc-devel] gdb crashes with trunk

2008-04-05 Thread Jonas Maebe
On 05 Apr 2008, at 10:48, Martin Schreiber wrote: main.pas:1422 1422 mainstatfile.readstat; (gdb) bt #0 TMAINFO__MAINONLOADED (SENDER=0xb761f870, this=0xb761f870) at main.pas:1422 #1 0x08188b37 in TCUSTOMMSEFORM__DOEVENTLOOPSTART (this=0xb761f870) at mseforms.pas:848 #2 0x08188b83 in

Re: [fpc-devel] gdb crashes with trunk

2008-04-05 Thread Marco van de Voort
On 05 Apr 2008, at 10:48, Martin Schreiber wrote: I'll try to fix it again. It's unfortunate that automating testing the debug info is hard to do in a cross-platform way. Does the unix expect utility exist for Windows? If so, maybe we can add tests similar to those in the gdb

Re: [fpc-devel] gdb crashes with trunk

2008-04-05 Thread Martin Schreiber
On Saturday 05 April 2008 13.32:40 Jonas Maebe wrote: in a cross-platform way. Does the unix expect utility exist for Windows? http://expect.nist.gov/ lists two native windows ports and the cygwin port. Martin ___ fpc-devel maillist -

Re: [fpc-devel] gdb crashes with trunk

2008-04-05 Thread Jonas Maebe
On 05 Apr 2008, at 13:32, Jonas Maebe wrote: This is caused by the fact that some restructuring of the debug info writer broke this fix: r8565 | jonas | 2007-09-19 18:37:49 +0200 (Wed, 19 Sep 2007) | 5 lines Changed

Re: [fpc-devel] gdb crashes with trunk

2008-04-05 Thread Jonas Maebe
On 05 Apr 2008, at 10:25, Martin Schreiber wrote: I tried with gdb 6.8.50: GNU gdb 6.8.50.20080306 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it.

Re: [fpc-devel] gdb crashes with trunk

2008-04-05 Thread Martin Schreiber
On Saturday 05 April 2008 14.33:16 Jonas Maebe wrote: Fixed. gdb 6.5 also works again. It starts a lot slower than 6.6, so I guess 6.5 read all debug information on startup (which is why it crashed immediately) while 6.6 and later only read the debug info as needed (and hence only crashed

Re[4]: [fpc-devel] Debugging FPC

2008-04-05 Thread Никита Баль
With which version of gdb? Which version of FPC did you compile, and with which version of FPC did you compile it? And with which command line options (the ones you show above don't include any debug generation information, so there must be more)? Jonas Lazarus version - 0.9.24

Re: Re[4]: [fpc-devel] Debugging FPC

2008-04-05 Thread Jonas Maebe
On 05 Apr 2008, at 14:57, Никита Баль wrote: With which version of gdb? Which version of FPC did you compile, and with which version of FPC did you compile it? And with which command line options (the ones you show above don't include any debug generation information, so there must be more)?

Re: Re: Re[4]: [fpc-devel] Debugging FPC

2008-04-05 Thread Никита Баль
with one only parameter -g, i also get this error. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: Re[4]: [fpc-devel] Debugging FPC

2008-04-05 Thread Jonas Maebe
On 05 Apr 2008, at 15:38, Никита Баль wrote: with one only parameter -g, i also get this error. I'm afraid I can't help you in that case. It works fine for me (under Linux and Mac OS X; I don't have access to Windows): Starting program: /home/jmaebe/private/bin/ppn59 tw9766 -g -al

Re: Re: Re[4]: [fpc-devel] Debugging FPC

2008-04-05 Thread Никита Баль
Thank you, i'll try under Linux. Can you tell me all list of command to gdb, which you call? ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: Re[4]: [fpc-devel] Debugging FPC

2008-04-05 Thread Jonas Maebe
On 05 Apr 2008, at 16:40, Никита Баль wrote: Thank you, i'll try under Linux. Can you tell me all list of command to gdb, which you call? [EMAIL PROTECTED]:~/fpc/tests/webtbs$ gdb ppn59 --directory=~/fpc/compiler/ GNU gdb Red Hat Linux (6.6-45.fc8rh) Copyright (C) 2006 Free Software

Re: [fpc-devel] gdb crashes with trunk

2008-04-05 Thread Jonas Maebe
On 05 Apr 2008, at 14:54, Jonas Maebe wrote: On 05 Apr 2008, at 10:25, Martin Schreiber wrote: I tried with gdb 6.8.50: Breakpoint 1, READROOTCOMPONENT (READROOTCOMPONENT=0xb77a5020, AROOT=0xb77a5020, this=0xb7795020) at ../objpas/classes/reader.inc: 1260 1260

Re: [fpc-devel] gdb crashes with trunk

2008-04-05 Thread Jonas Maebe
On 05 Apr 2008, at 14:57, Martin Schreiber wrote: For an automated test you could use gdb scripts? To check whether or not gdb crashes: yes. But for checking whether it produces the correct output that would be harder, I think. Jonas ___