Date: Sat, 2 Apr 2011 11:10:37 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r220278 - stable/8/gnu/usr.bin/gdb/libgdb Message-ID: <201104021110.p32BAbPn080880@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Sat Apr 2 11:10:36 2011 New Revision: 220278 URL: http://svn.freebsd.org/changeset/base/220278 Log: MFC r220043: Print the raw value of si_code, that is esp. useful for undecoded values. Sponsored by: The FreeBSD Foundation Modified: stable/8/gnu/usr.bin/gdb/libgdb/fbsd-threads.c Directory Properties: stable/8/gnu/usr.bin/gdb/ (props changed) stable/8/gnu/usr.bin/gdb/kgdb/ (props changed) Modified: stable/8/gnu/usr.bin/gdb/libgdb/fbsd-threads.c ============================================================================== --- stable/8/gnu/usr.bin/gdb/libgdb/fbsd-threads.c Sat Apr 2 10:31:41 2011 (r220277) +++ stable/8/gnu/usr.bin/gdb/libgdb/fbsd-threads.c Sat Apr 2 11:10:36 2011 (r220278) @@ -1389,9 +1389,10 @@ fbsd_thread_signal_cmd (char *exp, int f code = "UNKNOWN"; break; } - printf_filtered("si_code %s si_pid %d si_uid %d si_status %x si_addr %p\n", - code, ti.ti_siginfo.si_pid, ti.ti_siginfo.si_uid, ti.ti_siginfo.si_status, - ti.ti_siginfo.si_addr); + printf_filtered("si_code %s (%d) si_pid %d si_uid %d si_status %x " + "si_addr %p\n", + code, ti.ti_siginfo.si_code, ti.ti_siginfo.si_pid, ti.ti_siginfo.si_uid, + ti.ti_siginfo.si_status, ti.ti_siginfo.si_addr); } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104021110.p32BAbPn080880>