Commit graph

20670 commits

Author SHA1 Message Date
Richard Henderson
290c51b5cd * config/tc-m68k.c (m68k_ip): Don't overwrite opcode table data.
(insop, m68k_ip): Make `opcode' const so it doesn't happen again.
1997-12-12 01:46:42 +00:00
Michael Snyder
bf1aae13f0 Thu Dec 11 14:28:01 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* tracepoint.c (trace_find_command): don't error if going
        backwards thru the trace buffer in a loop.
        * (struct tracepoint): delete unused field.
1997-12-11 22:34:09 +00:00
Keith Seitz
5f00acfc3f clean up sloppy Changelog entries 1997-12-11 20:40:38 +00:00
Gavin Romig-Koch
2a07178851 Don't run mips16 tests for tx49. 1997-12-11 14:28:38 +00:00
Michael Meissner
41cf747a99 Rename d30velf_{o,e} to be unique within 8 characters 1997-12-11 14:07:20 +00:00
Ian Lance Taylor
a3f1e78a6c * coff-sh.c (bfd_coff_small_swap_table): Initialize new fields. 1997-12-11 06:08:05 +00:00
Ian Lance Taylor
c63729b518 * elf.c (assign_file_positions_for_segments): For a loadable
section, make sure that the load address is correct relative to
	the load address of the segment plus the size of the segment so
	far.
1997-12-11 06:07:10 +00:00
Ian Lance Taylor
86274b9b5c * coffcode.h (_coff_link_output_has_begun): Make static.
(_coff_final_link_postscript): Likewise.
1997-12-11 06:04:39 +00:00
Ian Lance Taylor
5ee8d9327b * elflink.h (elf_link_input_bfd): Handle a relocateable link in
which a relocation refers to an indirect or warning symbol.
1997-12-11 04:38:44 +00:00
Felix Lee
06434f5f16 sanitization fixes. (files not mentioned, fences misspelled) 1997-12-11 04:18:47 +00:00
Keith Seitz
3de294afad always keep tracepoint.{c,h} 1997-12-11 03:16:50 +00:00
Keith Seitz
4f17e6eb48 * gdbtk.c (gdb_get_tracepoint_info): use info in struct
symtab_and_line, not struct tracepoint
          arrange data more like gdb_get_breakpoint_info
          (tracepoint_notify): use info in struct symtab_and_line,
          not struct tracepoint
          (gdbtk_init): add command "gdb_get_tracepoint_list" into
          interpreter
          (gdb_get_tracepoint_list): new function
1997-12-11 03:05:13 +00:00
David Taylor
7359fb1d01 changed d10v instruction patterns to d30v ones and made them defines rather
than sprinkled throughout the code.  changes to several functions; backtraces
now work and calling functions in the inferior partially works.  Registers
do not yet track the frame.
1997-12-11 00:14:33 +00:00
Jeff Law
23850e9219 * mips.igen (MSUB): Fix to work like MADD.
* gencode.c (MSUB): Similarly.
1997-12-11 00:11:04 +00:00
Andrew Cagney
70a46de24e (CVS is doing wierd things)
Re-checkin fixes to code verifying dwarf debug info CU headers before
using it.
1997-12-10 23:11:20 +00:00
Jim Blandy
7602287484 *** empty log message *** 1997-12-10 22:59:16 +00:00
Jim Blandy
bf6a4419d6 * ch-valprint.c (chill_val_print): To avoid segfaults, don't print
a string whose dynamic length is longer than its static length.
1997-12-10 22:58:21 +00:00
Jim Blandy
b2839a5602 * gch1494.ch, gch1494.exp: New tests, for PR 13812. 1997-12-10 22:58:03 +00:00
Ian Lance Taylor
7751f03a62 Source directory cvs renamed to cvssrc:
* configure.in (host_tools): Change cvs to cvssrc.
	(native_only): Likewise.
	(noconfigdirs) [various cases]: Likewise.
	* Makefile.in (ALL_MODULES): Change all-cvs to all-cvssrc.
	(CROSS_CHECK_MODULES): Change check-cvs to check-cvssrc.
	(INSTALL_MODULES): Change install-cvs to install-cvssrc.
	(CLEAN_MODULES): Change clean-cvs to clean-cvssrc.
	(all-cvssrc): Rename target from all-cvs.
1997-12-10 20:15:56 +00:00
Michael Meissner
70a810424d Add .rel/.rela sections; Setup constructors/destructors; Delete sections not linked in 1997-12-10 19:30:15 +00:00
Nick Clifton
5b6f4b31fc Fixed overflow from a LO16 reloc into a HI16_S reloc. 1997-12-10 19:20:31 +00:00
Michael Meissner
de7483285a Switch to using RELA relocations for the d30v. 1997-12-10 19:08:51 +00:00
Andrew Cagney
760410e55a * dwarf2read.c (dwarf2_build_psymtabs_hard): Check cu_header.length is
within dwarf_info_buffer not dwarf_abbrev_buffer.
1997-12-10 06:30:04 +00:00
Michael Meissner
27be012212 Change order slightly 1997-12-09 23:35:35 +00:00
Michael Meissner
98d38753e4 Add support for d30velf_{e,o} emulations to control whether text/data/et. al go in external memory or onchip memory 1997-12-09 22:57:58 +00:00
Michael Meissner
e48412a2b2 Add d30v, d10v, tic80 to all_emulations; Add Oct 23 changes to Makefile.in to Makefile.am 1997-12-09 21:04:34 +00:00
Michael Meissner
b0f764345d Add configurability to d30v 1997-12-09 20:37:00 +00:00
Andrew Cagney
c10ae9ad33 Test/fix d10v RTE instruction. 1997-12-09 05:46:48 +00:00
Andrew Cagney
c02ed6a8a3 For bfd, add vr5400 and vr5000 mips machine variants to list of machines.
For sim/mips, enable multi-sim support when mips64vr5400-elf is target.
For sim/igen, allow specification of a default machine (will need
more work later).
1997-12-09 04:01:06 +00:00
Keith Seitz
09e4fde230 * gdbtk.c (gdb_get_tracepoint_info): use info in struct
symtab_and_line, not struct tracepoint.
          (tracepoint_notify): use info in struct symtab_and_line,
          not struct tracepoint
1997-12-09 00:25:07 +00:00
Andrew Cagney
38d0ccc27a Fix typo, REP_S was refering to REP_E register.
Add test.
1997-12-08 23:44:11 +00:00
Michael Snyder
5d187fd318 Mon Dec 8 14:28:49 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* tracepoint.c (memrange_sortmerge): allow for memranges
        that overlap.  (collect_pseudocommand etc.) cleanup decls.
1997-12-08 22:32:35 +00:00
Nick Clifton
0c4f6dc21a Removed disasm_symaddr() function and switched detection of Arm vs Thumb
mode over to state of info->symbol, ala the MIPS port.
1997-12-08 19:26:40 +00:00
Andrew Cagney
bc6df23d14 For "trap", IBT and RIE exceptions, mask all PSW.SM. NB: Stepping
through an exception may not work correctly.
For GDB reads/writes to the control registers, ensure the cpu state is
updated correctly.
1997-12-08 03:22:58 +00:00
Nick Clifton
0a5875fc63 Fix HI16 and HI16_S relocations for PR14258 1997-12-06 00:57:20 +00:00
Keith Seitz
e0f7db023d * gdbtk.c (gdbtk_init): add gdb_find_file to interpreter
(gdb_find_file_command): new function searches source_path to
        find real full filename
1997-12-05 20:17:13 +00:00
Nick Clifton
22a9f052de Fix PR14180 and 14181 (patch from branch) 1997-12-05 19:37:35 +00:00
Nick Clifton
df09ec8d0a Use special section values for v850 common sections. 1997-12-05 19:29:21 +00:00
Nick Clifton
4098c12318 Reverrt breakpoint back to its old value. 1997-12-05 17:30:44 +00:00
Nick Clifton
22c39e1487 Reverrt BREAK value back to its old value 1997-12-05 17:27:34 +00:00
Nick Clifton
0279a92854 Reverted breakpoint back to its old value. 1997-12-05 17:24:15 +00:00
Doug Evans
62381069c9 * m32r-sim.h (MSPR_ADDR): New macro.
(m32r_mspr_device): Declare.
	(struct _devicep: Define.
	* m32r.c (m32r_mspr_device): New global.
	(device_{io_{read,write}_buffer,error}): New functions.
	* mem-ops.h (SETMEM*): Use sim_core_write_map, not read map.
	* sim-if.c: Delete redundant inclusion of cpu-sim.h.
	(sim_open): Attach device to handle MSPR register.
	* sim-main.h (WITH_DEVICES): Define as 1.
	Include cpu-sim.h.
1997-12-05 00:48:05 +00:00
Doug Evans
9bb68e2096 * Make-common.in (sim-core.o): Depend on $(sim_main_headers).
* sim-config.h (WITH_TREE_PROPERTIES): Define as 0.
	* sim-config.c (sim_config): Replace WITH_DEVICES with
	WITH_TREE_PROPERTIES.
1997-12-05 00:04:46 +00:00
Nick Clifton
206bc85d0d Chnaged BREAKPOINT definition to match new value in simualtor. 1997-12-04 17:32:04 +00:00
Nick Clifton
2f252edab6 Added missing sanitization markers. 1997-12-04 17:30:37 +00:00
Doug Evans
6e51f990a2 Regenerate configure files. 1997-12-04 17:26:06 +00:00
Andrew Cagney
7f48c9fe1d Add DM (bit 4) to PSW. See 7-1 for more info.
Test.
1997-12-04 07:01:30 +00:00
Doug Evans
bbb9b83c5e * configure.in (SIM_AC_OPTION_ENVIRONMENT): Call.
* configure: Regenerated.
1997-12-04 02:09:26 +00:00
Doug Evans
22469a10e8 * Make-common.in (SIM_ENVIRONMENT): New variable.
(CONFIG_CFLAGS): Add it.
	* aclocal.m4 (SIM_AC_OPTION_ENVIRONMENT): Handle
	--enable-sim-environment option.
	* configure: Regenerated.
	* sim-config.h (environment support): Rewrite.
	* sim-config.c (current_environment): Define as enum, unconditionally.
	(current_alignment): Define unconditionally.
	(config_environment_to_a): Update.
	(config_alignment_to_a): Fix type of argument.  Define unconditionally.
	(sim_config): Handle environment and alignment determination
	unconditionally.  Delete sanity checks of current_environment,
	unnecessary.
	(print_sim_config): Update.
	* sim-options.c (STANDARD_OPTIONS enum): Add OPTION_ENVIRONMENT.
	(standard_options): Add --environment.
	(standard_option_handler): Likewise.
1997-12-04 02:04:42 +00:00
Nick Clifton
b65b4d8b06 Fixed sanitization,
Changed pattern for break insn.
1997-12-04 01:29:25 +00:00