Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Aug 2005 03:29:22 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/gnu/usr.bin/gdb/kgdb trgt.c
Message-ID:  <200508160329.j7G3TM1R022985@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      2005-08-16 03:29:22 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    gnu/usr.bin/gdb/kgdb trgt.c 
  Log:
  Partial MFC rev 1.3:
    o  Remove the obscure tid command, because it does what the thread
       command does, but worse.
    o  Move the PID to the extra thread info, where it makes sense and
       where it doesn't confuse users. The extra thread info holds some
       process information, to which the PID belongs.
    o  Implement the to_find_new_threads target method by having it call
       the target beneath us if we're not using KVM. This makes sure that
       new threads are found when using the remote target.
  
    o  Fix various core dump scenarios:
       -  Implement the to_files_info target method. Previously the
          'info target' command would cause a NULL pointer dereference.
       -  Don't assume there's a current thread. We're not initialized
          in all cases. This prevents a NULL pointer dereference.
       -  When we're not ussing KVM, have the to_xfer_memory target
          method call the target beneath us. This avoids calling into
          KVM with a NULL pointer.
  
  Approved by: re (kensmith)
  
  Revision  Changes    Path
  1.2.2.1   +43 -39    src/gnu/usr.bin/gdb/kgdb/trgt.c



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