🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #2690

gdb kills ofstreams

#2690
From: Shane McDaniel
Date: Fri, 08 Feb 2002 14:19
9 lines
1339 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.0202080919260.119-100000@bunnyhop.llan.ll.mit.edu>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsfeed.online.be!zur.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
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 2002-02-08 06:19:48 PST
x-uunet-gateway: mr0.ash.ops.us.uu.net from bug-gdb to gnu.gdb.bug; Fri, 8 Feb 2002 14:19:46 GMT
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsfeed.online.be!zur.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.0202080919260.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: Fri, 8 Feb 2002 09:19:51 -0500
X-Complaints-To: news@ll.mit.edu
X-Trace: llslave.llan.ll.mit.edu 1013177971              (Fri, 08 Feb 2002 09:19:31 EST)
NNTP-Posting-Date: Fri, 08 Feb 2002 09:19:31 EST
Approved: bug-gdb-request@mail.gnu.org
Newsgroups: gnu.gdb.bug
Sender: bug-gdb-request@mail.gnu.org
Lines: 10