Commit Graph

24450 Commits

Author SHA1 Message Date
Doug Evans 976a48e6c3 * cgen-defs.h (PCADDR,CIA): Define in terms of IADDR.
(sim_disassemble_insn): Update prototype.
	(sim_engine_invalid_insn): Ditto.
	* cgen-engine.h (SEMANTIC_FN): Add !WITH_SCACHE version.
	(SEM_BRANCH_INIT): PCADDR->IADDR.
	(SEM_NBRANCH_FINI): New macro for !WITH_SCACHE case.
	* cgen-scache.c (scache_lookup,scache_lookup_or_alloc): PCADDR->IADDR.
	* cgen-scache.h (*): Ditto.
	* cgen-trace.c (*): Ditto.
	* cgen-trace.h (*): Ditto.
	* cgen-utils.c (*): Ditto.
	* cgen-types.h (integer modes): Use signedNN/unsignedNN types.
	(insn_t): Delete.
	* genmloop.sh (@cpu@_fill_argbuf): Add !WITH_SCACHE support.
	(simple engine framework): Rewrite.
	* sim-module.c (modules): Install model module sooner (and in
	particular before the profile module).
1999-01-15 07:02:30 +00:00
Jeff Law e39cea5f46 * coffdump.c (xcalloc): Remove, in libiberty now.
* srconv.c (xcalloc): Likewise.
        * sysdump.c (xcalloc): Likewise.
1999-01-15 06:40:20 +00:00
Doug Evans 6f14976b70 add 1999 to copyright date 1999-01-15 05:33:23 +00:00
Stan Shebs ef8884afcb * constvars.c: Remove C++-isms.
* constvars.exp: Use gdb_test everywhere, add xfails if compiled
 	with GCC.
1999-01-15 02:41:19 +00:00
Stan Shebs d6dc958030 * Makefile.in (GDBvn.texi): Fix match expression to work with
current format of VERSION in gdb/Makefile.in.
	* gdb.texinfo: Fix node ref to match new readline.
1999-01-15 01:12:49 +00:00
David Taylor 1206c6599d fix stream arguments to fprintf_unfiltered, gdb_flush, print_address_numeric,
and fwrite.
1999-01-14 23:40:25 +00:00
Michael Snyder dab43dfdcd Wed Jan 13 14:59:02 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
* infrun.c (set/show scheduler-locking) New command.  Set a
          mode bit that will control how GDB attempts to control thread
          scheduling for step, continue, etc.  (resume): make use of
          the schedule-locking mode.
        * target.h (struct target_ops): new field to_has_thread_control.
        * sol-thread.c: initialize target_ops to_has_thread_control.
        * procfs.c: ditto.
        * target.c: ditto.
        * m3-nat.c: ditto.
        * remote.c: ditto.
        * hpux-thread.c: ditto.
1999-01-14 18:46:54 +00:00
Nick Clifton 5727d41dae Output formatting change to improve readability. 1999-01-14 09:53:22 +00:00
Jason Molenda 984b70f0c8 1999-01-13 Jason Molenda (jsm@bugshack.cygnus.com)
* t-sadd.s: New file.
	* Makefile.in (TESTS): Add t-sadd.

PR 18438.
1999-01-14 00:46:01 +00:00
David Taylor 320d5bd8b6 insert_breakpoints -- insert cast to eliminate warning. 1999-01-14 00:37:26 +00:00
Michael Snyder 3ab2abae9a Wed Jan 13 14:59:02 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
* infrun.c (set/show scheduler-locking) New command.  Set a
          mode bit that will control how GDB attempts to control thread
          scheduling for step, continue, etc.  (resume): make use of
          the schedule-locking mode.
        * target.h (struct target_ops): new field to_has_thread_control.
        * sol-thread.c: initialize target_ops to_has_thread_control.
        * procfs.c: ditto.
        * target.c: ditto.
        * m3-nat.c: ditto.
        * remote.c: ditto.
        * hpux-thread.c: ditto.
1999-01-13 23:53:30 +00:00
Michael Snyder ea377ea4c0 spelling fix. 1999-01-13 23:49:55 +00:00
Michael Snyder 677f415c03 * thread.c: cull duplicate prototypes. Move prototypes to top.
* serial.c: indentation cleanup.
        * breakpoint.c: add casts to eliminate compiler warnings.
