Hi ,
I went on step by step excution in assembly mode,
at the instruction bl <arch_start_kernel> , GUI is not responsding any more
even i gave step over command:
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 ?? ()*
Also in source window of insight I can see a message like this :
Select function name to disassemble:
Please find the attached screenshot as well:
Also one more question:
Where can i view the messages from printf calls during program excution.
Also I was not able debug with C code. I was able to debug with assembly
only.
-Kiran
2011/3/31 Dawid Ciężarkiewicz <[email protected]>
> On Thu, Mar 31, 2011 at 12:53 PM, Kirangadu bobbu <[email protected]>
> wrote:
> > Hello,
>
> Hi,
>
> > I am new to this codezero environment.
> > I tried building helloworld program as per the documentation.
> > But i tried running final .elf in insight where it got strucked at the
> call
> > :
> > bl <arch_start_kernel>
> > in main.c
> >
>
> What do you mean by "strucked"? I assume it's "stucked", but that does
> not explain a lot. Which action have you used? Try using "si" in gdb
> console to step instruction after instruction.
>
> You might need to have added correct breakpoints, etc.
>
> Usually gdb / insight "stucked" means that it's doing it's working but
> is not being triggered by any breakpoint.
>
>
> --
> Dawid Ciężarkiewicz
> B-Labs. http://b-labs.com/
>
_______________________________________________
codezero-devel mailing list
[email protected]
http://lists.l4dev.org/mailman/listinfo/codezero-devel_lists.l4dev.org