Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 1996 21:14:27 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        current@freebsd.org
Subject:   gdb anomalies
Message-ID:  <199611101014.VAA03875@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
gdb sometimes tells me that the executable file has changed, although
it shouldn't have.  It seems to be correct though - executing the
file apparently clobbers at least its ctime and mtime:

Stat of object file built just before the executable:
file=obj/dkcksum.o
type=regular     mode= ---rw-r--r--
size=4132        links=1
blksize=8192     blocks=10
user=15          group=0
unit=4/7         inode=114042
atime=Sun Nov 10 21:03:00 1996
ctime=Sun Nov 10 21:03:00 1996
mtime=Sun Nov 10 21:03:00 1996

Stat of executable:
file=obj/disklabel
type=regular     mode= ---rwxr-xr-x
size=54058       links=1
blksize=8192     blocks=106
user=15          group=0
unit=4/7         inode=114043
atime=Sun Nov 10 21:03:49 1996		<- changed OK when the file was execed
ctime=Sun Nov 10 21:04:14 1996		<- changed !OK after file was execed
mtime=Sun Nov 10 21:04:14 1996		<- changed !OK

Bruce



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