summaryrefslogtreecommitdiffstats
path: root/sbin/bsdlabel
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2001-08-06 14:21:57 +0000
committergreen <green@FreeBSD.org>2001-08-06 14:21:57 +0000
commit175c3f1d2da74072ef134037d394e63c9da4b014 (patch)
tree52036adbafd792c9fc4eb313891d22d82dc76a8d /sbin/bsdlabel
parent77328d8cba34772dcb11db30551f82cf63f79946 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud