aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/m68k
AgeCommit message (Collapse)AuthorFilesLines
1993-11-02 * findvar.c (value_of_register, value_from_register),Peter Schauer2-22/+15
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-10-31Keep Lynx filesStan Shebs1-0/+5
1993-10-30More LynxOS supportStan Shebs5-0/+133
1993-10-29 * defs.h, findvar.c (extract_floating, store_floating): New functions.Jim Kingdon1-3/+10
* 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-22 Merge Apollo patches from Troy Rollo (troy@cbme.unsw.edu.au):Jim Kingdon4-0/+90
* dst.h, dstread.c, config/m68k/{apollo68b.mt,tm-apollo68b.h}: New files. * config/m68k/nm-apollo68b.h: Add more defines. * configure.in: Recognize apollo target, not just host.
1993-10-22new for apolloJim Kingdon2-0/+0
1993-09-28 * config/nm-sysv4.h: Include solib.h. Define SVR4_SHARED_LIBS.Ian Lance Taylor2-2/+2
* config/tm-sysv4.h: Don't include solib.h. * config/xm-sysv4.h: Don't define SVR4_SHARED_LIBS. * config/i386/i386v4.mt (TDEPFILES): Move solib.o from here... * config/i386/i386v4.mh (NATDEPFILES): ...to here. * config/i386/nm-i386v4.h: Include nm-sysv4.h. * config/m68k/amix.mt (TDEPFIES): Move solib.o from here... * config/m68k/amix.mh (NATDEPFILES): ...to here.
1993-09-09 More gcc lint:Jim Kingdon18-125/+53
* exec.c (ignore): Return 0. * stack.c (return_command): Fetch lazy value directly, not via VALUE_CONTENTS, to avoid "value computed is not used". * inflow.c (new_tty): Move osigttou inside #if. * remote.c (remote_fetch_registers): If remote reply is short, just note that fact and keep going (reading extra registers as all bits 0). (remote_store_registers): Send number of registers that were found by remote_fetch_registers. * m68k-tdep.c, config/m68k/tm-m68k.h, config/m68k/tm-*.h: Remove HAVE_68881. Define CANNOT_STORE_REGISTER if ptrace() can't write floating registers. * config/m68k/{tm-m68k-nofp.h,m68k-nofp.mt,tm-m68k-fp.h,m68k-fp.mt}: Remove, replaced by {tm-m68k-em.h,m68k-em.mt}. * Makefile.in, configure.in: Change accordingly.
1993-09-09 * config/m68k/{tm-m68k-nofp.h,m68k-nofp.mt}: Remove.Jim Kingdon4-67/+0
* config/m68k/{tm-m68k-fp.h,m68k-fp.mt}: Rename to {tm-m68k-em.h,m68k-em.mt}.
1993-09-07 * config/m68k/tm-m68k.h (FIX_CALL_DUMMY): Changed name of swappingIan Lance Taylor1-2/+2
routine to match BFD name change. * config/z8k/tm-z8k.h (FIX_CALL_DUMMY): Likewise.
1993-09-01bzero -> memsetK. Richard Pixley1-1/+1
1993-09-01bcopy -> memcpyK. Richard Pixley1-1/+1
1993-08-27 * gdbserver/low-sun3.c: New file.Jim Kingdon1-0/+1
* gdbserver/Makefile.in, config/m68k/sun3.mh: Change accordingly. * Rename files for 14-character limits: gdbserver/remote-gutils.c -> gdbserver/utils.c gdbserver/remote-inflow.c -> gdbserver/low-lynx.c gdbserver/remote-inflow-sparc.c -> gdbserver/low-sparc.c gdbserver/remote-server.c -> gdbserver/server.c remote-monitor.c -> remote-mon.c * Makefile.in, gdbserver/Makefile.in, config/m68k/monitor.mt, config/i386/i386lynx.mh, config/sparc/sun4os4.mh: Change accordingly. * gdbserver/Makefile.in: Remove more junk inherited from gdb Makefile.
1993-08-20 * Move KERNEL_U_ADDR from xm-hp300bsd.h to nm-hp300bsd.h and makeJim Kingdon3-40/+34
it conditionalized on 4.3 vs. 4.4. * config/m68k/nm-hp300bsd.h: Move REGISTER_U_ADDR out of 4.3 and 4.4 sections; it was identical and now works for 4.4.
1993-08-19 * config/m68k/delta68.m{t,h}: Use nm-delta68.h, etc. notJim Kingdon3-3/+7
non-existent files nm-delta.h, etc. * config/m68k/tm-delta68.h: Define CANNOT_STORE_REGISTER. * delta68-nat.c: Add "[0]" in offsetof argument. * delta68-nat.c (_initialize_kernel_u_addr): Don't try to set up nl with initializer, just assign to it. Check n_scnum field on return.
1993-08-16 * config/m68k/tm-m68k.h (SIG_PC_FP_OFFSET, SIG_SP_FP_OFFSET):Peter Schauer1-0/+19
Define for correct handling of bachtraces through _sigtramp.
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-30Add monitor.mt and tm-monitor.h to Things-to-keep list.Fred Fish1-0/+2
1993-07-30Add delta68.mh, delta68.mt, nm-delta68.h, tm-delta68.h, xm-delta68.h toFred Fish1-0/+5
Things-to-keep list.
1993-07-22 * coredep.c: If NEED_SYS_CORE_H defined, include <sys/core.h>Ian Lance Taylor3-2/+20
(can't include it in nm-*.h file because it causes conflicts with a.out symbol definitions). * hp300ux-nat.c (fetch_core_registers): Commented out; obsolete. * config/m68k/hp300hpux.mh (NATDEPFILES): Added coredep.o and corelow.o. * config/m68k/nm-hp300hpux.h (NEED_SYS_CORE_H): Defined. (REGISTER_U_ADDR): Defined. * config/m68k/xm-hp300hpux.h (HAVE_TERMIOS): Define instead of HAVE_TERMIO. * config/pa/xm-hppah.h: Likewise.
1993-07-14Tue Jul 13 14:03:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)Jim Kingdon3-2/+7
* stabsread.c (define_symbol): Make the caddr_t hack apply to `function returning foo' as well as `pointer to foo'. * remote.c [REMOTE_BREAKPOINT]: Use for breakpoint insn if defined. * config/m68k/tm-m68k.h: Define it. * mem-break.c, breakpoint.c: Improve comments. Tue Jul 13 13:35:31 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) * config/m68k/tm-dpx2.h: Replace "tm-68k.h" with "m68k/tm-m68k.h". * config/m68k/xm-dpx2.h: Define HAVE_TERMIOS not HAVE_TERMIO.
1993-07-11 * configure.in (m68*-bull-sysv*): added support for Bull dpx2.Jim Kingdon6-0/+104
* config/m68k/{t,x,n}m-dpx2.h, dpx2-nat.c: New files. * config/m68k/dpx2.m{h,t}: New files.
1993-07-11new for dpx2Jim Kingdon5-0/+0
1993-07-02* configure.in, config/m68k/*delta68*, delta68-nat.c: New port.Jim Kingdon5-0/+104
1993-07-02new files for Motorola delta 68kJim Kingdon5-0/+0
1993-07-02 * Remove unused STACK_END_ADDR in the following files (in otherJim Kingdon5-30/+0
files it is used for something): tm-mips.h, tm-sun2.h, tm-news.h, tm-a29k, tm-i386v.h, tm-hppa.h, tm-nindy960.h, tm-amix.h, tm-hp300hpux.h, tm-isi.h.
1993-06-30 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define.Peter Schauer1-0/+3
1993-06-26 * config/m68k/tm-m68k.h: Remove obsolete comment about duplicatingJim Kingdon1-6/+1
CALL_DUMMY between different 68k machines.
1993-06-24* config/i386/ncr3000.mh, config/i386/i386v4.mh,K. Richard Pixley2-12/+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-14 * isi-xdep.c: New file.Jim Kingdon1-1/+1
* config/m68k/isi.mh (XDEPFILES): Add isi-xdep.o
1993-06-13 * config/m68k/xm-news.h: Include <sys/param.h>.Jim Kingdon1-0/+4
1993-06-13 * config/m68k/tm-sun3.h: Define SUN_FIXED_LBRAC_BUG to 0.Jim Kingdon1-0/+3
1993-06-11 * Rename remote-es1800.c to remote-es.cJim Kingdon1-1/+1
and remote-st2000.c to remote-st.c for 14-char filenames. config/m68k/{es1800,st2000}: Use the new names.
1993-06-08 * Move config/m68k/tm-m68k.h (FRAME_FIND_SAVED_REGS) toJim Kingdon1-117/+1
m68k-tdep.c (m68k_find_saved_regs). Don't duplicate code between 68881 and non-68881 cases. Check for a pair of movel instructions.
1993-06-08 * config/m68k/xm-news.h: add "extern int errno".Jim Kingdon1-0/+2
1993-06-08 * remove-vx.c (vx_read_register, vx_write_register): collapseK. Richard Pixley1-0/+9
ifdef I80960 else (assumes) m68k into parameterizable macros VX_NUM_REGS and VX_SIZE_FPREGS. * config/m68k/tm-vx68.h, config/i960/tm-vx960.h (VX_NUM_REGS, VX_SIZE_FPREGS): new definitions.
1993-06-05Remove # from XDEPFILES. This causes `make alldeps.mak' to produce a badStu Grossman1-1/+1
ALLDEPFILES definition.
1993-06-01These got lost somehow.Rob Savoye2-0/+43
1993-05-27added things-to-lose sectionsK. Richard Pixley1-0/+2
1993-05-19fix typoK. Richard Pixley1-3/+3
1993-05-19 * blockframe.c (get_prev_frame_info): If pc in sigtramp, setJim Kingdon2-10/+35
signal_handler_caller. * tm-68k.h (FRAME_{CHAIN,SAVED_PC}): Deal with sigtramp. * tm-hp300bsd.h: Define SIGTRAMP_{START,END} not IN_SIGTRAMP. * inferior.h (IN_SIGTRAMP): Definition moved from infrun.c. Use SIGTRAMP_START if defined. * infcmd.c (step_1): Use SIGTRAMP_{START,END} if needed. * infrun.c (wait_for_inferior): Check IN_SIGTRAMP before SKIP_PROLOGUE.
1993-05-18 * config/{i386/linux.mh,m68k/isi.mh} (NATDEPFILES):Jim Kingdon1-1/+3
Comment out corelow.c because core dumps are broken on these machines.
1993-05-11 * config/m68k/xm-hp300bsd.h: Include <sys/param.h> to avoid INT_MAXJim Kingdon1-6/+2
redefined warnings.
1993-04-28 * hp300ux-nat.c: Cast second arg to supply_register calls.Jim Kingdon3-19/+11
(_initialize_kernel_u_addr, getpagesize): New functions. (store_inferior_register_1): Change arg name from value to val. (fetch_core_registers): Make arg core_reg_size unsigned. Pass 5 args to ptrace. * config/m68k/xm-hp300hpux.h: Define FIVE_ARG_PTRACE. Remove KERNEL_U_ADDR stuff. * infptrace.c [FIVE_ARG_PTRACE]: Pass 5th arg to ptrace. * config/m68k/hp300hpux.m{t,h}: Move exec.o from NATDEPFILES to TDEPFILES * config/m68k/hp300hpux.mt: Mention GAS requirement. Remove hp-include stuff. Add m68k-tdep.o to TDEPFILES.
1993-04-20Remove CVS directory from list of things to keep.Fred Fish1-1/+0
1993-04-20 * irix4-nat.c (fetch_core_registers): Special version of this forStu Grossman1-1/+1
Irix 4.x, which stores regs a bit differently from other /proc based systems. * procfs.c, core-svr4.c: Move fetch_core_registers from procfs.c to new file core-svr4.c. * config/i386/i386sol2.mh, config/i386/i386v4.mh, config/m68k/amix.mh, config/i386/ncr3000.mh, config/sparc/sun4sol2.mh: Add core-svr4.o to NATDEPFILES. * config/mips/irix4.mh: Add corelow.o to NATDEPFILES.
1993-04-06 * Makefile.in (SFILES OBS): Add serial.[co] & ser-hardwire.[co].Stu Grossman1-1/+1
These implement a new serial line interface for talking to remote targets. * configure.in: Link ser-hardwire.c to ser-unix.c for all hosts, EXCEPT go32, which gets ser-go32.c. * remote.c: Use new serial interface. More remote-xxx's to be converted later. * ser-bsd.c, ser-termios.c: Removed. * serial.c: New. Implements common operations for all serial types. * ser-unix.c: New. Unix specific serial operations for various flavors of Unix (Posix, SysV, BSD). * serial.h: Generic serial interface defs. * config/i386/go32.mh, config/i386/i386bsd.h, config/m68k/apollo68b.mh, config/sparc/sun4os4.mh: Remove ser-bsd.o from XDEPFILES. All the magic is now handled in configure.in.
1993-04-06tm-68k* -> tm-m68k*Fred Fish1-3/+3
1993-03-30 * config/m68k/tm-m68k.h: Renamed from config/m68k/tm-68k.h.Fred Fish23-25/+25
* m68k/{tm-3b1.h, tm-altos.h, tm-amix.h, tm-es1800.h, tm-hp300bsd.h, tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-os68k.h, tm-st2000.h, tm-sun2.h, tm-sun3.h, tm-vx68.h}: Include tm-m68k.h instead of tm-68k.h. * Makefile.in (HFILES): tm-68k.h renamed to tm-m68k.h. * README, a29k-pinsn.c, m68k-pinsn.c, m68k-stub.c, remote-vx.c, m68k/{altos.mh, altos.mt, apollo68b.mh, nm-apollo68b.h, nm-hp300bsd.h, config/m68k/xm-apollo68b.h}: Map '68k' to 'm68k'. * a29k/tm-a29k.h, doc/gdbint.texinfo: Account for renaming of tm-68k.h to tm-m68k.h. * m68k/m68k-fp.mt (TM_FILE): tm-68k-fp.h renamed to tm-m68k-fp.h. * m68k/m68k-nofp.mt (TM_FILE): tm-68k-nofp.h renamed to tm-m68k-nofp.h.