Fix typo in ppc64_standard_linkage7
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 28 Jan 2014 16:49:13 +0000 (17:49 +0100)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 28 Jan 2014 16:49:13 +0000 (17:49 +0100)
commitfa0079ea727e512d592fff1241a82a0a2f628903
tree82c6ac91a5f365f95340390c5d3f2ec6177e581f
parent0a9c7b2bf1903322a9b03d76c9c171bcd2ad3cf0
Fix typo in ppc64_standard_linkage7

The ppc64_standard_linkage7 pattern added by Alan's recent patch:
https://sourceware.org/ml/gdb-patches/2013-11/msg00274.html
contains a typo: the ELFv2 TOC slot offset is 24, not 40.
This was correct in the comment, but not the actual code.

ChangeLog:

* ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
gdb/ChangeLog
gdb/ppc64-tdep.c