From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18369 invoked by alias); 20 Dec 2013 20:19:49 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 18344 invoked by uid 48); 20 Dec 2013 20:19:48 -0000 From: "marc.khouzam at ericsson dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/16360] New: Provide a --shortversion flag Date: Fri, 20 Dec 2013 20:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 7.4 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: marc.khouzam at ericsson dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-q4/txt/msg00589.txt.bz2 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.