This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/16360] New: Provide a --shortversion flag


https://sourceware.org/bugzilla/show_bug.cgi?id=16360

            Bug ID: 16360
           Summary: Provide a --shortversion flag
           Product: gdb
           Version: 7.4
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: marc.khouzam at ericsson dot com

Eclipse uses the GDB version to figure out what features are supported by GDB.

I keep running into parsing problems because the version printout is not
standard between different GDB builds.

I would be safer to have a --shortversion flag that would simply provide the
number part of the version.

For example

> gdb --shortversion
7.6.1

> gdb --shortversion
7.6.50.20131126-cvs

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]