This page was produced by an automated import process, and may have formatting errors; feel free to fix.

Versions

GDB’s version is determined by the file gdb/version.in and takes one of the following forms:

''major''.''minor''
''major''.''minor''.''patchlevel''

an official release (e.g., 6.2 or 6.2.1)

''major''.''minor''.''patchlevel''.DATE

a snapshot; the string ‘DATE’ is replace with the date from bfd/version.h

''major''.''minor''.''patchlevel''.DATE-cvs

a CVS check out; the string ‘DATE’ is replace with the date from bfd/version.h

''major''.''minor''.''patchlevel''.DATE (''vendor'')

a vendor specific release of GDB, that while based on

GDB’s mainline uses the major and minor version numbers from the most recent release branch, with a patchlevel of 50. At the time each new release branch is created, the mainline’s major and minor version numbers are updated.

GDB’s release branch is similar. When the branch is cut, the patchlevel is changed from 50 to 90. As draft releases are drawn from the branch, the patchlevel is incremented. Once the first release (major.minor) has been made, the patchlevel is set to 0 and updates have an incremented patchlevel.

For snapshots, and CVS check outs, it is also possible to identify the CVS origin:

''major''.''minor''.50.''YYYY''''MM''''DD''

drawn from the HEAD of mainline CVS (e.g., 6.1.50.20020302)

''major''.''minor''.90.''YYYY''''MM''''DD''
''major''.''minor''.91.''YYYY''''MM''''DD'' …

drawn from a release branch prior to the release (e.g., 6.1.90.20020304)

''major''.''minor''.0.''YYYY''''MM''''DD''
''major''.''minor''.1.''YYYY''''MM''''DD'' …

drawn from a release branch after the release (e.g., 6.2.0.20020308)

If the previous GDB version is 6.1 and the current version is 6.2, then, substituting 6 for major and 1 or 2 for minor, here’s an illustration of a typical sequence:

     <HEAD>
        |
6.1.50.20020302-cvs
        |
        +--------------------------.
        |                    <gdb_6_2-branch>
        |                          |
6.2.50.20020303-cvs        6.1.90 (draft #1)
        |                          |
6.2.50.20020304-cvs        6.1.90.20020304-cvs
        |                          |
6.2.50.20020305-cvs        6.1.91 (draft #2)
        |                          |
6.2.50.20020306-cvs        6.1.91.20020306-cvs
        |                          |
6.2.50.20020307-cvs        6.2 (release)
        |                          |
6.2.50.20020308-cvs        6.2.0.20020308-cvs
        |                          |
6.2.50.20020309-cvs        6.2.1 (update)
        |                          |
6.2.50.20020310-cvs         <branch closed>
        |
6.2.50.20020311-cvs
        |
        +--------------------------.
        |                     <gdb_6_3-branch>
        |                          |
6.3.50.20020312-cvs        6.2.90 (draft #1)
        |                          |

None: Internals Versions (last edited 2013-08-20 23:41:45 by StanShebs)

All content (C) 2008 Free Software Foundation. For terms of use, redistribution, and modification, please see the WikiLicense page.