From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12930 invoked by alias); 30 Mar 2015 01:06:17 -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 12887 invoked by uid 48); 30 Mar 2015 01:06:15 -0000 From: "vapier at gentoo dot org" To: gdb-prs@sourceware.org Subject: [Bug sim/12385] cr16 sim tests can't print out "pass" message Date: Mon, 30 Mar 2015 01:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: sim X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vapier at gentoo dot org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: MR.Swami.Reddy at nsc dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc 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-q1/txt/msg00554.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=12385 Mike Frysinger changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|cr16 sim tests fail to link |cr16 sim tests can't print | |out "pass" message --- Comment #3 from Mike Frysinger --- i've fixed the linking error, but the tests all fail during execution now: spawn /usr/local/src/gnu/gdb/build/build-cr16/sim/testsuite/../cr16/run addb.cgs.x ^@^@^@^@^@output: pattern: pass FAIL: cr16 addb.cgs (execution) this is because the sim is writing out \0\0\0\0\0. looking at the objdump and the runtime shows the data addresses *look* correct, but the cr16 sim doesn't seem to have its memory in sync with the ELF. the sim_cr16_translate_addr and similar funcs do weird things to the address and i can't figure out why it's all broken. -- You are receiving this mail because: You are on the CC list for the bug.