From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22291 invoked by alias); 25 Sep 2002 20:32:28 -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 22284 invoked from network); 25 Sep 2002 20:32:27 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 25 Sep 2002 20:32:27 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 110173D1E; Wed, 25 Sep 2002 16:32:24 -0400 (EDT) Message-ID: <3D921D57.8090401@redhat.com> Date: Wed, 25 Sep 2002 13:32:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Fernando Nasser Cc: Andrew Cagney , gdb-patches@sources.redhat.com Subject: Re: [patch/5.3, rfa:testsuite] Fix $fp and $pc in display command References: <3D76395C.3020106@ges.redhat.com> <3D91FE46.40008@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-09/txt/msg00624.txt.bz2 Thanks. It's in the mainline. It will go into the branch in a few minutes ... This fixes the $fp/$pc dumping core bug. Andrew > 2002-09-03 Andrew Cagney > > * frame.c: Include "gdb_string.h" and "builtin-regs.h". > (frame_map_regnum_to_name): New function. > (frame_map_name_to_regnum): New function. > * frame.h (frame_map_name_to_regnum): Declare. > (frame_map_regnum_to_name): Declare. > * builtin-regs.c (builtin_reg_map_regnum_to_name): New function. > * builtin-regs.h (builtin_reg_map_regnum_to_name): Declare. > * parse.c: Do not include "builtin-regs.h". > (target_map_name_to_register): Delete function. > (write_dollar_variable): Use frame_map_name_to_regnum. > * parser-defs.h (target_map_name_to_register): Delete declaration. > * expprint.c: Include "frame.h". > (print_subexp): Use frame_map_regnum_to_name. > * eval.c (evaluate_subexp_standard): Use frame_map_regnum_to_name. > * infcmd.c (registers_info): Use frame_map_name_to_regnum. > > Index: testsuite/ChangeLog > 2002-09-04 Andrew Cagney > > * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test. >