From: Joel Brobecker <brobecker@adacore.com>
To: Caz Yokoyama <cazyokoyama@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: symbolic debug of loadable modules with kgdb light
Date: Sun, 11 Jan 2009 03:38:00 -0000 [thread overview]
Message-ID: <20090111033737.GL31296@adacore.com> (raw)
In-Reply-To: <B28296C4454C4B539564033161523A12@xpjpn>
> About 25 lines come from
> http://kgdb.cvs.sourceforge.net/viewvc/kgdb/gdb/. These are an
> essential part. I could not delete it. From your comments, I have 3
> options in the order of most aggressive to conservative, 1) re-write
> the code which come from kgdb, 2) ask the author of the code for his
> permission and 3) don't submit the patch to gdb. I am wondering what
> is right choice.
It's hard to tell without knowing what the code is doing. If you can
easily track down the author (all the authors, actually), then you
can ask them to contribute this code. I think the safest for everyone
would be if they have a copyright assignment on file with the FSF.
On the other hand, if it's easy for you to rewrite the code in
a different way, doing so allows you do remove a dependency on
external factors.
The other alternative is if we can determine that the change is not
a "legally significant change", as our guidelines call it:
http://www.gnu.org/prep/maintain/maintain.html#Legally-Significant
> Regarding testsuite,
> - gdb-6.8
> # of expected passes 11844
> # of unexpected failures 82
> # of unexpected successes 2
> # of expected failures 43
> # of known failures 39
> # of untested testcases 10
> # of unsupported tests 47
> - Modified gdb-6.8,
> # of expected passes 11841
> # of unexpected failures 83
> # of unexpected successes 2
> # of expected failures 43
> # of known failures 39
> # of untested testcases 10
> # of unsupported tests 47
> So I believe the modification does not break anything.
Looking at pure numbers can be misleading sometimes (which is why
I diff the .sum files before and after applying my patch), but
the numbers you published show that you have 3 less PASSes and
one more FAIL. Sometimes, this does not indicate any regression,
but often it does... Did you check were the difference come from?
> All modifications are clear to me. I can write explanation for each
> modifications and files. Also making a patch against cvd HEAD is not a
> issue.
Great! My recommendation is to first bring your patches up to date
with CVS HEAD and, once done, to break them down into individual pieces.
Then send each piece for review to the gdb-patches mailing list,
explaining what the problem is and how you're solving it. The more
information you provide, the easier it is for us to review the patches.
--
Joel
next prev parent reply other threads:[~2009-01-11 3:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-08 14:09 Caz Yokoyama
2009-01-08 19:04 ` Tiago Maluta
2009-01-08 19:40 ` Caz Yokoyama
2009-01-08 19:42 ` Caz Yokoyama
2009-01-09 4:18 ` Joel Brobecker
2009-01-09 14:52 ` Caz Yokoyama
2009-01-09 18:17 ` Joel Brobecker
2009-01-09 19:33 ` Caz Yokoyama
2009-01-10 6:40 ` Daniel Jacobowitz
[not found] ` <B28296C4454C4B539564033161523A12@xpjpn>
2009-01-11 3:38 ` Joel Brobecker [this message]
2009-01-09 11:11 ` Jan Kiszka
2009-01-09 11:28 ` Caz Yokoyama
2009-01-09 12:38 ` Jan Kiszka
2009-01-09 16:29 ` Caz Yokoyama
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=20090111033737.GL31296@adacore.com \
--to=brobecker@adacore.com \
--cc=cazyokoyama@gmail.com \
--cc=gdb@sourceware.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