Date: Thu, 6 Jul 2017 15:08:51 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r320739 - head/sys/mips/mips Message-ID: <201707061508.v66F8pe4056078@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trasz Date: Thu Jul 6 15:08:51 2017 New Revision: 320739 URL: https://svnweb.freebsd.org/changeset/base/320739 Log: Make ddb(4) disassembler (x/i) use n32 register names. Obtained from: CheriBSD MFC after: 2 weeks Sponsored by: DARPA, AFRL Modified: head/sys/mips/mips/db_disasm.c Modified: head/sys/mips/mips/db_disasm.c ============================================================================== --- head/sys/mips/mips/db_disasm.c Thu Jul 6 15:03:54 2017 (r320738) +++ head/sys/mips/mips/db_disasm.c Thu Jul 6 15:08:51 2017 (r320739) @@ -104,7 +104,11 @@ static char *fmt_name[16] = { static char *reg_name[32] = { "zero", "at", "v0", "v1", "a0", "a1", "a2", "a3", +#if defined(__mips_n32) || defined(__mips_n64) + "a4", "a5", "a6", "a7", "t0", "t1", "t2", "t3", +#else "t0", "t1", "t2", "t3", "t4", "t5", "t6", "t7", +#endif "s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "t8", "t9", "k0", "k1", "gp", "sp", "s8", "ra" };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707061508.v66F8pe4056078>