Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 13 Dec 2002 10:40:40 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: [SCRIPT] Windows system dll function addresses Message-ID: <20021213154040.GC29569@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i On Fri, Dec 13, 2002 at 09:16:58AM -0500, Joe Buehler wrote: >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. Hey, this is cool. I've always wanted something like this! Thanks for providing it. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/