Dear =?iso-8859-1?Q?Bj=F8rnar_Syverstad?=, In message <3f466ddf09a55d46858fc39b22de56f23a30259...@pat.prediktor.no> you wrote: > > I am trying to debug the u-boot with help of gdb + eclipse. Useing the > phy3250_config. > > The problem is that when debugging, the listed source code seems to be out of > sync. > The debugger pointer in the source code, seems not to point to the correct > source code.
Did you read the manual, for example here: http://www.denx.de/wiki/view/DULG/DebuggingTricks > The assembler windows shows typical this: > > <source line is not available> ... > It does miss the code in "<source line is not available>" So what? Eventually the compiler optimized this code away, of shifted it to some other place where you don;t expect it. > I did look at u-boot.lds and did not find any debug sections. The linker script has little to do with that. > Is there something parameters to make to add more debug information? I don't think that this is your problem. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de Motto of the Electrical Engineer: Working computer hardware is a lot like an erect penis: it stays up as long as you don't fuck with it. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot