aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/m88k
AgeCommit message (Collapse)AuthorFilesLines
1994-09-25 * infcmd.c (do_registers_info) [INVALID_FLOAT]: Only use ifStan Shebs1-4/+0
defined. * values.c (unpack_double) [INVALID_FLOAT]: Ditto. * mips-tdep.c (mips_print_register): Don't test float validity. * config/a29k/tm-a29k.h, config/alpha/tm-alpha.h, config/arm/tm-arm.h, config/convex/tm-convex.h, config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, config/i386/tm-i386v.h, config/i386/tm-sun386.h, config/i960/tm-i960.h, config/m68k/tm-m68k.h, config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/ns32k/tm-merlin.h, config/ns32k/tm-nbsd.h, config/ns32k/tm-ns32km3.h, config/ns32k/tm-umax.h, config/pa/tm-hppa.h, config/pyr/tm-pyr.h, config/rs6000/tm-rs6000.h, config/sh/tm-sh.h, config/sparc/tm-sparc.h, config/z8k/tm-z8k.h (INVALID_FLOAT): Remove definition.
1994-09-17 * config/i386/{i386aix.mh, i386bsd.mh, i386lynx.mh, i386sco.mh,Stan Shebs2-6/+0
i386sco4.mh, i386sol2.mh, i386v.mh, i386v32.mh, i386v4.mh, ncr3000.mh, ptx.mh, ptx4.mh}, config/m68k/{altos.mh, apollo68v.mh, delta68.mh, dpx2.mh, hp300bsd.mh, hp300hpux.mh, m68klynx.mh, m68kv4.mh}, config/m88k/{delta88.mh, delta88v4.mh}, config/mips/riscos.mh, config/pa/hppahpux.mh, config/sparc/{sparclynx.mh, sun4sol2.mh}, config/tahoe/tahoe.mh, config/vax/{vaxbsd.mh, vaxult.mh, vaxult2.mh} (REGEX, REGEX1, SYSV_DEFINE): No longer define. * config/i386/i386sco4.mh (MUNCH_DEFINE): No longer define.
1994-09-03 * objfiles.c (allocate_objfile): Add the newly-created objfile toStan Shebs1-0/+2
the end of the list of objfiles, instead of at the beginning. * xcoffread.c (allocate_include_entry): New function, abstracted from code in record_include_begin. (record_include_begin, record_include_end): Call it. * blockframe.c (reinit_frame_cache): Test inferior_pid instead of target_has_stack to decide whether to create a real stack frame for the cache. * coffread.c (process_coff_symbol) [CXUX_TARGET]: Ignore vendor section. * config/m88k/tm-cxux.h (CXUX_TARGET): Define. * h8300-tdep.c: Include "dis-asm.h" instead of <dis-asm.h>.
1994-08-04 * config/i386/xm-i386v4.h, config/m68k/xm-m68kv4.h,Stan Shebs1-0/+1
config/sparc/xm-sun4sol2.h (NORETURN): Don't define. * config/m88k/tm-cxux.h (ARCH_NUM_REGS): Undefine before defining.
1994-07-17 * config/m88k/delta88.mh (MUNCH_DEFINE): Remove.Stan Shebs3-8/+11
* config/m88k/delta88.mt, config/m88k/delta88v4.mh: Format consistently.
1994-07-17 Harris CX/UX support, from Bob Rusk (rrusk@mail.csd.harris.com).Stan Shebs7-7/+192
* configure.in (m88*-harris-cxux*): New configuration. * cxux-nat.c, config/m88k/cxux.mh, config/m88k/cxux.mt, config/m88k/xm-cxux.h, config/m88k/tm-cxux.h, config/m88k/nm-cxux.h: New files. * config/m88k/tm-m88k.h: Add comment about Harris OS. (TARGET_WRITE_PC): Pass pid through to register writers. * configure.in (m68*): Put vendor-only-specified host configs after vendor-and-os-specified configs. (m68*-atari-sysv4*, m68*-cbm-sysv4*): Replace with m68*-*-sysv4.
1994-05-14 * source.c (find_source_lines): Always use code that was #ifdefJim Kingdon1-4/+0
BROKEN_LARGE_ALLOCA. Do the cleanup before returning, rather than leaving it on the chain. Reindent much of this function. * config/sparc/{xm-sun4sol2.h,xm-sun4os4.h}, config/i386/{xm-sun386.h,xm-i386m3.h,xm-i386mach.h}, config/m68k/{sun3os4.h,xm-news.h,xm-hp300hpux.h}, config/ns32k/xm-ns32km3.h: Remove all references to BROKEN_LARGE_ALLOCA; with the above change it is no longer needed. * main.c, fork-child.c, many config files: Remove all SET_STACK_LIMIT_HUGE code; with the above changes it should no longer be needed. * symtab.c (lookup_partial_symbol): Use if and abort, not assert. This avoids __eprintf troubles. * main.c (main): Surround in #ifndef MAIN_OVERRIDE. Move initialization code which needs to be called even if we bypass the command line stuff into gdb_init. * utils.c (fputs_unfiltered): Surround in #ifndef FPUTS_UNFILTERED_OVERRIDE. * Makefile.in (libgdb.a): New target. * utils.c: Rearrange I/O stuff a bit so that all output goes through fputs_unfiltered. Use vasprintf; removes arbitrary limit which made %s not work with arbitrarily large strings. * printcmd.c (printf_command): Use printf_filtered, not printf_unfiltered and printf, now that arbitrary limit is gone.
1994-02-28 * i387-tdep.c, i386-tdep.c i386v-nat.c, i386aix-nat.c,Jim Kingdon1-5/+3
i386m3-nat.c, config/m68k/tm-m68k.h, i960-tdep.c config/i960/tm-i960.h, remote-nindy.c, config/m88k/tm-m88k.h, m88k-tdep.c: Use floatformat.h instead of ieee-float.h. * sparc-tdep.c: Remove now-obsolete ieee-float.h stuff * findvar.c: Update comment regarding ieee-float.h.
1994-02-01 * config/m88k/{tm-delta88.h,tm-delta88v4.h}, m88k-tdep.c:Jim Kingdon2-0/+8
Define IN_SIGTRAMP and backtrace correctly through signal handlers.
1993-12-26 * valops.c (call_function_by_hand, push_word), defs.h (push_word),Jim Kingdon1-2/+4
convex-xdep.c, m88k-nat.c, i386m3-nat.c, mips-tdep.c, mipsm3-nat.c, ns32km3-nat.c, remote-bug.c, m88k-tdep.c, remote-hms.c, remote-mips.c, config/gould/tm-np1.h, hppa-tdep.c (hppa_fix_call_dummy), remote-vx.c: Use REGISTER_SIZE, unsigned LONGEST, and {store,extract}_unsigned_integer, instead of sizeof (REGISTER_TYPE) and REGISTER_TYPE. * All tm.h files: Change REGISTER_TYPE to REGISTER_SIZE. * hppa-tdep.c (pa_print_fp_reg): Remove unused variable val. * Makefile.in (ALLDEPFILES): Remove i386ly-nat.c and m68kly-nat.c. Add lynx-nat.c.
1993-11-22 * gdb/config/m88k/delta88.mh (NATDEPFILES): Added corelow.o andFred Fish1-1/+2
coredep.o to this list. * gdb/m88k-nat.c (m88k_register_u_addr): Avoid error when passed the number for an M88110 extended register by just returning the address of r0.
1993-11-02 * findvar.c (value_of_register, value_from_register),Peter Schauer1-18/+11
hppa-tdep.c (pa_print_fp_reg), infcmd.c (do_registers_info), valops.c (value_assign): Use REGISTER_CONVERT_TO_* only if REGISTER_CONVERTIBLE is defined, otherwise just copy the content. Pass desired type to REGISTER_CONVERT_TO_*. * config/m68k/tm-m68k.h, config/i960/tm-i960.h (REGISTER_CONVERT_*): Pass length of desired type to store/extract_floating. * config/i386/tm-arm.h, config/i386/tm-i386aix.h, config/i386/tm-sun386.h, config/i386/tm-symmetry.h, config/m88k/tm-m88k.h config/rs6000/tm-rs6000.h (REGISTER_CONVERT_*): Use extract_floating and store_floating with length of desired type. * config/m68k/tm-news.h (STORE,EXTRACT_RETURN_VALUE): Add type parameter to REGISTER_CONVERT_*. * config/a29k/tm-a29k.h, config/convex/tm-convex.h, config/gould/tm-np1.h, config/gould/tm-pn.h, config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, config/i386/tm-i386v.h, config/mips/tm-mips.h, config/ns32k/tm-merlin.h, config/ns32k/tm-umax.h, config/pa/tm-hppa.h, config/pyr/tm-pyr.h, config/sh/tm-sh.h, config/sparc/tm-sparc.h, config/tahoe/tm-tahoe.h, config/vax/tm-vax.h, config/z8k/tm-z8k.h (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_RAW, REGISTER_CONVERT_TO_VIRTUAL): Remove versions for which REGISTER_CONVERTIBLE is always false. * z8k-tdep.c (register_convert_to_virtual, register_convert_to_raw): Remove, no longer used. * alpha-tdep.c (alpha_register_convert_to_raw, alpha_register_convert_to_virtual): New routines to handle the different raw formats in alpha floating point registers. * config/alpha/tm-alpha.h (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Use them.
1993-11-01* config/m88k/m88k.mh (NATDEPFILES): Remove exec.o.Jim Kingdon1-1/+1
1993-10-29 * defs.h, findvar.c (extract_floating, store_floating): New functions.Jim Kingdon1-3/+8
* Move SWAP_TARGET_AND_HOST from defs.h to findvar.c because it is now used only by extract_floating and store_floating. * valprint.c (print_floating): Use unsigned arithmetic. Use extract_unsigned_integer instead of SWAP_TARGET_AND_HOST. Change sizeof (float) to 4 and sizeof (double) to 8 (those are always the relevant sizes for this code, which is in #ifdef IEEE_FLOAT). * values.c (unpack_long, unpack_double, value_from_double), valarith.c (value_binop), stabsread.c (define_symbol): Use extract_floating and store_floating instead of SWAP_TARGET_AND_HOST. * config/m68k/tm-m68k.h, config/i960/tm-i960.h (REGISTER_CONVERT_*): Use extract_floating and store_floating. * config/m88k/tm-m88k.h: Add comments (it should be doing the same). * i386-tdep.c (i386_extract_return_value), * remote-nindy.c (nindy_store_registers): Use store_floating.
1993-10-17* config/m88k/xm-dgux.h: Define NO_PTRACE_H.Jim Kingdon1-0/+4
1993-10-13 * printcmd.c (printf_command): Instead of using makeva* andJim Kingdon1-28/+0
calling vprintf, just make the appropriate calls to printf. * printcmd.c, config/pa/xm-pa.h, config/mips/xm-makeva.h, config/alpha/xm-alpha.h, config/m88k/xm-m88k.h: Remove all traces of makeva*. My apologies to everyone (including me!) who spent so much time getting it to work on various machines, but look at the bright side, at least you won't have to do it again in the future. * printcmd.c (printf_command): Make a cleanup for val_args (fixes a memory leak).
1993-10-05 * Makefile.in (install, uninstall): Remove $$n.1 stuff; I don'tJim Kingdon2-4/+0
understand what it is trying to do, but I suspect it's not doing it. * config/ns32k/merlin.mh: Add comment about M_INSTALL. * config/m88k/{delta88.mh,delta88v4.mh}: Remove M_INSTALL and M_UNINSTALL; it tries to install a non-existent file gdb.z. * Makefile.in: Remove M_INSTALL stuff; the above were the only uses.
1993-09-23 * infcmd.c (step_1), infrun.c (wait_for_inferior): Add commentsJim Kingdon1-10/+97
about SHIFT_INST_REGS. * exec.c (exec_file_command): Set text_end based on all code readonly sections, not just ".text". * defs.h, infcmd.c, config/z8k/tm-z8k.h, config/m88k/tm-m88k.h, config/sh/tm-sh.h, config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, z8k-tdep.c: Remove all references to ADDR_BITS_SET. * config/m88k/tm-m88k.h: Define TARGET_WRITE_PC. * config/m88k/tm-m88k.h: Add definitions for calling functions.
1993-09-22 * config/m88k/tm-m88k.h: white space and comment changes. includeK. Richard Pixley1-110/+239
ieee-float.h. expanded to cope with m88110 extended registers. (R0_REGNUM, XFP_REGNUM, X0_REGNUM): new macros. (SHIFT_INST_REGS): becomes a real macro.
1993-09-08gcc lintK. Richard Pixley1-0/+6
1993-09-02 * m88k-tdep.c: Include sys/dir.h before sys/user.h.Jim Kingdon1-3/+0
Include sys/types.h regardless of USG. * configure.in: Fix typo (delta88r4 -> delta88v4). * config/m88k/xm-delta88.h: Don't include sys/siginfo.h. It was to make this work on SVR4 before SVR4 had its own configuration, and it breaks SVR3.
1993-09-02* config/m88k/delta88v4.h (NATDEPFILES): Remove infptrace.o inftarg.o.Jim Kingdon2-1/+4
1993-09-02 * config/m88k/xm-dgux.h: Renamed from config/m88k/xm-m88k.h.Jim Kingdon2-1/+2
* config/m88k/m88k.mh: Use xm-dgux.h. * config/m88k/xm-m88k.h: New file, with HOST_BYTE_ORDER, MAKEVA_END and MAKEVA_ARG. * config/m88k/xm-*.h: Include m88k/xm-m88k.h. * printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.
1993-09-02 * config/m88k/xm-dgux.h: Renamed from config/m88k/xm-m88k.h.Jim Kingdon4-44/+92
* config/m88k/xm-m88k.h: New file, with HOST_BYTE_ORDER, MAKEVA_END and MAKEVA_ARG. * config/m88k/xm-*.h: Include m88k/xm-m88k.h. * printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.
1993-09-02renamed from xm-m88k.hJim Kingdon1-0/+0
1993-09-01bcopy -> memcpyK. Richard Pixley1-3/+3
1993-09-01pulling dcache code out of remote.cK. Richard Pixley1-1/+1
1993-08-31break dcache code out of remote-bug.cK. Richard Pixley1-1/+1
1993-08-30 * config/m88k/{delta88v4.mt,delta88v4.mh}: New filesJim Kingdon1-0/+5
* config/m88k/delta88.mh: Fix comment. * config/m88k/tm-delta88.h: Remove unused BCS define. * config/m88k/{tm-delta88v4.h,xm-delta88v4.h,nm-delta88v4.h}: New files.
1993-08-23 * config/m88k/{delta88v4.mt,delta88v4.mh}: New filesJim Kingdon7-6/+82
* config/m88k/delta88.mh: Fix comment. * config/m88k/tm-delta88.h: Remove unused BCS define. * config/m88k/{tm-delta88v4.h,xm-delta88v4.h,nm-delta88v4.h}: New files. * configure.in: Recognize m88*-motorola-sysv4*. * m88k-nat.c: Always include sys/types.h; don't depend on USG.
1993-08-23new for svr4 on delta 88kJim Kingdon5-0/+0
1993-08-17 * config/m88k/tm-m88k.h: Fix typo in comment.K. Richard Pixley1-5/+10
(FP_REGNUM): define in terms of SP_REGNUM rather than by absolute number. Also clearly comment that this is a convenient lie in order to decrease future confusion. (ACTUAL_FP_REGNUM): new macro for FP. (FRAME_CHAIN_VALID): removed. Standard default works fine. * m88k-tdep.c (frame_chain_valid): redundant, so removed. (NEXT_PROLOGUE_INSN): removed unused fourth arg, fixed all callers. (read_next_frame_reg): declare static. (examine_prologue): removed unused variabel insn2, rename insn1 to insn, rewrote comment about finding fp, sp, etc. set frame_fp based on ACTUAL_FP_REGNUM rather than FP_REGNUM which is actually a scammed alias for SP_REGNUM on m88k.
1993-08-13 * config/m88k/tm-m88k.h: comment change to remove embeddedK. Richard Pixley1-2/+2
comment. (SKIP_PROLOGUE): skip_prologue returns a value which is expected to reset the pc argument. So reset it.
1993-08-02 * remote-monitor.c: updated copyright.K. Richard Pixley1-1/+1
(bug_ops, monitor_desc): now static. (monitor_desc): in several places, check and/or set to NULL. * remote-hms.c (hms_files_info): Add the appropriate items where missing in the printf call. * remote-bug.c: new file for m88k bug support. * config/m88k/m88k.mt (TDEPFILES): added remote-bug.o.
1993-08-02Remove '.Sanitize' from explicit list of Things-to-lose. It is now implicitlyFred Fish1-1/+0
added to the list by Sanitize, unless Sanitize knows it needs to keep it.
1993-07-30Add .Sanitize to Things-to-lose list.Fred Fish1-0/+2
1993-07-27add exec.o to m88k TDEPFILES.K. Richard Pixley1-1/+1
1993-06-30 * inftarg.c: Remove unused include of terminal.h.Jim Kingdon1-3/+0
* signals.h: Don't undefine signals anymore. * main.c: Use job_control from serial.h. * fork-child.c (fork_inferior): Use gdb_setpgid. * serial.h, ser-unix.c, ser-go32.c: Provide gdb_setpgid. * utils.c (quit): Use current_target->to_terminal_ours to figure out whether we care about lack of job control, rather than __GO32__. * utils.c: Include serial.h not terminal.h (quit): Use job_control not TIOCGPGRP. * terminal.h: Don't undefine TIOCGPGRP. * serial.h, ser-unix.c, ser-go32.c, ser-tcp.c: Add SERIAL_FLUSH_OUTPUT. * utils.c (quit): Use it. * serial.h: Add SERIAL_UN_FDOPEN. * utils.c (quit): Use it. * ser-unix.c: Add process group to ttystate. [HAVE_SGTTY]: Add tchars, ltchars, and lmode to ttystate. * inflow.c: Include serial.h not terminal.h. Use serial.h stuff to replace most of the maze of #ifdef's. * inflow.c, main.c, inferior.h: make gdb_has_a_terminal a function. * serial.h: Document SERIAL_SET_TTY_STATE as being immediate. * ser-unix.c: Use TIOCSETN not TIOCSETP so it is true. * serial.h, ser-unix.c, ser-go32.c, ser-tcp.c: Add SERIAL_PRINT_TTY_STATE, SERIAL_NOFLUSH_SET_TTY_STATE, and SERIAL_SET_PROCESS_GROUP. * inflow.c: Use them. * config/xm-svr4.h, config/rs6000/xm-rs6000.h, config/sparc/sun4os4.h: Define HAVE_TERMIOS. * Various: Remove all use of TIOC*_BROKEN.
1993-06-28config/m88k/xm-delta88.h: Remove VPRINTF define, not needed.Jim Kingdon1-12/+0
1993-06-24* config/i386/ncr3000.mh, config/i386/i386v4.mh,K. Richard Pixley1-2/+0
config/i386/i386sol2.mh, config/m68k/hp300hpux.mh, config/m68k/amix.mh, config/mips/irix[34].mh, config/m88k/delta88.mh, config/sparc/sun4sol2.mh (ALLOCA, ALLOCA1): macros removed. * config/mips/decstation.mh, config/rs6000/rs6000.mh (MMALLOC_LIB): renamed to MMALLOC.
1993-06-23new M_UNINSTALL macroK. Richard Pixley1-0/+1
1993-06-18 * config/m88k/xm-delta88.h: Comment out unused defines which conflictJim Kingdon1-2/+21
with system headers. * printcmd.c (printf_command): Cast second arg to vprintf to PTR. Use VPRINTF macro if defined. * config/m88k/xm-delta88.h: Define VPRINTF. Include <sys/siginfo.h>. Define TIOC{GETC,GLTC}_BROKEN. * m88k-nat.c: Uncomment include of <sys/ptrace.h>. * main.c: Rename initialize_{main,cmd_lists,history} to init_* to make things easier on munch (apparently this matters on the delta88 with svr3).
1993-06-13 * m88k-tdep.c (IEEE_isNAN): Remove.Jim Kingdon1-3/+2
config/m88k/tm-m88k.h (INVALID_FLOAT): Return 0. This was the same broken isNAN as on the mips.
1993-05-27added things-to-lose sectionsK. Richard Pixley1-0/+2
1993-03-23Add .Sanitize files for new directories.Fred Fish1-0/+36
1993-03-23 * config/{*.mt, *.mh}: All target and host makefile fragmentFred Fish9-0/+578
config files moved to an appropriate config/<cpu> subdirectory. * nm-*, xm-*, tm-*: All native, host, and target files, which get linked to nm.h, xm.h, and tm.h respectively by configure, moved to appropriate config/<cpu> subdirectory.