Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Shane McDaniel <shanem@ll.mit.edu>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: <gdb@sources.redhat.com>
Subject: Re: gdb kills ofstreams
Date: Fri, 08 Feb 2002 08:17:00 -0000	[thread overview]
Message-ID: <Pine.WNT.4.33.0202081115520.119-100000@bunnyhop.llan.ll.mit.edu> (raw)
In-Reply-To: <3C63E8CD.7080504@cygnus.com>



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


      reply	other threads:[~2002-02-08 16:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.WNT.4.33.0202081115520.119-100000@bunnyhop.llan.ll.mit.edu \
    --to=shanem@ll.mit.edu \
    --cc=ac131313@cygnus.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox