wow, I don't know. You must be clear on something here. Are you planning
to debug the compiler or the generated DLL ?
Debug the DLL, that is buily by the compiler, but written in a custom
language.
The question then is how that works (i.e how exaclty the -g option works).
How do you compile
wow, I don't know. You must be clear on something here. Are you planning to
debug the compiler or the generated DLL ?
My idea of events is that you have a grammar for that script language. Now
you write a compiler to parse source code written in that language and
generate a DLL . Is this correct?
Or, perhaps I'm attacking this wrong. Maybe it what I really need to be
doing is trying to figure out how to write a new gcc front-end.
On 1/11/07, Sandon Racowsky <[EMAIL PROTECTED]> wrote:
So if I'm understanding you correctly, I need create something along the
lines of a C macro that append
So if I'm understanding you correctly, I need create something along the
lines of a C macro that appends line numbers around blocks of bison actions
while simultaneously creating my own debugging profile db, so that when I
encounter the C line numbers, I can reference the original source by doing
oooh.. complicated situation :) The bison generated C parser uses #line
compiler directives to point to the line in the .y file while debugging. i.e.,
if you have a file like grammar.y and generate grammar.tab.c using bison,
and try to debug grammar.tab.c, the debugger can point to corresponding
l
On 11 Jan 2007, at 19:44, Jachyra wrote:
If I use bison to essentially parse my
language and generate C code (which gets compiled to a windows
binary), and
then create a debugger that attaches to the DLL that was compiled
in debug
mode (for the sake of argument, lets say I'm just using dbg)
nerated "C" code?
If this is the wrong approach, I would really appreciate any thoughts or
adivce that would help point me in the right direction.
--
View this message in context:
http://www.nabble.com/Creating-a-debugger-for-a-bison-designed-language-tf2959469.html#a8279267
Sent