[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

debugger problemer med GDB og DDD



Hej hajer!

Jeg sidder lige og er ved at porte et 16bit PASCAL (hulk, skælv) program
til Linux C,
men jeg kan ikke rigtigt få DDD og GDB til at svinge. den bugger ved
følgende linje kode:

-> while(!feof(indfile))

og her siger gdb:

Program received signal SIGSEGV, Segmentation fault.
_IO_feof (fp=0x0) at feof.c:36
feof.c:36: No such file or directory.
(gdb)

Det underlige er at det kun er nogle gange at den gør det og at det er
lige gyldtig
om jeg laver et breakpoint efter ovenstående kode og så køre
programmet!??
Hvad kan der være galt eller hvad gør jeg forkert?

--
        -Jacob Kolding
        sslug@sslug

/*      The ultimate paranoia, MS and NSA working together      *\




 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:07 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *