David Edelsohn
15f13cd0ec
* monitor.c (monitor_insert_breakpoint): Handle bi-endian machines.
1996-12-10 01:32:17 +00:00
Mark Alexander
509ffa78cf
* config/mips/tm-mips.h: Get rid of call-dummy code.
...
Minor changes to make pre-ANSI compilers happy.
1996-12-10 00:15:46 +00:00
Mark Alexander
9d78e1afcc
* config/mips/tm-mips.h: Get rid of call-dummy code.
...
Minor changes to make pre-ANSI compilers happy.
* mips-tdep.c: Minor changes to make pre-ANSI compilers happy.
(mips_push_arguments): Rewrite to partially support EABI.
(mips_pc_in_call_dummy): New function.
* infcmd.c: Include symfile.h to get prototype of entry_point_address,
which fixes 64-bit sign extension bug on MIPS.
1996-12-10 00:14:48 +00:00
Jeff Law
9d49699b24
* gas/mn10200/*.s: New tests for the mn10200 assembler.
...
* gas/mn10200/basic.exp: Run them.
Tests for all instructions except mov*.
1996-12-10 00:14:35 +00:00
Fred Fish
1fe1c717d9
* gdb.texinfo, refcard.tex: Restore author credit
1996-12-09 23:58:07 +00:00
Jeff Law
dc1f8a2115
* config/tc-mn10200.c: Flesh out assembler support for MN10200.
...
* config/tc-mn10200.h: Likewise.
Actually assembles some mn10200 stuff (everything but mov* instructions!)
1996-12-09 23:53:37 +00:00
Jeff Law
781766e7e1
* mn10200-opc.c: Create mn10200 opcode table.
...
* mn10200-dis.c: Flesh out mn10200 disassembler. Not ready,
but moving along nicely.
Checkpointing today's mn10200 work.
1996-12-09 23:48:15 +00:00
Ian Lance Taylor
559c664adb
* config/tc-mips.c (mips16_extended_frag): Avoid an infinite loop
...
when extending because the value is exactly maxtiny + 1.
1996-12-09 23:34:20 +00:00
Ian Lance Taylor
8728fa9263
* config/tc-mips.c (RELAX_MIPS16_ENCODE): Add small and ext
...
arguments, and store them. Adjust other RELAX_MIPS16 macros.
(RELAX_MIPS16_USER_SMALL): Define.
(RELAX_MIPS16_USER_EXT): Define.
(mips16_small, mips16_ext): New static variables.
(append_insn): Pass mips16_small and mips16_ext to
RELAX_MIPS16_ENCODE.
(mips16_ip): Set mips16_small and mips16_ext.
(mips16_immed): Don't check mips16_autoextend.
(mips16_extended_frag): Check USER_SMALL and USER_EXT.
1996-12-09 23:26:15 +00:00
Ian Lance Taylor
102633cecf
* write.c (write_relocs): Print an error for an out of range
...
fixup, rather than calling abort.
* as.c (main): Unlink the output file if there are errors while
generating the fixups.
1996-12-09 22:11:24 +00:00
Geoffrey Noer
578d1f4493
additional register stuff
1996-12-09 09:11:45 +00:00
Geoffrey Noer
ddc2888e6b
Mon Dec 9 00:14:49 1996 Geoffrey Noer <noer@cygnus.com>
...
* config/mn10300/tm-mn10300.h: fix register names
* mn10300-tdep.c: new skeleton tdep for mn10300
1996-12-09 08:33:27 +00:00
David Edelsohn
966f47b470
* callback.c: #include <stdlib.h>
...
(os_error): New function.
(default_callback): Add os_error.
1996-12-09 02:27:59 +00:00
David Edelsohn
163a75afdb
* remote-sim.h: Update some comments.
...
* remote-sim.c (gdb_os_error): New function.
(init_callbacks): Fix initializing of gdb_callback. Add gdb_os_error.
(gdb_os_printf_filtered): Use gdb_stdout, not stdout.
1996-12-09 02:06:42 +00:00
David Edelsohn
e114415332
* callback.h (host_callback): New member `error'.
1996-12-09 01:12:03 +00:00
Peter Schauer
b65415a446
* Makefile.in (ALL_MACHINES): Add mips16-opc.o.
1996-12-08 12:35:28 +00:00
Peter Schauer
1d275068e9
* irix5-nat.c (supply_gregset, fill_gregset): Handle gregsets
...
from O32 and N32 ABI.
(xfer_link_map_member): Work around problem with alignments
in struct obj when compiling GDB under N32 ABI.
1996-12-08 08:38:34 +00:00
Jeff Law
2e8f4133d7
* simops.c (REG0_16): Fix typo.
1996-12-07 16:54:57 +00:00
J.T. Conklin
6827a1c758
* m68k-opc.c (m68k_opcodes): Revert change to use < and >
...
specifiers for fmovem* instructions.
1996-12-07 00:54:51 +00:00
Jeff Law
5084d8e513
Add missing semicolons in last change.
1996-12-07 00:36:50 +00:00
Ian Lance Taylor
f74ba7a3d9
* config/tc-mips.c (mips16_extended_frag): Don't call
...
S_GET_VALUE.
(md_convert_frag): Call resolve_symbol_value before calling
S_GET_VALUE, and don't add in the frag address.
1996-12-07 00:32:05 +00:00
Ian Lance Taylor
15e69f9816
* config/tc-mips.c (mips16_immed): Add file and line parameters,
...
and use them when reporting errors. Change all callers.
1996-12-06 23:51:01 +00:00
Jeff Law
31cffd2ee6
* elf32-mn10300.c (elf_symbol_leading_char): Define.
1996-12-06 22:51:44 +00:00
Jeff Law
ca82e4ebdb
* config/tc-mn10300.c: Fix various gcc -Wall warnings.
...
Remove '$' prefixing for registers.
1996-12-06 22:44:30 +00:00
Jeff Law
4db788a664
* mn10300-dis.c (disassemble): Remove '$' register prefixing.
1996-12-06 22:40:31 +00:00
Jeff Law
8fbb3e909a
* gas/mn10300/*.s: Remove '$' register prefixing.
1996-12-06 22:39:18 +00:00
Ian Lance Taylor
34212ec3f6
* mips16-opc.c: Change opcode for entry/exit to avoid conflicting
...
with dsrl.
1996-12-06 22:35:01 +00:00
Jeff Law
207e944c81
* elf32-mn10300.c: Add some comments.
...
Still cleaning up.
1996-12-06 22:23:37 +00:00
Ian Lance Taylor
e763bd6fad
* ieee.c (parse_ieee_bb): Always initialize namcopy to avoid gcc
...
warning about uninitialized variable.
(ieee_read_cxx_class): Likewise, for pf.
(ieee_enum_type): Likewise, for i.
1996-12-06 22:22:52 +00:00
Ian Lance Taylor
6dcf1ef5de
* ihex.c (ihex_scan): Always initialize buf before jumping to
...
error_return.
(ihex_read_section): Likewise.
1996-12-06 22:20:24 +00:00
Jeff Law
8329699005
* mn10300-opc.c: Add some comments explaining the various
...
operands and such.
* mn10300-dis.c (disassemble): Fix minor gcc -Wall warnings.
1996-12-06 22:04:12 +00:00
Jeff Law
b2f7a7e5b3
* simops.c: Call abort for any instruction that's not currently
...
simulated.
1996-12-06 21:49:27 +00:00
Jeff Law
9f4a551e11
* simops.c: Define accessor macros to extract register
...
values from instructions. Use them consistently.
1996-12-06 21:47:21 +00:00
Jeff Law
7c52bf32f2
* interp.c: Delete unused global variable "OP".
...
(sim_resume): Remove unused variable "opcode".
* simops.c: Fix some uninitialized variable problems, add
parens to fix various -Wall warnings.
Fixing assorted -Wall problems.
1996-12-06 21:33:48 +00:00
Jeff Law
fc038f5656
Opps. Forgot something in last change.
1996-12-06 21:20:17 +00:00
Jeff Law
d252301029
* gencode.c (write_header): Add "insn" and "extension" arguments
...
to the OP_* declarations.
(write_template): Similarly for function templates.
* interp.c (insn, extension): Remove global variables. Instead
pass them as arguments to the OP_* functions.
* mn10300_sim.h: Remove decls for "insn" and "extension".
* simops.c (OP_*): Accept "insn" and "extension" as arguments
instead of using globals.
Starting to clean things up.
1996-12-06 21:19:37 +00:00
Mark Alexander
1bcfe5fa30
* add valops.c to list of files to be sanitized for d10v
1996-12-06 17:44:23 +00:00
Martin Hunt
f787a8d9b8
Fri Dec 6 00:55:48 1996 Martin <hunt@cygnus.com>
...
* config/tc-d10v.c (md_assemble): Check to see if prev_seg
is initialized before using it.
(d10v_cleanup): No longer uses its argument, so make it void.
* config/tc-d10v.h (d10v_cleanup): Change prototype.
1996-12-06 09:13:25 +00:00
Jeff Law
e5a7a53799
* simops.c: Fix typos in "mov am,(d16,an)" and "mov am,(d32,an)"
...
Fixes remaining hangs while running c-torture execution tests.
Only 12 c-torture execution failures left:
* 920625-1.c fails all 6 execution tests.
* 960521-1.c fails all 6 execution tests.
1996-12-06 07:57:21 +00:00
Stan Shebs
48712b3060
* d10v-tdep.c: Add support for examination and interpretation
...
of instruction trace buffer.
(trace, untrace, info trace, tdisassemble): New commands.
1996-12-06 07:37:24 +00:00
Jeff Law
d28f058e54
* elf32-mn10300.c (elf_mn10300_howto_table): Don't set partial-
...
inplace for most relocs.
1996-12-06 05:35:00 +00:00
Jeff Law
4d8ced6cb1
* simops.c: Fix thinkos in last change to "inc dn".
1996-12-06 05:30:24 +00:00
Michael Meissner
6cc03ed378
Fix recent breakage
1996-12-06 04:46:19 +00:00
Ian Lance Taylor
c3f9e754b8
modify last patch
1996-12-05 23:34:59 +00:00
David Edelsohn
edbceb89a8
(TM_PRINT_INSN_MACH): Redefine for sparclet.
1996-12-05 22:30:45 +00:00
David Edelsohn
cf869869bd
* tm-sparclet.h (TM_PRINT_INSN_MACH): Redefine for sparclet.
1996-12-05 22:26:44 +00:00
David Edelsohn
d0e5107749
* config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER): Undef.
...
(TARGET_BYTE_ORDER_SELECTABLE): Define.
(BREAKPOINT): Undef.
({BIG,LITTLE}_BREAKPOINT): Define.
1996-12-05 22:09:15 +00:00
David Edelsohn
cd6dfa936a
* config/h8300/h8300.mt (SIM): Change to ../sim/h8300/libsim.a.
...
* config/h8500/h8500.mt (SIM): Change to ../sim/h8500/libsim.a.
Entries missing from Nov. 20 change.
1996-12-05 22:04:46 +00:00
J.T. Conklin
e72d5a50f9
* m68k-dis.c (print_insn_arg): Handle new < and > operand
...
specifiers.
* m68k-opc.c (m68k_opcodes): Simplify table by using < and >
operand specifiers in fmovm* instructions.
1996-12-05 20:12:47 +00:00
Ian Lance Taylor
12436407d1
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
...
use hold_rel unless SEC_ALLOC is set for the reloc section.
(gld${EMULATION_NAME}_place_section): Only set hold_rel if
SEC_ALLOC is set.
PR 11174.
1996-12-05 18:47:22 +00:00