From e01b4200251c5922f8295cca58b23f316fb779a4 Mon Sep 17 00:00:00 2001 From: Zdenek Radouch Date: Tue, 1 Sep 1998 16:24:23 +0000 Subject: Modifications/fixes to support the ARM/ELF port. --- gdb/dwarf2read.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gdb/dwarf2read.c') diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 298788241e0..2339b6ba855 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -1148,8 +1148,8 @@ add_partial_symbol (pdi, objfile) case DW_TAG_subprogram: if (pdi->is_external) { - prim_record_minimal_symbol (pdi->name, pdi->lowpc + baseaddr, - mst_text, objfile); + /*prim_record_minimal_symbol (pdi->name, pdi->lowpc + baseaddr, + mst_text, objfile);*/ add_psymbol_to_list (pdi->name, strlen (pdi->name), VAR_NAMESPACE, LOC_BLOCK, &objfile->global_psymbols, @@ -1157,8 +1157,8 @@ add_partial_symbol (pdi, objfile) } else { - prim_record_minimal_symbol (pdi->name, pdi->lowpc + baseaddr, - mst_file_text, objfile); + /*prim_record_minimal_symbol (pdi->name, pdi->lowpc + baseaddr, + mst_file_text, objfile);*/ add_psymbol_to_list (pdi->name, strlen (pdi->name), VAR_NAMESPACE, LOC_BLOCK, &objfile->static_psymbols, @@ -1195,8 +1195,8 @@ add_partial_symbol (pdi, objfile) if (pdi->locdesc == NULL) return; addr = decode_locdesc (pdi->locdesc, objfile); - prim_record_minimal_symbol (pdi->name, addr + baseaddr, - mst_file_data, objfile); + /*prim_record_minimal_symbol (pdi->name, addr + baseaddr, + mst_file_data, objfile);*/ add_psymbol_to_list (pdi->name, strlen (pdi->name), VAR_NAMESPACE, LOC_STATIC, &objfile->static_psymbols, -- cgit v1.2.1