1999-01-13 23:44:07 +00:00
David Taylor 9e309e8341 change by Edie. 1999-01-13 17:18:32 +00:00
Edith Epstein e618fce49f Wed Jan 13 10:38:40 1999 Edith Epstein <eepstein@sophia.cygnus.com>
* gdb.texinfo: Changes made as part of a project to merge in
	  changes made by HP. Documentation makes extensive use of
	  @ifclear HPPA and @ifset HPPA. The HP manual omits doumentation
	  on remote debugging. There are differences in documentation
 	  (HP vs.  non-HP) on C++ support (aCC vs. gnu gcc++). Also,
	  the HP manual discusses catchpoints, hardware watchpoints, and
	  some HPUX specific limitations for shared library support.

	  There are also a number of @node changes.
1999-01-13 16:02:06 +00:00
Nick Clifton 393034a970 Removed fr30.sh and fr30.sc.
Added elf32fr30.sh
1999-01-13 09:23:09 +00:00
Jason Molenda 642c5be775 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
* monitor.c (init_base_monitor_ops): Whitespace cleanup.
        (_initialize_remote_monitors): Same.
1999-01-13 01:49:33 +00:00
Jason Molenda 9d4010dcac 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
* monitor.c (init_monitor_ops): Initialize the monitor_ops
        structure if it hasn't already been done.

PR 18735
1999-01-13 01:45:04 +00:00
Jason Molenda 4b6afe7012 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
* gdbint.texinfo (Formatting): Disambiguate a sentence.
        (C Usage): Same.

I am stupid, so I had trouble reading these two sentences.
Now I can read them, so I am happy.
1999-01-13 01:35:53 +00:00
Stan Shebs 870b0f305d Flush the Cygnus-ized reference card, hasn't been used in years. 1999-01-13 01:04:33 +00:00
Stan Shebs 7110ccc127 * inftarg.c (child_ops): Don't initialize statically.
(init_child_ops): New function, fills in child_ops.
	(_initialize_inftarg): Use it.
	(child_post_attach): Declare extern.
	(child_wait): Fix ambiguous parens.
	(child_attach_to_process): Remove unused local wstatus.
	(child_insert_fork_catchpoint, child_remove_fork_catchpoint,
	child_insert_vfork_catchpoint, child_remove_vfork_catchpoint,
	child_has_forked, child_insert_exec_catchpoint,
	child_remove_exec_catchpoint): Return a value.
1999-01-12 22:58:18 +00:00
Edith Epstein 9897afc639 Tue Jan 12 16:54:37 1999 Edith Epstein <eepstein@sophia.cygnus.com>
* gdb.texinfo (Shell Commands): fixed messages about shell usage.
          HP was insisting on C shell. Now all UNIX platforms have the
          same message. removed @ifset HPPA and @ifclear HPPA

Tue Jan 12 17:00:00 1999  Edith Epstein  <eepstein@sophia.cygnus.com>

	* inftarg.c (child_create_inferior): fixed HPUXHPPA specific
	  call to fork_inferior. The shell param is now NULL.
1999-01-12 22:03:58 +00:00
Doug Evans 9e507b690e * cgen-trace.c (trace_insn): Pass pc to trace_prefix for virtual insns. 1999-01-12 21:46:47 +00:00
Doug Evans cee25b7cb8 * sim-model.h (sim_mach_lookup_bfd_name): Add prototype.
* sim-model.c (sim_mach_lookup_bfd_name): New function.
	(sim_model_init): Call it.
