From: Shaun Jackman <sjackman@gmail.com>
To: gdb@sources.redhat.com
Subject: arm-elf-gdb crash in get_frame_pc
Date: Wed, 21 Dec 2005 17:23:00 -0000 [thread overview]
Message-ID: <7f45d9390512210923t1b448ff6o@mail.gmail.com> (raw)
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=0x0) at ../../gdb/frame.c:1321
1321 gdb_assert (frame->next != NULL);
(gdb) bt
#0 0x08143e19 in get_frame_pc (frame=0x0) at ../../gdb/frame.c:1321
#1 0x080c2a2c in insert_step_resume_breakpoint_at_frame (return_frame=0x0)
at ../../gdb/infrun.c:2754
#2 0x080c58ed in handle_inferior_event (ecs=0xffffd1bc)
at ../../gdb/infrun.c:2525
#3 0x080c607d in wait_for_inferior () at ../../gdb/infrun.c:1001
#4 0x080c6221 in proceed (addr=4294967295, siggnal=TARGET_SIGNAL_DEFAULT,
step=1) at ../../gdb/infrun.c:826
#5 0x080bfe8c in step_1 (skip_subroutines=0, single_inst=0, count_string=0x0)
at ../../gdb/infcmd.c:717
#6 0x08050a07 in execute_command (p=0x82ab991 "", from_tty=1)
at ../../gdb/top.c:451
#7 0x080d16cf in command_handler (command=0x82ab990 "s")
at ../../gdb/event-top.c:508
#8 0x080d1baf in command_line_handler (rl=0x836fd60 "")
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=0x0)
at ../../gdb/event-top.c:174
#11 0x080d0852 in handle_file_event (event_file_desc=0)
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=0x0) at ../../gdb/event-loop.c:378
#14 0x080cde73 in catch_errors (func=0x80d0a50 <gdb_do_one_event>,
func_args=0x0, errstring=0x8204fcd "", mask=6)
at ../../gdb/exceptions.c:515
#15 0x08081883 in tui_command_loop (data=0x0) 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=0x0) at ../../gdb/main.c:101
#18 0x080cde73 in catch_errors (func=0x804bb90 <captured_command_loop>,
func_args=0x0, errstring=0x8204fcd "", mask=6)
at ../../gdb/exceptions.c:515
#19 0x0804c2b3 in captured_main (data=0xffffd8a6) at ../../gdb/main.c:834
#20 0x080cde73 in catch_errors (func=0x804bc00 <captured_main>,
func_args=0xffffd6b8, errstring=0x8204fcd "", mask=6)
at ../../gdb/exceptions.c:515
#21 0x0804bbf3 in gdb_main (args=0x0) at ../../gdb/main.c:843
#22 0x0804bb7f in main (argc=0, argv=0x0) at ../../gdb/gdb.c:35
next reply other threads:[~2005-12-21 17:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-21 17:23 Shaun Jackman [this message]
2005-12-21 17:31 ` Shaun Jackman
2005-12-21 18:18 ` Daniel Jacobowitz
2005-12-21 20:21 ` Shaun Jackman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7f45d9390512210923t1b448ff6o@mail.gmail.com \
--to=sjackman@gmail.com \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox