cvs commit: src/sys/amd64/include gdb_machdep.h

John Baldwin jhb at FreeBSD.org
Mon Feb 5 21:48:34 UTC 2007


jhb         2007-02-05 21:48:32 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/include    gdb_machdep.h 
  Log:
  Change GDB_BUFSZ to be large enough to hold a register dump where each
  register takes 16 characters (64-bit register in hex).  In practice this
  is a slight bit of overkill as 7 of the 56 registers are only 32-bit, but
  having the buffer too small results in remote kgdb trashing kernel memory
  when it connects.
  
  PR:             amd64/108673
  Submitted by:   Ravi Murty, Nikhil Rao @ Intel
  MFC after:      3 days
  
  Revision  Changes    Path
  1.6       +1 -1      src/sys/amd64/include/gdb_machdep.h


More information about the cvs-all mailing list