From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22039 invoked by alias); 7 Jun 2004 14:25:17 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 22026 invoked from network); 7 Jun 2004 14:25:16 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 7 Jun 2004 14:25:16 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i57EPGi7030736 for ; Mon, 7 Jun 2004 10:25:16 -0400 Received: from localhost.redhat.com (to-dhcp51.toronto.redhat.com [172.16.14.151]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i57EPF016605; Mon, 7 Jun 2004 10:25:15 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 1430F2B9D; Mon, 7 Jun 2004 10:25:15 -0400 (EDT) Message-ID: <40C47ACA.5000908@gnu.org> Date: Mon, 07 Jun 2004 14:25:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: Alexandre Oliva Cc: gdb-patches@sources.redhat.com Subject: Re: mn10300: fix struct returns and SP off after return command References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-06/txt/msg00120.txt.bz2 > @@ -1176,8 +1314,7 @@ mn10300_gdbarch_init (struct gdbarch_inf > set_gdbarch_deprecated_frame_init_saved_regs (gdbarch, mn10300_frame_init_saved_regs); > set_gdbarch_deprecated_frame_chain (gdbarch, mn10300_frame_chain); > set_gdbarch_deprecated_frame_saved_pc (gdbarch, mn10300_frame_saved_pc); > - set_gdbarch_deprecated_extract_return_value (gdbarch, mn10300_extract_return_value); > - set_gdbarch_deprecated_store_return_value (gdbarch, mn10300_store_return_value); > + set_gdbarch_return_value (gdbarch, mn10300_return_value); > set_gdbarch_deprecated_store_struct_return (gdbarch, mn10300_store_struct_return); > set_gdbarch_deprecated_pop_frame (gdbarch, mn10300_pop_frame); > set_gdbarch_skip_prologue (gdbarch, mn10300_skip_prologue); > @@ -1189,7 +1326,6 @@ mn10300_gdbarch_init (struct gdbarch_inf > set_gdbarch_deprecated_reg_struct_has_addr > (gdbarch, mn10300_reg_struct_has_addr); > set_gdbarch_deprecated_push_return_address (gdbarch, mn10300_push_return_address); > - set_gdbarch_use_struct_convention (gdbarch, mn10300_use_struct_convention); > > tdep->am33_mode = am33_mode; Ok. Andrew