Re: [fpc-devel] Stack dump with possible segfault

2014-05-13 Thread Johann Glaser
Hi again! Am Montag, den 12.05.2014, 23:33 +0200 schrieb Johann Glaser: Hi! I'm working on a project with an external library (libtcl, it is written in C) which creates some problems with back traces for exceptions. If a custom TCL command raises an exception, I catch it and use

Re: [fpc-devel] TCL

2014-05-13 Thread Johann Glaser
Hi! Am Dienstag, den 13.05.2014, 11:46 +0200 schrieb Tomas Hajny: On Tue, May 13, 2014 10:54, Johann Glaser wrote: Hi! Hi, I'm working on a project with an external library (libtcl, it is written in C) which creates some problems with back traces for exceptions

[fpc-devel] Stack dump with possible segfault

2014-05-12 Thread Johann Glaser
Hi! I'm working on a project with an external library (libtcl, it is written in C) which creates some problems with back traces for exceptions. If a custom TCL command raises an exception, I catch it and use the function DumpExceptionBackTrace to print the back trace. This function uses

[fpc-devel] Script Language, TCL Update

2011-04-29 Thread Johann Glaser
Hi! I want to equip a program with a command line and plan to use a real scripting language to interpret the user input. I've looked around a bit (e.g. in the mailing list archives) and found some languages: - PascalScript - JavaScript - Lua - TCL Only the latter has a command line friendly

Re: [fpc-devel] Dynamic Arrays as Static class variables

2010-10-05 Thread Johann Glaser
Hi! Am Dienstag, den 05.10.2010, 10:50 +0300 schrieb Juha Manninen (gmail): On Tuesday 05 October 2010 01:00:19 Willibald Krenn wrote: Hi, I just tried and can reproduce this with fpc rev. 16078 on win64. Same thing here on Linux , AMD64, few days old FPC trunk version. Thank you for

[fpc-devel] Dynamic Arrays as Static class variables

2010-10-04 Thread Johann Glaser
Hi! It seems there is a problem with dynamic arrays which are defined as static variables in classes. Type TTest = class FDynArr : Array of Integer; static; End; When the class is Destroy()ed, the call to CleanupInstance, which calls fpc_finalize, does a fpc_dynarray_decr_ref which

Re: [fpc-devel] High performance Linux timer

2008-05-18 Thread Johann Glaser
Hi! Does anybody know if there is a Linux (or generic Unix) high performance timer API available. Something like the Win32 API QueryPerformanceCounter()? Probably the Time-Stamp-Counter for your CPU is of interest for you. See http://en.wikipedia.org/wiki/Rdtsc for example code. Bye Hansi

Re: [fpc-devel] In FPC written FPC Debugger

2008-02-24 Thread Johann Glaser
Hi! - Display STL types (e.g. std::string, std::vector, std::map). These are the usual way of making strings and containers in C++ and are quite complex internally. GDB displays this internal structure of these types instead of beautifying it according to its semantics. For the

Re: [fpc-devel] In FPC written FPC Debugger

2008-02-22 Thread Johann Glaser
Hi! On Fre, 2008-02-22 at 09:20 +0100, Michael Schnell wrote: Lack of Pascal support like with, local procedures, widestrings, dynamic arrays, properties is platform independend. Therefore all platforms would benefit. Are these things depending on the internal structures of GDB part

RE: [fpc-devel] BlackFin

2007-04-17 Thread Johann Glaser
Hi! Sorry, i forgot to mention a valuable source of information: http://www.bluetechnix.at/ Coincidental I'm (partly) working for this company and know their staff quite well. If you need any assistance or similar I'd be happy to help out. Bye Hansi

Re: [fpc-devel] BlackFin

2007-04-16 Thread Johann Glaser
Hi! Am Montag, den 16.04.2007, 11:57 +0200 schrieb Michael Schnell: r2 = r1 + r3, r4 = dm(i0,m1); /* addition and memory access */ Yep. In my answer to Florian I forgot that (other than ARM) the Blackfin can do a calculation and a memory access in a single instruction cycle. That

Re: [fpc-devel] BlackFin

2007-04-13 Thread Johann Glaser
Hi! regarding the ASM code is very strange if you compare it to the code of 80x86, PPC or ARM. As far as I have seen the BlackFin has two cores: an arm like risc core and a dsp. The BlackFin and other Analog Devices DSPs have an uncommon assembler syntax. Contrary to well-known mnemonic

Re: [fpc-devel] space char inside identifier's name

2006-03-25 Thread Johann Glaser
Hi! Am Samstag, den 25.03.2006, 17:19 +0700 schrieb Bisma Jayadi: Foo a.bar a := baz b[4].foo q You made a very excessive example. Of course we don't HAVE TO use space char all the times. I won't use it that way either. But it's there when we really want/need it. is harder to read!

Re: [fpc-devel] PR: What sites to spam for 2.0.2 release?

2005-12-09 Thread Johann Glaser
Hi! Speaking of PR, we have a 2.0.2 to announce within a very short time and we better do it well. We won't be able to do a Slashdot or OSnews announcement, nevertheless we should take these opportunities to promote FPC. So, any ideas what sites we should spam? I'm looking for developer

[fpc-devel] Homepage SVN Conflict

2005-12-09 Thread Johann Glaser
Hi! Hint: At the homepage the latest news section shows an SVN conflict inline. Bye Hansi ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] PR advancement

2005-12-03 Thread Johann Glaser
Hi! This selection is done already. See news on main fpc page. Hm, after giving it some thought, and after seeing [http://www.freepascal.org/gallery.html] link, I have to agree: such selection looks nice. Indeed, nice page and truly impressive for people searching for a proof that FPC

[fpc-devel] StrToNetAddr6

2005-08-13 Thread Johann Glaser
Hi! It seems that the StrToNetAddr6 function is not implemented yet (http://svn.freepascal.org/svn/fpc/trunk/rtl/inc/sockets.inc). I wrote an implementation (attached as file including some testcases). I hope you can use it for the Sockets unit. Bye Hansi Program IP6; Function