Re: [fpc-pascal] Which gdb version to use?

2014-12-18 Thread Martin Schreiber
On Thursday 18 December 2014 18:19:06 Martin Schreiber wrote: > On Thursday 18 December 2014 14:43:42 Pierre Free Pascal wrote: > > Did you try to use 7.7 or later release? > > gdb compiled from git gdb-7.8-branch > 84aa7422f440868fea3359fde953c8375ca3409c works, thanks. No, it is not OK. FPC fixe

Re: [fpc-pascal] Size of a partition

2014-12-18 Thread Bart
On 12/18/14, Rainer Stratmann wrote: > How to get the total size of an unmounted partition in Linux? Can you use the info at http://serverfault.com/questions/190685/whats-the-best-way-to-get-info-about-currently-unmounted-drives ? Just googled you question ;-) You can run these commands and pa

[fpc-pascal] Size of a partition

2014-12-18 Thread Rainer Stratmann
How to get the total size of an unmounted partition in Linux? For example "/dev/sdb1" ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Which gdb version to use?

2014-12-18 Thread Martin Schreiber
On Thursday 18 December 2014 14:43:42 Pierre Free Pascal wrote: > > Did you try to use 7.7 or later release? > gdb compiled from git gdb-7.8-branch 84aa7422f440868fea3359fde953c8375ca3409c works, thanks. One probably should check why gdb git master (7.8.50) can not print FPC class field values.

Re: [fpc-pascal] Which gdb version to use?

2014-12-18 Thread Tony Whyman
See also http://bugs.freepascal.org/view.php?id=27136 Tony On 18/12/14 16:02, Martin Schreiber wrote: > On Thursday 18 December 2014 14:43:42 Pierre Free Pascal wrote: >> Hi Martin, >> >> I happen to have the whole series of official >> GDB releases compiled for i386-linux >> from 6.1a up to

Re: [fpc-pascal] Which gdb version to use?

2014-12-18 Thread Martin Schreiber
On Thursday 18 December 2014 14:43:42 Pierre Free Pascal wrote: > Hi Martin, > > I happen to have the whole series of official > GDB releases compiled for i386-linux > from 6.1a up to 7.8.1. > I found only 7.6, 7.6.1 and 7.6.2 that show your > problem. > With 7.7, 7.7.1, 7.8 and 7.8.1 > I d

Re: [fpc-pascal] Which gdb version to use?

2014-12-18 Thread Pierre Free Pascal
Hi Martin, I happen to have the whole series of official GDB releases compiled for i386-linux from 6.1a up to 7.8.1. I found only 7.6, 7.6.1 and 7.6.2 that show your problem. With 7.7, 7.7.1, 7.8 and 7.8.1 I do get Type RECTY has no component named C. Did you try to use 7.7 or later rel

Re: [fpc-pascal] Which gdb version to use?

2014-12-18 Thread Martin Schreiber
On Thursday 18 December 2014 13:42:25 Pierre Free Pascal wrote: > Hi Martin, > > it would be useful to have a > simple source code which allows to reproduce your problem, > together with a list of the operations that lead to the assertion. > > I am afraid that current trunk is not really usable

Re: [fpc-pascal] Which gdb version to use?

2014-12-18 Thread Pierre Free Pascal
Hi Martin, it would be useful to have a simple source code which allows to reproduce your problem, together with a list of the operations that lead to the assertion. I am afraid that current trunk is not really usable with FP IDE, because there has be a lot of changes in C structs used that m

[fpc-pascal] Which gdb version to use?

2014-12-18 Thread Martin Schreiber
Hi, Since some versions gdb crashes with FPC programs if the "print" command is called with a query of pointer to not existing record fields for example, it triggers an assertion error. That makes gdb completely useless for use in IDE watch windows. In gdb current git master (7.8.50.20141218-cv