* dwarf2read.c (read_file_scope): Set producer if attribute
present.
(struct dwarf2_cu): Added new member producer.
+2004-07-30 David Lecomber <dsl@sources.redhat.com>
+
+ * dwarf2read.c (read_file_scope): Set producer if attribute
+ present.
+ (struct dwarf2_cu): Added new member producer.
+
2004-07-30 Jerome Guitton <guitton@gnat.com>
* inflow.c (kill_command): release file handles in BFD.
enum language language;
const struct language_defn *language_defn;
+ const char *producer;
+
/* The generic symbol table building routines have separate lists for
file scope symbols and all all other scopes (local scopes). So
we need to select the right one to pass to add_symbol_to_list().
set_cu_language (DW_UNSND (attr), cu);
}
+ attr = dwarf2_attr (die, DW_AT_producer, cu);
+ if (attr)
+ cu->producer = DW_STRING (attr);
+
/* We assume that we're processing GCC output. */
processing_gcc_compilation = 2;
#if 0