Hi everyone,
I was wondering if anyone's had any experience building gdb from source code for the OMAP3503, using the Code Sourcery cross-compilers?
Anyway, I have built gdb using this approach. However, when I try to use it to load an executable image on the board and set a breakpoint, I get the following error in gdb:
Die: DW_TAG_restrict_type (abbrev = 39, offset = 144820)
has children: FALSE
attributes:
DW_AT_type (DW_FORM_ref2) constant ref: 144816 (adjusted)
Dwarf Error: Cannot find type of die [in module /root/nfs_root/testing/test.axf]
Does anyone know why I'm getting this error? I built the executable test.axf using the ARM RealView Development Suite and the Code Sourcery Linux libraries. Are there any specific build options I need to use to debug with gdb? Or is it something to do with my gdb build?
Thanks in advance.