freebsd-nq/sys/powerpc
Justin Hibbits 8f92db287e 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
2014-11-20 03:47:04 +00:00
..
aim Follow up to r225617. In order to maximize the re-usability of kernel code 2014-10-16 18:04:43 +00:00
booke ddb: allow specifying the exact address of the symtab and strtab 2014-09-25 08:28:10 +00:00
conf Renove faith(4) and faithd(8) from base. It looks like industry 2014-11-09 21:33:01 +00:00
cpufreq Some style(9) fixes 2013-12-13 05:54:25 +00:00
fpu Fix debug printfs in FPU_EMU to compile on powerpc64 and enable it for 2013-12-05 21:49:14 +00:00
include Add arch-specific macro SFBUF_PHYS_DMAP(), which should translate the 2014-08-20 08:02:38 +00:00
mambo Move Open Firmware device root on PowerPC, ARM, and MIPS systems to 2014-02-05 14:44:22 +00:00
mpc85xx Move Open Firmware device root on PowerPC, ARM, and MIPS systems to 2014-02-05 14:44:22 +00:00
ofw Fix a paste-o commited in r272109: we need to get the interrupts for the 2014-09-26 15:16:53 +00:00
powermac Add support for Power Button PMU events on non-ADB macs, such as aluminum 2014-11-20 03:23:33 +00:00
powerpc Use db_printsym() instead of our own in backtraces 2014-11-20 03:47:04 +00:00
ps3 Mechanically convert to if_inc_counter(). 2014-09-19 09:20:34 +00:00
pseries Replace multiple nearly-identical copies of code to walk through an FDT 2014-09-25 15:02:33 +00:00
psim Move Open Firmware device root on PowerPC, ARM, and MIPS systems to 2014-02-05 14:44:22 +00:00
wii Moves all the duplicate code to a single function. 2014-11-18 17:22:08 +00:00