Bug 19033

Summary: [msp430-elf] Failure to read line numbers
Product: gdb Reporter: Orlando Arias <oarias>
Component: gdbAssignee: Not yet assigned to anyone <unassigned>
Status: NEW ---    
Severity: normal CC: oarias
Priority: P2    
Version: 7.10   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Attachments: Source file
compiled binary
gdb log and readelf output
linker script

Description Orlando Arias 2015-09-30 19:20:00 UTC
Created attachment 8654 [details]
Source file

Greetings,

I have been experimenting with the msp430-elf port of GDB and I have run into the situation where it is unable to read line numbers for some functions. Both readelf and objdump are able to see the line numbers, however gdb does not populate the necessary entries.

Attached to this report is the test source file, a compiled binary, the linker script used and the gdb log with readelf information appended. The compiler command issued was

$ msp430-elf-gcc -o test.elf -mmcu=msp430f2013 -O0 -g test.c

Using gcc 5.2.0, binutils 2.25.1 and newlib 2.2.0.20150824.

Please let me know if more information is needed. Thank you.

Cheers,
Orlando.
Comment 1 Orlando Arias 2015-09-30 19:21:08 UTC
Created attachment 8655 [details]
compiled binary
Comment 2 Orlando Arias 2015-09-30 19:21:33 UTC
Created attachment 8656 [details]
gdb log and readelf output
Comment 3 Orlando Arias 2015-09-30 19:22:05 UTC
Created attachment 8657 [details]
linker script