RE: [fpc-devel] New Windows gdb-binary

2011-10-04 Thread Pierre Free Pascal
Use this new macro: $ cvs diff -u -p gdbtypes.h Index: gdbtypes.h === RCS file: /cvs/src/src/gdb/gdbtypes.h,v retrieving revision 1.153 diff -u -p -r1.153 gdbtypes.h --- gdbtypes.h 5 Jul 2011 13:36:41 -

RE: [fpc-devel] New Windows gdb-binary

2011-10-04 Thread Pierre Free Pascal
-Message d'origine- De : fpc-devel-boun...@lists.freepascal.org [mailto:fpc-devel- boun...@lists.freepascal.org] De la part de Joost van der Sluis Envoyé : lundi 3 octobre 2011 16:24 À : FPC developers' list Objet : Re: [fpc-devel] New Windows gdb-binary On Sat, 2011-10-01 at 10

Re: [fpc-devel] New Windows gdb-binary

2011-10-03 Thread Joost van der Sluis
On Sat, 2011-10-01 at 10:26 +0200, Florian Klämpfl wrote: Am 30.09.2011 15:02, schrieb Joost van der Sluis: Please test this gdb-version, and tell me about your experiences. Especially Martin. ;) Oh, you can download it here: http://www.lazarussupport.com/gdb_lazarssupport_20110930.zip

RE: [fpc-devel] New Windows gdb-binary

2011-10-03 Thread Joost van der Sluis
On Sat, 2011-10-01 at 11:00 +0200, Pierre Free Pascal wrote: Did you use the mingw 7.3 patch that handles the windows style path containing ':'? No. I recreated the patch below by doing a diff from official GDB 7.3 release and mingw7.3.2 sources. Without this, debug information

RE: [fpc-devel] New Windows gdb-binary

2011-10-03 Thread Joost van der Sluis
: RE: [fpc-devel] New Windows gdb-binary On Sat, 2011-10-01 at 11:00 +0200, Pierre Free Pascal wrote: Did you use the mingw 7.3 patch that handles the windows style path containing ':'? No. I recreated the patch below by doing a diff from official GDB 7.3 release

Re: [fpc-devel] New Windows gdb-binary

2011-10-03 Thread Florian Klämpfl
Am 03.10.2011 16:23, schrieb Joost van der Sluis: On Sat, 2011-10-01 at 10:26 +0200, Florian Klämpfl wrote: Am 30.09.2011 15:02, schrieb Joost van der Sluis: Please test this gdb-version, and tell me about your experiences. Especially Martin. ;) Oh, you can download it here:

Re: [fpc-devel] New Windows gdb-binary

2011-10-03 Thread Joost van der Sluis
On Mon, 2011-10-03 at 19:27 +0200, Florian Klämpfl wrote: Am 03.10.2011 16:23, schrieb Joost van der Sluis: On Sat, 2011-10-01 at 10:26 +0200, Florian Klämpfl wrote: Am 30.09.2011 15:02, schrieb Joost van der Sluis: Please test this gdb-version, and tell me about your experiences.

Re: [fpc-devel] New Windows gdb-binary

2011-10-02 Thread Joost van der Sluis
On Sat, 2011-10-01 at 09:08 +0200, Joost van der Sluis wrote: On Sat, 2011-10-01 at 01:05 +0100, Martin wrote: On 30/09/2011 23:23, Martin wrote: On 30/09/2011 14:02, Joost van der Sluis wrote: Please test this gdb-version, and tell me about your experiences. Especially Martin. ;)

Re: [fpc-devel] New Windows gdb-binary

2011-10-02 Thread Martin
On 02/10/2011 14:05, Joost van der Sluis wrote: On Sat, 2011-10-01 at 09:08 +0200, Joost van der Sluis wrote: On Sat, 2011-10-01 at 01:05 +0100, Martin wrote: Ok, seems to have big issues with strings in fields. Ow, man.. That's probably difficult again. While evaluating values, it does not

Re: [fpc-devel] New Windows gdb-binary

2011-10-02 Thread Joost van der Sluis
On Sun, 2011-10-02 at 14:29 +0100, Martin wrote: On 02/10/2011 14:05, Joost van der Sluis wrote: On Sat, 2011-10-01 at 09:08 +0200, Joost van der Sluis wrote: On Sat, 2011-10-01 at 01:05 +0100, Martin wrote: Ok, seems to have big issues with strings in fields. Ow, man.. That's probably

Re: [fpc-devel] New Windows gdb-binary

2011-10-02 Thread Martin
On 02/10/2011 15:02, Joost van der Sluis wrote: btw: I could not reproduce the external-linker and stabs crashes. Can you give me some more info? Hm, I have to check what version of the external linker I have. C:\FPC\trunk\bin\i386-win32ld.exe -v GNU ld version 2.16.91 20050827 Maybe time to

Re: [fpc-devel] New Windows gdb-binary

