Recent

Author Topic: No line number information?  (Read 8555 times)

EdoReshef

  • Newbie
  • Posts: 2
No line number information?
« on: August 23, 2006, 04:55:51 pm »
Hi,
When trying to debug simple consule project on WinXP platform I found the debuger is not able pause/step in the source files. when placing a breakpoint, the application does breaks, however, execution pointer is not visable and I get the "(Some day an assembler window might popup here :)" dialog.

when in gdb window I enter "info line main" I get:
"No line number information available for address 0x..... <main>"

GBD Debug info (-g) is enabled in: Project -> Complier Options -> Linking.

Do I really missing the debug line no info?
Do I need to enable anything else?

Best Regards,
Edo

CCRDude

  • Hero Member
  • *****
  • Posts: 596
RE: No line number information?
« Reply #1 on: August 23, 2006, 05:40:33 pm »
In the Projects Compiler Options, have you also checked the -gl option on the linker page?

EdoReshef

  • Newbie
  • Posts: 2
RE: No line number information?
« Reply #2 on: August 23, 2006, 05:53:39 pm »
-gl option was enabled.
Anyway, I just found what was the problem,
It seams that gdb v6.0 (that comes with lazarus v0.9.16 beta) is unable to read debug info of FPC v2.1.1.
When I complied the application using FPC 2.0.2 it worked for some reason.

Ideas why?

 

TinyPortal © 2005-2018