Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jan 2018 01:36:25 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r328158 - head/gnu/usr.bin/gdb/kgdb
Message-ID:  <201801190136.w0J1aPKM011387@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Fri Jan 19 01:36:25 2018
New Revision: 328158
URL: https://svnweb.freebsd.org/changeset/base/328158

Log:
  Recognize mchk_calltrap as a trapframe generator.
  
  Should have been included in r328157.

Modified:
  head/gnu/usr.bin/gdb/kgdb/trgt_amd64.c

Modified: head/gnu/usr.bin/gdb/kgdb/trgt_amd64.c
==============================================================================
--- head/gnu/usr.bin/gdb/kgdb/trgt_amd64.c	Thu Jan 18 23:50:21 2018	(r328157)
+++ head/gnu/usr.bin/gdb/kgdb/trgt_amd64.c	Fri Jan 19 01:36:25 2018	(r328158)
@@ -189,6 +189,7 @@ kgdb_trgt_trapframe_sniffer(struct frame_info *next_fr
 	if (pname == NULL)
 		return (NULL);
 	if (strcmp(pname, "calltrap") == 0 ||
+	    strcmp(pname, "mchk_calltrap") == 0 ||
 	    strcmp(pname, "nmi_calltrap") == 0 ||
 	    (pname[0] == 'X' && pname[1] != '_'))
 		return (&kgdb_trgt_trapframe_unwind);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801190136.w0J1aPKM011387>