From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 107272 invoked by alias); 21 Apr 2015 07:11:58 -0000 Mailing-List: contact gdb-testers-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-testers-owner@sourceware.org Received: (qmail 107250 invoked by uid 89); 21 Apr 2015 07:11:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: kwanyin.sergiodj.net Received: from kwanyin.sergiodj.net (HELO kwanyin.sergiodj.net) (176.31.208.32) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 21 Apr 2015 07:11:55 +0000 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [binutils-gdb] Extend rl78 prologue analyzer to recognize more complicated prologues From: sergiodj+buildbot@redhat.com To: gdb-testers@sourceware.org Message-Id: <0bca7f99d8fa254b5e35a211ee306a46b95adc65@kwanyin> Date: Tue, 21 Apr 2015 07:11:00 -0000 X-SW-Source: 2015-q2/txt/msg02608.txt.bz2 *** TEST RESULTS FOR COMMIT 0bca7f99d8fa254b5e35a211ee306a46b95adc65 *** Author: Kevin Buettner Branch: master Commit: 0bca7f99d8fa254b5e35a211ee306a46b95adc65 Extend rl78 prologue analyzer to recognize more complicated prologues This patch extends the rl78 prologue analyzer so that it can recognize this kind of prologue: 0x119f
: movw ax, sp 0x11a1 : subw ax, #0x1fa6 0x11a4 : movw sp, ax The test case for gdb.base/miscexprs.exp is now compiled to generate that sequence instead of a much longer and more inefficient sequence. gdb/ChangeLog: * rl78-tdep.c (RL78_SP_ADDR): Define. (opc_reg_to_gdb_regnum): New static function. (rl78_analyze_prologue): Recognize instructions forming slightly more interesting prologues.