Bug 19033 - [msp430-elf] Failure to read line numbers
Summary: [msp430-elf] Failure to read line numbers
Status: NEW
Alias: None
Product: gdb
Classification: Unclassified
Component: gdb (show other bugs)
Version: 7.10
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-30 19:20 UTC by Orlando Arias
Modified: 2015-09-30 19:31 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
Source file (198 bytes, text/x-c)
2015-09-30 19:20 UTC, Orlando Arias
Details
compiled binary (2.97 KB, application/x-executable)
2015-09-30 19:21 UTC, Orlando Arias
Details
gdb log and readelf output (2.89 KB, text/plain)
2015-09-30 19:21 UTC, Orlando Arias
Details
linker script (3.14 KB, text/x-csrc)
2015-09-30 19:22 UTC, Orlando Arias
Details

Note You need to log in before you can comment on or make changes to this bug.
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