+2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
+ Pedro Alves <palves@redhat.com>
+
+ * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
+ Make "name" extern.
+ * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
+ references to ${name}_start by references to ${name}.
+
2014-01-10 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/pp-rec-component.exp: Remove path from "source" test.
.ascii \"GNU C\\0\" /* DW_AT_producer */
.byte 2 /* DW_AT_language (DW_LANG_C) */
.4byte .Lline_${name}_begin /* DW_AT_stmt_list */
- .4byte ${name}_start /* DW_AT_low_pc */
+ .4byte ${name} /* DW_AT_low_pc */
.4byte ${name}_end /* DW_AT_high_pc */
"
if { $cu_dir != "" } {
.uleb128 3 /* Abbrev: DW_TAG_subprogram */
.asciz \"${name}\" /* DW_AT_name */
- .4byte ${name}_start /* DW_AT_low_pc */
+ .4byte ${name} /* DW_AT_low_pc */
.4byte ${name}_end /* DW_AT_high_pc */
.byte 0 /* End of children of CU */
.byte 0 /* DW_LNE_set_address */
.uleb128 5
.byte 2
- .4byte ${name}_start
+ .4byte ${name}
.byte 1 /* DW_LNS_copy */
.byte 3 /* DW_LNS_advance_line */
.sleb128 1 /* ... to 1000 */