Bug 9092 - dwarf2-frame/decode_frame_entry endlessly recurses when debugging the Linux kernel on MIPS
Summary: dwarf2-frame/decode_frame_entry endlessly recurses when debugging the Linux k...
Status: RESOLVED OBSOLETE
Alias: None
Product: gdb
Classification: Unclassified
Component: gdb (show other bugs)
Version: 6.3
: P1 critical
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-09 18:58 UTC by joshua.wise
Modified: 2014-09-12 21:58 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
catchsegv.out (1.05 KB, application/octet-stream)
, joshua.wise
Details

Note You need to log in before you can comment on or make changes to this bug.
Description joshua.wise 2005-08-09 18:58:01 UTC
[Converted from Gnats 1987]

When I attempt to load the Linux kernel elf (i.e., vmlinux, not vmlinux.32 or vmlinux.srec) built for a MIPS64 machine, GDB crashes after smashing its stack from endless recursion. GDB is running on an amd64 workstation.

Release:
6.3

Environment:
Gentoo Linux 2005/08/09; GDB built from source downloaded from GDB web site

How-To-Repeat:
wise@gs104 ~/gdb-6.3/gdb $ catchsegv ./gdb --command gxemul.cmds 2>catchsegv.out
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=x86_64-unknown-linux-gnu --target=mips64el-elf".
Setting up the environment for debugging gdb.
The target architecture is assumed to be mips:isa64r2
The target is assumed to be little endian
(gdb) file /local/linux-current/vmlinux
Reading symbols from /local/linux-current/vmlinux...*** Segmentation fault

gxemul.cmds contains:
set archi mips:isa64r2
set endian little
Comment 1 Tom Tromey 2010-11-15 16:27:17 UTC
Does this still happen?
Comment 2 Sergio Durigan Junior 2014-09-12 21:58:38 UTC
Closing as OBSOLETE because of inactivity.  Feel free to reopen if it is still an issue.