* findvar.c: Include "builtin-regs.h".
authorAndrew Cagney <cagney@redhat.com>
Tue, 9 Apr 2002 03:06:14 +0000 (03:06 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 9 Apr 2002 03:06:14 +0000 (03:06 +0000)
commit0406ec40ea7e42729731ad29cb31aed0c8b35574
tree6370d9a28d67895d18d5bebc8bd908fce388a4a9
parent56a6dfb9deeb261da2dc2462ead99844ef865e4f
* findvar.c: Include "builtin-regs.h".
(value_of_register): Call value_of_builtin_reg when applicable.
* parse.c: Include "builtin-regs.h" and "gdb_assert.h".
(target_map_name_to_register): Call
builtin_reg_map_name_to_regnum.
* Makefile.in (SFILES): Add builtin-regs.c and std-regs.c.
(COMMON_OBS): Add builtin-regs.o and std-regs.o.
(builtin_regs_h): Define.
(builtin-regs.o): New target.
(findvar.o): Add $(builtin_regs_h).
* builtin-regs.c, builtin-regs.h: New files.
* std-regs.c: New file.
Partial fix for PR gdb/251.
gdb/ChangeLog
gdb/Makefile.in
gdb/builtin-regs.c [new file with mode: 0644]
gdb/builtin-regs.h [new file with mode: 0644]
gdb/findvar.c
gdb/parse.c
gdb/std-regs.c [new file with mode: 0644]