Sometimes it is useful to be able to tell what Windows
DLL functions are at the top of a stack trace in gdb
(not everyone can remember functions by address instead
of name).
Here is a perl script to dump a sorted list of symbol
addresses from the dlls on a Windows system. You need
dumpbin to run this. Only tested on Windows NT --
dumpbin may have different output on other versions, in
which case this may break.
Oh, one thing -- I have a mount point named "/sys" that is the
directory where the dlls reside. I think I made that myself.
You will have to substitute whatever the appropriate path is
on your machine.
Joe Buehler
#!/usr/bin/perl
#
# dump symbols and absolute address from Windows system dlls
#
# ...