Fix dw2-ifort-parameter.exp on PPC64
authorAndreas Arnez <arnez@linux.vnet.ibm.com>
Fri, 7 Mar 2014 12:23:47 +0000 (12:23 +0000)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Wed, 12 Mar 2014 15:22:19 +0000 (16:22 +0100)
commit646f4417760ab12c0d955dabf821d8737d94335a
tree385101ebf48b111ef7f0b93e4c38c862939622ce
parent288c211f8c66a8d065cfd59f110e2fbc33ccce25
Fix dw2-ifort-parameter.exp on PPC64

On PPC64, 'func' and 'main' are function descriptors and don't point
to the actual code.  Thus the usage of these symbols in the DWARF
assembler source was broken.  The patch introduces new labels
func_start and func_end for this purpose.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-ifort-parameter.c
gdb/testsuite/gdb.dwarf2/dw2-ifort-parameter.exp