🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #2779

gdb kills ofstreams

#2779
From: Shane McDaniel
Date: Thu, 07 Feb 2002 22:47
9 lines
1379 bytes
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?

-shane
Technical Details
Message-ID: <Pine.WNT.4.33.0202071746090.119-100000@bunnyhop.llan.ll.mit.edu>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!newsfeed.cs.wisc.edu!newsfeed.mathworks.com!portc03.blue.aol.com!uunet!dca.uu.net!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bunnyhop!shanem

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,b74d087bc2b2238d,start
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 2002-02-07 14:47:26 PST
x-uunet-gateway: dfw7sosrv11.alter.net from bug-gdb to gnu.gdb.bug; Thu, 7 Feb 2002 22:47:24 GMT
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!newsfeed.cs.wisc.edu!newsfeed.mathworks.com!portc03.blue.aol.com!uunet!dca.uu.net!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bunnyhop!shanem
From: shanem@ll.mit.edu (Shane McDaniel)
Subject: gdb kills ofstreams
Message-ID: <Pine.WNT.4.33.0202071746090.119-100000@bunnyhop.llan.ll.mit.edu>
X-X-Sender: shanem@llinfo.llan.ll.mit.edu
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Date: Thu, 7 Feb 2002 17:47:33 -0500
X-Complaints-To: news@ll.mit.edu
X-Trace: llslave.llan.ll.mit.edu 1013122034              (Thu, 07 Feb 2002 17:47:14 EST)
NNTP-Posting-Date: Thu, 07 Feb 2002 17:47:14 EST
Approved: bug-gdb-request@mail.gnu.org
Newsgroups: gnu.gdb.bug
Sender: bug-gdb-request@mail.gnu.org
Lines: 9