msp430-gdb segmentation fault with target remote
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro GDB |
Invalid
|
Undecided
|
Ulrich Weigand | ||
mspgcc |
New
|
Undecided
|
Unassigned | ||
gdb-msp430 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I am doing development using a Texas Instruments EZ430-RF2560. I have set up mspdebug and msp430-gdb. When I try to connect the two msp430-gdb crashes. Here are some details:
1) first start: mspdebug rf2500 "gdb":
mspdebug rf2500 "gdb"
MSPDebug version 0.16 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2011 Daniel Beer <email address hidden>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Trying to open interface 1 on 006
rf2500: warning: can't detach kernel driver: No data available
Initializing FET...
FET protocol version is 30132072
Configured for Spy-Bi-Wire
Set Vcc: 3000 mV
Device ID: 0x0580
Device: MSP430F5438A
Code memory starts at 0x5c00
Number of breakpoints: 8
Bound to port 2000. Now waiting for connection...
2) next try to connect msp430-gdb:
$ msp430-gdb
GNU gdb (Linaro GDB) 7.3
Copyright (C) 2011 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://
(gdb) target remote localhost:2000
Remote debugging using localhost:2000
Segmentation fault
---
Attached is an strace log.
Can you run msp430-gdb itself under control of (the host) GDB, and provide a stack backtrace at the point of crash?
How exactly was your msp430-gdb configured and built? Do you have instructions how to reproduce the overall setup?