Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Compilers > Re: need ideas ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 5 Topic 2341 of 2474
Post > Topic >>

Re: need ideas on how to debug code generator

by Thomas Have <thomas@[EMAIL PROTECTED] > Feb 25, 2008 at 05:59 PM

Hello,

Ram Bhamidipaty wrote:

> The test case in question generates a code sequence of about 400 bytes.
It
> fails by seg faulting, unfortunately gdb is unable to print out a
> useful stack trace.

On the windows platform, perhaps windbg (google debugging tools for
windows) could be of use. Especially, I think that adplus in hang mode
could be helpfull. (Windbg has a rather steep learning curve
though. See below also :)).

> What are some techniques that people have used for debugging code
> generators?

Unfortunately I haven't had the pleasure of debugging generated x86
code (but other generators).

Kind regards,

Thomas *thomash* Have.
 




 5 Posts in Topic:
need ideas on how to debug code generator
Ram Bhamidipaty <rambh  2008-02-24 21:47:50 
Re: need ideas on how to debug code generator
Thomas Have <thomas@[E  2008-02-25 17:59:42 
Re: need ideas on how to debug code generator
Nils <n.pipenbrinck@[E  2008-02-26 02:55:34 
Re: need ideas on how to debug code generator
"Bartc" <bc@  2008-02-27 18:07:17 
Re: need ideas on how to debug code generator
Joel Yliluoma <bisqwit  2008-02-28 06:34:50 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 1:12:49 CDT 2008.