What OS/distro are you using?
Can you post the full log from the debugger?
Sorry, did forget it.
The OS WinXP, C::B Rev 9410, against wxWdg 2.8.12
I am using the SEGGER J-Link with its GDB Server Version 4.80c, the last one. The commands for it are the following:
target remote localhost:2331
monitor flash device = STM32F429ZI
monitor flash download = 1
monitor flash breakpoints = 1
monitor reset
load
monitor reset
Debug Log
Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: D:\MyProjects\ARM\STM32\STM_LogicAnalyser\
Adding source dir: D:\MyProjects\
Adding file: D:\MyProjects\ARM\STM32\STM_LogicAnalyser\bin\Debug\STM_LogicAnalyser.elf
Changing directory to: D:/MyProjects/ARM/STM32/STM_LogicAnalyser/.
Set variable: PATH=.;D:\Soft\SDKs\ARM\gcc-arm-none-eabi-4_8\arm-none-eabi\lib\thumb;D:\Soft\SDKs\ARM\gcc-arm-none-eabi-4_8\bin;D:\Soft\SDKs\ARM\gcc-arm-none-eabi-4_8;D:\Soft\SDKs\MinGW\bin;D:\Soft\SDKs\MinGW;D:\Soft\SDKs\Xilinx\ISE10.1\EDK\bin\nt;D:\Soft\SDKs\Xilinx\ISE10.1\EDK\lib\nt;D:\Soft\SDKs\Xilinx\ISE10.1\ISE\bin\nt;D:\Soft\SDKs\Xilinx\ISE10.1\ISE\lib\nt;D:\Soft\SDKs\Xilinx\ISE10.1\ISE\smartmodel\nt\installed_nt\lib\pcnt.lib;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\wbem;D:\Soft\SDKs\Xilinx\ISE10.1\ChipScope\bin\nt;d:\Soft\Media\MKVToolNix;C:\Programme\ATI Technologies\ATI.ACE\Core-Static;D:\Soft\MySQL\MySQL Server 5.1\bin;C:\Programme\IVI Foundation\VISA\WinNT\Bin;C:\Programme\TortoiseSVN\bin;D:\Soft\SDKs\ARM\SAM-BA v2.10\drv;D:\Soft\SDKs\ARM\SAM-BA v2.10;c:\cygwin\bin;D:\Soft\SDKs\wxWidgets-2.8.10\lib\gcc_dll;D:\Soft\SDKs\Svn\bin;d:\Soft\Lame
[debug]Command-line: D:\Soft\SDKs\ARM\gcc-arm-none-eabi-4_8\bin\arm-none-eabi-gdb.exe -nx -fullname -quiet -args D:/MyProjects/ARM/STM32/STM_LogicAnalyser/bin/Debug/STM_LogicAnalyser.elf
[debug]Working dir : D:\MyProjects\ARM\STM32\STM_LogicAnalyser
Starting debugger: D:\Soft\SDKs\ARM\gcc-arm-none-eabi-4_8\bin\arm-none-eabi-gdb.exe -nx -fullname -quiet -args D:/MyProjects/ARM/STM32/STM_LogicAnalyser/bin/Debug/STM_LogicAnalyser.elf
done
[debug]> set prompt >>>>>>cb_gdb:
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
[debug]Reading symbols from D:\MyProjects\ARM\STM32\STM_LogicAnalyser\bin\Debug\STM_LogicAnalyser.elf...
[debug]done.
[debug](gdb) >>>>>>cb_gdb:
[debug]> show version
[debug]GNU gdb (GNU Tools for ARM Embedded Processors) 7.6.0.20131129-cvs
[debug]Copyright (C) 2013 Free Software Foundation, Inc.
[debug]License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
[debug]This is free software: you are free to change and redistribute it.
[debug]There is NO WARRANTY, to the extent permitted by law. Type "show copying"
[debug]and "show warranty" for details.
[debug]This GDB was configured as "--host=i586-mingw32 --target=arm-none-eabi".
[debug]For bug reporting instructions, please see:
[debug]<http://www.gnu.org/software/gdb/bugs/>.
[debug]>>>>>>cb_gdb:
[debug]> set confirm off
Debugger name and version: GNU gdb (GNU Tools for ARM Embedded Processors) 7.6.0.20131129-cvs
[debug]>>>>>>cb_gdb:
[debug]> set width 0
[debug]>>>>>>cb_gdb:
[debug]> set height 0
[debug]>>>>>>cb_gdb:
[debug]> set breakpoint pending on
[debug]>>>>>>cb_gdb:
[debug]> set print asm-demangle on
[debug]>>>>>>cb_gdb:
[debug]> set unwindonsignal on
[debug]>>>>>>cb_gdb:
[debug]> set print elements 0
[debug]>>>>>>cb_gdb:
[debug]> set new-console on
[debug]A syntax error in expression, near `new-console on'.
[debug]>>>>>>cb_gdb:
[debug]> set disassembly-flavor att
[debug]No symbol "disassembly" in current context.
[debug]>>>>>>cb_gdb:
[debug]> catch throw
[debug]Catchpoint 1 (throw)
[debug]>>>>>>cb_gdb:
[debug]> source D:\Soft\SDKs\CodeBlocksSVN\CodeBlocksSrc\src\output\share\codeblocks/scripts/stl-views-1.0.3.gdb
[debug]>>>>>>cb_gdb:
[debug]> directory D:/MyProjects/ARM/STM32/STM_LogicAnalyser/
[debug]Source directories searched: D:/MyProjects/ARM/STM32/STM_LogicAnalyser;$cdir;$cwd
[debug]>>>>>>cb_gdb:
[debug]> directory D:/MyProjects/
[debug]Source directories searched: D:/MyProjects;D:/MyProjects/ARM/STM32/STM_LogicAnalyser;$cdir;$cwd
[debug]>>>>>>cb_gdb:
[debug]> target remote localhost:2331
[debug]Remote debugging using localhost:2331
[debug]0x00000000 in ?? ()
[debug]>>>>>>cb_gdb:
[debug]> monitor flash device = STM32F429ZI
In ?? () ()
[debug]> monitor flash device = STM32F429ZI
[debug]Selecting device: STM32F429ZI
[debug]Selecting device: STM32F429ZI
[debug]>>>>>>cb_gdb:>>>>>>cb_gdb:
[debug]> monitor flash download = 1
[debug]Flash download enabled
[debug]>>>>>>cb_gdb:
[debug]> monitor flash breakpoints = 1
[debug]Flash breakpoints enabled
[debug]>>>>>>cb_gdb:
[debug]> monitor reset
[debug]Resetting target
[debug]>>>>>>cb_gdb:
[debug]> load
[debug]Loading section .text, size 0x16654 lma 0x8000000
[debug]Loading section .ctors_dtors, size 0x8 lma 0x8016654
[debug]Loading section .relocate, size 0x918 lma 0x801665c
[debug]Loading section .ARM.extab, size 0x178 lma 0x8017f9c
[debug]Loading section .ARM.exidx, size 0x228 lma 0x8018114
[debug]Start address 0x8004c20, load size 94996
[debug]Transfer rate: 759968 bits in <1 sec, 9499 bytes/write.
[debug]>>>>>>cb_gdb:
[debug]> monitor reset
[debug]Resetting target
[debug]>>>>>>cb_gdb:
[debug]> info locals
[debug]pulSrc = 0x0
[debug]pulDest = 0x0
[debug]cnt = 0
[debug]idx = 0
[debug]>>>>>>cb_gdb:
[debug]> info args
[debug]No arguments.
[debug]>>>>>>cb_gdb:
[debug]> info registers
[debug]r0 0x0 0
[debug]r1 0x0 0
[debug]r2 0x0 0
[debug]r3 0x0 0
[debug]r4 0x0 0
[debug]r5 0x0 0
[debug]r6 0x0 0
[debug]r7 0x0 0
[debug]r8 0x0 0
[debug]r9 0x0 0
[debug]r10 0x0 0
[debug]r11 0x0 0
[debug]r12 0x0 0
[debug]sp 0x0 0x0
[debug]lr 0x0 0
[debug]pc 0x8004c20 0x8004c20 <Default_Reset_Handler>
[debug]xpsr 0x1000000 16777216
[debug]MSP 0x1000ffe0 268500960
[debug]PSP 0x0 0
[debug]PRIMASK 0x0 0
[debug]BASEPRI 0x0 0
[debug]FAULTMASK 0x0 0
[debug]CONTROL 0x2 2
[debug]>>>>>>cb_gdb:
[debug]> bt 30
[debug]#0 Default_Reset_Handler () at src\board\startup_stm32f4xx.c:292
[debug]>>>>>>cb_gdb:
[debug]> x/32xb 0x0
[debug]0x0: 0x00 0x00 0x01 0x10 0x21 0x4c 0x00 0x08
[debug]0x8: 0x21 0x4d 0x00 0x08 0x31 0x4d 0x00 0x08
[debug]0x10: 0x41 0x4d 0x00 0x08 0x51 0x4d 0x00 0x08
[debug]0x18: 0x61 0x4d 0x00 0x08 0x00 0x00 0x00 0x00
[debug]>>>>>>cb_gdb:
Continuing...
[debug]> continue
[debug]Continuing.