09-28-2015 01:30 PM
I am having trouble using GDB through XMD. After entering the command to connect to the target, the XMD/GDB console seems to hang. The command never completes. I am using SDK 14.7. Any help would be appreciated.
XMD% powerpc-eabi-gdb -nw "C:/Workspace/App/Debug/BmcpApp.elf"
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-mingw32 --target=powerpc-eabi"...
(gdb) set processor powerpc:440
The target architecture is assumed to be powerpc:440
(gdb) target remote localhost:1234
09-28-2015 05:56 PM
is this the first time you are observing the gdb getting hanged or you were able to make it work in other version of tools?
there is a xapp that helps in debugging using gdb. you can have a look at page 10 as a reference
09-29-2015 06:42 AM
This is the first time I am trying to use GDB from the XMD console. I typically just use the SDK GUI to debug but I need to dig a bit deeper for an issue I am tracking. I want to use GDB for this. I was following the doc that you mentioned above. I was folloing the steps: