This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Minimal symbols and gdb's two-stage symbol reading
- To: orjan dot friberg at axis dot com (Orjan Friberg)
- Subject: Re: Minimal symbols and gdb's two-stage symbol reading
- From: "Peter.Schauer" <Peter dot Schauer at regent dot e-technik dot tu-muenchen dot de>
- Date: Thu, 23 Nov 2000 18:20:40 MET
- Cc: gdb-patches at sources dot redhat dot com
That should be safe.
Minimal and partial symbols are constructed during the initial scan
and should be available after a `file' command.
> Would it be safe to rely on an absolute global symbol being read into
> the minimal symbol table with the initial 'file' command (without using
> the '-readnow' option) for an a.out target? From looking at
> read_dbx_symtab it wasn't clear to me what happens.
>
> As discussed in a previous thread, I will use the symbol as an ABI
> indicator, and I'm just wondering if gdb's two-stage symbol reading
> could interfere with my intentions (i.e., the symbol not being there yet
> when I want it to).
--
Peter Schauer pes@regent.e-technik.tu-muenchen.de