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

2001-07-30 Thread Sheldon Hearn
On Mon, 30 Jul 2001 09:04:06 MST, John Polstra wrote: > OK, sounds good to me. In your private mail you seemed to be asking > why only the debugging symbols are stripped from the kernel instead > of stripping all symbols. In that case, any objections to the patch I posted? :-) Ciao, Sheldon.

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 wit

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 f

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 t

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 post-mo