From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10301 invoked by alias); 12 Jan 2009 14:33:55 -0000 Received: (qmail 10287 invoked by uid 48); 12 Jan 2009 14:33:55 -0000 Date: Mon, 12 Jan 2009 14:33:00 -0000 Message-ID: <20090112143355.10286.qmail@sourceware.org> From: "pedro at codesourcery dot com" To: gdb-prs@sourceware.org In-Reply-To: <20090112142713.9734.richard.stuckey@arc.com> References: <20090112142713.9734.richard.stuckey@arc.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug sim/9734] result of sim_create_inferior not checked in remote-sim.c X-Bugzilla-Reason: CC 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 X-SW-Source: 2009-q1/txt/msg00047.txt.bz2 ------- Additional Comments From pedro at codesourcery dot com 2009-01-12 14:33 ------- I see that the result of sim_create_inferior is still not checked on current mainline. I think that it would be best to throw an error() instead, otherwise currently core gdb will probably assert, in thinking the inferior was created. if (sim_create_inferior (gdbsim_desc, exec_bfd, argv, env) != SIM_RC_OK) error (_("foo failed to create, blah!")); -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 http://sourceware.org/bugzilla/show_bug.cgi?id=9734 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.