Re: [fpc-devel] fp IDE with libgdb

2010-03-07 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: Jonas Maebe wrote: On 01 Mar 2010, at 15:10, Mark Morgan Lloyd wrote: I'm still getting a bus or alignment error in the fp IDE when driving gdb but I'm reasonably optimistic that I'll be able to find that now. PowerPC is fine so it's probably not something like an

Re: [fpc-devel] fp IDE with libgdb

2010-03-01 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: Note that the code is correct: it's output the Hello World message even though subsequently the debugger is confused. d48656c = #13'Hel'. gdb on SPARC is trying to dereference the string itself. I've fixed this in r13813 in trunk. 0d48. Well spotted :-) OK, I'll

Re: [fpc-devel] fp IDE with libgdb

2010-03-01 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 01 Mar 2010, at 15:10, Mark Morgan Lloyd wrote: I'm still getting a bus or alignment error in the fp IDE when driving gdb but I'm reasonably optimistic that I'll be able to find that now. PowerPC is fine so it's probably not something like an endianness issue. A bus

Re: [fpc-devel] fp IDE with libgdb

2009-10-11 Thread Mark Morgan Lloyd
Pierre Muller wrote: True in principle, but XML library used for GDb is expat, so you should add {$linklib expat.a} in gdbint.pp Thanks, that certainly improves things. There's still a runtime error but I'll see if I can work out what's going on myself. I might be some time. It is generally

Re: [fpc-devel] fp IDE with libgdb

2009-10-07 Thread Felipe Monteiro de Carvalho
On Mon, Oct 5, 2009 at 10:27 AM, Mark Morgan Lloyd markmll.fpc-de...@telemetry.co.uk wrote: Linking testgdb /usr/local/lib/fpc/2.2.4/units/powerpc-linux/gdbint/gdbint.o: In function `GDBINT_INITLIBGDB': gdbint.pp:(.text+0x1a60): undefined reference to `error_init' libgdb.a(xml-support.o): In

Re: [fpc-devel] fp IDE with libgdb

2009-10-07 Thread Mark Morgan Lloyd
Felipe Monteiro de Carvalho wrote: On Mon, Oct 5, 2009 at 10:27 AM, Mark Morgan Lloyd markmll.fpc-de...@telemetry.co.uk wrote: Linking testgdb /usr/local/lib/fpc/2.2.4/units/powerpc-linux/gdbint/gdbint.o: In function `GDBINT_INITLIBGDB': gdbint.pp:(.text+0x1a60): undefined reference to

RE: [fpc-devel] fp IDE with libgdb

2009-10-07 Thread Pierre Muller
for the IDE. Pierre Muller -Message d'origine- De : fpc-devel-boun...@lists.freepascal.org [mailto:fpc-devel- boun...@lists.freepascal.org] De la part de Felipe Monteiro de Carvalho Envoyé : Wednesday, October 07, 2009 1:28 PM À : FPC developers' list Objet : Re: [fpc-devel] fp IDE

Re: [fpc-devel] fp IDE with libgdb

2009-10-06 Thread Jonas Maebe
On 05 Oct 2009, at 15:27, Mark Morgan Lloyd wrote: The fp IDE can drive libgdb to do straightforward debugging on x86 and ARM, there might be failures with complex stuff that I've not been able to test. Those two platforms are no problem, the problems are on PowerPC and SPARC. You're

Re: [fpc-devel] fp IDE with libgdb

2009-10-06 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 05 Oct 2009, at 15:27, Mark Morgan Lloyd wrote: The fp IDE can drive libgdb to do straightforward debugging on x86 and ARM, there might be failures with complex stuff that I've not been able to test. Those two platforms are no problem, the problems are on PowerPC and

Re: [fpc-devel] fp IDE with libgdb

2009-10-06 Thread Jonas Maebe
On 06 Oct 2009, at 16:38, Mark Morgan Lloyd wrote: Do you agree that the PowerPC problem is probably a broken Debian library somewhere? It's not as though we actually need XML for anything... Sorry, I really don't know. I'm not involved in the IDE at all, let alone in its GDB

Re: [fpc-devel] fp IDE with libgdb

2009-10-06 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 06 Oct 2009, at 16:38, Mark Morgan Lloyd wrote: Do you agree that the PowerPC problem is probably a broken Debian library somewhere? It's not as though we actually need XML for anything... Sorry, I really don't know. I'm not involved in the IDE at all, let alone in

[fpc-devel] fp IDE with libgdb

2009-10-05 Thread Mark Morgan Lloyd
Late last year I raised a perplexing issue where fp (the character-mode IDE) bombed when calling libgdb on SPARC, a backtrace appeared to show that garbage was being passed as parameters. I've been trying to get to grips with this problem and while I can demonstrate that the original issue was