URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.2/] [gdb/] [CONTRIBUTE] - Rev 478
Go to most recent revision | Compare with Previous | Blame | View Log
Contributing to GDBGDB is a collaborative project and one which wants to encourage newdevelopment. You may wish to fix GDB bugs, improve testing, port GDBto a new platform, update documentation, add new GDB features, and thelike. To help with this, there is a lot of documentationavailable.. In addition to the user guide and internals manualincluded in the GDB distribution, the GDB web pages also contain muchinformation.You may also want to submit your change so that can be considered forconclusion in a future version of GDB (see below). Regardless, weencourage you to distribute the change yourself.If you don't feel up to hacking GDB, there are still plenty of ways tohelp! You can answer questions on the mailing lists, writedocumentation, find bugs, create a GDB related website (contribute tothe official GDB web site), or create a GDB related softwarepackage. We welcome all of the above and feel free to ask on the GDBmailing lists if you are looking for feedback or for people to reviewa work in progress.Ref: http://www.gnu.org/software/gdb/Finally, there are certain legal requirements and style issues whichall contributors need to be aware of.o Coding StandardsAll contributions must conform to the GNU Coding Standard.Submissions which do not conform to the standards will bereturned with a request to reformat the changes.GDB has certain additional coding requirements. Thoserequirements are explained in the GDB internals documentationin the gdb/doc directory.Ref: http://www.gnu.org/prep/standards_toc.htmlo Copyright AssignmentBefore we can accept code contributions from you, we need acopyright assignment form filled out and filed with the FSF.See some documentation by the FSF for details and contact us(either via the GDB mailing list or the GDB maintainer that istaking care of your contributions) to obtain the relevantforms.Small changes can be accepted without a copyright assignment formon file.Ref: http://www.gnu.org/prep/maintain.html#SEC6o Submitting PatchesEvery patch must have several pieces of information before wecan properly evaluate it.A description of the bug and how your patch fixes thisbug. A reference to a testsuite failure is very helpful. Fornew features a description of the feature and yourimplementation.A ChangeLog entry as plaintext (separate from the patch); seethe various ChangeLog files for format and content. Note that,unlike some other projects, we do require ChangeLogs also fordocumentation (i.e., .texi files).The patch itself. If you are accessing the CVS repository use"cvs update; cvs diff -cp"; else, use "diff -cp OLD NEW" or"diff -up OLD NEW". If your version of diff does not supportthese options, then get the latest version of GNU diff.We accept patches as plain text (preferred for the compilersthemselves), MIME attachments (preferred for the web pages),or as uuencoded gzipped text.When you have all these pieces, bundle them up in a mailmessage and send it to gdb-patches@sourceware.org. Allpatches and related discussion should be sent to thegdb-patches mailinglist. For further information on the GDBCVS repository, see the Anonymous read-only CVS access andRead-write CVS access page.--Supplemental information for GDB:o Please try to run the relevant testsuite before and aftercommitting a patchIf the contributor doesn't do it then the maintainer will. Acontributor might include before/after test results in theircontribution.o For bug fixes, please try to include a way ofdemonstrating that the patch actually fixes something.The best way of doing this is to ensure that thetestsuite contains one or more test cases thatfail without the fix but pass with the fix.People are encouraged to submit patches that extendthe testsuite.o Please read your patch before submitting it.A patch containing several unrelated changes orarbitrary reformats will be returned with a requestto re-formatting / split it.o If ``gdb/configure.ac'' is modified then you don'tneed to include patches to the regenerated file``configure''.The maintainer will re-generate those filesusing autoconf (2.64 as of 2009-08-22).o If ``gdb/gdbarch.sh'' is modified, you don'tneed to include patches to the generated files``gdbarch.h'' and ``gdbarch.c''.See ``gdb/configure.ac'' above.o When submitting a patch that fixes a bugin GDB's bug database a brief referenceto the bug can be included in the ChangeLogvis* CONTRIBUTE: Mention PR convention.Fix PR gdb/4705.The text ``PR gdb/4705'' should also be includedin the CVS commit message. That causes thepatch to automatically be archived with the PR.
Go to most recent revision | Compare with Previous | Blame | View Log
