Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2018 21:10:49 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r331323 - stable/11/gnu/usr.bin/gdb/kgdb
Message-ID:  <201803212110.w2LLAn2A089641@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Wed Mar 21 21:10:49 2018
New Revision: 331323
URL: https://svnweb.freebsd.org/changeset/base/331323

Log:
  MFC 328158,330708: Update kgdb for PTI.
  
  328158:
  Recognize mchk_calltrap as a trapframe generator.
  
  Should have been included in r328157.
  
  330708:
  Use the trapframe unwinder for "fast_syscall_common".

Modified:
  stable/11/gnu/usr.bin/gdb/kgdb/trgt_amd64.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/gnu/usr.bin/gdb/kgdb/trgt_amd64.c
==============================================================================
--- stable/11/gnu/usr.bin/gdb/kgdb/trgt_amd64.c	Wed Mar 21 20:59:30 2018	(r331322)
+++ stable/11/gnu/usr.bin/gdb/kgdb/trgt_amd64.c	Wed Mar 21 21:10:49 2018	(r331323)
@@ -189,6 +189,8 @@ kgdb_trgt_trapframe_sniffer(struct frame_info *next_fr
 	if (pname == NULL)
 		return (NULL);
 	if (strcmp(pname, "calltrap") == 0 ||
+	    strcmp(pname, "fast_syscall_common") == 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?201803212110.w2LLAn2A089641>