Re: [fpc-devel] SetString difference between Ansistring and UnicodeString

2009-10-09 Thread Sergei Gorelkin
Sergei Gorelkin wrote: Sergei Gorelkin wrote: Vincent Snijders wrote: I admit these are mere hints at a possible bug, but if I were maintainer of that code, I would take another look at it. I will :-) Vincent, what command(s) did you use to get that log? What options were used when compi

Re: [fpc-devel] gdb: "Cannot find new threads: generic error"

2009-10-09 Thread Martin Schreiber
On Friday 09 October 2009 16:43:08 Jonas Maebe wrote: > On 09 Oct 2009, at 16:22, Martin Schreiber wrote: > > > It was not caused by a bug in binutils but the new binutils with the > > bugfix > > With which bugfix? > https://bugzilla.novell.com/show_bug.cgi?id=471901 > And are you certain that onl

Re: [fpc-devel] gdb: "Cannot find new threads: generic error"

2009-10-09 Thread Jonas Maebe
On 09 Oct 2009, at 16:22, Martin Schreiber wrote: On Friday 09 October 2009 14:18:37 Jonas Maebe wrote: On 09 Oct 2009, at 14:11, Martin Schreiber wrote: That means the linker removes libpthread.so and gdb can't work without? There is nothing to remove by the linker in case of your FPC pro

Re: [fpc-devel] gdb: "Cannot find new threads: generic error"

2009-10-09 Thread Martin Schreiber
On Friday 09 October 2009 14:18:37 Jonas Maebe wrote: > On 09 Oct 2009, at 14:11, Martin Schreiber wrote: > > > > That means the linker removes libpthread.so and gdb can't work > > without? > > There is nothing to remove by the linker in case of your FPC program, > because the cthreads unit does no

Re: [fpc-devel] gdb shows wrong type info

2009-10-09 Thread JoshyFun
Hello Paul, Friday, October 9, 2009, 3:13:14 AM, you wrote: PI> This was reported few days ago on the Lazarus mail list and probably was PI> not noticed by FPC developers: PI> Compile any application with stabs debug info (I did not check with PI> dwarf), run it in gdb: PI> constructor CREA

Re: [fpc-devel] gdb: "Cannot find new threads: generic error"

2009-10-09 Thread Jonas Maebe
On 09 Oct 2009, at 14:11, Martin Schreiber wrote: On Friday 09 October 2009 13:49:14 Jonas Maebe wrote: On 09 Oct 2009, at 13:44, Martin Schreiber wrote: What is wrong? Bigger gui-programs are working. Seems to be unrelated to FPC: http://forums.opensuse.org/programming-scripting/412939-gdb

Re: [fpc-devel] gdb: "Cannot find new threads: generic error"

2009-10-09 Thread Martin Schreiber
On Friday 09 October 2009 13:49:14 Jonas Maebe wrote: > On 09 Oct 2009, at 13:44, Martin Schreiber wrote: > > What is wrong? Bigger gui-programs are working. > > Seems to be unrelated to FPC: > http://forums.opensuse.org/programming-scripting/412939-gdb-unable-debug-ap >plication.html > > Here is a

Re: [fpc-devel] New global CustomApplication variable

2009-10-09 Thread Martin Schreiber
On Friday 09 October 2009 12:33:51 Michael Schnell wrote: > MSE provides creating a "nogui" application that handles the message > queue without complex external stuff but in Linux uses "sem_wait()" to > wait in case of an empty message queue and signals for posing events. (I > don't know how they

Re: [fpc-devel] gdb: "Cannot find new threads: generic error"

2009-10-09 Thread Jonas Maebe
On 09 Oct 2009, at 13:44, Martin Schreiber wrote: What is wrong? Bigger gui-programs are working. Seems to be unrelated to FPC: http://forums.opensuse.org/programming-scripting/412939-gdb-unable-debug-application.html Here is a hint as to what might be the cause: http://www.nabble.com/Cann

[fpc-devel] gdb: "Cannot find new threads: generic error"

2009-10-09 Thread Martin Schreiber
Hi, linux-i386 Suse 11.1, binutils 2.19.51-15.1, the program: " program gdbthread; {$mode objfpc}{$h+} uses cthreads,sysutils; begin end. " The compile - debug session: " m...@linuxca:~/proj/msegui/testcase/FPC/2_2_4/gdbthread> ppc386 -gl gdbthread.pas Free Pascal Compiler version 2.2.4 [2009/0

Re: [fpc-devel] New global CustomApplication variable

2009-10-09 Thread Michael Schnell
IIRC, the TApplication instance needs to take care of the message queue that schedules events for TTimer the Delphi "procedure ... message" construct etc. With GUI application the message queue is managed by means of the appropriate GUI Framework, such as the Windows or GTK API- MSE provides cre

Re: [fpc-devel] New global CustomApplication variable

2009-10-09 Thread Martin Schreiber
On Thursday 08 October 2009 17:36:44 Joost van der Sluis wrote: > > I want to know if the current implementation is usefull for the existing > application-frameworks like Lazarus and MSEIde. If that's so I'll maybe > merge it to fpc 2.3.1. > MSEide has its own implementation of tcustomapplication

Re: [fpc-devel] gdb shows wrong type info

2009-10-09 Thread Jonas Maebe
On 09 Oct 2009, at 03:13, Paul Ishenin wrote: constructor CREATEFMT (EXCEPTION, POINTER, ANSISTRING, unnamedtype, ONGINT) : ^EXCEPTION; It also happens with gdb 6.5 and fpc 2.2.4. I don't know the details of the conventions for defining method type information in stabs, but at least t

Re: [fpc-devel] gdb shows wrong type info

2009-10-09 Thread Paul Ishenin
Jonas Maebe wrote: Compile any application with stabs debug info (I did not check with dwarf), run it in gdb: Which FPC version (does it happen both with 2.2.4 and with 2.3.1 or trunk), which gdb version and which platform? 1. fpc 2.5.1 built today from the trunk 2. did not check with 2.3.1

Re: [fpc-devel] gdb shows wrong type info

2009-10-09 Thread Jonas Maebe
On 09 Oct 2009, at 03:13, Paul Ishenin wrote: Compile any application with stabs debug info (I did not check with dwarf), run it in gdb: Which FPC version (does it happen both with 2.2.4 and with 2.3.1 or trunk), which gdb version and which platform? Jonas __