Subject: Re: [boost] slightly off topic- using GDB on cygwin to debug a DLL
From: David Abrahams (dave_at_[hidden])
Date: 2009-07-23 09:27:28
on Wed Jul 22 2009, "Robert Ramey" <ramey-AT-rrsd.com> wrote:
> In the past I've used GDB under cygwin to debug serialization
> test failures for the gcc compiler. This has worked pretty well.
> However, now I have a couple of tests test_dll_simple and test_dll_exported
> that I want to debug. When I try this I get the following
> error message:
> gdb: unknown target exception 0xc0000135 at 0x7c964ed1
> I'm thinking that this might be an indicator that "it"
> can't find the dlls which are part of the test as they
> are in a different place in the directory hierarchy than
> the test executable. Does anyone with experience
> with this have any suggestions as to what to do?
I don't remember the specifics, but if you trawl through the results of
GDB's "help" command you can find out how to set up a DLL search path.
-- Dave Abrahams BoostPro Computing http://www.boostpro.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk