Issue in blackfin toolchain

Rohan Kangralkar rohankangralkar at yahoo.com
Thu May 12 21:41:31 UTC 2011


Hi,

I am using the rtems blackfin tools to build and debug my board that
contains analog devices BF527 processor.

The issue i am facing is that I am not able to place breakpoints in some
part of my c code. So the debugging is becoming difficult. GDB complains
"No line 291 in file" even though the file has more that 300 lines of code.

I use the compiler, debugger provided by rtems4.11 for debugging my
application.

After some debugging and analysis of the mapping the line number in the elf
to the C code in the file using objdump i find the following.
1.  executing the bfin-elf-objdump (  analog devices toolchain) on the elf
the following error is thrown out

BFD: Dwarf Error: mangled line number section.

2. but the objdump from rtems does not complain.




So
How do i correct the issue in the rtems blackfin gdb?
I also observe that analog devices have their own gdb-proxy but rtems does
not provide gpd-proxy
should the gdb-proxy also be included in the rtems bfin toolchain?


Thankyou
Rohan Kangralkar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20110512/04d9576e/attachment.html>


More information about the users mailing list