MSP430 GDB problem.

Started by edson in comp.arch.embedded12 years ago 5 replies

Greetings. I'm not sure this is the appropriate forum for this query but I haven't been able to find a forum dedicated to the MSP430 port of...

Greetings. I'm not sure this is the appropriate forum for this query but I haven't been able to find a forum dedicated to the MSP430 port of GDB. I am using msp430-gdb GNU gdb 5.1.1 Code is compiled with msp430-gcc version 3.3 debugging options are enabled. msp430-gdb works fine except that arguments to functions can't be examined. Ie when I put a breakpoint inside a function the values i...


mb-gdb: problem simulating memory mapped i/o devices

Started by Anonymous in comp.arch.embedded10 years ago 1 reply

Hello, I'm trying to simulate a C program in MB-GDB but I get trouble when trying to simulate memory based I/O devices. I'm not using...

Hello, I'm trying to simulate a C program in MB-GDB but I get trouble when trying to simulate memory based I/O devices. I'm not using Microblaze but a improved Openfire core (same ISA) so microblaze toolchain is working for me (I also modified some TCL script inside mb-gdb in order to use the gdb's microblaze simulator instead of XMD). Seems that GDB marks or initialize only memor...


debugging arm executuble with gdb

Started by Anonymous in comp.arch.embedded5 years ago 2 replies

Hi, I have compiled linux kernel with arm-eabi toolchain on Ubuntu. The kernel is working. Now I'd like to debug it with gdb. I tried this...

Hi, I have compiled linux kernel with arm-eabi toolchain on Ubuntu. The kernel is working. Now I'd like to debug it with gdb. I tried this command: arm-eabi-gdb vmlinux My questions: Which gdb should I use? There is a gdb in the arm-eabi (downloaded with android) toolchain. This will good? I have tried that but I have got Don't know how to run. Try "help target" error message. I t...


Writing memory with GDB.

Started by Joseph Casey in comp.arch.embedded13 years ago 1 reply

Greetings. Can I write memory locations with GDB? I have been looking through Debugging With GDB and a few tutorials but can't find anything -...

Greetings. Can I write memory locations with GDB? I have been looking through Debugging With GDB and a few tutorials but can't find anything - only how to read memory and write to variables. I am using GDB 5.1.1 for TI MSP430 in text mode but I expect the commands would be the same as for native debugging. Help appreciated. Joseph Casey.


U-Boot BDI2000 GDB Debug Problem

Started by Anonymous in comp.arch.embedded13 years ago 1 reply

I am trying to debug U-Boot using the BDI2000 and gdb. When I enter "c" for continue, I get "Program received signal SIGSTOP,...

I am trying to debug U-Boot using the BDI2000 and gdb. When I enter "c" for continue, I get "Program received signal SIGSTOP, Stopped (signal)." (see below) Does anyone know what causes this? Thank you. $ /opt/Embedix/tools/bin/powerpc-linux-gdb GNU gdb 5.1.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are we...


gdb stub for AVR: breakpoints and single stepping

Started by Ico in comp.arch.embedded12 years ago 3 replies

Hello, I'm working on a `gdb stub' to allow debugging of code in an Atmel AVR processor using gdb running on the host platform. Communication...

Hello, I'm working on a `gdb stub' to allow debugging of code in an Atmel AVR processor using gdb running on the host platform. Communication between gdb and the stub is done over RS232. At this moment my platform is the at90can128, but other AVR types should work as well with little change. The stub is implemented as an interrupt handler on the serial-rx interrupt. When the ISR is acti...


msp-gdb message?

Started by Martin in comp.arch.embedded12 years ago 3 replies

Hi, does anybody know what this gdb error message means? This GDB was configured as...

Hi, does anybody know what this gdb error message means? This GDB was configured as "--host=i686-pc-cygwin --target=msp430"..."/home/tst/LCD/test_1": not in executable format: File format not recognized Thanks in advance, Martin.


Usefulness of GDB on embedded systems

Started by hikari in comp.arch.embedded13 years ago 8 replies

I am a newcomer to Embedded Systems. I have an Atmel AT91EB40A and an EB55. After building GNU toolchain following the procedure described...

I am a newcomer to Embedded Systems. I have an Atmel AT91EB40A and an EB55. After building GNU toolchain following the procedure described in "Embedded System Design on a Shoestring", I was disappointed to find that GDB does not seem to work too well. Using GDB 5.2/Cygwin 1.3.16, I can download and run a program and set breakpoints. But that is as far as I got. I could not not single step t...


OFFTOPIC?: arm-linux-gnueabi-gdb error with cortex-m3 code

Started by jackbenimble in comp.arch.embedded4 years ago 9 replies

So I have encountered a very odd gdb error that I cant make sense of. I am using version 4.4.5 of the gcc tools (arm-linux-gnueabi) and version...

So I have encountered a very odd gdb error that I cant make sense of. I am using version 4.4.5 of the gcc tools (arm-linux-gnueabi) and version 7.0.1 of the gdb (arm-linux-gnueabi) debugger. I am using stm32f103 cortex-m3 board Basically gdb seems to be clobbering the values passed to functions. Heres an example: Breakpoint 1, main () at apps/core/core_test.c:46 46 wdTemp = wdT...


GDB internal question

Started by Sunny in comp.arch.embedded12 years ago 6 replies

Hi, I am new to this group. So please excuse me if my question is not proper for this group. I want to retarget gdb to debug an embedded Nios...

Hi, I am new to this group. So please excuse me if my question is not proper for this group. I want to retarget gdb to debug an embedded Nios II processor. This processor is inside an Altera Stratix II FPGA which supports JTAG Boundary scan. I want to know, how does a host based debugger actually works, eg on Linux . So when I run some program ( gdb ./a.out) and then send a command ...


msp430 - basic gdb initialization question

Started by Borat in comp.arch.embedded11 years ago 8 replies

Using Cywin, msp430gcc etc on my laptop running XP I've finally managed to compile & get the code running in the hardware (yes it...

Using Cywin, msp430gcc etc on my laptop running XP I've finally managed to compile & get the code running in the hardware (yes it blinks....woohoo) I've been trying to find out out to confiure the initialization for the gdb debugger. The documentation and googling tells me I should be able to find a gdb.ini or x.gdbinit file into which I can enter the: *remote address *remotetimeout ...


Remote debugging using GDB

Started by Anonymous in comp.arch.embedded11 years ago 2 replies

Hi, I'am trying to debugg a program loaded into a freescale M52233DEMO evaluation board. I'am starting GDB and than connects to the...

Hi, I'am trying to debugg a program loaded into a freescale M52233DEMO evaluation board. I'am starting GDB and than connects to the ev-board using the following command: target remote | m68k-elf-cfpe-stub -d USBMultilink -t m52235evb I can than communicate with the board using different GDB commands. I can view memory and register content, disassemble, set and view breakpoints. So ...


breakpoints with MSP430-gdb

Started by Bhanu Nagendra P. in comp.arch.embedded13 years ago 4 replies

Hello, I am trying to debug code running on an MSP430 over a parallel port with my own version of gdbproxy. For most part it work fine. However...

Hello, I am trying to debug code running on an MSP430 over a parallel port with my own version of gdbproxy. For most part it work fine. However when I set multiple breakpoints, then on hitting the first breakpoint gdb instructions the proxy to remove ALL breakpoints. I have two questions: * Should (msp430-) gdb really try to remove a breakpoint once it is hit? * Even if so why does it tr...


Redhat GDB Debugger problem with 80200EVB board. I got the error "Remote failure reply: E03"

Started by Anonymous in comp.arch.embedded12 years ago 2 replies

I am working on a university research project and I got this problem. I tried to use Redhat GDB debugger to send an exe program to...

I am working on a university research project and I got this problem. I tried to use Redhat GDB debugger to send an exe program to 80200EVB board in Microsoft window 2000. I can successfully connect the 80200EVB board by the serial cable, and Redhat GDB debugger can detect the connection. The target setting was remote/series. I use the download option in Redhat GDB debugger to download the pr...


gdb on arm-linux which actually groks pthreads?

Started by msg in comp.arch.embedded11 years ago 3 replies

Greetings: Until recently I had not needed to debug code using pthreads on arm-linux; now I discover that gdb 5.3 and gdb 6.5 both built with...

Greetings: Until recently I had not needed to debug code using pthreads on arm-linux; now I discover that gdb 5.3 and gdb 6.5 both built with thread support and built against our glibc2.2.2 (sorry, can't upgrade) produce no output for threads-related commands. gdbserver 5.3 lists only 'thread 1' regardless of the number of created threads. I can't build gdbserver 6.5 against our glibc. ...


ARM GDB debugging.

Started by premjithav in comp.arch.embedded6 years ago 13 replies

i'm a newbie in Embedded world. I need some clarification about the arm gdb debugging. 1. Is there any options to debug the board through...

i'm a newbie in Embedded world. I need some clarification about the arm gdb debugging. 1. Is there any options to debug the board through serial port ? how? 2. All search results about the arm debugging are related with some kind of external hardware and JTAG why? 3. I found results about gdb stubs for some non arm architecture. is there any stub for arm without a external hardware or JTAG...


Use IAR Embedded Workbench V4.20 for Atmel AVR with gdb

Started by heiko in comp.arch.embedded11 years ago 1 reply

Hello, is it possible to use the "IAR Embedded Workbench V4.20 for Atmel AVR" with the debugger "gdb"? Gdb needs an *.elf-file but IAR...

Hello, is it possible to use the "IAR Embedded Workbench V4.20 for Atmel AVR" with the debugger "gdb"? Gdb needs an *.elf-file but IAR dosn=B4t create this file. WBR Heiko


Cygwin environment Debugging Support for the BDM coldfire is not there with the GDB of Cygwin tool chain

Started by KBG in comp.arch.embedded11 years ago 6 replies

Hi Friends, I am now trying to compile the Codwarrior code( MCF5272 processor ) and play with it. But there are some issues with debugging...

Hi Friends, I am now trying to compile the Codwarrior code( MCF5272 processor ) and play with it. But there are some issues with debugging it. The hardware support for the BDM coldfire is not there with the GDB of Cygwin tool chain. http://www.macraigor.com/gnu/hwsupport-2.17.exe GDB talks to the target through this tool and the P&E Micro BDM interface from the Cygwin Environment. h...


Adding buttons to GDB/Insight

Started by John McCabe in comp.arch.embedded10 years ago 2 replies

Dear All, Please forgive this cross-posting, but I wasn't sure which newgroup appeared to be the most appropriate, given the limited number of...

Dear All, Please forgive this cross-posting, but I wasn't sure which newgroup appeared to be the most appropriate, given the limited number of posts on this subject that I can find on Google Groups. If you know of a more appropriate group to contact please let me know. Now to the question... We are using GDB/Insight (well, sde-insight, it's a MIPS based system) for debugging. We've fo...


MSP430-gdb

Started by Joseph Casey in comp.arch.embedded13 years ago 2 replies

Greetings. I have been using MSP430-gdb on linux succesfully with the MSP430F149 chip. However when I use the MSP430F169 chip the device is not...

Greetings. I have been using MSP430-gdb on linux succesfully with the MSP430F149 chip. However when I use the MSP430F169 chip the device is not recognised and the "erase" command does not work. Other commands work OK eg "load" and "continue" I would appreciate if somebody could suggest a solution or a workaround. Can I set the device type directly? perhaps there is an extension to the...