This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: arm core analysis on x86 host
On Tue, Mar 29, 2005 at 09:07:17PM -0500, Jon Ringle wrote:
> Daniel,
>
> Is the problem that the osabi for the file and target don't match?
>
> (gdb) file ippbx.gdb
> find_arch_by_info: info.bfd_arch_info arm
> find_arch_by_info: info.byte_order 1 (little)
> find_arch_by_info: info.osabi 5 (GNU/Linux)
> find_arch_by_info: info.abfd 0x849e558
> find_arch_by_info: info.tdep_info 0x0
> find_arch_by_info: Previous architecture 0x0848e430 (arm) selected
> Reading symbols
> from /home/ringlej/mp1000/trunk-fixes/Soundpipe/ippbx/ippbx.gdb...done.
> (gdb) target core ./core
> find_arch_by_info: info.bfd_arch_info arm
> find_arch_by_info: info.byte_order 1 (little)
> find_arch_by_info: info.osabi 21 (ARM APCS)
> find_arch_by_info: info.abfd 0x84a0450
> find_arch_by_info: info.tdep_info 0x0
> find_arch_by_info: New architecture 0x08571958 (arm) selected
You should try to see how this works on PPC. I don't know.
--
Daniel Jacobowitz
CodeSourcery, LLC