RTEMS Logo

RTEMS 4.9.3 On-Line Library


Applying RTEMS Patch to GDB

PREV UP NEXT Bookshelf Getting Started with RTEMS

4.2.3: Applying RTEMS Patch to GDB

Apply the patch using the following command sequence:

cd tools/gdb-6.8
cat archive/gdb-6.8-rtems4.9-20080917.diff | \
    patch -p1

If the patch was compressed with the gzip program, it will have a suffix of .gz and you should use zcat instead of cat as shown above. If the patch was compressed with the gzip program, it will have a suffix of .bz2 and you should use bzcat instead of cat as shown above.

Check to see if any of these patches have been rejected using the following sequence:

cd tools/gdb-6.8
find . -name "*.rej" -print

If any files are found with the .rej extension, a patch has been rejected. This should not happen with a good patch file.


PREV UP NEXT Bookshelf Getting Started with RTEMS

Copyright © 1988-2008 OAR Corporation