I tried "step-in" . At the below red coloured branch instruction , program excution stopped: 0x8110036c <arch_start_kernel>: push {r11, lr} - 0x81100370 <arch_start_kernel+4>: add r11, sp, #4 ; 0x4 - 0x81100374 <arch_start_kernel+8>: sub sp, sp, #16 ; 0x10 - 0x81100378 <arch_start_kernel+12>: str r0, [r11, #-16] - 0x8110037c <arch_start_kernel+16>: movw r0, #20632 ; 0x5098 - 0x81100380 <arch_start_kernel+20>: movt r0, #33040 ; 0x8110 - 0x81100384 <arch_start_kernel+24>: bl 0x81102f74 <printf> - 0x81100388 <arch_start_kernel+28>: ldr r3, [r11, #-16] - 0x8110038c <arch_start_kernel+32>: ldr r3, [r3] - 0x81100390 <arch_start_kernel+36>: str r3, [r11, #-8] 0x81100394 <arch_start_kernel+40>: ldr r3, [r11, #-8] - 0x81100398 <arch_start_kernel+44>: mov r0, #0 ; 0x0 0x8110039c <arch_start_kernel+48>: blx r3 0x811003a0 <arch_start_kernel+52>: sub sp, r11, #4 ; 0x4 - 0x811003a4 <arch_start_kernel+56>: pop {r11, pc}
Can you please give the command to run emulator using gdb ( witout insight GUI). I will try that. 2011/3/31 Dawid Ciężarkiewicz <daw...@b-labs.com> > On Thu, Mar 31, 2011 at 2:03 PM, Kirangadu bobbu <uandki...@gmail.com> > wrote: > > I can see something like this in console WINDOW OF INSIGHT: > > > > 0x81103194 in vfprintf (stream=0xe8bd8800, format=0x81102bb0 "", > arg={__ap = > > 0x81149544}) at loader/libs/c/src/vfprintf.c:90 > > 0x81102fa8 in printf (format=0x81102bb0 "") at > loader/libs/c/src/printf.c:97 > > 0x81102fc0 in printf (format=0x0) at loader/libs/c/src/printf.c:100 > > arch_start_kernel (entry=0x81102bb0) at loader/main.c:106 > > 0xe8bd8800 in ?? () > > I'm not using Insight myself so I may be wrong, but I think > arch_start_kernel never returns and you're using "step over". Try "si" > or "step-in". > > -- > Dawid Ciężarkiewicz > B-Labs. http://b-labs.com/ >
_______________________________________________ codezero-devel mailing list codezero-devel@lists.l4dev.org http://lists.l4dev.org/mailman/listinfo/codezero-devel_lists.l4dev.org