Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Mar 2018 22:58:05 +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: r330708 - head/gnu/usr.bin/gdb/kgdb
Message-ID:  <201803092258.w29Mw5jk073796@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Fri Mar  9 22:58:05 2018
New Revision: 330708
URL: https://svnweb.freebsd.org/changeset/base/330708

Log:
  Use the trapframe unwinder for "fast_syscall_common".
  
  MFC after:	3 days

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	Fri Mar  9 22:52:52 2018	(r330707)
+++ head/gnu/usr.bin/gdb/kgdb/trgt_amd64.c	Fri Mar  9 22:58:05 2018	(r330708)
@@ -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, "fast_syscall_common") == 0 ||
 	    strcmp(pname, "mchk_calltrap") == 0 ||
 	    strcmp(pname, "nmi_calltrap") == 0 ||
 	    (pname[0] == 'X' && pname[1] != '_'))



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