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.

Details

Summary

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:
https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=include/gdb/signals.def

Diff Detail

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