From: Wojciech Kromer <krom@dgt-lab.com.pl>
To: "linuxppc-embedded@lists.linuxppc.org"
<linuxppc-embedded@lists.linuxppc.org>
Subject: What's wrong with my kernel debugging?
Date: Tue, 26 Jun 2001 13:12:21 +0200 [thread overview]
Message-ID: <3B386E15.455B2C74@dgt-lab.com.pl> (raw)
I'm trying to debug kernel module on remote PPC machine.
Say me if I'm doing something wrong.
I had fonud 0xc303b04c address using loadmodule.sh script
==========================================================================
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "ppc-redhat-linux".
(gdb) target remote /dev/ttyS0
Remote debugging using /dev/ttyS0
0xc000aff8 in ?? ()
(gdb) add-symbol-file /lib/modules/vtxcsmod 0xc303b04c
add symbol table from file "/lib/modules/vtxcsmod" at
.text_addr = 0xc303b04c
(y or n) y
Reading symbols from /lib/modules/vtxcsmod...done.
(gdb) b init_module
Breakpoint 1 at 0xc30aba20: file vtxcs_mod.c, line 93.
(gdb) continue
Continuing.
warning: Cannot insert breakpoint 1:
Cannot access memory at address 0xc30aba20
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ why ???
--
* * * * * * * * * * * *
* per pedes ad astra! *
* * * * * * * * * * * * mailto:krom@dgt-lab.com.pl
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
reply other threads:[~2001-06-26 11: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=3B386E15.455B2C74@dgt-lab.com.pl \
--to=krom@dgt-lab.com.pl \
--cc=linuxppc-embedded@lists.linuxppc.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 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).