From: Piet Delaney <piet@bluelane.com>
To: dm-devel@redhat.com
Subject: object oriented programming vs debug oriented programing (Ex: debugging dm code with kgdb)
Date: Mon, 09 Oct 2006 17:25:09 -0700 [thread overview]
Message-ID: <egep96$u07$1@sea.gmane.org> (raw)
Are the devlopers of the device mapping code awair
of how difficult they are making debugging of the
code with kgdb?
Doing object programing like style programming in
C has a major downside. Code that manages the
struct dm_table is in dm_table.c and thus code
in dm_ioctl.c can mess with the structure.
Unfortunately when useing kgdb on the code you
can see the struct dm_table stuff via pointers
becasue struct dm_table has been declared as
an empty structure.
It would be very helpfull for kgdb users if the
declaration of dm_table was made in dm.h, at least
for KGDB kernels, just to make the code easier to
follow with kgdb.
-piet
reply other threads:[~2006-10-10 0:25 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='egep96$u07$1@sea.gmane.org' \
--to=piet@bluelane.com \
--cc=dm-devel@redhat.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 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.