Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Fabian Cenedese <Cenedese@indel.ch>
To: gdb@sources.redhat.com
Subject: Re: Release symbol file
Date: Thu, 23 Sep 2004 06:29:00 -0000	[thread overview]
Message-ID: <5.2.0.9.1.20040923082603.01d0d4a8@NT_SERVER> (raw)
In-Reply-To: <41519737.nailM2A11D1RE@mindspring.com>


>> Thanks, but what about the MI? I can't give switches to e.g
>> -file-exec-and-symbol, can I? I mean, once gdb is started. Or
>> do I have to stop and restart gdb every time?
>
>--readnow is a global flag.  It turns on the "read now" behavior
>on all future calls to symbol_file_add_with_addrs_or_offsets.
>
>gdb does keep file descriptors open for the target program,
>but it ought to have all the symbols in memory after
>"expanding to full symbols".

I'm not concerned about the symbols but about the file access.
Even when started with "gdb --readnow -i mi" and load a file
I can't delete that file anymore. As I want to recreate it without
unloading from gdb I guess I need to make a copy then.

Thanks

bye  Fabi



  reply	other threads:[~2004-09-23  6:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-22 11:11 Fabian Cenedese
2004-09-22 14:20 ` Michael Chastain
2004-09-22 14:30   ` Fabian Cenedese
2004-09-22 15:16     ` Michael Chastain
2004-09-23  6:29       ` Fabian Cenedese [this message]
2004-10-05 18:57         ` Andrew Cagney
2004-10-06  6:53           ` Fabian Cenedese

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=5.2.0.9.1.20040923082603.01d0d4a8@NT_SERVER \
    --to=cenedese@indel.ch \
    --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