comp.lang.ada
 help / color / mirror / Atom feed
* help: gnat + gdb, can't find bug
@ 1996-11-04  0:00 Eric Anthony Spear
  0 siblings, 0 replies; only message in thread
From: Eric Anthony Spear @ 1996-11-04  0:00 UTC (permalink / raw)



I'm opening a few files as direct i/o and sequential 
i/o and for one of them I get a status_error.  This
occurs (as best I can figure out) when the passed
file pointer is non-null (so it assumes the file
pointer refers to an already open file).

I used gdb to trace this problem, and presto! The
error goes away.  So, my program runs fine in gdb
(I just enter the debugger and type "run.")  But
running normally, it always gets that exception
raised.

Are there any suggestions on how I can

1) duplicate the error in gdb so as to find out
why this exception is being raised,

2) eliminate this error all together?

Thanks in advance.





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-11-04  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-11-04  0:00 help: gnat + gdb, can't find bug Eric Anthony Spear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox