Re: Why objcopy --strip-debug instead of strip?

2001-07-30 Thread John Polstra
In article [EMAIL PROTECTED], Sheldon Hearn [EMAIL PROTECTED] wrote: On Sun, 29 Jul 2001 14:26:41 MST, John Polstra wrote: I don't understand what this has to do with how the kernel is stripped. The current modules build attached to buildkernel doesn't generate modules with debugging

Why objcopy --strip-debug instead of strip?

2001-07-29 Thread Sheldon Hearn
Hi folks, When the kernel is built as kernel.debug, why is it passed through objcopy --strip-debug before being installed, instead of being passed through strip? Background: I recently found that the Handbook instructions for Debugging Loadable Modules Using GDB is mostly useless for

Re: Why objcopy --strip-debug instead of strip?

2001-07-29 Thread John Polstra
In article [EMAIL PROTECTED], Sheldon Hearn [EMAIL PROTECTED] wrote: When the kernel is built as kernel.debug, why is it passed through objcopy --strip-debug before being installed, instead of being passed through strip? If you strip all of the symbols from the kernel then nothing that

Re: Why objcopy --strip-debug instead of strip?

2001-07-29 Thread Sheldon Hearn
On Sun, 29 Jul 2001 14:26:41 MST, John Polstra wrote: I don't understand what this has to do with how the kernel is stripped. The current modules build attached to buildkernel doesn't generate modules with debugging symbols, regardless of whether CONFIGARGS='-g' was specified. I want to