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''

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

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

A pre-release, created to facilitate broader testing of the associated release branch before creating the official release.

''major''.''minor''.''patchlevel''.DATE-git

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

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

GDB’s release branch is similar. When the branch is cut, the patchlevel is changed from 50 to 90. As pre-releases are drawn from the branch, the patchlevel is incremented. When making each release, the minor version number is incremented, and the patchlevel portion is removed. Once the release is made , the patchlevel is added back, and set to 90 again.

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

''major''.0.50.''YYYY''''MM''''DD''-git

drawn from the HEAD of mainline Git (e.g., 9.0.50.20020302-git)

''major''.''minor''.90.''YYYY''''MM''''DD''-git

drawn from a release branch (e.g., 9.1.90.20020304-git)

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

     <HEAD>
        |
6.0.50.20020302-git
        |
        +--------------------------.
        |                    <gdb_6-branch>
        |                          |
7.0.50.20020303-git        6.0.90 (pre-release #1)
        |                          |
7.0.50.20020304-git        6.0.90.20020304-git
        |                          |
7.0.50.20020305-git        6.0.91 (pre-release #2)
        |                          |
7.0.50.20020306-git        6.0.91.20020306-git
        |                          |
7.0.50.20020307-git        6.1 (release)
        |                          |
7.0.50.20020308-git        6.1.90.20020308-git
        |                          |
7.0.50.20020309-git        6.2   (update)
        |                          |
7.0.50.20020310-git         <branch closed>
        |
7.0.50.20020311-git
        |
        +--------------------------.
        |                     <gdb_7-branch>
        |                          |
8.0.50.20020312-git        7.0.90 (pre-release #1)
        |                          |

None: Internals Versions (last edited 2023-10-25 23:12:57 by brobecke)

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