🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Shane McDaniel Fri, 08 Feb 2002 16:17
Re: gdb kills ofstreams
#2691
Author: Shane McDaniel
Date: Fri, 08 Feb 2002 16:17
21 lines
1708 bytes

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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads