Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Aug 1998 09:25:31 -0700 (PDT)
From:      Wolfram Schneider <wosch@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   cvs commit: src/usr.bin/gcore gcore.c
Message-ID:  <199808241625.JAA14655@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
wosch       1998/08/24 09:25:31 PDT

  Modified files:
    usr.bin/gcore        gcore.c 
  Log:
  Check the text segment size of the executable and the process. If
  not equal, the command line arguments are wrong. E.g.:
  
  $./gcore /bin/sh 1761
  
  $ ./gcore /usr/tmp/chroot/bin/sh 1761
  gcore: The executable /usr/tmp/chroot/bin/sh does not belong to process 1761!
  Text segment size (in bytes): executable 303104, process 294912
  
  Revision  Changes    Path
  1.8       +9 -1      src/usr.bin/gcore/gcore.c



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