diff options
author | green <green@FreeBSD.org> | 2001-08-06 14:21:57 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2001-08-06 14:21:57 +0000 |
commit | 175c3f1d2da74072ef134037d394e63c9da4b014 (patch) | |
tree | 52036adbafd792c9fc4eb313891d22d82dc76a8d /sbin/bsdlabel | |
parent | 77328d8cba34772dcb11db30551f82cf63f79946 (diff) | |
download | FreeBSD-src-175c3f1d2da74072ef134037d394e63c9da4b014.zip FreeBSD-src-175c3f1d2da74072ef134037d394e63c9da4b014.tar.gz |
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)
Diffstat (limited to 'sbin/bsdlabel')
0 files changed, 0 insertions, 0 deletions