Brian Feldman bcc92693d4 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)
2001-08-06 14:21:57 +00:00
..
2001-07-22 19:55:05 +00:00
2001-08-06 12:52:55 +00:00
2001-07-25 20:15:17 +00:00
2001-06-11 12:39:29 +00:00
2001-06-14 11:05:01 +00:00
2001-07-31 03:39:35 +00:00