NetBSD/sys/arch/sh3
uwe 6cfe10b75a __db_print_symbol: don't try to be too smart with db_print_loc_and_inst.
We can have in a register an address that points to/into some variable
in the data segment, but db_print_loc_and_inst only looks for
functions, so it will misprint it as something unrelated from libkern
+ huge offset.  E.g. instead of netbsd:cpu_info_store it would print
netbsd:prop_string_create_cstring+0xdeadbeef

Worse, if the address happens to be odd (char field in a struct, an
element of char array), attempt at printing the "instruction" at that
address will cause a fault and will abort "mach frame".

Disassemly is not really that useful in "mach frame" listing anyway
and more often just clutters things by overflowing 80 columns.
2006-09-06 00:11:49 +00:00
..
conf There's no reason to use -Wno-parentheses. 2006-09-02 22:37:33 +00:00
dev Use the LWP cached credentials where sane. 2006-07-23 22:06:03 +00:00
include Add comments to RCR1 and RCR2 bits. 2006-09-03 12:38:34 +00:00
sh3 __db_print_symbol: don't try to be too smart with db_print_loc_and_inst. 2006-09-06 00:11:49 +00:00
Makefile
Makefile.inc