www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.debugger - [ddbg] Full source?

reply TomD <t_demmer nospam.web.de> writes:
Hi Jascha,
I was trying to compile ddbg from sources, but it looks like the
win32 directory is somewhat underpopulated. I guess you cannot
add things like "winnt.d" for copyright reasons, but maybe you can describe
how you created them?

Ciao
Tom
Jul 15 2008
next sibling parent reply Bill Baxter <dnewsgroup billbaxter.com> writes:
TomD wrote:
 Hi Jascha,
 I was trying to compile ddbg from sources, but it looks like the
 win32 directory is somewhat underpopulated. I guess you cannot
 add things like "winnt.d" for copyright reasons, but maybe you can describe
 how you created them?
 
 Ciao
 Tom
Maybe the win32 bindings from the http://www.dsource.org/projects/bindings will do the trick? --bb
Jul 15 2008
parent reply TomD <t_demmer nospam.web.de> writes:
Bill Baxter Wrote:

[...]
 
 Maybe the win32 bindings from the 
 http://www.dsource.org/projects/bindings will do the trick?
 
 --bb
Not completely: dbgthread.d(43): Error: undefined identifier GetThreadPriorityBoost dbgthread.d(43): Error: function expected before (), not GetThreadPriorityBoost of type int dbgthread.d(49): Error: undefined identifier GetThreadTimes dbgthread.d(49): Error: function expected before (), not GetThreadTimes of type int debugger.d(29): module expression_apd cannot read file 'expression\expression_apd.d' debugger.d(29): module expression_apd cannot read file 'expression\expression_apd.d' minidump.d(67): Error: undefined identifier CreateFileMapping minidump.d(67): Error: function expected before (), not CreateFileMapping of type int minidump.d(67): Error: cannot implicitly convert expression (CreateFileMapping(this.file,null,2u,0,0,null)) of type int to HANDLE minidump.d(70): Error: undefined identifier MapViewOfFile minidump.d(70): Error: function expected before (), not MapViewOfFile of type int minidump.d(70): Error: cannot implicitly convert expression (MapViewOfFile(this.fileMapping,4u,0,0,0)) of type int to void* minidump.d(139): Error: undefined identifier UnmapViewOfFile minidump.d(139): Error: function expected before (), not UnmapViewOfFile of type int util.d(622): Error: undefined identifier GetLongPathName util.d(622): Error: function expected before (), not GetLongPathName of type int There seem to be some static if's not defined Also, it is not quite clear how to get from expression/expression.apd to expression/expression_apd.d Ciao Tom
Jul 15 2008
parent reply Extrawurst <spam extrawurst.org> writes:
Did u build with the correct win32 version ? look at win32.windows.d to 
see what possible versions u could set.


TomD schrieb:
 Bill Baxter Wrote:

 [...]
   
 Maybe the win32 bindings from the 
 http://www.dsource.org/projects/bindings will do the trick?

 --bb
     
Not completely: dbgthread.d(43): Error: undefined identifier GetThreadPriorityBoost dbgthread.d(43): Error: function expected before (), not GetThreadPriorityBoost of type int dbgthread.d(49): Error: undefined identifier GetThreadTimes dbgthread.d(49): Error: function expected before (), not GetThreadTimes of type int debugger.d(29): module expression_apd cannot read file 'expression\expression_apd.d' debugger.d(29): module expression_apd cannot read file 'expression\expression_apd.d' minidump.d(67): Error: undefined identifier CreateFileMapping minidump.d(67): Error: function expected before (), not CreateFileMapping of type int minidump.d(67): Error: cannot implicitly convert expression (CreateFileMapping(this.file,null,2u,0,0,null)) of type int to HANDLE minidump.d(70): Error: undefined identifier MapViewOfFile minidump.d(70): Error: function expected before (), not MapViewOfFile of type int minidump.d(70): Error: cannot implicitly convert expression (MapViewOfFile(this.fileMapping,4u,0,0,0)) of type int to void* minidump.d(139): Error: undefined identifier UnmapViewOfFile minidump.d(139): Error: function expected before (), not UnmapViewOfFile of type int util.d(622): Error: undefined identifier GetLongPathName util.d(622): Error: function expected before (), not GetLongPathName of type int There seem to be some static if's not defined Also, it is not quite clear how to get from expression/expression.apd to expression/expression_apd.d Ciao Tom
Jul 15 2008
parent reply %u <my email.com> writes:
 Also, it is not quite clear how to get from
 expression/expression.apd to expression/expression_apd.d
