From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17630 invoked by alias); 6 May 2005 03:27:02 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 17612 invoked from network); 6 May 2005 03:26:59 -0000 Received: from unknown (HELO rproxy.gmail.com) (64.233.170.196) by sourceware.org with SMTP; 6 May 2005 03:26:59 -0000 Received: by rproxy.gmail.com with SMTP id a36so720842rnf for ; Thu, 05 May 2005 20:26:59 -0700 (PDT) Received: by 10.11.116.50 with SMTP id o50mr46371cwc; Thu, 05 May 2005 20:26:59 -0700 (PDT) Received: by 10.11.99.70 with HTTP; Thu, 5 May 2005 20:26:59 -0700 (PDT) Message-ID: <7f45d9390505052026171614fd@mail.gmail.com> Date: Fri, 06 May 2005 03:27:00 -0000 From: Shaun Jackman Reply-To: Shaun Jackman To: gdb@sources.redhat.com Subject: arm-elf-gdb crash Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-SW-Source: 2005-05/txt/msg00065.txt.bz2 arm-elf-gdb 6.2.1 crashed after issuing a 'step' command. Here's the commands leading up to it and the backtrace. Cheers, Shaun $ arm-elf-gdb --version GNU gdb 6.2.1 ... This GDB was configured as "--host=3Di686-pc-linux-gnu --target=3Darm-elf". $ arm-elf-gdb hello (gdb) target remote bdi:2001 0x02020974 in ?? () (gdb) lo Loading section .text, size 0x1edc lma 0x2080000 Loading section .init, size 0x14 lma 0x2081edc Loading section .fini, size 0x10 lma 0x2081ef0 Loading section .rodata, size 0x1e lma 0x2081f00 Loading section .eh_frame, size 0x4 lma 0x2081f20 Loading section .ctors, size 0x8 lma 0x2082024 Loading section .dtors, size 0x8 lma 0x208202c Loading section .jcr, size 0x4 lma 0x2082034 Loading section .data, size 0x81c lma 0x2082038 Start address 0x2080000, load size 10066 Transfer rate: 80528 bits/sec, 251 bytes/write. (gdb) b main Breakpoint 1 at 0x208014c: file hello.c, line 8. (gdb) c Continuing. Breakpoint 1, main () at hello.c:8 8 } (gdb) s Segmentation fault (core dumped) $ gdb arm-elf-gdb core (gdb) bt #0 0x0808ba69 in get_frame_pc (frame=3D0x0) at ../../gdb/frame.c:1886 #1 0x080f9e8d in insert_step_resume_breakpoint (return_frame=3D0x0, ecs=3D0xbfffee50) at ../../gdb/infrun.c:2684 #2 0x080f8f3d in handle_inferior_event (ecs=3D0xbfffee50) at ../../gdb/infrun.c:1984 #3 0x080f85dc in wait_for_inferior () at ../../gdb/infrun.c:998 #4 0x080f83f5 in proceed (addr=3D1, siggnal=3DTARGET_SIGNAL_DEFAULT, step= =3D1) at ../../gdb/infrun.c:821 #5 0x080f56b5 in step_1 (skip_subroutines=3D0, single_inst=3D0, count_stri= ng=3D0x0) at ../../gdb/infcmd.c:688 #6 0x080f54df in step_command (count_string=3D0x0, from_tty=3D1) at ../../gdb/infcmd.c:577 #7 0x080a9419 in do_cfunc (c=3D0x0, args=3D0x0, from_tty=3D0) at ../../gdb/cli/cli-decode.c:57 #8 0x080ab37c in cmd_func (cmd=3D0x82c4768, args=3D0x0, from_tty=3D0) at ../../gdb/cli/cli-decode.c:1561 #9 0x080836cd in execute_command (p=3D0x82af071 "", from_tty=3D1) at ../../gdb/top.c:744 #10 0x081056ff in command_handler (command=3D0x82af070 "s") at ../../gdb/event-top.c:500 #11 0x08105b45 in command_line_handler (rl=3D0x832a040 "")