Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Re: gdb kills ofstreams
       [not found] <Pine.WNT.4.33.0202080919260.119-100000@bunnyhop.llan.ll.mit.edu>
@ 2002-02-08  7:03 ` Andrew Cagney
  2002-02-08  8:17   ` Shane McDaniel
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Cagney @ 2002-02-08  7:03 UTC (permalink / raw)
  To: Shane McDaniel; +Cc: gdb

> I have a program that uses ofstreams.  My program works fine when ran from
> the command line, but if I use gdb to run the program my ofstream files
> aren't created.  This is very frustrating and has cost me a couple hours
> of work.
> 
> Is there an explanation for this behavior?


The problem could be anywhere.  Can I suggest providing a brief 
descripion of what ofstream is and also mention your host and target.

Andrew




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gdb kills ofstreams
  2002-02-08  7:03 ` gdb kills ofstreams Andrew Cagney
@ 2002-02-08  8:17   ` Shane McDaniel
  0 siblings, 0 replies; 2+ messages in thread
From: Shane McDaniel @ 2002-02-08  8:17 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: gdb



On Fri, 8 Feb 2002, Andrew Cagney wrote:

> > I have a program that uses ofstreams.  My program works fine when ran from
> > the command line, but if I use gdb to run the program my ofstream files
> > aren't created.  This is very frustrating and has cost me a couple hours
> > of work.
> >
> > Is there an explanation for this behavior?
>
>
> The problem could be anywhere.  Can I suggest providing a brief
> descripion of what ofstream is and also mention your host and target.
>
> Andrew

I am on Solaris 2.8.   ofstream is the standard c++ way of writing out to
a file.  I am compiling with g++ 2.95.3 and using gdb 5.1.

-shane


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-02-08 16:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Pine.WNT.4.33.0202080919260.119-100000@bunnyhop.llan.ll.mit.edu>
2002-02-08  7:03 ` gdb kills ofstreams Andrew Cagney
2002-02-08  8:17   ` Shane McDaniel

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