[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
 

Re: [CPROG] debugger problemer med GDB og DDD



Jacob Kolding wrote:

> Hej hajer!
>
> ...ende linje kode:
>
> -> while(!feof(indfile))
>
> og her siger gdb:

Jeg har vist lige fundet fejlen selv.
Der hvor den siger "No such file or directory"
der mener den ikke feof.c men indfile og den er der heller ikke ver gang :)
(dumme mig)

> 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      *\

--
        -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] *