arm-none-eabi-gdb crashes with segfault:11
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Arm Embedded Toolchain |
Fix Released
|
Critical
|
Terry Guo |
Bug Description
I use prebuilt arm-none-eabi-gdb.
GNU gdb (GNU Tools for ARM Embedded Processors) 7.4.1.20130913-cvs
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=
For bug reporting instructions, please see:
<http://
And openOCD
Open On-Chip Debugger 0.7.0 (2013-11-03-19:15)
On Mac OS X
Darwin skynet-air.local 12.5.0 Darwin Kernel Version 12.5.0: Mon Jul 29 16:33:49 PDT 2013; root:xnu-
I am trying to program stm32f303vct6 on stm32f3discovery.
This command sequence makes gdb to fail.
./arm-none-eabi-gdb
(gdb) tar ext :3333
(gdb) file firmware.elf
(gdb) monitor reset halt
(gdb) load
(gdb) b 2
Fault
But this sequence do not.
./arm-none-eabi-gdb firmware.elf
(gdb) tar ext :3333
(gdb) monitor reset halt
(gdb) load
(gdb) b 2
Succes.
Firmware.elf is attached to this post.
Changed in gcc-arm-embedded: | |
assignee: | Kirill Snezhko (kirill-snezhko) → nobody |
status: | New → Confirmed |
status: | Confirmed → New |
Changed in gcc-arm-embedded: | |
assignee: | nobody → Terry Guo (terry.guo) |
Changed in gcc-arm-embedded: | |
milestone: | 4.7-2014-q1-update → none |
milestone: | none → 4.8-2013-q4-major |
Changed in gcc-arm-embedded: | |
status: | Fix Committed → Fix Released |
For the failed case, can you please run gdb command "set debug remote 1" right before the "tar ext" command? Then GDB will output more log messages, they might help us to analyze the issue. And if possible, please paste the log message here. Thanks.