aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1996-11-20Fix a sanitization boobooStan Shebs1-12/+15
1996-11-20 * mn10300-dis.c (disassemble): Handle register lists.Jeff Law2-0/+47
More disassembler stuff.
1996-11-20 * mn10300-opc.c: Fix handling of register list operand forJeff Law2-9/+12
"call", "ret", and "rets" instructions. Stuff noticed while working on disasembler.
1996-11-20 * gas/mn10300/other.s: Update for correct syntax on aJeff Law2-4/+10
few instructions (those with register lists). * gas/mn10300/basic.exp: Corresponding changes. Stuff noticed while working on the disassembler.
1996-11-20 * mn10300-dis.c (disassemble): Print PC-relative and memoryJeff Law3-41/+67
addresses symbolically if possible. * mn10300-opc.c: Distinguish between absolute memory addresses, pc-relative offsets & random immediates. More disassembler work.
1996-11-20 * mn10300-dis.c (print_insn_mn10300): Fix fetch of last byteJeff Law2-4/+27
in 7 byte insns. (disassemble): Handle SPLIT and EXTENDED operands.
1996-11-20 * config.sub: Handle mn10200 and mn10300.Jeff Law2-4/+12
1996-11-20 * Makefile.in: Delete stuff moved to ../common/Make-common.in.David Edelsohn2-36/+4
(SIM_OBJS,SIM_EXTRA_CFLAGS,SIM_EXTRA_CLEAN): Define. * configure.in: Simplify using macros in ../common/aclocal.m4. Call AC_CHECK_HEADERS(unistd.h). * configure: Regenerated. * config.in: New file. * simops.c: #include "config.h". #include <unistd.h> if present.
1996-11-20 * Makefile.in: Delete stuff moved to ../common/Make-common.in.David Edelsohn2-22/+4
(SIM_OBJS,SIM_EXTRA_LIBS): Define. * configure.in: Simplify using macros in ../common/aclocal.m4. Call AC_CHECK_HEADERS(unistd.h). * configure: Regenerated. * config.in: New file. * interp.c: #include "config.h". #include <unistd.h> if present. (trap): Fetch errno value with callback->get_errno.
1996-11-20 * Makefile.in (LIBCOMMON): Define.David Edelsohn1-0/+3
($(TARGETLIB)): Add files from $(LIBCOMMON).
1996-11-20 * Makefile.in: Delete stuff moved to ../common/Make-common.in.David Edelsohn6-90/+209
(SIM_{OBJS,EXTRA_CFLAGS,EXTRA_CLEAN}): Define. * configure.in: Simplify using macros in ../common/aclocal.m4. * configure: Regenerated. * tconfig.in: New file.
1996-11-20 * Makefile.in: Delete stuff moved to ../common/Make-common.in.David Edelsohn4-162/+31
(SIM_OBJS): Define. * configure.in: Simplify using macros in ../common/aclocal.m4. * configure: Regenerated. * inst.h (enum sim_state): Define. (cpu_state_type): New member `state'. Set it whenever `exception' is set. * compile.c (sim_callback): New global. (sim_set_simcache_size): Renamed from sim_csize. (sim_resume, case O_SLEEP): Add right way to decode r0 but #if 0 out 'cus it can't work. Change main loop exit test to use cpu.state. (sim_trace): New function. (sim_stop_reason): Add right way to set results, but #if 0 out. (sim_size): New function. (sim_info): Redirect calls to printf_filtered through callback. (sim_set_callbacks): Record callback. * run.c: Deleted, using one in ../common now. * tconfig.in: New file.
1996-11-20 * Makefile.in: Delete stuff moved to ../common/Make-common.in.David Edelsohn5-186/+338
(SIM_{OBJS,EXTRA_LIBS,EXTRA_LIBDEPS,EXTRA_ALL,EXTRA_INSTALL}): Define. (SIM_{EXTRA_CLEAN,EXTRA_CFLAGS}): Define. * configure.in: Simplify using macros in ../common/aclocal.m4. Call AC_CHECK_HEADERS(stdlib.h). * configure: Regenerated. * config.in: New file. * func.c (sim_set_callbacks): Delete, moved to * interf.c (sim_set_callbacks): here. (sim_callback): New global. Rewrite all calls to printf_filtered to go through callback. (sim_size,sim_trace): New functions. (sim_{insert,remove}_breakpoint): #if 0 out. * sis.c: #include "config.h". #include <stdlib.h> if present. (main): Coerce fprintf arg to INIT_DISASSEMBLE_INFO to fprintf_ftype. * sis.h: #include "callback.h".
1996-11-20New file.David Edelsohn2-0/+5
1996-11-20 * Makefile.in: Delete all stuff moved to ../common/Make-common.in.David Edelsohn3-81/+62
(SIM_OBJS,SIM_EXTRA_CFLAGS,SIM_EXTRA_CLEAN): Define. * configure.in: Simplify using macros in ../common/aclocal.m4. Call AC_CHECK_HEADERS(unistd.h). * configure: Regenerated. * config.in: New file. * interp.c: #include "callback.h". * simops.c: #include "config.h". #include <unistd.h> if present.
1996-11-20Add new files.David Edelsohn1-0/+11
1996-11-20 * run.c: #include ../common/config.h, tconfig.h.David Edelsohn5-0/+395
(myname): New static global. (main): Recognize new options -a, -c. Also recognize -h if h8/300. Only process -c ifdef SIM_HAVE_SIMCACHE. Only process -p/-s ifdef SIM_HAVE_PROFILE. Parse program name from argv[0] and use in error messages. Pass sim_args to sim_open. Pass prog_args to sim_create_inferior. Add support for incomplete h8/300 termination indicators. (usage): Make more verbose. * aclocal.m4,config.in,tconfig.in,configure.in,configure: New files. * Makefile.in,Make-common.in,callback.c: New files. * nltvals.def,gentmap.c,gentvals.sh: New files.
1996-11-20 * run.c: Deleted, use one in ../common now.David Edelsohn3-171/+4
* Makefile.in: Delete everything that's been moved to ../common/Make-common.in. (SIM_OBJS): Define. * configure.in: Simplify using macros in ../common/aclocal.m4. * configure: Regenerated. * config.in: New file. * armos.c: #include config.h. * wrapper.c (mem_size): Value is in bytes now. (sim_callback): New global. (arm_sim_set_profile{,_size}): Delete. (arm_sim_set_mem_size): Rename to sim_size. (sim_do_command): Call printf_filtered via callback. (sim_set_callbacks): Record callback.
1996-11-20 * configure.in (configdirs): Add common.David Edelsohn2-43/+55
* configure: Regenerated.
1996-11-20 * config/h8500/h8500.mt (SIM): Change to ../sim/h8500/libsim.a.David Edelsohn1-1/+1
1996-11-20 * callback.h: Deleted, moved to ../include.David Edelsohn6-430/+112
* callback.c: Deleted, moved to ../sim/common. * Makefile.in (SFILES,COMMON_OBJS): Delete callback.[co]. (callback.o): Delete rule. * remote-sim.h: No longer include callback.h (sim_callback_write_stdout): Delete prototype. * remote-sim.c (init_callbacks,end_callbacks): New functions. (gdb_os_write_stdout, gdb_os_printf_filtered): New functions. (gdb_callback, callbacks_initialized): New static globals. (gdbsim_open): Call init_callbacks. (gdbsim_close): Call end_callbacks. (simulator_command): Call init_callbacks.
1996-11-20 * callback.h: New file, moved here from gdb.David Edelsohn2-0/+57
1996-11-20 * sim_calls.c (sim_resume): Reset sim_should_run if single stepping.David Edelsohn2-14/+115
1996-11-20 * mn10300-dis.c: Rough cut at printing some operands.Jeff Law2-19/+86
1996-11-19 * mn10300-dis.c: Start working on disassembler support.Jeff Law3-9/+276
* mn10300-opc.c (mn10300_opcodes): Fix masks on several insns. Selects opcodes & consumes bytes. Breaks badly if given data instead of code. No operands yet.
1996-11-19Do not convert short branch followed by short instruction into a parallel op ↵Michael Meissner1-0/+8
if -O
1996-11-19Do not build librx on d10vMichael Meissner2-1/+7
1996-11-19 * gas/mn10300/movm.s: Update for correct syntax.Jeff Law3-18/+30
* gas/mn10300/basic.exp: Update expected movm bit patterns.
1996-11-19 * config/tc-mn10300.c (md_assemble): Handle MN10300_OPERAND_REG_LIST.Jeff Law2-2/+76
So GCC can use movm in prologue/epilogues.
1996-11-19 * mn10300-opc.c (mn10300_operands): Add "REGS" for a registerJeff Law2-2/+11
list. (mn10300_opcodes): Use REGS for register list in "movm" instructions.
1996-11-19 * mn10300.h (MN10300_OPERAND_REG_LIST): Define.Jeff Law2-0/+12
1996-11-19 * gdbtk.c (gdbtk_readline): Fix memory leak.Tom Tromey2-1/+8
1996-11-19 Fixes for Tcl 7.6 / Tk 4.2:Tom Tromey3-661/+11
* gdbtk.tcl (apply_filespec): Use tk_getOpenFile. Removed old fileselect code. * gdbtk.c (Tcl_Alloc): Renamed from Tcl_Malloc.
1996-11-19Fix Irix6 host build problem.Jim Wilson2-2/+7
* config/mips/tm-mips.h (FIX_CALL_DUMMY): Change unsigned LONGEST to ULONGEST.
1996-11-18 * libiberty.h: Checkin again; last checkin failed due to sticky tag.Dawn Perchik1-0/+14
1996-11-18 * config/tc-mn10300.c (mn10300_insert_operand): Provide prototypeJeff Law2-7/+24
via PARAMS. (check_operand): Likewise.
1996-11-18Fix previous changeMichael Meissner1-1/+3
1996-11-18Check validity of user parallel operationsMichael Meissner2-0/+6
1996-11-18 * configure.in (mn10300): Build everything except gdb & libgloss.Jeff Law2-1/+5
1996-11-18Branch and link instructions modify r13Michael Meissner2-0/+8
1996-11-18Add3 sets the carryMichael Meissner1-0/+6
1996-11-18finally remove errant mentions of SanitizeAngela Marie Thomas2-2/+5
1996-11-16 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>Fred Fish2-7/+21
* procfs.c (wait_fd): Handle EINTR error return from poll by restarting the poll. * defs.h (PIDGET): Define a default version that just returns its argument unchanged. * inflow.c (terminal_init_inferior): Eliminate #ifdef of PIDGET and fold both alternatives into common code. (pass_signal): Use PIDGET for pid passed to kill().
1996-11-15 * gas/mn10300/other.s: Put parens around registerJeff Law2-3/+18
argument in calls and jmp instructions.
1996-11-15 * mn10300-opc.c (mn10300_opcodes): Demand parens aroundJeff Law2-2/+12
register argument is calls and jmp instructions. Found trying to build libgcc2 for the mn10300 :-)
1996-11-15Fix some warningsMichael Meissner2-0/+349
1996-11-15 * Makefile.in (emn10300.c): Add dependencies.Jeff Law3-0/+33
* configure.tgt: Handle mn10300. * emulparms/mn10300.sh: New file. Skeleton support for the mn10300. Matsushita.
1996-11-14Fix warningMichael Meissner1-0/+4
1996-11-14Define ULONGESTMichael Meissner2-0/+10
1996-11-14Merge from FSF.Per Bothner1-0/+62