summaryrefslogtreecommitdiffstats
path: root/usr.bin/xstr
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1997-11-29 03:32:48 +0000
committerjdp <jdp@FreeBSD.org>1997-11-29 03:32:48 +0000
commite61aa81fab72cedfaad3a565fa3554e5175fd9c8 (patch)
tree07dd5db9e960d202015fa65a765258a0b159e37c /usr.bin/xstr
parentbdc807a3bba3fea4531ea1eed308c78d8446d0ec (diff)
downloadFreeBSD-src-e61aa81fab72cedfaad3a565fa3554e5175fd9c8.zip
FreeBSD-src-e61aa81fab72cedfaad3a565fa3554e5175fd9c8.tar.gz
Get rid of the dynamic linker's internal malloc package, and arrange
things so that it uses the same malloc as is used by the program being executed. This has several advantages, the big one being that you can now debug core dumps from dynamically linked programs and get useful information out of them. Until now, that didn't work. The internal malloc package placed the tables describing the loaded shared libraries in a mapped region of high memory that was not written to core files. Thus the debugger had no way of determining what was loaded where in memory. Now that the dynamic linker uses the application's malloc package (normally, but not necessarily, the system malloc), its tables end up in the regular heap area where they will be included in core dumps. The debugger now works very well indeed, thank you very much. Also ... Bring the program a little closer to conformance with style(9). There is still a long way to go. Add minimal const correctness changes to get rid of compiler warnings caused by the recent const changes in <dlfcn.h> and <link.h>. Improve performance by eliminating redundant calculations of symbols' hash values.
Diffstat (limited to 'usr.bin/xstr')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud