Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jan 2002 03:49:55 -0800 (PST)
From:      Bruce Evans <bde@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/i386/i386 machdep.c trap.c src/sys/i386/linux linux_sysvec.c src/sys/i386/svr4 svr4_machdep.c src/sys/pc98/i386 machdep.c
Message-ID:  <200201101149.g0ABnt273542@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         2002/01/10 03:49:55 PST

  Modified files:
    sys/i386/i386        machdep.c trap.c 
    sys/i386/linux       linux_sysvec.c 
    sys/i386/svr4        svr4_machdep.c 
    sys/pc98/i386        machdep.c 
  Log:
  Clear the single-step flag for signal handlers.  This fixes bogus trace
  traps on the first instruction of signal handlers.
  
  In trap.c:syscall(), fake a trace trap if the single-step flag was set
  on entry to the kernel, not if it will be set on exit from the kernel.
  This fixes bogus trace traps after the last instruction of signal handlers.
  
  gdb-4.18 (the version in FreeBSD) still has problems with the program in
  the PR.  These seem to be due to bugs in gdb and not in FreeBSD, and are
  fixed in gdb-5.1 (the distribution version).
  
  PR:             33262
  Tested by:      k Macy <kip_macy@yahoo.com>
  MFC after:      1 day
  
  Revision  Changes    Path
  1.488     +4 -6      src/sys/i386/i386/machdep.c
  1.211     +3 -1      src/sys/i386/i386/trap.c
  1.94      +2 -2      src/sys/i386/linux/linux_sysvec.c
  1.24      +2 -1      src/sys/i386/svr4/svr4_machdep.c
  1.252     +4 -6      src/sys/pc98/i386/machdep.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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