[PATCH] arm reversible : progress <patch_1_phase_2>

Pedro Alves pedro@codesourcery.com
Thu Mar 3 18:59:00 GMT 2011


On Thursday 03 March 2011 18:37:15, Michael Snyder wrote:
> >>> diff -urN arm_new/arm-linux-tdep.c arm_orig/arm-linux-tdep.c
> > 
> > The patch is reversed.
> 
> 
> Oza, you probably meant to say "-upN".

Nah, -r is to recurse in subdirectories, that was correct.
The problem is in the use of 'diff $NEW $OLD'.  It should
be 'diff $OLD $NEW'.

But while at it, please do add the -p as Michael is suggesting.
It makes reading the patches easier.

Are you diffing two copies of the tree (one pristine, one
edited)?  I suggest investing some time on learning to
work with some patch series management tool or process.
E.g., I work on top of a cvs checkout and manage my
patches with quilt; others use git, or stgit.

-- 
Pedro Alves



More information about the Gdb mailing list