From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 37650 invoked by alias); 14 Feb 2017 15:51:43 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 37635 invoked by uid 89); 14 Feb 2017 15:51:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=16bit, 16-bit, arc_frame_cache, scenarios X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (208.118.235.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 14 Feb 2017 15:51:40 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cdfO9-0006IZ-I5 for gdb-patches@sourceware.org; Tue, 14 Feb 2017 10:51:39 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49015) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdfO5-0006GG-1X; Tue, 14 Feb 2017 10:51:29 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3080 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cdfO4-00042W-3C; Tue, 14 Feb 2017 10:51:28 -0500 Date: Tue, 14 Feb 2017 15:51:00 -0000 Message-Id: <8360kc22jw.fsf@gnu.org> From: Eli Zaretskii To: Anton Kolesov CC: gdb-patches@sourceware.org, Francois.Bedard@synopsys.com In-reply-to: <20170214100130.29194-5-Anton.Kolesov@synopsys.com> (message from Anton Kolesov on Tue, 14 Feb 2017 13:01:30 +0300) Subject: Re: [PATCH 5/5] arc: Add prologue analysis Reply-to: Eli Zaretskii References: <20170214100130.29194-1-Anton.Kolesov@synopsys.com> <20170214100130.29194-5-Anton.Kolesov@synopsys.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-IsSubscribed: yes X-SW-Source: 2017-02/txt/msg00387.txt.bz2 > From: Anton Kolesov > Cc: Anton Kolesov , Francois Bedard > Date: Tue, 14 Feb 2017 13:01:30 +0300 > > Add a prologue analysis that recognizes all instructions that may happen in > compiler-generated prologue, including various stores, core register moves, > subtraction and ENTER_S instruction that does a lot of prologue actions through > microcode. > > Testcases cover various prologue scenarios, including instructions that are > spread across multiple 16-bit encodings (for example there are 7 encodings of > store instruction). > > gdb/ChangeLog: > > yyyy-mm-dd Anton Kolesov > > * arc-tdep.c (arc_frame_cache): Add support for prologue analysis. > (arc_skip_prologue): Likewise. > (arc_make_frame_cache): Likewise. > (arc_pv_get_operand): New function. > (arc_is_in_prologue): Likewise. > (arc_fprintf_disasm): Likewise. > (arc_disassemble_info): Likewise. > (arc_analyze_prologue): Likewise. > (arc_print_frame_cache): Likewise. > (MAX_PROLOGUE_LENGTH): New constant. > > gdb/doc/ChangeLog: > > yyyy-mm-dd Anton Kolesov > > * gdb.texinfo (Synopsys ARC): Document "set debug arc 2". > > gdb/testsuite/ChangeLog: > yyyy-mm-dd Anton Kolesov > > * gdb.arch/arc-analyze-prologue.S: New file. > * gdb.arch/arc-analyze-prologue.exp: Likewise. OK for the documentation part. Thanks.