diff options
author | Stu Grossman <grossman@cygnus> | 1992-04-24 15:01:45 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1992-04-24 15:01:45 +0000 |
commit | 0857b46a9c76a3763e04ca0d0bee63eca60c6906 (patch) | |
tree | 5c71499b6afdb18f5aebe21598d805233ce5c52e /gdb | |
parent | 07df483123735c08bbfd2dd328b53117ae0f1be7 (diff) | |
download | gdb-0857b46a9c76a3763e04ca0d0bee63eca60c6906.zip gdb-0857b46a9c76a3763e04ca0d0bee63eca60c6906.tar.gz gdb-0857b46a9c76a3763e04ca0d0bee63eca60c6906.tar.bz2 |
* Makefile.in: Add 29k/UDI support. Improve depend.
* .Sanitize, alldeps.mak, configure.in, depend: Add 29k/UDI support.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/.Sanitize | 4 | ||||
-rw-r--r-- | gdb/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/Makefile.in | 42 | ||||
-rw-r--r-- | gdb/alldeps.mak | 9 | ||||
-rw-r--r-- | gdb/configure.in | 1 | ||||
-rwxr-xr-x | gdb/depend | 24 |
6 files changed, 71 insertions, 12 deletions
diff --git a/gdb/.Sanitize b/gdb/.Sanitize index 4f1e2a3..bf69e7b 100644 --- a/gdb/.Sanitize +++ b/gdb/.Sanitize @@ -26,7 +26,7 @@ Do-first: Things-to-keep: .gdbinit -gdb.1 +29k-share COPYING ChangeLog ChangeLog-3.x @@ -84,6 +84,7 @@ expprint.c expression.h findvar.c frame.h +gdb.1 gdbcmd.h gdbcore.h gdbtypes.c @@ -152,6 +153,7 @@ remote-eb.c remote-hms.c remote-mm.c remote-nindy.c +remote-udi.c remote-vx.c remote.c rs6000-pinsn.c diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5b1f9a1..a37d1e4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ Fri Apr 24 07:41:19 1992 Stu Grossman (grossman at cygnus.com) + * Makefile.in: Add 29k/UDI support. Improve depend. + * .Sanitize, alldeps.mak, configure.in, depend: Add 29k/UDI support. + * am29k-tdep.c: Update to use new calling conventions, and misc symbol elements. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 546db24..247848a 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -129,7 +129,7 @@ RL_LIB = ./../readline${subdir}/libreadline.a # All the includes used for CFLAGS and for lint. # -I. for config files. # -I${srcdir} possibly for regex.h also. -INCLUDE_CFLAGS = -I. -I${srcdir} -I$(INCLUDE_DIR) -I$(READLINE_DIR) -I${srcdir}/vx-share +INCLUDE_CFLAGS = -I. -I${srcdir} -I$(INCLUDE_DIR) -I$(READLINE_DIR) -I${srcdir}/vx-share -I${srcdir}/29k-share/include -I${srcdir}/29k-share/udi # {X,T}M_CFLAGS, if defined, has system-dependent CFLAGS. # CFLAGS for GDB @@ -210,7 +210,19 @@ SFILES_SUBDIR = \ ${srcdir}/nindy-share/demux.h \ ${srcdir}/nindy-share/env.h \ ${srcdir}/nindy-share/stop.h \ - ${srcdir}/nindy-share/ttycntl.h + ${srcdir}/nindy-share/ttycntl.h \ + ${srcdir}/29k-share/include/coff.h \ + ${srcdir}/29k-share/include/error.h \ + ${srcdir}/29k-share/include/macros.h \ + ${srcdir}/29k-share/include/main.h \ + ${srcdir}/29k-share/include/memspcs.h \ + ${srcdir}/29k-share/include/miniint.h \ + ${srcdir}/29k-share/udi/udiphcfg.h \ + ${srcdir}/29k-share/udi/udiphsun.h \ + ${srcdir}/29k-share/udi/udiproc.h \ + ${srcdir}/29k-share/udi/udipt29k.h \ + ${srcdir}/29k-share/udi/udiptcfg.h \ + ${srcdir}/29k-share/udi/udisoc.h # Non-source files in subdirs, that should go into gdb.tar.Z. NONSRC_SUBDIR = \ @@ -385,6 +397,10 @@ alldeps.mak: ${srcdir}/config -e 's!xdr_ptrace.o!vx-share/xdr_ptrace.c!' \ -e 's!xdr_rdb.o!vx-share/xdr_rdb.c!' \ -e 's!xdr_regs.o!vx-share/xdr_regs.c!' \ + -e 's!udr.o!29k-share/udi/udr.c!' \ + -e 's!yank.o!29k-share/dfe/yank.c!' \ + -e 's!udip2soc.o!29k-share/udi/udip2soc.c!' \ + -e 's!mini2udi.o!29k-share/dfe/mini2udi.c!' \ -e 's/\.o/.c/' \ >alldeps2.tmp echo '# Start of "alldeps.mak" definitions' \ @@ -419,12 +435,12 @@ alldeps.mak: ${srcdir}/config depend: $(SOURCES) Makefile.in @echo Ignore errors about non-existent system-supplied include files @echo for systems other than the one you are using. - @echo "If xm.h and tm.h don't exist, the error messages saying so" - @echo can safely be ignored. @echo Also ignore parse errors in valops.c, and any errors in @echo arm-convert.s. + touch xm.h tm.h -$(GCC) -MM -nostdinc -I/usr/include $(CFLAGS) -I$(BFD_DIR) \ - `ls $(SOURCES) | grep -v '\.[hy]$$' |sort -u` >depend.tmp + $(INCLUDE_CFLAGS) `ls $(SOURCES) | grep -v '\.[hy]$$' | \ + sort -u` >depend.tmp # If running in srcdir, translate "./foo.c" into "$srcdir/foo.c" except # for xm.h and tm.h. This allows the same "depend" file to be used # by the various subdirectories. @@ -435,6 +451,7 @@ depend: $(SOURCES) Makefile.in -e 's; \./; $${srcdir}/;g' \ -e 's; vx-share/; $${srcdir}/vx-share/;g' \ -e 's; nindy-share/; $${srcdir}/nindy-share/;g' \ + -e 's; 29k-share/; $${srcdir}/29k-share/;g' \ >depend.tm2; \ rm depend.tmp; \ mv depend.tm2 depend.tmp; \ @@ -532,7 +549,8 @@ make-proto-gdb-1: ${TARFILES} ${TARDIRS} gdb.info mkdir proto-gdb.dir/config cd proto-gdb.dir/config ; \ for i in $(ALLCONFIG) ; do ln -s ../../$$i ../$$i ; done - mkdir proto-gdb.dir/vx-share proto-gdb.dir/nindy-share + mkdir proto-gdb.dir/vx-share proto-gdb.dir/nindy-share \ + proto-gdb.dir/29k-share cd proto-gdb.dir/config ; \ for i in $(SFILES_SUBDIR) $(NONSRC_SUBDIR) $(ALLDEPFILES_SUBDIR); \ do ln -s ../../$$i ../$$i ; done @@ -675,6 +693,18 @@ ttybreak.o: ${srcdir}/nindy-share/ttybreak.c ttyflush.o: ${srcdir}/nindy-share/ttyflush.c ${CC} -c ${INTERNAL_CFLAGS} ${srcdir}/nindy-share/ttyflush.c +udr.o: ${srcdir}/29k-share/udi/udr.c + ${CC} -c ${INTERNAL_CFLAGS} ${srcdir}/29k-share/udi/udr.c + +udip2soc.o: ${srcdir}/29k-share/udi/udip2soc.c + ${CC} -c ${INTERNAL_CFLAGS} ${srcdir}/29k-share/udi/udip2soc.c + +mini2udi.o: ${srcdir}/29k-share/dfe/mini2udi.c + ${CC} -c ${INTERNAL_CFLAGS} ${srcdir}/29k-share/dfe/mini2udi.c + +yank.o: ${srcdir}/29k-share/dfe/yank.c + ${CC} -c ${INTERNAL_CFLAGS} ${srcdir}/29k-share/dfe/yank.c + lint: $(LINTFILES) $(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES) \ `echo ${DEPFILES} | sed 's/\.o /\.c /g' diff --git a/gdb/alldeps.mak b/gdb/alldeps.mak index 85e6263..142ce0c 100644 --- a/gdb/alldeps.mak +++ b/gdb/alldeps.mak @@ -46,6 +46,7 @@ remote-eb.c\ remote-hms.c\ remote-mm.c\ remote-nindy.c\ +remote-udi.c\ remote-vx.c\ rs6000-pinsn.c\ rs6000-tdep.c\ @@ -67,13 +68,17 @@ xcoffsolib.c ALLDEPFILES_SUBDIR=\ nindy-share/Onindy.c\ +29k-share/dfe/mini2udi.c\ nindy-share/nindy.c\ nindy-share/ttybreak.c\ nindy-share/ttyflush.c\ +29k-share/udi/udip2soc.c\ +29k-share/udi/udr.c\ vx-share/xdr_ld.c\ vx-share/xdr_ptrace.c\ vx-share/xdr_rdb.c\ -vx-share/xdr_regs.c +vx-share/xdr_regs.c\ +29k-share/dfe/yank.c ALLPARAM=\ tm-29k.h\ @@ -166,6 +171,7 @@ ALLCONFIG=\ ./config/3b1.mh\ ./config/3b1.mt\ ./config/a29k-kern.mt\ +./config/a29k-udi.mt\ ./config/a29k.mt\ ./config/altos.mh\ ./config/altos.mt\ @@ -215,6 +221,7 @@ ALLCONFIG=\ ./config/m88k.mt\ ./config/merlin.mh\ ./config/merlin.mt\ +./config/ncr3000.mh\ ./config/news.mh\ ./config/news.mt\ ./config/news1000.mh\ diff --git a/gdb/configure.in b/gdb/configure.in index d1af648..000578a 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -242,6 +242,7 @@ a29k) sym1) gdb_target=ultra3 ;; kern) gdb_target=a29k-kern ;; ebmon) gdb_target=a29k;; + udi) gdb_target=a29k-udi;; esac ;; @@ -1,3 +1,15 @@ +mini2udi.o : ${srcdir}/29k-share/dfe/mini2udi.c ${srcdir}/29k-share/include/main.h ${srcdir}/29k-share/include/types.h \ + ${srcdir}/29k-share/include/memspcs.h ${srcdir}/29k-share/include/macros.h ${srcdir}/29k-share/include/miniint.h \ + ${srcdir}/29k-share/udi/udiproc.h ${srcdir}/29k-share/udi/udiphcfg.h ${srcdir}/29k-share/udi/udiphsun.h \ + ${srcdir}/29k-share/udi/udiptcfg.h ${srcdir}/29k-share/udi/udipt29k.h ${srcdir}/29k-share/udi/udiids.h \ + ${srcdir}/29k-share/include/udiext.h ${srcdir}/29k-share/include/versions.h +yank.o : ${srcdir}/29k-share/dfe/yank.c ${srcdir}/29k-share/include/coff.h ${srcdir}/29k-share/include/memspcs.h \ + ${srcdir}/29k-share/include/main.h ${srcdir}/29k-share/include/types.h ${srcdir}/29k-share/include/miniint.h \ + ${srcdir}/29k-share/include/macros.h ${srcdir}/29k-share/include/error.h +udip2soc.o : ${srcdir}/29k-share/udi/udip2soc.c ${srcdir}/29k-share/udi/udiproc.h ${srcdir}/29k-share/udi/udiphcfg.h \ + ${srcdir}/29k-share/udi/udiphsun.h ${srcdir}/29k-share/udi/udiptcfg.h ${srcdir}/29k-share/udi/udipt29k.h ${srcdir}/29k-share/udi/udisoc.h +udr.o : ${srcdir}/29k-share/udi/udr.c ${srcdir}/29k-share/udi/udiproc.h ${srcdir}/29k-share/udi/udiphcfg.h \ + ${srcdir}/29k-share/udi/udiphsun.h ${srcdir}/29k-share/udi/udiptcfg.h ${srcdir}/29k-share/udi/udipt29k.h ${srcdir}/29k-share/udi/udisoc.h a68v-xdep.o : a68v-xdep.c defs.h ${srcdir}/../include/ansidecl.h xm.h config.status tm.h config.status inferior.h \ symtab.h ${srcdir}/../include/obstack.h breakpoint.h frame.h value.h gdbtypes.h expression.h \ gdbcore.h ${srcdir}/../include/bfd.h @@ -155,8 +167,8 @@ mips-xdep.o : mips-xdep.c defs.h ${srcdir}/../include/ansidecl.h xm.h config.sta mipsread.o : mipsread.c defs.h ${srcdir}/../include/ansidecl.h xm.h config.status tm-mips.h ${srcdir}/../include/coff/sym.h \ ${srcdir}/../include/coff/symconst.h symtab.h ${srcdir}/../include/obstack.h gdbtypes.h gdbcore.h \ ${srcdir}/../include/bfd.h symfile.h objfiles.h buildsym.h ${srcdir}/../include/coff/mips.h \ - ${srcdir}/../bfd/libaout.h ${srcdir}/../include/aout/aout64.h ${srcdir}/../include/aout/stab_gnu.h ${srcdir}/../include/aout/stab.def \ - ${srcdir}/../include/coff/ecoff-ext.h partial-stab.h + ${srcdir}/../include/coff/ecoff-ext.h ${srcdir}/../bfd/libaout.h ${srcdir}/../include/aout/aout64.h \ + ${srcdir}/../include/aout/stab_gnu.h ${srcdir}/../include/aout/stab.def partial-stab.h news-xdep.o : news-xdep.c Onindy.o : ${srcdir}/nindy-share/Onindy.c ${srcdir}/nindy-share/ttycntl.h ${srcdir}/nindy-share/block_io.h \ ${srcdir}/../include/wait.h ${srcdir}/nindy-share/env.h /usr/include/string.h @@ -198,11 +210,15 @@ remote-nindy.o : remote-nindy.c defs.h ${srcdir}/../include/ansidecl.h xm.h conf inferior.h symtab.h ${srcdir}/../include/obstack.h breakpoint.h value.h gdbtypes.h expression.h \ target.h ${srcdir}/../include/bfd.h gdbcore.h command.h ieee-float.h ${srcdir}/../include/wait.h \ ${srcdir}/nindy-share/ttycntl.h ${srcdir}/nindy-share/demux.h ${srcdir}/nindy-share/env.h ${srcdir}/nindy-share/stop.h +remote-udi.o : remote-udi.c defs.h ${srcdir}/../include/ansidecl.h xm.h config.status tm.h config.status inferior.h \ + symtab.h ${srcdir}/../include/obstack.h breakpoint.h frame.h value.h gdbtypes.h expression.h \ + ${srcdir}/../include/wait.h terminal.h target.h ${srcdir}/../include/bfd.h ${srcdir}/29k-share/udi/udiproc.h \ + ${srcdir}/29k-share/udi/udiphcfg.h ${srcdir}/29k-share/udi/udiphsun.h ${srcdir}/29k-share/udi/udiptcfg.h \ + ${srcdir}/29k-share/udi/udipt29k.h remote-vx.o : remote-vx.c defs.h ${srcdir}/../include/ansidecl.h xm.h config.status tm.h config.status frame.h inferior.h \ symtab.h ${srcdir}/../include/obstack.h breakpoint.h value.h gdbtypes.h expression.h \ ${srcdir}/../include/wait.h target.h ${srcdir}/../include/bfd.h gdbcore.h command.h symfile.h \ - ${srcdir}/vx-share/xdr_ptrace.h ${srcdir}/vx-share/xdr_regs.h ${srcdir}/vx-share/reg.h ${srcdir}/vx-share/xdr_ld.h \ - ${srcdir}/vx-share/xdr_rdb.h ${srcdir}/vx-share/dbgRpcLib.h + ${srcdir}/vx-share/xdr_ptrace.h ${srcdir}/vx-share/xdr_ld.h ${srcdir}/vx-share/xdr_rdb.h ${srcdir}/vx-share/dbgRpcLib.h remote.o : remote.c defs.h ${srcdir}/../include/ansidecl.h xm.h config.status tm.h config.status frame.h inferior.h \ symtab.h ${srcdir}/../include/obstack.h breakpoint.h value.h gdbtypes.h expression.h \ target.h ${srcdir}/../include/bfd.h ${srcdir}/../include/wait.h terminal.h |