* frame.c (read_relative_register_raw_bytes_for_frame): Do not

override FP_REGNUM with frame->fp.  Update copyright.
* parse.c (num_std_regs, std_regs): Delete.
(target_map_name_to_register): Do not search std_regs.  Update
function description.
* parser-defs.h (num_std_regs, std_regs, struct std_regs): Delete
declarations.  Update copyright.
Fix PR gdb/251.
This commit is contained in:
Andrew Cagney 2002-04-09 22:14:39 +00:00
parent c3a3ccc760
commit 96cb11df6d
4 changed files with 29 additions and 101 deletions

View file

@ -1,6 +1,8 @@
/* Parser definitions for GDB.
Copyright 1986, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
1998, 1999, 2000 Free Software Foundation, Inc.
Copyright 1986, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996,
1997, 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
Modified from expread.y by the Department of Computer Science at the
State University of New York at Buffalo.
@ -26,15 +28,6 @@
#include "doublest.h"
struct std_regs
{
char *name;
int regnum;
};
extern struct std_regs *std_regs;
extern unsigned num_std_regs;
extern struct expression *expout;
extern int expout_size;
extern int expout_ptr;
@ -208,8 +201,8 @@ struct op_print
};
/* The generic method for targets to specify how their registers are
named. The mapping can be derived from three sources:
REGISTER_NAME; std_regs; or a target specific alias hook. */
named. The mapping can be derived from two sources: REGISTER_NAME;
and builtin regs. */
extern int target_map_name_to_register (char *, int);