diff options
author | Petter Rodhelind <petter.rodhelind@gmail.com> | 2017-09-28 11:20:22 +0200 |
---|---|---|
committer | Petter Rodhelind <petter.rodhelind@gmail.com> | 2017-09-28 11:20:22 +0200 |
commit | ed9342b2a15fcb98a5e1641b291b9d51f00538e8 (patch) | |
tree | fae6678eac643e3b220ac1cf5529a81f780fe475 /src/libmach | |
parent | 3792be8ab8fe8253fa4758a646963eb7fb95b390 (diff) | |
parent | 3f8ac29339ad67f05d32064fcc810035d55a3985 (diff) | |
download | plan9port-ed9342b2a15fcb98a5e1641b291b9d51f00538e8.tar.gz plan9port-ed9342b2a15fcb98a5e1641b291b9d51f00538e8.tar.bz2 plan9port-ed9342b2a15fcb98a5e1641b291b9d51f00538e8.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/libmach')
-rw-r--r-- | src/libmach/symstabs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libmach/symstabs.c b/src/libmach/symstabs.c index 77c6bab7..e253f023 100644 --- a/src/libmach/symstabs.c +++ b/src/libmach/symstabs.c @@ -309,7 +309,8 @@ stabsline2pc(Fhdr *fhdr, u64int startpc, ulong line, u64int *pc) l.type = LADDR; l.addr = startpc; - if((s = ffindsym(fhdr, l, CTEXT)) == nil) + if((s = ffindsym(fhdr, l, CTEXT)) == nil + || stabsym(&fhdr->stabs, s->u.stabs.i, &ss) < 0) return -1; trigger = 0; |