This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

trivial PATCH to dwarf2read.c:dwarf_attr_name


I'm checking this in under the obvious rule; DW_AT_MIPS_linkage_name is
used on all targets.

2003-08-26  Jason Merrill  <jason@redhat.com>

	* dwarf2read.c (dwarf_attr_name): Move DW_AT_MIPS_linkage_name
	case out of #ifdef MIPS block.

*** dwarf2read.c.~1~	2003-08-15 19:38:15.000000000 -0400
--- dwarf2read.c	2003-08-15 19:35:38.000000000 -0400
*************** dwarf_attr_name (register unsigned attr)
*** 6049,6057 ****
        return "DW_AT_MIPS_loop_unroll_factor";
      case DW_AT_MIPS_software_pipeline_depth:
        return "DW_AT_MIPS_software_pipeline_depth";
      case DW_AT_MIPS_linkage_name:
        return "DW_AT_MIPS_linkage_name";
- #endif
  
      case DW_AT_sf_names:
        return "DW_AT_sf_names";
--- 6049,6057 ----
        return "DW_AT_MIPS_loop_unroll_factor";
      case DW_AT_MIPS_software_pipeline_depth:
        return "DW_AT_MIPS_software_pipeline_depth";
+ #endif
      case DW_AT_MIPS_linkage_name:
        return "DW_AT_MIPS_linkage_name";
  
      case DW_AT_sf_names:
        return "DW_AT_sf_names";

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]