Bug 20328 - ppc64: gdb_target_symbol does not support function descriptors
Summary: ppc64: gdb_target_symbol does not support function descriptors
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: testsuite (show other bugs)
Version: HEAD
: P2 normal
Target Milestone: ---
Assignee: Jan Kratochvil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-05 14:39 UTC by Jan Kratochvil
Modified: 2016-07-17 15:36 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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