Thread (8 messages) 8 messages, 6 authors, 2000-09-07

Re: question about 'r2' !!!

flat view

From: Michael Schmitz <hidden>
Date: 2000-09-06 20:41:09

quoted
The mind fairly boggles. Anyway, once upon a time, current wasn't kept in
a register but in memory. And if r2 won't do, just pick another register
and tell the compiler not to touch it. Hope your compiler of choice has
such a thing as --fixed-r2 ...
And if you want to use kgdb to debug your kernel, gdb knows that current is r2...
If you're unable to use gcc for building your kernels, chances are there
won't be a gdb around either. I fully expect to see yet another kernel
debugger option in the kernel if that sort of 'build a Linux kernel using
the compiler of your choice' game does catch on. If you can get the kernel
to build without relying on gcc, adding a new remote debug stub should not
pose a major problem.

For the rest of us, let's stick to gcc and friends.

	Michael


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help