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
Ian Lance Taylor
80be821d2e
* elflink.h (elf_link_add_object_symbols): Calling check_relocs
...
even if SEC_ALLOC is not set.
* elf32-i386.c (elf_i386_check_relocs): Don't check SEC_ALLOC
when deciding whether to copy a reloc into a shared object.
(elf_i386_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_check_relocs): Likewise.
(elf32_sparc_relocate_section): Likewise.
* elf32-i386.c (elf_i386_check_relocs): Don't set SEC_ALLOC in a
reloc section if it is not set in the source section.
* elf32-sparc.c (elf32_sparc_check_relocs): Likewise.
* elf.c (bfd_section_from_shdr): Mark a reloc section associated
with a SEC_DEBUGGING section as SEC_DEBUGGING.
PR 11174.
1996-12-05 18:47:03 +00:00
Ian Lance Taylor
00a69b895a
* write.c (fixup_segment): Don't discard the symbol for a PC
...
relative fixup to an absolute symbol.
PR 11204.
1996-12-05 16:06:14 +00:00
Geoffrey Noer
c6571f118d
Wed Dec 4 16:53:05 1996 Geoffrey Noer <noer@cygnus.com>
...
* configure.in: don't avoid building gdb for mn10300 any more
* Makefile.in: double-quote GCC_FOR_TARGET line in EXTRA_GCC_FLAGS
instead of single-quoting it.
1996-12-05 00:55:29 +00:00
Geoffrey Noer
021b78fb68
fixed sanitize files
1996-12-05 00:37:33 +00:00
Geoffrey Noer
6823374b90
Wed Dec 4 16:34:05 1996 Geoffrey Noer <noer@cygnus.com>
...
* config/mn10300/mn10300.mt
* config/mn10300/tm-mn10300.h: new config files for mn10300
processor
1996-12-05 00:36:45 +00:00
Martin Hunt
fa1e3be84c
Wed Dec 4 15:42:41 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* tc-d10v.c (md_assemble, d10v_cleanup): Fix bug
with multiple sections.
1996-12-04 23:47:30 +00:00
Martin Hunt
996bee906f
Wed Dec 4 15:42:41 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* config/tc-d10v.c (md_assemble, d10v_cleanup): Fix bug
with multiple sections.
1996-12-04 23:47:16 +00:00
Michael Meissner
a6a486d68c
Update .Sanitize files
1996-12-04 21:12:01 +00:00
Ian Lance Taylor
70eb6bdd65
* ppc-opc.c (insert_li): Give an error if the offset has the two
...
least significant bits set.
PR 11201.
1996-12-04 19:53:09 +00:00
Michael Meissner
e5c4495c9e
#if 0 some code that is not used yet
1996-12-04 19:19:15 +00:00
Jeff Law
61ecca95c0
* simops.c: "add imm,sp" does not effect the condition codes.
...
"inc dn" does effect the condition codes.
Just something I noticed.
1996-12-04 18:02:00 +00:00
Ian Lance Taylor
943321c07d
* config/tc-mips.c (md_longopts): Rename mips-16 to mips16, and
...
no-mips-16 to no-mips16.
(s_mipsset): Accept .set mips16 and .set nomips16.
1996-12-04 18:01:48 +00:00
Michael Meissner
8b1e9f129b
Allow foo@suffix+constant relocations
1996-12-04 15:42:14 +00:00