GDB on Pro*C binaries: wrong line numbers

From: doug a blaisdell <dougb_at_world.std.com>
Date: Fri, 20 Nov 1998 21:29:47 GMT
Message-ID: <F2qp1o.E86_at_world.std.com>



Has anybody else had problems with this:

You're trying to step through a Pro*C produced binary, and it's obvious that

you're in a different place in the code than gdb tells you, eg. you'll be       
single stepping through comments, past return() statements, etc!       
                                                                                

I know that the "#line " statements that Pro*C adds can cause such problems, and I filter them out, but there must be something else. I wonder if there's

a ProC switch to filter such things from the resulting C file, so that the      
binaries can be read?                                                           

appreciate any help,                                                            
thanks,
doug                                                                            
 
Received on Fri Nov 20 1998 - 22:29:47 CET

Original text of this message