This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Pass all symfile flags to sym_read.
- From: Tom Tromey <tromey at redhat dot com>
- To: Tristan Gingold <gingold at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 04 Dec 2009 10:00:23 -0700
- Subject: Re: [RFA] Pass all symfile flags to sym_read.
- References: <20091204124327.GA5714@ulanbator.act-europe.fr>
- Reply-to: tromey at redhat dot com
>>>>> "Tristan" == Tristan Gingold <gingold@adacore.com> writes:
Tristan> 2009-12-02 Tristan Gingold <gingold@adacore.com>
Tristan> * symfile.h (struct sym_fns): Adjust comment on sym_read.
Tristan> * symfile.c (syms_from_objfile): Pass all symfile flags to sym_read.
Tristan> * dbxread.c (dbx_symfile_read): Rename mainline to symfile_flags,
Tristan> adjust header comment.
Tristan> * elfread.c (elf_symfile_read): Ditto.
Tristan> * somread.c (som_symfile_read): Ditto.
Tristan> * xcoffread.c (xcoff_initial_scan): Ditto.
Tristan> * coffread.c (coff_symfile_read): Rename mainline to symfile_flags.
Tristan> * machoread.c (macho_symfile_read): Ditto.
Tristan> * mipsread.c (mipscoff_symfile_read): Ditto.
This is ok with one little nit fixed...
Tristan> diff --git a/gdb/symfile.h b/gdb/symfile.h
[...]
Tristan> + file we are reading. SYMFILE_FLAGS are the flags passed to
Tristan> + symbol_fil_add & co. */
... typo in "symbol_file_add".
Tom