Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 2010 17:16:25 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/usr.bin/gcore elfcore.c extern.h gcore.1 gcore.c
Message-ID:  <201007141716.o6EHGfPY079675@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
attilio     2010-07-14 17:16:25 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/gcore        elfcore.c extern.h gcore.1 gcore.c 
  Log:
  SVN rev 210063 on 2010-07-14 17:16:25Z by attilio
  
  Fix the way the segments are included in the gcore outputs (with the
  default invokation):
  - Right now if segments are not writable are not included. Remove this.
  - Right now if a segment is mapped with NOCORE the check is not honoured.
    Change this by checking the newly added flag, from libutil,
    KVME_FLAG_NOCOREDUMP.
  
  Besides that, add a new flag (-f) that forces a 'full' dump of all the
  segments excluding just the malformed ones. This might be used very
  carefully as, among the reported segments, there could be memory
  mapped areas that could be vital to program execution.
  
  Sponsored by:   Sandvine Incorporated
  Discussed with: kib
  Reviewed by:    emaste
  Tested by:      Sandvine Incorporated
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.23      +10 -5     src/usr.bin/gcore/elfcore.c
  1.6       +4 -1      src/usr.bin/gcore/extern.h
  1.17      +9 -1      src/usr.bin/gcore/gcore.1
  1.36      +7 -4      src/usr.bin/gcore/gcore.c



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