Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Curtis Veit <curtisv@lineo.com>
To: ldavies@oz.agile.tv
Cc: linux-mips@oss.sgi.com
Subject: Re: Small remote debug kernels??
Date: Wed, 28 Feb 2001 15:53:37 -0700	[thread overview]
Message-ID: <20010228155337.A1136@lineo.com> (raw)
In-Reply-To: <3A95E682.982AC529@agile.tv>; from ldavies@agile.tv on Fri, Feb 23, 2001 at 02:26:42PM +1000


Hi Liam,

On Fri, Feb 23, 2001 at 02:26:42PM +1000, Liam Davies wrote:
> I would like to remote debug my kernel.
> On the Cobalt box I have there is (allegedly) a bootloader bug that
> stops the
> kernel being any larger than 1M/2.5M, compressed/uncompressed.
> I have stripped the kernel bare but can't get much lower than 6M
> uncompressed.
> 
> Is there any way I can have a mini-remote debugging kernel??

It sounds like the kernel on the target system still has the
debug symbols in it. The symbols are actually only needed 
in the kernel on the host end.  (present on the same machine
as gdb.)

You can strip the kernel you put on your target with
	strip --strip-unneeded vmlinux
This should allow you to use more then a bare kernel.

It seems that you have fallen prey to a common misconception
about remote debugging.  Hope this helps.

Regards,

Curtis Veit
curtisv@lineo.com

      parent reply	other threads:[~2001-02-28 22:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-23  4:26 Small remote debug kernels?? Liam Davies
2001-02-23 11:37 ` Ralf Baechle
2001-02-28 22:53 ` Curtis Veit [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010228155337.A1136@lineo.com \
    --to=curtisv@lineo.com \
    --cc=ldavies@oz.agile.tv \
    --cc=linux-mips@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox