More useful callstack:
Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x08061dec in frame_unwind_find_by_frame (this_frame=0x845ccc8, this_cache=0x845ccd4) at frame-unwind.c:113
#2 0x08061200 in get_frame_type (frame=0x845ccc8) at frame.c:2199
#3 0x08132a44 in print_frame_info (frame=0x845ccc8, print_level=0, print_what=SRC_AND_LOC, print_args=1) at stack.c:539
#4 0x0813211d in print_stack_frame_stub (args=0xbfffe5d0) at stack.c:101
#5 0x081394e3 in catch_errors (func=0x81320c0 <print_stack_frame_stub>, func_args=0xbfffe5d0, errstring=0x830cf70 "", mask=2) at exceptions.c:521
#6 0x08132298 in print_stack_frame (frame=0x845ccc8, print_level=0, print_what=SRC_AND_LOC) at stack.c:149
#7 0x0812c875 in normal_stop () at infrun.c:5825
#8 0x081266bc in start_remote (from_tty=1) at infrun.c:2246
#9 0x08073442 in remote_start_remote (uiout=0x846d0c8, opaque=0xbfffe820) at remote.c:3279
#10 0x0813932b in catch_exception (uiout=0x846d0c8, func=0x8072fa0 <remote_start_remote>, func_args=0xbfffe820, mask=6) at exceptions.c:471
#11 0x08074490 in remote_open_1 (name=0x84208d6 "localhost:2000", from_tty=1, target=0x83d5cc0, extended_p=0) at remote.c:4055
#12 0x080736fc in remote_open (name=0x84208d6 "localhost:2000", from_tty=1) at remote.c:3390
#13 0x08096d17 in do_cfunc (c=0x84313f0, args=0x84208d6 "localhost:2000", from_tty=1) at ./cli/cli-decode.c:67
#14 0x08099692 in cmd_func (cmd=0x84313f0, args=0x84208d6 "localhost:2000", from_tty=1) at ./cli/cli-decode.c:1777
#15 0x080557f6 in execute_command (p=0x84208e3 "0", from_tty=1) at top.c:428
#16 0x081405d1 in command_handler (command=0x84208c8 "") at event-top.c:499
#17 0x08140ba0 in command_line_handler (rl=0x846ef50 "target remote localhost:2000") at event-top.c:704
#18 0x08240ef8 in rl_callback_read_char () at callback.c:205
#19 0x0813fc63 in rl_callback_read_char_wrapper (client_data=0x0) at event-top.c:177
#20 0x081404c9 in stdin_event_handler (error=0, client_data=0x0) at event-top.c:434
#21 0x0813f0a8 in handle_file_event (data=...) at event-loop.c:831
#22 0x0813e7f5 in process_event () at event-loop.c:402
#23 0x0813e893 in gdb_do_one_event (data=0x0) at event-loop.c:455
#24 0x081394e3 in catch_errors (func=0x813e803 <gdb_do_one_event>, func_args=0x0, errstring=0x82e5cab "", mask=6) at exceptions.c:521
#25 0x080ae246 in tui_command_loop (data=0x0) at ./tui/tui-interp.c:172
#26 0x08139bce in current_interp_command_loop () at interps.c:291
#27 0x0804c322 in captured_command_loop (data=0x0) at ./main.c:228
#28 0x081394e3 in catch_errors (func=0x804c317 <captured_command_loop>, func_args=0x0, errstring=0x82cd1f9 "", mask=6) at exceptions.c:521
#29 0x0804d21d in captured_main (data=0xbfffed10) at ./main.c:936
#30 0x081394e3 in catch_errors (func=0x804c358 <captured_main>, func_args=0xbfffed10, errstring=0x82cd1f9 "", mask=6) at exceptions.c:521
#31 0x0804d253 in gdb_main (args=0xbfffed10) at ./main.c:945
#32 0x0804c0a6 in main (argc=1, argv=0xbfffedc4) at gdb.c:35
(tested with MSP430 LaunchPad (MSP-EXP430G2), http:// processors. wiki.ti. com/index. php/MSP430_ LaunchPad_ %28MSP- EXP430G2% 29)
More useful callstack: find_by_ frame (this_frame= 0x845ccc8, this_cache= 0x845ccd4) at frame-unwind.c:113 SRC_AND_ LOC, print_args=1) at stack.c:539 frame_stub (args=0xbfffe5d0) at stack.c:101 stack_frame_ stub>, func_args= 0xbfffe5d0, errstring=0x830cf70 "", mask=2) at exceptions.c:521 SRC_AND_ LOC) at stack.c:149 start_remote> , func_args= 0xbfffe820, mask=6) at exceptions.c:471 decode. c:67 decode. c:1777 line_handler (rl=0x846ef50 "target remote localhost:2000") at event-top.c:704 read_char () at callback.c:205 read_char_ wrapper (client_data=0x0) at event-top.c:177 interp. c:172 interp_ command_ loop () at interps.c:291 command_ loop (data=0x0) at ./main.c:228 command_ loop>, func_args=0x0, errstring=0x82cd1f9 "", mask=6) at exceptions.c:521 0xbfffed10, errstring=0x82cd1f9 "", mask=6) at exceptions.c:521
Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x08061dec in frame_unwind_
#2 0x08061200 in get_frame_type (frame=0x845ccc8) at frame.c:2199
#3 0x08132a44 in print_frame_info (frame=0x845ccc8, print_level=0, print_what=
#4 0x0813211d in print_stack_
#5 0x081394e3 in catch_errors (func=0x81320c0 <print_
#6 0x08132298 in print_stack_frame (frame=0x845ccc8, print_level=0, print_what=
#7 0x0812c875 in normal_stop () at infrun.c:5825
#8 0x081266bc in start_remote (from_tty=1) at infrun.c:2246
#9 0x08073442 in remote_start_remote (uiout=0x846d0c8, opaque=0xbfffe820) at remote.c:3279
#10 0x0813932b in catch_exception (uiout=0x846d0c8, func=0x8072fa0 <remote_
#11 0x08074490 in remote_open_1 (name=0x84208d6 "localhost:2000", from_tty=1, target=0x83d5cc0, extended_p=0) at remote.c:4055
#12 0x080736fc in remote_open (name=0x84208d6 "localhost:2000", from_tty=1) at remote.c:3390
#13 0x08096d17 in do_cfunc (c=0x84313f0, args=0x84208d6 "localhost:2000", from_tty=1) at ./cli/cli-
#14 0x08099692 in cmd_func (cmd=0x84313f0, args=0x84208d6 "localhost:2000", from_tty=1) at ./cli/cli-
#15 0x080557f6 in execute_command (p=0x84208e3 "0", from_tty=1) at top.c:428
#16 0x081405d1 in command_handler (command=0x84208c8 "") at event-top.c:499
#17 0x08140ba0 in command_
#18 0x08240ef8 in rl_callback_
#19 0x0813fc63 in rl_callback_
#20 0x081404c9 in stdin_event_handler (error=0, client_data=0x0) at event-top.c:434
#21 0x0813f0a8 in handle_file_event (data=...) at event-loop.c:831
#22 0x0813e7f5 in process_event () at event-loop.c:402
#23 0x0813e893 in gdb_do_one_event (data=0x0) at event-loop.c:455
#24 0x081394e3 in catch_errors (func=0x813e803 <gdb_do_one_event>, func_args=0x0, errstring=0x82e5cab "", mask=6) at exceptions.c:521
#25 0x080ae246 in tui_command_loop (data=0x0) at ./tui/tui-
#26 0x08139bce in current_
#27 0x0804c322 in captured_
#28 0x081394e3 in catch_errors (func=0x804c317 <captured_
#29 0x0804d21d in captured_main (data=0xbfffed10) at ./main.c:936
#30 0x081394e3 in catch_errors (func=0x804c358 <captured_main>, func_args=
#31 0x0804d253 in gdb_main (args=0xbfffed10) at ./main.c:945
#32 0x0804c0a6 in main (argc=1, argv=0xbfffedc4) at gdb.c:35