Bug in dumper
Christopher Faylor
cgf@redhat.com
Sat Mar 1 07:16:00 GMT 2003
On Fri, Feb 28, 2003 at 10:50:00PM -0500, Christopher Faylor wrote:
>On Fri, Feb 28, 2003 at 10:10:25AM +0300, Egor Duda wrote:
>>This means that either i'm wrong about my assumptions about
>>bfd_set_arch_mach() and its return, or there's a bug in binutils. It
>>should be quite easy to debug, though, for those who have a cygwin
>>toolchain installed. Just build dumper with debug info (this will
>>require building bfd alongside), start any innocent process, say, bash,
>>get its pid and then run 'dumper -d c:/cygwin/bin/bash.exe <bash_pid>'
>>under gdb. This should reveal what status is returned by
>>bfd_set_arch_mach, and why.
>
>I just tried this. The release version of dumper.exe doesn't work.
>The one I *just* built does. Weird.
>
>I'll see if I can track down what's going on.
It's still strange. I've rebuilt dumper and the call to
bfd-set_arch_mach goes off into random memory. I don't see how
that can be but it's late so I'm probably missing something.
cgf
More information about the Binutils
mailing list