Re: [fpc-pascal] Re: setting variables with DWARF in gdb

2010-10-30 Thread Graeme Geldenhuys
On 30 October 2010 22:45, Michael Van Canneyt wrote: > > Strange. Never even knew it was there, let alone used it, despite working > with Delphi every day since 15 years... Use cases vary indeed ! Something I knew about Delphi you didn't! :-) What do you keep telling me: "You are never to old to

[fpc-pascal] Makefile.fpc and packages dependencies

2010-10-30 Thread Thierry B.
Hi, I try to understand how Makefile.fpc work on indy project, I read "using fpcmake" in freepascal "Programmer's guide" but I am out of luck: I have two directories at the same deep level: --Core --System Each contains a package. Core needs System. Programmer's guide "E.4.8 Requires" says: >

Re: [fpc-pascal] Re: setting variables with DWARF in gdb

2010-10-30 Thread Michael Van Canneyt
On Sat, 30 Oct 2010, ABorka wrote: On 10/30/2010 04:07, Graeme Geldenhuys wrote: On 30 October 2010 11:26, Jonas Maebe wrote: Reverse execution is a new feature that was added to gdb 7.0, although you probably want to use 7.2 for the extra bug fixes. The supported targets are listed at h

Re: [fpc-pascal] Re: setting variables with DWARF in gdb

2010-10-30 Thread Graeme Geldenhuys
On 30 October 2010 21:41, ABorka wrote: > > This was there back in Delphi 5 already. All you needed to do is to switch I thought so, because the project I remember working on was written in D5 (many years back), and I was pretty sure I use this feature then. > code. It is one of the things I re

Re: [fpc-pascal] Re: setting variables with DWARF in gdb

2010-10-30 Thread ABorka
On 10/30/2010 04:07, Graeme Geldenhuys wrote: On 30 October 2010 11:26, Jonas Maebe wrote: Reverse execution is a new feature that was added to gdb 7.0, although you probably want to use 7.2 for the extra bug fixes. The supported targets are listed at http://www.gnu.org/software/gdb/news/rev

Re: [fpc-pascal] Re: setting variables with DWARF in gdb

2010-10-30 Thread Graeme Geldenhuys
On 30 October 2010 13:27, Jonas Maebe wrote: > > Reverse execution does not involve recompiling nor restarting the application > either. Yes I understand that, but what I have done, should work on Windows as well as Linux, irrespective in GDB supports it or not. > Simply changing EIP is less s

Re: [fpc-pascal] Re: setting variables with DWARF in gdb

2010-10-30 Thread Graeme Geldenhuys
On 30 October 2010 13:25, Graeme Geldenhuys wrote: > > Definitely not possible with Lazarus IDE, and definitely works with > MSEide. The Watches window in MSEide also allows me to modify variable > values by simply typing in another value. I successfully repeated the > same procedure call over and

Re: [fpc-pascal] Re: setting variables with DWARF in gdb

2010-10-30 Thread Jonas Maebe
On 30 Oct 2010, at 13:07, Graeme Geldenhuys wrote: > On 30 October 2010 11:26, Jonas Maebe wrote: >> >> Reverse execution is a new feature that was added to gdb 7.0, although you >> probably want to use 7.2 for the extra bug fixes. The supported targets are >> listed at http://www.gnu.org/sof

Re: [fpc-pascal] Re: setting variables with DWARF in gdb

2010-10-30 Thread Graeme Geldenhuys
On 30 October 2010 13:07, Graeme Geldenhuys wrote: > Google found my exact answer. I see I can modify the CPU registers in > MSEide, but I don't think this is possible with Lazarus IDE. Just > tried, and it seems to work in MSEide - I'll do more testing to > confirm. The register in question was E

Re: [fpc-pascal] Re: setting variables with DWARF in gdb

2010-10-30 Thread Graeme Geldenhuys
On 30 October 2010 11:26, Jonas Maebe wrote: > > Reverse execution is a new feature that was added to gdb 7.0, although you > probably want to use 7.2 for the extra bug fixes. The supported targets are > listed at http://www.gnu.org/software/gdb/news/reversible.html (nobody has > added support

Re: [fpc-pascal] Re: setting variables with DWARF in gdb

2010-10-30 Thread Jonas Maebe
On 30 Oct 2010, at 09:57, Graeme Geldenhuys wrote: > Do you know how to move the > execution point back to an earlier line? eg: I want to execute the > program to call the same procedure, but with a different variable, so > I want to set execution back a few source lines, change the variable, > a

Re: [fpc-pascal] Re: Changes in fcl-web

2010-10-30 Thread Joost van der Sluis
On Fri, 2010-10-29 at 21:21 -0700, leledumbo wrote: > > Geckoport was commented-out, because it only worked on Windows. Now it > > works on other platforms too, I'll add a fpmake package for it. > > So, in the download package you attach, what would the html previewer be > instead of Gecko? Ther

Re: [fpc-pascal] Re: setting variables with DWARF in gdb

2010-10-30 Thread Graeme Geldenhuys
Hi Seth, On 29 October 2010 20:09, Seth Grover wrote: > I *was* doing something wrong... doing a ":=" (pascal-style > assignment) rather than just "=" seems to work Ok. I was battling with this too, thanks. Do you know how to move the execution point back to an earlier line? eg: I want to exec