diff options
author | jhibbits <jhibbits@FreeBSD.org> | 2014-11-20 03:47:04 +0000 |
---|---|---|
committer | jhibbits <jhibbits@FreeBSD.org> | 2014-11-20 03:47:04 +0000 |
commit | 3c0f05c6c6f5b15b88273b74fcf98262300b4998 (patch) | |
tree | e6a6f0d1bfa16e059e4bac0343ae51ea6520e7c8 /lib/libc/stdlib/reallocf.c | |
parent | a8f71d6bc272a861e737aba162feb2ef321dbcb2 (diff) | |
download | FreeBSD-src-3c0f05c6c6f5b15b88273b74fcf98262300b4998.zip FreeBSD-src-3c0f05c6c6f5b15b88273b74fcf98262300b4998.tar.gz |
Use db_printsym() instead of our own in backtraces
Summary:
Currently if there are problems finding a symbol, backtrace ends up printing
something like:
0xdeadbeef: at +0x12345
Which is pretty useless. This on its own should be fixed (retrieving symbols),
but aside from that, using db_printsym() is a better solution anyway. If it
can't find a valid symbol it prints the actual address, and it has the added
benefit that if it can find the symbol, it might be able to print the file and
line as well.
Test Plan: Tested on my G4 PowerBook
Reviewers: #powerpc, nwhitehorn
Reviewed By: nwhitehorn
Differential Revision: https://reviews.freebsd.org/D1173
MFC after: 3 weeks
Diffstat (limited to 'lib/libc/stdlib/reallocf.c')
0 files changed, 0 insertions, 0 deletions