Re: [fpc-devel] FPC 2.2 online documentation problem

2007-09-09 Thread Karl-Michael Schindler
Hi, I had a first try to create the docs. However, all three (latex2html, tex4ht and hevea) failed. I am suspecting the fink installations. Unfortunately, I did not take notes, how I did it last time. Looks like a more tedious thing. I'll let you know about any progress. Best wishes - Mic

Re: [fpc-devel] GDB barfs on FPC generated stabs.

2007-09-09 Thread Jonas Maebe
On 09 Sep 2007, at 17:13, Bruce Tulloch wrote: Most of the bugs and problems we've encountered so far are related to the use of with statements (used extensively in this codebase) and the subtle namespace resolution differences between Delphi and FPC. Please report bugs about this! http://www

Re: [fpc-devel] GDB barfs on FPC generated stabs.

2007-09-09 Thread Bruce Tulloch
Thanks Jonas, we will checkout the latest SVN version and let you know. Apropos conversion from Delphi, we've grokked most of what's in the Lazarus Wiki and our code does not rely on Delphi's default variable initializations. Indeed we have been impressed at how well FPC has been able to emulate w

Re: [fpc-devel] GDB barfs on FPC generated stabs.

2007-09-09 Thread Peter Vreman
> As for the stabs/crash problem, I've tried creating a few small test > projects to reproduce it but so far have succeeded only with the very > large application we're porting (which while it runs fine with Delphi > has numerous other unrelated bugs from FPC's point of view). > I'll send an exampl

Re: [fpc-devel] GDB barfs on FPC generated stabs.

2007-09-09 Thread Jonas Maebe
On 09 Sep 2007, at 14:49, Bruce Tulloch wrote: ie, the DW_AT_comp_dir field is nil. It appears as if GDB mangles the name of the file if DW_AT_comp_dir is specified by prepending the difference between the full path and working directory to the reported file name. Based on your feedback it seem

Re: [fpc-devel] GDB barfs on FPC generated stabs.

2007-09-09 Thread Bruce Tulloch
The dwarf problem appears to be GDB (configuration?) related. For a source file not in the working directory I get the same type of information as you from readelf, eg: <0><7ec44>: Abbrev Number: 1 (DW_TAG_compile_unit) DW_AT_name: Widget.pas DW_AT_producer: Free Pasca

Re: [fpc-devel] GDB barfs on FPC generated stabs.

2007-09-09 Thread Jonas Maebe
On 09 Sep 2007, at 13:36, Bruce Tulloch wrote: I've since downloaded and built gdb 6.6 and both problems remain the same so I don't think it's gdb per se. This latest GDB version still produces a SEGV on stabs symbols from time to time A segfault in gdb is a bug in gdb regardless of wheth

Re: [fpc-devel] GDB barfs on FPC generated stabs.

2007-09-09 Thread Bruce Tulloch
Thanks for the feedback Jonas. I've since downloaded and built gdb 6.6 and both problems remain the same so I don't think it's gdb per se. This latest GDB version still produces a SEGV on stabs symbols from time to time and it still produces bad filenames when dwarf symbols are used instead of sta

Re: [fpc-devel] GDB barfs on FPC generated stabs.

2007-09-09 Thread Jonas Maebe
On 09 Sep 2007, at 10:07, Bruce Tulloch wrote: I have encountered a problem using GDB (6.4.90-debian) with FPC (2.0.4 or 2.1.4). In a nutshell, GDB sometimes barfs on FPC generated stabs. That is a quite old gdb version. I would recommend at least gdb 6.5, and preferably gdb 6.6. If the

[fpc-devel] GDB barfs on FPC generated stabs.

2007-09-09 Thread Bruce Tulloch
I have encountered a problem using GDB (6.4.90-debian) with FPC (2.0.4 or 2.1.4). In a nutshell, GDB sometimes barfs on FPC generated stabs. If the program is compiled with -g (stabs format) the debugger works but attempts to print some data structures or produce a back-trace can result in a SEGV