From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16330 invoked by alias); 5 Jun 2015 11:50:45 -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 16296 invoked by uid 48); 5 Jun 2015 11:50:45 -0000 From: "arma2ff0 at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/13000] Return value with -batch is always 0 Date: Fri, 05 Jun 2015 11:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 7.9 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: arma2ff0 at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: 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: 2015-q2/txt/msg00388.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=13000 --- Comment #5 from Armando --- Created attachment 8343 --> https://sourceware.org/bugzilla/attachment.cgi?id=8343&action=edit Attempt to fix the -batch issue I am uploading an example of what could, in principle, fix the issue at least in this case. I have tested the patch only on my laptop (Archlinux, x86_64) so I do not pretend this is a general and acceptable solution. However, it should help to prove my point. I hope this can help further investigation in the issue. -- You are receiving this mail because: You are on the CC list for the bug.