1999-01-12 21:25:21 +00:00
Doug Evans 2f8eccae3d * Makefile.am (run-cgen): Pass options to cgen.
(stamp-m32r): Build operand instance table.
	(stamp-fr30,stamp-i960c): Don't build the table.
	* Makefile.in: Regenerate.
	* cgen.sh: New arg `options'.  Pass to cgen.
	* fr30-opc.c,i960c-opc.c: Regenerate.
1999-01-12 21:13:30 +00:00
David Taylor c6d4dd9883 remove acinclude.m4 until it gets committed. 1999-01-12 17:11:39 +00:00
David Taylor 0127dc8337 att ChangeLog. 1999-01-12 16:58:31 +00:00
Dave Brolley e1ef54a703 Add new test cases to the list of files to be kept. 1999-01-12 16:27:49 +00:00
David Taylor f0edbb0d5c new files. 1999-01-12 15:40:50 +00:00
David Taylor 36ea6c719b rename file. 1999-01-12 15:39:24 +00:00
David Taylor 8cdcdd2de6 fix typo. 1999-01-12 15:19:11 +00:00
Nick Clifton 0c14d9537c Remove .stack section, replace with __stack symbol. 1999-01-12 14:11:45 +00:00
Nick Clifton e79b7f1e01 Switch over to using generic elf script rather than an fr30 specific one. 1999-01-12 09:51:38 +00:00
Michael Snyder 98c5c19292 Mon Jan 11 16:43:44 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
* remote.c (remote_wait): Add inferior_pid to thread list only
        if it is not already there.
1999-01-12 00:44:30 +00:00
Doug Evans 533a502faf * Makefile.in (m32r-clean): rm eng.h. 1999-01-12 00:37:47 +00:00
Doug Evans e64b6cd434 * sim-main.h: Delete inclusion of ansidecl.h.
* cpu.h: Regenerate.
	* cpux.h: Regenerate.
1999-01-12 00:25:41 +00:00
Doug Evans 5dddc35ca9 * Makefile.in: Regenerate.
* configure.in: Redo test for using cgen.
	* configure: Regenerate.
plus remove fr30 sanitization
1999-01-12 00:08:48 +00:00
Jason Molenda 897ccbb084 1999-01-11 Jason Molenda (jsm@bugshack.cygnus.com)
* scm-tags.h: Update FSF's address on copyright notice.
        * ser-e7kpc.c: Same.
        * gnu-nat.h: Same.
1999-01-11 23:22:25 +00:00
Doug Evans e5e95c7d80 keep fr30 1999-01-11 23:16:57 +00:00
Doug Evans 3a794236c3 keep tc-fr30.[ch] 1999-01-11 23:16:25 +00:00
Doug Evans b83dc7fc11 keep fr30-elf 1999-01-11 23:15:16 +00:00
Doug Evans 5759b13198 fix typo in comment 1999-01-11 23:14:23 +00:00
Doug Evans 21b2e62f5e * fr30-opc.c: Regenerate.
Plus remove fr30 sanitization.
1999-01-11 23:03:31 +00:00
Stu Grossman 4cffc916c1 * dwarf2read.c (dump_die): Change stderr gdb_stderr.
* expprint.c (print_subexp):  fprintf => fprintf_unfiltered.
	* jv-typeprint.c (java_type_print_base):  fputs => fputs_filtered.
	* stack.c (struct function_bounds):  Remove superfluous `typedef'.
	* symfile.c (list_overlays_command):  stdout => gdb_stdout.
	* symmisc.c (maintenance_check_symtabs):  stdout => gdb_stdout.
	* utils.c (print_spaces):  Make more efficient.
1999-01-11 21:51:39 +00:00
Eric Mumpower 962636fda2 attempting to fix cvs branch/rev bogosity 1999-01-11 19:39:36 +00:00
Eric Mumpower a2e1171b0f forced commit, attempting to fix branch-related wierdness... 1999-01-11 19:32:47 +00:00
David Taylor 776fb68dfc print_spaces -- fix arg to strcat (broken by 1.165.6.4 change to utils.c). 1999-01-11 18:58:07 +00:00
Vladimir Makarov 14092d2b40 Thu Jan 11 18:37:50 1999 Vladimir N. Makarov <vmakarov@cygnus.com>
* invoke.texi (-mcpu=740, -mcpu=750): New options.
        (-m(no-)multiple, -m(no-)string): Describe cases for PPC740 &
	PPC750.

1999-01-11  Michael Meissner  <meissner@cygnus.com>

	* config/rs6000/rs6000.h ({ASM,CPP}_CPU_SPEC): Add support for all
	machines supported with -mcpu=xxx.
	(processor_type): Add PROCESSOR_PPC750.
	(ADJUST_PRIORITY): Call rs6000_adjust_priority.
	(RTX_COSTS): Supply costs for 750 multiply/divide operations.
	(rs6000_adjust_priority): Add declaration.

	* config/rs6000/rs6000.c (rs6000_override_options):
	-mcpu={750,740} now sets the processor type as 750, not 603.
	Allow -mmultiple and -mstring on little endian 750 systems.
	(rs6000_adjust_priority): Stub for now.
	(get_issue_rate): The PowerPC 750 can issue 2 instructions/cycle.

	* config/rs6000/rs6000.md (function/cpu attributes): Add initial
	ppc750 support.

	* config/rs6000/sysv4.h (STRICT_ALIGNMENT): Don't force strict
	alignment if little endian.
	(CC1_SPEC): Pass -mstrict-align if little endian, and not
	overridden.
	(CC1_ENDIAN_{LITTLE,BIG,DEFAULT}_SPEC): Endian specific configs.
	(SUBTARGET_EXTRA_SPECS): Add cc1 endian specs.

	* config/rs6000/{sysv4,eabi}le.h (CC1_ENDIAN_DEFAULT_SPEC):
	Override, default is little endian.

	* config/rs6000/t-ppcgas (MULTILIB_*): Delete obsolete Solaris
	multilibs.
1999-01-11 18:57:29 +00:00
David Taylor f273e38ccc new files -- part of HP merge project. 1999-01-11 15:52:01 +00:00
David Taylor db8276bb10 modifications as part of HP merge; new tests; support for HP's compilers. 1999-01-11 15:20:52 +00:00