This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Examining mips-openbsd core files from i386-openbsd host
- From: "Joe Goh" <joe at willowglen dot com dot sg>
- To: gdb at sources dot redhat dot com
- Date: Thu, 24 Feb 2005 14:57:29 +0800
- Subject: Examining mips-openbsd core files from i386-openbsd host
- Organization: Willowglen Services Pte Ltd
Hi everyone,
I'm having trouble compiling gdb 6.3 to be able to examine core files from
a mipsel-openbsd host, using an i386-openbsd host.
I'm compiling gdb on an OpenBSD 3.6 i386 host with --target=mipsel-openbsd
and the build succeeds, but when I try to open a core file, gdb complains
of, "GDB can't read core files on this machine.".
Printing out some debug messages from find_core_target() in gdb/target.c
reveals that there are none of the "target_ops" structures in
"target_structs" are "core_stratum"'s.
Are there any switches I need to pass to "configure" to be able to do
cross architecture core file examination? Or are there some settings that
I need to do in runtime from the gdb prompt?
Thanks in advance!
Joe