From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11317 invoked by alias); 21 Dec 2005 17:23:43 -0000 Received: (qmail 11310 invoked by uid 22791); 21 Dec 2005 17:23:42 -0000 X-Spam-Check-By: sourceware.org Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.195) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 21 Dec 2005 17:23:41 +0000 Received: by wproxy.gmail.com with SMTP id 68so178391wri for ; Wed, 21 Dec 2005 09:23:39 -0800 (PST) Received: by 10.65.205.18 with SMTP id h18mr671262qbq; Wed, 21 Dec 2005 09:23:38 -0800 (PST) Received: by 10.64.253.1 with HTTP; Wed, 21 Dec 2005 09:23:38 -0800 (PST) Message-ID: <7f45d9390512210923t1b448ff6o@mail.gmail.com> Date: Wed, 21 Dec 2005 17:23:00 -0000 From: Shaun Jackman Reply-To: Shaun Jackman To: gdb@sources.redhat.com Subject: arm-elf-gdb crash in get_frame_pc MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-12/txt/msg00171.txt.bz2 I was single stepping through an arm-elf program when this crash occurred. Cheers, Shaun $ arm-elf-gdb _build/kernel/kernel GNU gdb 6.3.50.20051114-cvs ... (arm-elf-gdb) s Segmentation fault (core dumped) $ gdb ~/bin/arm-elf-gdb core ... Core was generated by `arm-elf-gdb _build/kernel/kernel'. Program terminated with signal 11, Segmentation fault. ... (gdb) f #0 0x08143e19 in get_frame_pc (frame=3D0x0) at ../../gdb/frame.c:1321 1321 gdb_assert (frame->next !=3D NULL); (gdb) bt #0 0x08143e19 in get_frame_pc (frame=3D0x0) at ../../gdb/frame.c:1321 #1 0x080c2a2c in insert_step_resume_breakpoint_at_frame (return_frame=3D0x= 0) at ../../gdb/infrun.c:2754 #2 0x080c58ed in handle_inferior_event (ecs=3D0xffffd1bc) at ../../gdb/infrun.c:2525 #3 0x080c607d in wait_for_inferior () at ../../gdb/infrun.c:1001 #4 0x080c6221 in proceed (addr=3D4294967295, siggnal=3DTARGET_SIGNAL_DEFAU= LT, step=3D1) at ../../gdb/infrun.c:826 #5 0x080bfe8c in step_1 (skip_subroutines=3D0, single_inst=3D0, count_stri= ng=3D0x0) at ../../gdb/infcmd.c:717 #6 0x08050a07 in execute_command (p=3D0x82ab991 "", from_tty=3D1) at ../../gdb/top.c:451 #7 0x080d16cf in command_handler (command=3D0x82ab990 "s") at ../../gdb/event-top.c:508 #8 0x080d1baf in command_line_handler (rl=3D0x836fd60 "") at ../../gdb/event-top.c:799 #9 0x081a7af5 in rl_callback_read_char () at ../../readline/callback.c:123 #10 0x080d102b in rl_callback_read_char_wrapper (client_data=3D0x0) at ../../gdb/event-top.c:174 #11 0x080d0852 in handle_file_event (event_file_desc=3D0) at ../../gdb/event-loop.c:728 #12 0x080d02f7 in process_event () at ../../gdb/event-loop.c:341 #13 0x080d0bd1 in gdb_do_one_event (data=3D0x0) at ../../gdb/event-loop.c:3= 78 #14 0x080cde73 in catch_errors (func=3D0x80d0a50 , func_args=3D0x0, errstring=3D0x8204fcd "", mask=3D6) at ../../gdb/exceptions.c:515 #15 0x08081883 in tui_command_loop (data=3D0x0) at ../../gdb/tui/tui-interp= .c:151 #16 0x080ce14d in current_interp_command_loop () at ../../gdb/interps.c:278 #17 0x0804bb9b in captured_command_loop (data=3D0x0) at ../../gdb/main.c:101 #18 0x080cde73 in catch_errors (func=3D0x804bb90 , func_args=3D0x0, errstring=3D0x8204fcd "", mask=3D6) at ../../gdb/exceptions.c:515 #19 0x0804c2b3 in captured_main (data=3D0xffffd8a6) at ../../gdb/main.c:834 #20 0x080cde73 in catch_errors (func=3D0x804bc00 , func_args=3D0xffffd6b8, errstring=3D0x8204fcd "", mask=3D6) at ../../gdb/exceptions.c:515 #21 0x0804bbf3 in gdb_main (args=3D0x0) at ../../gdb/main.c:843 #22 0x0804bb7f in main (argc=3D0, argv=3D0x0) at ../../gdb/gdb.c:35