This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

About kgdb for my codes without os support


Hi, folks,

These days, got lots of help from nice fellows in this list. Thanks a lot.

Now, my progress is:

* powerpc-elf-gcc done
* powerpc-eabi-gcc done
//BTW, anyone can tell me the difference between powerpc-elf-gcc and
powerpc-eabi-gcc?
From my understanding, it is: PowerPC EABI-based compiler will follow EABI
conventions, for example,
GPR1 will be used as the stack pointer, and blah blah. Now, my question is:
the powerpc-elf-gcc will use
which register as the stack pointer:--), if not follow EABI convention? You
know, PPC doesn't have a special SP register like x86, which provides Push
and Pop complicated instruction:-(.

* Helloworld compiled with both powerpc-elf-gcc and powerpc-eabi-gcc done
and linked with -msim option done.
* Helloworld tested with both powerpc-elf-run and powerpc-eabi-run.
* Helloworld tested with gdb done. //Need specify target=sim, after gdb
loaded.

Now, a question today: Can I have a kgdb installed for the preparation of my
coming project--codes on top of the raw IBM 405GP board? I mean, I am to
write an small propertiery OS kernel. I would like to have a debugger tool.
Currently I thought gdb can only be used with an target OS support. So, in
my case, ....how to do?

Thanks,

Hua

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]