diff options
author | Petter Rodhelind <petter.rodhelind@gmail.com> | 2020-01-14 11:41:08 +0100 |
---|---|---|
committer | Petter Rodhelind <petter.rodhelind@gmail.com> | 2020-01-14 11:41:08 +0100 |
commit | 02d7aa8915f9c3a3288dab01f321eb94ba219e3b (patch) | |
tree | f053238978479e408a2b83571443e132f30586ab /src/libmach/dwarfinfo.c | |
parent | c0c9d8f883dfd3a7f5a74499d91bb95884b15873 (diff) | |
parent | 3d1382b98a502d0c34d5ba2c462396acc515016e (diff) | |
download | plan9port-02d7aa8915f9c3a3288dab01f321eb94ba219e3b.tar.gz plan9port-02d7aa8915f9c3a3288dab01f321eb94ba219e3b.tar.bz2 plan9port-02d7aa8915f9c3a3288dab01f321eb94ba219e3b.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/libmach/dwarfinfo.c')
-rw-r--r-- | src/libmach/dwarfinfo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libmach/dwarfinfo.c b/src/libmach/dwarfinfo.c index 4c0eacd8..d6c2b79e 100644 --- a/src/libmach/dwarfinfo.c +++ b/src/libmach/dwarfinfo.c @@ -128,7 +128,7 @@ dwarflookupnameinunit(Dwarf *d, ulong unit, char *name, DwarfSym *s) werrstr("symbol '%s' not found", name); return -1; } - + int dwarflookupsubname(Dwarf *d, DwarfSym *parent, char *name, DwarfSym *s) @@ -183,7 +183,7 @@ dwarflookupfn(Dwarf *d, ulong unit, ulong pc, DwarfSym *s) continue; if(s->attrs.lowpc <= pc && pc < s->attrs.highpc) return 0; - } + } werrstr("fn containing pc 0x%lux not found", pc); return -1; } @@ -291,11 +291,11 @@ dwarfnextsymat(Dwarf *d, DwarfSym *s, int depth) } /* - * The funny game with t and s make sure that + * The funny game with t and s make sure that * if we get to the end of a run of a particular * depth, we leave s so that a call to nextsymat with depth-1 * will actually produce the desired guy. We could change - * the interface to dwarfnextsym instead, but I'm scared + * the interface to dwarfnextsym instead, but I'm scared * to touch it. */ t = *s; |