From: Kallol Biswas <nucleodyne@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: kgdb break point problem on 2.6.28.2
Date: Mon, 2 Feb 2009 11:05:06 -0800 [thread overview]
Message-ID: <438397970902021105x542ad227xe78005fa2a3432fb@mail.gmail.com> (raw)
Hi,
I have setup kgdb over serial port and installed a few kernel modules.
The module symbol has been added with the command:
add-symbol-file <module.ko file> <start adddress from /proc/modules>
(gdb) add-symbol-file /data/cxgb3toe-1.2/src/cxgb3/cxgb3.ko 0xf83dc000
add symbol table from file "/data/cxgb3toe-1.2/src/cxgb3/cxgb3.ko" at
.text_addr = 0xf83dc000
(gdb) rb cxgb3_.*
Breakpoint 1 at 0xf83e1573: file
/data/cxgb3toe-1.2/src/cxgb3/cxgb3_main.c, line 897.
int cxgb3_filter_toe_mode(struct adapter *, int);
Breakpoint 2 at 0x24: file /data/cxgb3toe-1.2/src/cxgb3/cxgb3_main.c, line 4778.
static void cxgb3_cleanup_module(void);
Breakpoint 3 at 0x1c70: file
/data/cxgb3toe-1.2/src/cxgb3/cxgb3_main.c, line 4752.
It seems that all the symbols are visible, can list and put break
points in functions.
However, if I hit continue, and when execution hits breakpoints
following messages
are displayed:
(gdb) c
Warning:
Cannot insert breakpoint 2.
Error accessing memory address 0x24: Unknown error 18446744073709551615.
Cannot insert breakpoint 3.
Error accessing memory address 0x1c70: Unknown error 18446744073709551615.
Cannot insert breakpoint 5.
Error accessing memory address 0xdb0: Unknown error 18446744073709551615.
Cannot insert breakpoint 6.
Error accessing memory address 0x2095: Unknown error 18446744073709551615.
Cannot insert breakpoint 15.
Error accessing memory address 0x5a: Unknown error 18446744073709551615.
Cannot insert breakpoint 16.
Error accessing memory address 0x1cd2: Unknown error 18446744073709551615.
The ddd version is 3.3.10 and gdb version is 6.8.
Any idea what mistake I have made?
reply other threads:[~2009-02-02 19:05 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=438397970902021105x542ad227xe78005fa2a3432fb@mail.gmail.com \
--to=nucleodyne@gmail.com \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®