Dear List :
 
I am a gcc newbie.
A kind member of list taught me use
"fprintf(stderr,"file:%s  line:%d  function:%s", __FILE__,__LINE__,__FUNCTION__) ; "
to print message of currently_running_code (which file ? which line ? which function ?) .
 
but I can only get those trace_messages by typing
> gdb my_prgram_name
> run
 
 How do I print those trace_messages
on screen
after execution of the program
(attentation: my program is a VGA-program) ?                                                                                
 
Thanks in advance !
Henry

Reply via email to