Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Apr 1997 08:33:57 -0700 (PDT)
From:      Bruce Evans <bde@freefall.FreeBSD.ORG>
To:        CVS-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-gnu@FreeBSD.org
Subject:   cvs commit:  src/gnu/usr.bin/gdb/gdb kvm-fbsd.c
Message-ID:  <199704301533.IAA05656@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         97/04/30 08:33:57

  Modified:    gnu/usr.bin/gdb/gdb  kvm-fbsd.c
  Log:
  Fetch the registers from struct members in the pcb instead of
  punning the pcb to an array of ints and using magic indices to
  access values in it.  This should prevent silent breakage from
  changes in the pcb.
  
  Supply 0 for unavailable registers instead of punning the tss to
  an array of ints and using magic indices to access garbage values
  in it.  (The registers are in the pcb; there is nothing interesting
  in the tss.  This should change someday.  At least for dumps, all
  the registers should be saved, and common_tss is a good place to
  put them.)
  
  Removed ancient wrong (disabled) method for reading eip.
  
  Revision  Changes    Path
  1.3       +19 -28    src/gnu/usr.bin/gdb/gdb/kvm-fbsd.c



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