Since this is auto-generated, that makes it rather messy. Is it possible 
for you
to insert code into it, either as part of the generation or manually 
afterwards?

int x_set = 0;

at each place where x is about to be READ, insert   x_read
at each place where x is about to be WRITTEN, insert  x_write

Define x_read to

if (!x_set) {fprintf(stderr,"x is not yet set at line %d\n",__LINE__);}

Define x_write to

if (!x_set) {x_set = 1; fprintf(stderr,"x is first set at line 
%d\n",__LINE__);}

Something along those lines ought to work, or may give you an idea. Once 
you
have it working, you can make x_read and x_write empty so they don't slow
you down. Good luck!

P.S. Take whoever wrote the generator that produces this rat's nest of 
gotos
and slap them upside the head!


_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org          
   
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug                           
Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium          
        
  Jun 4 - Sqeak! and eToys
  Jul 2 - KVM (Tenative)
  Aug 6 - Zenos
  Sep 3 - TBD

Reply via email to