2011-10-01 Thread Joost van der Sluis
On Sat, 2011-10-01 at 01:05 +0100, Martin wrote: On 30/09/2011 23:23, Martin wrote: On 30/09/2011 14:02, Joost van der Sluis wrote: Please test this gdb-version, and tell me about your experiences. Especially Martin. ;) Oh, you can download it here:

Re: [fpc-devel] New Windows gdb-binary

2011-10-01 Thread Florian Klämpfl
Am 30.09.2011 15:02, schrieb Joost van der Sluis: Hi all, For all those who are interested in new debug-features of fpc and gdb, I have cross-compiled a gdb-executable for Windows. It's based on the Fedora-16 branch from the Archer project. But I added a few patches of my own, namely the patch

RE: [fpc-devel] New Windows gdb-binary

2011-10-01 Thread Pierre Free Pascal
Hi Joost, Did you use the mingw 7.3 patch that handles the windows style path containing ':'? I recreated the patch below by doing a diff from official GDB 7.3 release and mingw7.3.2 sources. Without this, debug information containing drive letters are wrongly cut into parts at the

Re: [fpc-devel] New Windows gdb-binary

2011-09-30 Thread Leonardo M . Ramé
From: Joost van der Sluis jo...@cnoc.nl To: fpc-devel@lists.freepascal.org Sent: Friday, September 30, 2011 10:02 AM Subject: [fpc-devel] New Windows gdb-binary Hi all, For all those who are interested in new debug-features of fpc and gdb, I have cross-compiled

Re: [fpc-devel] New Windows gdb-binary

2011-09-30 Thread Martin
On 30/09/2011 14:02, Joost van der Sluis wrote: Hi all, For all those who are interested in new debug-features of fpc and gdb, I have cross-compiled a gdb-executable for Windows. It's based on the Fedora-16 branch from the Archer project. But I added a few patches of my own, namely the patch

Re: [fpc-devel] New Windows gdb-binary

2011-09-30 Thread Paul Ishenin
30.09.2011 21:02, Joost van der Sluis wrote: Hi all, For all those who are interested in new debug-features of fpc and gdb, I have cross-compiled a gdb-executable for Windows. It's based on the Fedora-16 branch from the Archer project. But I added a few patches of my own, namely the patch to

Re: [fpc-devel] New Windows gdb-binary

2011-09-30 Thread Joost van der Sluis
On Fri, 2011-09-30 at 21:47 +0800, Paul Ishenin wrote: 30.09.2011 21:02, Joost van der Sluis wrote: Hi all, For all those who are interested in new debug-features of fpc and gdb, I have cross-compiled a gdb-executable for Windows. It's based on the Fedora-16 branch from the Archer

Re: [fpc-devel] New Windows gdb-binary

2011-09-30 Thread Tomas Hajny
On Fri, September 30, 2011 16:45, Joost van der Sluis wrote: On Fri, 2011-09-30 at 21:47 +0800, Paul Ishenin wrote: 30.09.2011 21:02, Joost van der Sluis wrote: . . case-sensitivity off by default and a patch to allow evaluating method-values (without actually calling them.) How can this

Re: [fpc-devel] New Windows gdb-binary

2011-09-30 Thread Martin
On 30/09/2011 15:45, Joost van der Sluis wrote: On Fri, 2011-09-30 at 21:47 +0800, Paul Ishenin wrote: 30.09.2011 21:02, Joost van der Sluis wrote: Hi all, For all those who are interested in new debug-features of fpc and gdb, I have cross-compiled a gdb-executable for Windows. It's based on

Re: [fpc-devel] New Windows gdb-binary

2011-09-30 Thread Joost van der Sluis
On Fri, 2011-09-30 at 15:54 +0100, Martin wrote: On 30/09/2011 15:45, Joost van der Sluis wrote: On Fri, 2011-09-30 at 21:47 +0800, Paul Ishenin wrote: 30.09.2011 21:02, Joost van der Sluis wrote: Hi all, For all those who are interested in new debug-features of fpc and gdb, I have

Re: [fpc-devel] New Windows gdb-binary

2011-09-30 Thread Martin
On 30/09/2011 16:22, Joost van der Sluis wrote: On Fri, 2011-09-30 at 15:54 +0100, Martin wrote: Now reading it again, does it mean: 1) gdb can (magically?) get the return value of a function/method, but WITHOUT calling/invoking the function (e.g. for properties) 2) gdb can evaluate the type of

Re: [fpc-devel] New Windows gdb-binary

2011-09-30 Thread Martin
On 30/09/2011 14:02, Joost van der Sluis wrote: Please test this gdb-version, and tell me about your experiences. Especially Martin. ;) Oh, you can download it here: http://www.lazarussupport.com/gdb_lazarssupport_20110930.zip It crashes when -Xe (external linker) was used. Also crashes

Re: [fpc-devel] New Windows gdb-binary

2011-09-30 Thread Martin
On 30/09/2011 23:23, Martin wrote: On 30/09/2011 14:02, Joost van der Sluis wrote: Please test this gdb-version, and tell me about your experiences. Especially Martin. ;) Oh, you can download it here: http://www.lazarussupport.com/gdb_lazarssupport_20110930.zip It crashes when -Xe