Page MenuHomeFreeBSD

gdb: only return signal values for powerpc's gdb_cpu_signal()
Needs ReviewPublic

Authored by mhorne on Fri, Jan 8, 8:31 PM.



The values returned by this function are reported to the gdb client as
the reason for the break in execution, a signal value such as SIGTRAP,
SIGEMT, or SIGSEGV. As such, exact vector numbers can be misidentified.
Return SIGEMT in the default case instead.

For reference, the list of gdb signal values:;a=blob;f=include/gdb/signals.def

Diff Detail

rS FreeBSD src repository - subversion
Lint OK
No Unit Test Coverage
Build Status
Buildable 36043
Build 32932: arc lint + arc unit