Bug 20328

Summary: ppc64: gdb_target_symbol does not support function descriptors
Product: gdb Reporter: Jan Kratochvil <jan>
Component: testsuiteAssignee: Jan Kratochvil <jan>
Status: RESOLVED FIXED    
Severity: normal CC: jan
Priority: P2    
Version: HEAD   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description Jan Kratochvil 2016-07-05 14:39:40 UTC
powerpc64-unknown-linux-gnu:
FAIL: gdb.dwarf2/dw2-bad-mips-linkage-name.exp: ptype f
FAIL: gdb.dwarf2/dw2-bad-mips-linkage-name.exp: ptype g
FAIL: gdb.dwarf2/dw2-lexical-block-bare.exp: p testvar
FAIL: gdb.dwarf2/atomic-type.exp: ptype f

but:
powerpc64le-unknown-linux-gnu does PASS them (ppc64le does not use function descriptors anymore)

I have no real idea how to implement tcl gdb_target_symbol in a function descriptor compatible way.
Comment 1 Jan Kratochvil 2016-07-05 14:55:35 UTC
[testsuite patch] [ppc64] +kfail: gdb_target_symbol does not support function descriptors
https://sourceware.org/ml/gdb-patches/2016-07/msg00069.html
Comment 2 Jan Kratochvil 2016-07-17 15:36:55 UTC
[commit] [testsuite patchv3] [ppc64] gdb_target_symbol fix for function descriptors
https://sourceware.org/ml/gdb-patches/2016-07/msg00144.html