[fpc-devel] [Fwd: [Lazarus] Readig dbg files]

2010-07-25 Thread Bogusław Brandys
Hi I'm trying to create little tool which would do that : When exception is throw and stacktrace is returned from stripped exe I'd like to read stacktrace and convert it into lineinfo using appropriate dbg file which is not included in application given to users. Is there any already done tool

Re: [!! SPAM] Re: [fpc-devel] unwinding stack from within ExceptProc?

2009-09-26 Thread Bogusław Brandys
Lukas Zeller pisze: Thanks, Jonas for the quick response (again)! On Sep 26, 2009, at 15:31 , Jonas Maebe wrote: On 25 Sep 2009, at 18:09, Lukas Zeller wrote: The longjmp itself works, but after this has happened once, further exceptions crash the program. I wonder if there is some (FPC) cle

Re: [fpc-devel] SetPropValue case sensitive

2009-05-05 Thread Bogusław Brandys
Leonardo M. Ramé wrote: I studied a little deeper and the problem is (according to FPC 2.2.2 manual) that SetPropValue doesn't work because Variants are not implemented yet. The solution was easy, I used SetStrProp instead of SetPropValue. In my program all published properties were strings.

Re: [fpc-devel] bugreports

2009-04-29 Thread Bogusław Brandys
Micha Nelissen wrote: Bogusław Brandys wrote: Can someone assign those bugreports : http://bugs.freepascal.org/view.php?id=13499 and http://bugs.freepascal.org/view.php?id=13518 to proper person ? You must first request to be added as developer before we can assign the bug to you ;-P

Re: [fpc-devel] bugreports

2009-04-29 Thread Bogusław Brandys
Jonas Maebe wrote: On 29 Apr 2009, at 14:46, Jonas Maebe wrote: On 29 Apr 2009, at 14:38, Bogusław Brandys wrote: Can someone assign those bugreports : http://bugs.freepascal.org/view.php?id=13499 and http://bugs.freepascal.org/view.php?id=13518 to proper person ? In general, in FPC bug

[fpc-devel] bugreports

2009-04-29 Thread Bogusław Brandys
Can someone assign those bugreports : http://bugs.freepascal.org/view.php?id=13499 and http://bugs.freepascal.org/view.php?id=13518 to proper person ? Thanks Boguslaw ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.or

Re: [fpc-devel] Is it possible to remove dependency on cygwin from freepascal ?

2009-04-28 Thread Bogusław Brandys
Marco van de Voort wrote: In our previous episode, Bogusław Brandys said: Interesting.I have : D:\FPC\2.3.2\bin\i386-win32>fpc -i Free Pascal Compiler version 2.3.1 Compiler Date : 2009/04/27 Compiler CPU Target: i386 and: D:\FPC\2.3.2\bin\i386-win32>grep -i cygwin * Binary file cy

Re: [fpc-devel] Is it possible to remove dependency on cygwin from freepascal ?

2009-04-28 Thread Bogusław Brandys
Marco van de Voort wrote: In our previous episode, sakesun roykiatisak said: For several years, some of Freepascal utilities always cause troubles from cygwin version conflict with my machine main cygwin installation. I believe Freepascal package will be a lot more integrated if those cygwin uti

Re: [?? Probable Spam] Re: [fpc-devel] fpc map file

2009-04-17 Thread Bogusław Brandys
Daniël Mantione pisze: Op Sat, 18 Apr 2009, schreef Paul Ishenin: Daniël Mantione wrote: Can fpc team extend output made by -Xm with line info? Not if the GNU linker is used, which is the case for the majority of platforms. So -Xm is the same as ld -Map ? I thought -Xm map file is alway

[fpc-devel] function StabBackTraceStr(addr:Pointer):shortstring; - problem with subsequent back traces

2009-04-14 Thread Bogusław Brandys
There is a problem with this function. To avoid recursion there is a hack there to point BackTraceStrFunc to system implementation (which only shows addresses in hex).Long back trace which mostly ends with incorrect frame address as I suppose (OpenStabs is returning false for nil address) - th

[fpc-devel] Help with external dbg file and lineinfo