There hasn't be new release for a long time, not sure what's the status of this project. Looks like expression/expression.apd is input to some kind of home-made parser generator, but the parser generator is not provided. I would suggested add the generator binary as part of the source distribution.
Feb 20 2009
parent reply Lars Ivar Igesund <larsivar igesund.net> writes:
%u wrote:

 Also, it is not quite clear how to get from
 expression/expression.apd to expression/expression_apd.d
There hasn't be new release for a long time, not sure what's the status of this project. Looks like expression/expression.apd is input to some kind of home-made parser generator, but the parser generator is not provided. I would suggested add the generator binary as part of the source distribution.
The generator is apaged. -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the Tango
Feb 21 2009
parent reply "Denis Koroskin" <2korden gmail.com> writes:
On Sun, 22 Feb 2009 03:31:49 +0300, Lars Ivar Igesund <larsivar igesund.net>
wrote:

 %u wrote:

 Also, it is not quite clear how to get from
 expression/expression.apd to expression/expression_apd.d
There hasn't be new release for a long time, not sure what's the status of this project. Looks like expression/expression.apd is input to some kind of home-made parser generator, but the parser generator is not provided. I would suggested add the generator binary as part of the source distribution.
The generator is apaged.
Of course it's apaged. But last time I tried it I spend like 3 hours and couldn't figure out how to generate the grammar as well.
Feb 21 2009
parent %u <my email.com> writes:
I tried download Latest release APaGeD 0.4.2 beta (2007-12-27) from:
http://apaged.mainia.de/releases.html

fixed build.bat wrong path to:
dmd -Itdfa/src -Isrc -Jsrc -release -O -ofbin\apaged -odobj src/main.d
src/parser.d src/glr.d tdfa/src/regexp.d tdfa/src/tnfa.d tdfa/src/container.d
tdfa/src/charclass.d tdfa/src/tdfa.d

Then in the ddbg\src\expression dir:

ddbg\src\expression>..\..\..\apaged-0.4.2-beta\bin\apaged.exe expression.apd
expression_apd.d
APaGeD v0.4.2 beta - Attributed Parser Generator for D
Copyright (c) 2007 Jascha Wetzel

Error: expression.apd(1:0): found "/", expected "APDProperties", "import", "APDD
eclaration", "APDLexemes" or "[a-zA-Z_][a-zA-Z0-9_]*"

It does not even recognize comments!


 %u wrote:

 Also, it is not quite clear how to get from
 expression/expression.apd to expression/expression_apd.d
There hasn't be new release for a long time, not sure what's the status of this project. Looks like expression/expression.apd is input to some kind of home-made parser generator, but the parser generator is not provided. I would suggested add the generator binary as part of the source distribution.
The generator is apaged.
Of course it's apaged. But last time I tried it I spend like 3 hours and
couldn't figure out how to generate the grammar as well.
Feb 21 2009
prev sibling parent Jascha Wetzel <ask a-search-engine.de> writes:
you should have an embedded checkout of the win32 bindings when checking 
out ddbg. i'm using r244 of that repository 
(http://svn.dsource.org/projects/bindings/trunk/win32).
maybe they did some updates that broke ddbg.

TomD wrote:
 Hi Jascha,
 I was trying to compile ddbg from sources, but it looks like the
 win32 directory is somewhat underpopulated. I guess you cannot
 add things like "winnt.d" for copyright reasons, but maybe you can describe
 how you created them?
 
 Ciao
 Tom
Jul 16 2008