Re: [fpc-pascal] DWARF line info cannot be used gdb

2008-12-29 Thread dmitry boyarintsev
here you go (i've accidently deleted test.pas, and created new one, naming main.pas, but the code is the same) : (gdb) info line *0x40144e warning: (Internal error: pc 0x40144e in read in psymtab, but not in symtab.) warning: (Internal error: pc 0x40144e in read in psymtab, but not in symtab.) L

Re: [fpc-pascal] DWARF line info cannot be used gdb

2008-12-29 Thread Jonas Maebe
On 29 Dec 2008, at 23:10, dmitry boyarintsev wrote: compile line fpc -Aas -gw2 test.pas gdb test.exe ... (gdb) b test.pas:7 warning: (Internal error: pc 0x40144e in read in psymtab, but not in symtab.) warning: (Internal error: pc 0x40144e in read in psymtab, but not in symtab.) I got t

Re: [fpc-pascal] DWARF line info cannot be used gdb

2008-12-29 Thread dmitry boyarintsev
compile line fpc -Aas -gw2 test.pas gdb test.exe ... (gdb) b test.pas:7 warning: (Internal error: pc 0x40144e in read in psymtab, but not in symtab.) warning: (Internal error: pc 0x40144e in read in psymtab, but not in symtab.) Breakpoint 1 at 0x40144e: file test.pas, line 7. ... break point wor

Re: [fpc-pascal] DWARF line info cannot be used gdb

2008-12-29 Thread Jonas Maebe
On 29 Dec 2008, at 21:16, dmitry boyarintsev wrote: gdb is able to set up break points, though warnings are still present. What kind of warnings? Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman

Re: [fpc-pascal] DWARF line info cannot be used gdb

2008-12-29 Thread dmitry boyarintsev
i've also tried using external linker -Aas -Xe and it works too. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] DWARF line info cannot be used gdb

2008-12-29 Thread dmitry boyarintsev
thanks Florian and Jonas i've just did it, right before receiving your email. and it made it work. exe is compiled succesfully. gdb is able to set up break points, though warnings are still present. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal

Re: [fpc-pascal] DWARF line info cannot be used gdb

2008-12-29 Thread Florian Klaempfl
dmitry boyarintsev schrieb: > Jonas, > I've added tf_dwarf_relative_addresses to system information for win32 > target and have recompiled the compiler. > so now whenether i'm using 'gw2' or 'gw3' compiler options i'm getting > test.pas(9,1) Fatal: Internal error 200404124 > > test.pas(9,1) line '

Re: [fpc-pascal] DWARF line info cannot be used gdb

2008-12-29 Thread dmitry boyarintsev
Jonas, I've added tf_dwarf_relative_addresses to system information for win32 target and have recompiled the compiler. so now whenether i'm using 'gw2' or 'gw3' compiler options i'm getting test.pas(9,1) Fatal: Internal error 200404124 test.pas(9,1) line 'end.' (see source is the at the first mail

Re: [fpc-pascal] bitwise generator

2008-12-29 Thread Zaher Dirkey
You can increase the Generator by its value, but be sure the first value of this generator is 1 select gen_id("GenAccID", gen_id("GenAccID", 0)) from rdb$database On Sat, Dec 6, 2008 at 5:00 PM, ik wrote: > > Thanks for the answer. > > I wanted to do it using Firebird instead of my Pascal code.