No subject


Tue Jun 11 15:59:36 CEST 2019


for v10 & v11, available on the ftp site of freepascal.org/snapshot will use
v5.1 of libgdb. NB for win32 users, you may need cygwin1.dll (available in
.../snapshot/win32/ for the windows version to work correctly).   Please try
these out & report issues/problems to the developers eg via [fpc-devel] as
usual, with snapshot date, o/s, version & a code fragment if possible of
course. 

FYI this (from Pierre) is a quick overview of the new features/issues you'll
find in the new ide/libgdb...
------------------------
NB for more info refer to the gdb-5.1/gb/NEWS file.

For the IDE not much changes, 5.1 contains pascal support in GDB itself.
The win32 target has: 
+ no more problems with recompliling an executable that was run before
+ hardware watchpoint support using DR registers
(this is in  gdbpas/v5.1/gdbsrcpatch only)
  
The go32v2 target has:
+ some new commands, but that are only available through GDB window
(see 'info dos' in GDB window)

Pascal support (see NEWS file):
* Support for debugging Pascal programs.
GDB now includes support for debugging Pascal programs.  The following
main features are supported:
     - Pascal-specific data types such as sets;
     - automatic recognition of Pascal sources based on file-name
       extension;
     - Pascal-style display of data types, variables, and functions;
     - a Pascal expression parser.
However, some important features are not yet supported.
     - Pascal string operations are not supported at all;
     - there are some problems with boolean types;
     - Pascal type hexadecimal constants are not supported
       because they conflict with the internal variables format;
     - support for Pascal objects and classes is not full yet;
     - unlike Pascal, GDB is case-sensitive for symbol names.
but most of these features were already in the modified libs.

Support for SSE registers was added for x86.  This doesn't work in go32 &
win32 for
multi-threaded programs though.

Unified support for hardware watchpoints in all x86 configurations. 
Most (if not all) native x86 configurations support hardware-assisted
breakpoints and watchpoints in a unified manner.  This support
implements debug register sharing between watchpoints, which allows to
put a virtually infinite number of watchpoints on the same address,
and also supports watching regions up to 16 bytes with several debug
registers. (one problem with this is fixed in the gdbsrcpatch)





This e-mail and any attachment is for authorised use by the intended recipient(s) only.  It may contain proprietary material, confidential information and/or be subject to legal privilege.  It should not be copied, disclosed to, retained or used by, any other party.  If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender.  Thank you.




More information about the fpc-devel mailing list