All of lore.kernel.org
 help / color / mirror / Atom feed
From: Prabhu Chawandi <prabhu.chavandi@gmail.com>
To: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-mips@vger.kernel.org
Subject: Setting up KGDB environment on MIPS Processor.
Date: Tue, 30 Mar 2010 12:42:36 +0530	[thread overview]
Message-ID: <241b8f7b1003300012j6485f4d3hef0e5ae9c1155791@mail.gmail.com> (raw)

Hi All,

 I am trying to settup the  KGDB settup, for my STB  BRCM board.

I have 3 UARTS -0,1,2 --

Boot the kdb enabled kernel.. but not able to get the  --- gdb wait message --

I am setting up an environment for kernel debugging on my MIPS based
processor. In whatever document I read there I could get deatails of
debugging a PC but not the embedded board.
Still i tried to start session which was unsuccessful.

Configs enabled: CONFIG_KGDB=y
CONFIG_KGDB_CONSOLE=y
CONFIG_KGDB_8250_NOMODULE=y
CONFIG_SYS_SUPPORTS_KGDB=y

and I can see the change in size of the vmlinux.

while booting I have given command parameters :

boot -z -elf <vmlinuz path> "kgdb8250=1 115200" kgdbwait ------

but my kernel is not waiting for remote gdb to wait for the connection.

Am I missing anything ?

Help me to set it up ...

I had put pritnks I am getting

 KGDB :  kgdb_late_entry ..
 KGDB: kgdb_arch_init .....
KDGB: kgdb_internal_init ....
 KGDB: Setting kgdb_initialized ..

but normally going to login prompt ...

when  I press ^C -- Breakpoint is catched -- then everyting come to halt ..

Thanks
prabhu

                 reply	other threads:[~2010-03-30  7:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=241b8f7b1003300012j6485f4d3hef0e5ae9c1155791@mail.gmail.com \
    --to=prabhu.chavandi@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.