This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/sim/ppc ChangeLog Makefile.in igen.c ld-in ...
- From: mrg at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 12 Jan 2002 10:21:13 -0000
- Subject: src/sim/ppc ChangeLog Makefile.in igen.c ld-in ...
CVSROOT: /cvs/src
Module name: src
Changes by: mrg@sources.redhat.com 2002-01-12 02:21:13
Modified files:
sim/ppc : ChangeLog Makefile.in igen.c ld-insn.c
ld-insn.h misc.h table.c table.h
Log message:
* Makefile.in (tmp-igen): Pass -I $(srcdir) to igen.
* igen.c (main): Change -I to add include paths for :include:
files.
Implement -G as per sim/igen, with just gen-icache=N support.
Call load_insn_table() with the built include path.
* ld-insn.c (parse_include_entry): New. Load an :include: file.
(load_insn_table): New `includes' argument. Look for :include:
entries and call parse_include_entry() for them.
(main): Adjust load_insn_table() call.
* ld-insn.h (model_include_fields): New enum.
(load_insn_table): Update prototype.
* table.c (struct _open_table, struct _table): Rework
structures to handle included files.
(table_push): Move the guts of table_open() here.
* table.c (struct _open table, struct table): Make table object an
indirect ptr to the current table file.
(current_line, new_table_entry, next_line): Make file arg type
open_table.
(table_open): Use table_push.
(table_entry_read): Point variable file at current table, at eof, pop
last open table.
* misc.h (NZALLOC): New macro. From sim/igen.
* table.h, table.c (table_push): New function.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/ppc/ChangeLog.diff?cvsroot=src&r1=1.19&r2=1.20
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/ppc/Makefile.in.diff?cvsroot=src&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/ppc/igen.c.diff?cvsroot=src&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/ppc/ld-insn.c.diff?cvsroot=src&r1=1.1.1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/ppc/ld-insn.h.diff?cvsroot=src&r1=1.1.1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/ppc/misc.h.diff?cvsroot=src&r1=1.1.1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/ppc/table.c.diff?cvsroot=src&r1=1.1.1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/ppc/table.h.diff?cvsroot=src&r1=1.1.1.1&r2=1.2