Date: Mon, 6 Aug 2001 07:21:58 -0700 (PDT) From: Brian Feldman <green@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern link_elf.c Message-ID: <200108061421.f76ELwj30151@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
green 2001/08/06 07:21:57 PDT
Modified files:
sys/kern link_elf.c
Log:
Previously, the ELF linker would always just store the pointer to a
filename passed in via the module loader functions in the GDB
"sharedlibrary" support structures. This isn't good, since the pointer
would become stale in almost every case (not the pre-loaded case, of
course).
Change this to malloc()ed copy of the string and finally fix the reason
that gdb -k's "sharedlibrary" command stopped working.
Obtained from: LOMAC/FreeBSD (cf. NAI Labs)
Revision Changes Path
1.41 +6 -2 src/sys/kern/link_elf.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108061421.f76ELwj30151>
