]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ddb: de-duplicate decode_syscall()
authorMitchell Horne <mhorne@FreeBSD.org>
Sun, 2 Oct 2022 22:46:00 +0000 (19:46 -0300)
committerMitchell Horne <mhorne@FreeBSD.org>
Mon, 3 Oct 2022 16:49:54 +0000 (13:49 -0300)
commit754cb545b68ba0a1643792763d000018ffe2afec
treee91986a1e288cc89563e1785273bb92570229599
parente571b0f8f8c1730330fb656d54f081beb993c962
ddb: de-duplicate decode_syscall()

Only i386 and amd64 print the decoded syscall name in the backtrace.
This de-duplication facilitates further changes and adoption by other
platforms.

Reviewed by: jrtc27, markj, jhb
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D36565
sys/amd64/amd64/db_trace.c
sys/ddb/db_sym.c
sys/ddb/db_sym.h
sys/i386/i386/db_trace.c