| View previous topic :: View next topic |
| Author |
Message |
Florent Ouchet Guest
|
Posted: Sun Mar 13, 2005 10:06 am Post subject: Need beta testers for SSE debug view and modify for Delphi 5 |
|
|
Hi everyone,
Some of you are using D2005, but others still don't have the choice and
use older versions of Delphi.
There is a way to debug XMM registers for delphi 5, 6 and 7.
This IDE extension is for reading and for writing the xmm registers of
the debugged thread.
First you have to install the latest daily zip of the JCL (Jedi Code
Library) located here: http://jcl.sf.net/daily/
This library contains JclSysInfo which detects a lot of features of
almost all CPU.
Second, goto here:
http://cvs.sourceforge.net/viewcvs.py/jvcl/dev/donations/SIMDView/
Here is a package to install inside the delphi IDE.
There is a test program named: JvSIMDTest.dpr.
Debugging SSE registers is nearly the same as debugging CPU or FPU. The
package registers a new menu inside "ViewDebug Window" in US names.
This path may be different depending on your locale version of Delphi.
Any bug report is welcome here:
http://homepages.borland.com/jedi/issuetracker/view_all_bug_page.php
or in the jvcl newsgroups:
http://delphi.newswhat.com/geoxml/forumlistthreads?groupname=jedi.vcl
Thanks in advance,
Florent Ouchet
|
|
| Back to top |
|
 |
Florent Ouchet Guest
|
Posted: Sun Mar 13, 2005 6:42 pm Post subject: Re: Need beta testers for SSE debug view and modify for Delp |
|
|
I added a package per delphi version and reworked the program for D5
which doesn't understand SSE instruction set.
A support for BCB6 is possible, I am modifying the code so that it can
be compiled on this IDE.
Can anybody test this IDE extension on a processor which doesn't support
FXSAVE/FXSTORE instructions.
Florent
|
|
| Back to top |
|
 |
Florent Ouchet Guest
|
Posted: Tue Mar 15, 2005 9:59 pm Post subject: Re: Need beta testers for SSE debug view and modify for Delp |
|
|
The context address passed to GetThreadContext and SetThreadContext API
need to be 16-byte aligned. This bug is solved.
Now this IDE extension support BCB6. There was no way to debug SSE
registers in the Borland C++ Builder 6 IDE. Now there is one.
I still have problems compiling the code with BCB5.
Florent
|
|
| Back to top |
|
 |
Florent Ouchet Guest
|
Posted: Tue Mar 15, 2005 10:06 pm Post subject: Re: Need beta testers for SSE debug view and modify for Delp |
|
|
The cvs server seems to have some problems. The code will be available
tomorrow.
Florent
|
|
| Back to top |
|
 |
Dennis Guest
|
Posted: Wed Mar 16, 2005 8:07 am Post subject: Re: Need beta testers for SSE debug view and modify for Delp |
|
|
Hi Florent & Others
I really hope that someone will help me and Florent test this.
Best regards
Dennis
|
|
| Back to top |
|
 |
Florent Ouchet Guest
|
Posted: Wed Mar 16, 2005 10:04 am Post subject: Re: Need beta testers for SSE debug view and modify for Delp |
|
|
| Quote: | I really hope that someone will help me and Florent test this.
|
Thanks,
Guide line for the next few days: the next step for the modify dialog
will be the evaluation of expressions to change values of
bytes/words/dwords/qwords/singles/doubles.
But the problem is that xmm0-xmm7 are not declared identifiers (whereas
eax..., st0... and other legacy registers are declared).
Maybe JvInterpreter will be usefull.
Florent
|
|
| Back to top |
|
 |
Florent Ouchet Guest
|
Posted: Wed Mar 16, 2005 4:39 pm Post subject: Re: Need beta testers for SSE debug view and modify for Delp |
|
|
| Quote: | Guide line for the next few days: the next step for the modify dialog
will be the evaluation of expressions to change values of
bytes/words/dwords/qwords/singles/doubles.
|
The expression evaluation is to be expected in few days.
For the moment it supports multithreaded applications and switches of
the debugged thread.
Florent
|
|
| Back to top |
|
 |
Florent Ouchet Guest
|
Posted: Mon Mar 21, 2005 8:49 am Post subject: Re: Need beta testers for SSE debug view and modify for Delp |
|
|
Hello,
This week-end I worked some hours on the project, here are the new
functionalities:
The debug window can now evaluate project variables, local variables,
object fields and object properties as well as any mathematic expression
of them to modify the content of any xmm register (the content can be
packed bytes/packed words/packed dwords/packed qwords/packed
singles/packed doubles).
There is still no support for BCB5, but it works well with D5, D6, D7
and BCB6. A compilation within the D2005 IDE may be possible.
The debug window is now fully functionnal, I see no significant
improvements to add. But any ideas/suggestions/bug reports are still
welcome.
Florent
|
|
| Back to top |
|
 |
|