[Magic-dev] gdb & ddd
cfk
cfk at pacbell.net
Sat May 15 17:00:21 EDT 2004
Dear Tim:
A year ago, you were kind enough to point out the use of gdb or ddd to step through some of the magic code. This morning, I went back through my notes and I found:
ddd wish
run
set argv {-w}
set argc 1
source /usr/local/lib/magic/tcl/magic.tcl
I can do that and get the magic window up on my screen.
At this point, I want to try to break at the main loop that services commands so I can loop at execution of things like box, paint and others. But, unfortunately, my notes (normally quite good) leave out this all-important last step.
Additionally, I would like to step through the startup code again in main.c that services initbeforeargs, doargs and initafterargs.
I am hoping you might be willing to process a paragraph or so and help me get back to where I can single step through magic with ddd.
With Respect, Charles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://vlsi.csl.cornell.edu/pipermail/magic-dev/attachments/20040515/2c37c96a/attachment.html
More information about the magic-dev
mailing list