2009-04-13 Thread Bogusław Brandys
Hi, Please help me fix this bug: http://bugs.freepascal.org/view.php?id=13499 According to my little knowledge string table immediately follows symbol table so computation of string table in case of coff symbols is probably wrong by 4 bytes offset. Yet I don't understand why thos +4 was added

Re: [fpc-devel] Build FPC 2.3.1 from SVN sources

2008-01-17 Thread Bogusław Brandys
Fabio Dell'Aria wrote: Hi, 2008/1/17, Vincent Snijders <[EMAIL PROTECTED]>: Fabio Dell'Aria schreef: Where I can find the "make" program (command) on Windows? On the FPC\bin I found only fpcmake.exe IMO, the best way to get it, is to install the latest FPC release (which you have anyway for

Re: [fpc-devel] A Compiled file size solution from the GBD mailing-list

2008-01-17 Thread Bogusław Brandys
Peter Vreman wrote: Support for a separate .dbg file is now available for windows in current svn trunk with the -Xg option. No need anymore for "objcopy --only-keep-debug && objcopy --add-debug-link && strip" under windows. The external linker (e.g. linux) still be updated to support objcopy and

Re: [fpc-devel] RTL StackTrace patch

2008-01-17 Thread Bogusław Brandys
Vincent Snijders wrote: Bogusław Brandys schreef: I think it should by default look for program.dbg file , and then if not exists for paramstr(0). Is that enough ? If so,please explain how to check if file exists , which function could be used here. No, as Peter described, you should look

Re: [fpc-devel] RTL StackTrace patch

2008-01-17 Thread Bogusław Brandys
Fabio Dell'Aria wrote: Hi, 2008/1/17, Michael Van Canneyt <[EMAIL PROTECTED]>: On Thu, 17 Jan 2008, Fabio Dell'Aria wrote: Hi to all, I'm writing a patch to can use an external .dbg file during the debugging process. All works fine but when an unhandled exception is raised the RTL show sta

Re: [fpc-devel] A Compiled file size solution from the GBD mailing-list

2008-01-16 Thread Bogusław Brandys
Michael Van Canneyt wrote: On Wed, 16 Jan 2008, Peter Vreman wrote: At 13:17 16-1-2008, you wrote: Marco van de Voort wrote: >from _EXECUTABLE_ file FILE, iow you still need the unstripped exe. Perhaps it doesn't need the .text, .data, .bss etc sections though. I also posted this on Lazarus

Re: [fpc-devel] Debug Info proposal

2008-01-13 Thread Bogusław Brandys
Daniël Mantione wrote: Op Sun, 13 Jan 2008, schreef Joost van der Sluis: Op zaterdag 12-01-2008 om 20:11 uur [tijdzone +0100], schreef Bogus?aw Brandys: Jonas Maebe wrote: You can already do this: compile a "release executable" with debug info, and then distribute a stripped copy of that

Re: [fpc-devel] Debug Info proposal

2008-01-12 Thread Bogusław Brandys
Jonas Maebe wrote: On 12 Jan 2008, at 16:07, Bogusław Brandys wrote: Could we have debug info as separate file ? If this would be possible I could create release stripped EXE and yet be able to obtain unit/line of exception combining stacktrace numeric output with correct debug info file

Re: [fpc-devel] Debug Info proposal

2008-01-12 Thread Bogusław Brandys
Daniël Mantione wrote: Op Sat, 12 Jan 2008, schreef Fabio Dell'Aria: I think the FreePascal debug info contains the full source code of the compiled software, Your assumption is incorrect. The debug info contains * Line info (which source code line belongs to which memory address). * Type i

[fpc-devel] postw32.exe virus ???

2008-01-11 Thread Bogusław Brandys
Just to note. Kaspersky found Trojan-Spy.Win32.Agent.sc inside postw32.exe ? I think it is clean file but can you confirm that ? ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

[fpc-devel] "Invalid field size : 8"

2008-01-10 Thread Bogusław Brandys
Hello, I'm trying to work with InstantObjects using Free Pascal but I encountered strange exception which is generated when I'm trying to retrieve persistent class from Firebird 2.0 database. Below is and extended output of stack trace (I've also turned on dsdebug to watch all possible infor

Re: [fpc-devel] Re: FPCunit improvement ideas

2008-01-09 Thread Bogusław Brandys
Graeme Geldenhuys wrote: More ideas Other things that could be saved for Text Test Runner is the preferred output format (plain, xml, latex), show progress, stylesheet (if xml) and output file name. Regards, - Graeme - On 09/01/2008, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: Hi,

Re: [fpc-devel] daemonapp 100% cpu easting fix

2007-11-19 Thread Bogusław Brandys
Steve Howe wrote: Hello all, such as changing the sleep time. Would it hurt to make it virtual ? Is it really necessary to do polling (with or without sleep) here ? Avoiding polling in any case would improve the performance and reduce intrusiveness. On Windows you have alternatives such as some

Re: [fpc-devel] daemonapp 100% cpu easting fix

2007-11-17 Thread Bogusław Brandys
Michael Van Canneyt wrote: On Sat, 17 Nov 2007, Mattias Gaertner wrote: On Sat, 17 Nov 2007 10:12:30 -0200 Steve Howe <[EMAIL PROTECTED]> wrote: Hello all, While using the daemonapp.pp unit to code a daemon, I've found that applications that it eat 100% of the CPU. After tracking and debu

Re: [fpc-devel] Dnamic packages support

2007-11-05 Thread Bogusław Brandys
Daniël Mantione wrote: Op Sat, 3 Nov 2007, schreef Marco van de Voort: Florian Klaempfl schrieb: Ok, I'll ask next time this person to spent the weekend to fix windows installer scripts and assign to it the still open web download page, installer and install package bugs. I was never for the

Re: [fpc-devel] KOL for WinCE

2007-02-10 Thread Bogusław Brandys
Yury Sidorov wrote: From: "Bogusław Brandys" <[EMAIL PROTECTED]> Yury Sidorov wrote: Hello, Finally I got time to port KOL to WinCE. Project page at SourceForge: http://sourceforge.net/projects/kol-ce/ Most things works. Report any bugs to tracker at SourceForge. Empty

Re: [fpc-devel] KOL for WinCE

2007-02-10 Thread Bogusław Brandys
Yury Sidorov wrote: Hello, Finally I got time to port KOL to WinCE. Project page at SourceForge: http://sourceforge.net/projects/kol-ce/ Most things works. Report any bugs to tracker at SourceForge. Empty form hello world application exe is only 44.5KB! Yury Sidorov. Nice.What about MCK for

Re: [fpc-devel] FPC dynamic libraries

2007-02-08 Thread Bogusław Brandys
Michael Van Canneyt wrote: On Thu, 8 Feb 2007, George Birbilis wrote: We need a version system. That's not something "we" need, but which most OS'es need (and don't provide, except for hacks like symlinks or different filenames). Moreover, it doesn't really solve much unless you like having

Re: [fpc-devel] Linking to C++

2007-01-22 Thread Bogusław Brandys
Jason P Sage wrote: Hello All, This may have been mentioned with different words already - but I'm getting the impression one should write a "C++ handler API" or "thin layer" for the C++ lib one wants to utilize. The idea being FPC would only link on standard calls that more or less ran the unde

Re: [fpc-devel] Error: Unable to create "reg.xml" file

2007-01-19 Thread Bogusław Brandys
Graeme Geldenhuys wrote: Hi, I started getting this message in my Lazarus applications since the last 2 weeks. It happens very seldom, but still strange. I don't use xml files at all in my application and don't have a reference to a "reg.xml" in any of my code. The applications are run from m

Re: [fpc-devel] Com Port

2007-01-16 Thread Bogusław Brandys
Amir Aavani wrote: Hi, How can I read/write through Com port by Lazarus/FPC?! Yours, Amir Use SynaSer package: http://synapse.ararat.cz/ Regards Boguslaw ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman

Re: [fpc-devel] arm-wince errors

2007-01-04 Thread Bogusław Brandys
Vincent Snijders wrote: Michael Schnell schreef: I guess not much help is needed. Just open the Debugger Options and select "GNU debugger through SSH (gdb)", would be my first guess. Never done this though. Great (sorry for my being cynical :-[ ) ! So I gather that you are convinced th

Re: [fpc-devel] IBConnection and transactions

2006-04-30 Thread Bogusław Brandys
Michael Van Canneyt wrote: On Sun, 30 Apr 2006, Joost van der Sluis wrote: On Sun, 2006-04-30 at 20:09 +0200, Michael Van Canneyt wrote: On Sun, 30 Apr 2006, Joost van der Sluis wrote: I have a problem that I do not understand. the following doesn't work with firebird: Fconnection.Execut

Re: [fpc-devel] XML and encoding problems

2006-04-23 Thread Bogusław Brandys
Alexander Todorov wrote: Hello, I am developing an application in Lazarus that is multi platform. It has very strong usage of xml that contains contains cyrillic text (Bulgarian language). All xml feeds are UTF-8 encoding and is converted internaly using iconv (UTF-8 -> CP1251 and vice versa) whe

[fpc-devel] TSqlite3Dataset under Fedora Core 4 problem

2006-04-04 Thread Bogusław Brandys
Hello, I'm newbie under Linux. I'm trying to test my application which is working with sqlite 3.3.4 database fine under Windows, but it generates error about 'incorect library' or something.So I started to test examples from FPC 2.0.2 official release and fillds example from db/sqlite give me

[fpc-devel] TThread and heaptrc unit problem under Windows

2006-03-15 Thread Bogusław Brandys
Hi, I have problem with tThread and heaptrc unit.Look below: Summary:Exception when using TThread with heaptrc unit Description: Application using compiler options: -S2cadghi -Ciro -OG1 -TWin32 -g -gl -gh -vewnhi -l -Fud:\projekty\fpc\fcl\db\sqlite\ -Fu..\..\..\lazarus\comp

[fpc-devel] cp.exe (GNU fileutils for Windows)

2006-03-03 Thread Bogusław Brandys
Hi, There were previously problems with cp.exe from Mingw port of GNU fileutils and some read only directories mostly from .svn. Those problems force additional step (SVN export) during FPC build under Windows which is really annoying ,time expensive and not needed. To avoid this step I've fi

Re: [fpc-devel] Windows Defines

2006-02-17 Thread Bogusław Brandys
Felipe Monteiro de Carvalho wrote: Hello, I am working on the Windows CE Widgetset for Lazarus. There were some defines on LCL like this: {$ifdef win32} do something windows specific {$endif} But I would like those to be executed for Windows CE also, so we discovered that WINDOWS is defined

[fpc-devel] ActiveX

2006-01-28 Thread Bogusław Brandys
Hello, Is it possible now with FPC 2.0.2 or development version to use ActiveX control under Windows ? Is so - how stable is this solution or is it experimental ? I'd like to create DLL which will opaque ActiveX control into designed API and it seems a bit new area in FPC. Additionally : woul

Re: [fpc-devel] Problems with Threads

2005-11-20 Thread Bogusław Brandys
Felipe Monteiro de Carvalho wrote: > Hello, > > I am having problems with a multi-threaded application. It crashes on > Windows. Upon startup the program creates a secondary thread with > CreateSuspended := True > > Then, when pressing a button, the thread is resumed. I changed the > Execute meth

Re: [fpc-devel] Thread REVERT

2005-11-06 Thread Bogusław Brandys
Florian Klaempfl wrote: > Ales Katona wrote: > > >>Please remove ALL of my win32 thread patches(not the stacksize ones > > > Reverted. > > >>tho). Thanks to neli, I now know that ThreadFunc is not called directly >>by the OS, but my ThreadMain which already IS stdcall. My "bug" with >>threads

[fpc-devel] SQlite dataset small fix

2005-10-30 Thread Bogusław Brandys
Hello, Attached diff for sqliteds.pas and sqlite3ds.pas allow to properly recognize CHAR(X) and VARCHAR(X) types for sqlite dataset. It is really small fix done because I have such sqlite database with defined VARCHAR fields (although sqlite is typeless) It is using Pos function to find if CHAR is

[fpc-devel] bugreport 4433

2005-10-13 Thread Bogusław Brandys
Hi, Is this incompatibility http://www.freepascal.org/bugs/edit.php3?ID=4433 now stable and not going to change in future versions of FPC (at least 2.0.2) ? Regards Boguslaw Brandys ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists