linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Neil Horman <nhorman@lvl7.com>
To: Tom Stefanski <tom.stefanski@seranoa.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Can't disassemble my device driver
Date: Thu, 05 Sep 2002 07:03:20 -0400	[thread overview]
Message-ID: <3D7739F8.8030106@lvl7.com> (raw)
In-Reply-To: 3D76870E.5244CED5@seranoa.com


Tom Stefanski wrote:

> I have a adatron bdi 2000 connected to my target board and have
> successfully load the linux kernel and set breakpoint in schedule
> However when I load my device driver, it's text section is a 0xD11D6060
> and the kernel is a 0xC00xxxxx. When is disassemble any routine in my
> driver, I get all zeros.
>
>  I have MMU xlate set in the config file and I program the mmu correctly
> since I can break a schedule. Any help would be apprecciated
>
>
>  Tom
>
>
>

Did you remember to specify the text address when you added the symbol file in
gdb?  If you didn't type 'help add-symbol-file' in gdb and it will explain where
you can specify the starting text address of your device driver module.
Neil
--
/******************************************************************
*Neil Horman
*Software Engineer
*LVL7 Systems
*13000 Weston Pkwy.
*Cary, NC 27513
*(919)-865-2915
*nhorman@lvl7.com
*PGP keyID 0xB5E1020A
*http://www.keyserver.net/en
*******************************************************************/


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

      parent reply	other threads:[~2002-09-05 11:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-04 22:19 Can't disassemble my device driver Tom Stefanski
2002-09-05  7:29 ` Wolfgang Denk
2002-09-05 11:03 ` Neil Horman [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=3D7739F8.8030106@lvl7.com \
    --to=nhorman@lvl7.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=tom.stefanski@seranoa.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;
as well as URLs for NNTP newsgroup(s).