Commit Graph

12931 Commits

Author SHA1 Message Date
Stan Shebs 9ce0322db8 README.GDBTK is a gdbtk file 1995-04-16 13:39:57 +00:00
Jim Kingdon 515587409e * rem-multi.shar: Removed; superceded by gdbserver. 1995-04-16 01:03:11 +00:00
Jim Kingdon e2adc41a31 * xcoffread.c (xcoff_sym_fns): Revise comment about merging this
with coffread.c.

	* breakpoint.c (fixup_breakpoints): Removed.
	* rs6000-nat.c (vmap_symtab): Don't call fixup_breakpoints.
	(vmap_ldinfo, xcoff_relocate_core): Call breakpoint_re_set.

	* coffread.c (coff_symfile_offsets): Allocate SECT_OFF_MAX
	sections, not just SECT_OFF_MAX-1.

	* rs6000-nat.c (vmap_symtab), xcoffread.c: Re-do section offsets
	to be indexed by SECT_OFF_* instead of xcoff section numbers.
	* objfiles.c, remote.c: Remove comments regarding SECT_OFF_*.
	* symtab.h: Revise comment about block_line_section.
	* rs6000-nat.c (vmap_symtab): Don't relocate objfile->sections.
1995-04-16 00:53:31 +00:00
Jim Kingdon 9b86fdcaef * gdb.base/a1-selftest.exp: Add alpha xfail. 1995-04-15 21:29:14 +00:00
Stan Shebs 8befb59469 * mpw-make.in (init.c): Don't try to do symbolic {o} in sed
command, not allowed by some version of MPW Make.
	* ser-mac.c (mac-setbaudrate): Make it actually set baud rates.
1995-04-15 21:22:14 +00:00
Jim Kingdon b3636ee55e Sat Apr 15 14:05:09 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* alpha-tdep.c (alpha_push_arguments): Fix typo (TYPE_VALUE ->
	VALUE_TYPE).  Do the cast for TYPE_CODE_BOOL, TYPE_CODE_CHAR,
	TYPE_CODE_ENUM, and TYPE_CODE_RANGE as well as TYPE_CODE_INT.

Sat Apr 15 14:04:32 1995  Per Bothner  <bothner@cygnus.com>

	* alpha-tdep.c (alpha_push_arguments): Only cast to long for
	TYPE_CODE_INT.
1995-04-15 21:13:08 +00:00
Stan Shebs d7c4766c8c * gdbtk.c (gdb_disassemble): Read from inferior if connected
to a VxWorks target.
1995-04-15 21:01:31 +00:00
Ken Raeburn 575a4d91ed keep new files 1995-04-15 08:21:11 +00:00
Ken Raeburn bd1a093d78 * Makefile.in (ALL_EMULATIONS): Added em68kelf.o.
(em68kelf.o): New target.
* config/m68k-elf.mt, emulparams/m68kelf.sh: New files.
* configure.in: Use them for m68*-*-elf.
1995-04-14 20:33:05 +00:00
Ken Raeburn 1b283698a7 * config.bfd: Add m68*-*-elf*.
* elf32-m68k.c: Filled out implementation, except for dynamic linking support.
* reloc.c (enum bfd_reloc_code_real): Added *_GOT_PCREL, *_GOTOFF, *_PLT_PCREL,
 *_PLTOFF, *_68K_* relocations for ELF.
* libbfd.h, bfd-in2.h: Regenerated.
1995-04-14 20:25:09 +00:00
Stu Grossman 6fd934a698 * README.GDBTK: New file. Contains the obvious. 1995-04-14 17:20:29 +00:00
Ken Raeburn 51ba1ae69b Fix for PR 6732.
* config/tc-sh.c (md_convert_frag): Instead of aborting on large displacements,
print an error message.  Don't invoke the code that followed the abort call
until it's been verified.
1995-04-13 23:36:33 +00:00
Ken Raeburn bcee935e6b * config/tc-m68k.c (md_show_usage): Add 68060 to list. Split cpu list into
three lines.
1995-04-13 22:21:11 +00:00
Rob Savoye 3e437fe639 * remote-array.c: New file for Array Tech LSI33k based controller
board.
1995-04-13 22:17:54 +00:00
Kung Hsu 9c92940ac4 * remote-vxsparc.c: New file, preliminary check in, this configuration
not supported yet.
        * remote-vxmips.c: ditto.
1995-04-13 20:03:52 +00:00
Kung Hsu 546e6a3955 * a29k-tdep.c (get_longjmp_target): Replace SWAP_TARGET_AND_HOST with
extract_address.
        * remote-vxsparc.c: New file, preliminary check in, this configuration
        not supported yet.
        * remote-vxmips.c: ditto.
1995-04-13 19:37:57 +00:00
Michael Meissner 07dc1e42d7 Do not use unprotected ANSI/ISO prototypes. 1995-04-13 16:13:48 +00:00
Stan Shebs d108166fde * monitor.h (init_monitor_ops): Declare.
* rom68k-rom.c: Clarify some comments.
	(rom68k_open): Define as static, to match decl.
1995-04-13 01:23:53 +00:00
Jim Kingdon 56b73ad2e3 * gdb.gdb: New file.
* .gdbinit: Move list-objfiles to gdb.gdb.
1995-04-13 00:46:52 +00:00
Jim Kingdon ade016526a * values.c (set_internalvar): Set modifiable flag of newval. 1995-04-13 00:36:37 +00:00
Jason Merrill b39958adc8 Wed Apr 12 16:06:01 1995 Jason Merrill <jason@phydeaux.cygnus.com>
* test-build.mk: Enable building of shared libraries on IRIX 5 and
        OSF/1.  Fix compiler flags.
	* build-all.mk: Support Linux and OSF/1 3.0.  Fix compiler flags.
1995-04-12 23:07:58 +00:00
Jim Kingdon f8203ed005 * xcoffread.c: Call complain() rather than error() or printing a
warning.
1995-04-12 22:17:41 +00:00
Stan Shebs 0fb26eac12 Always keep MPW support 1995-04-12 19:29:34 +00:00
Stan Shebs b55496866d Merge MPW ChangeLog with generic ChangeLog 1995-04-12 19:27:42 +00:00
Stan Shebs 36ae618cfb Always keep MPW support 1995-04-12 18:46:15 +00:00
Stan Shebs b8e2d17d95 Merge MPW ChangeLog with generic ChangeLog 1995-04-12 18:44:27 +00:00
Ken Raeburn 56e57a6be7 * aoutx.h (machine_type, case bfd_arch_mips): Treat R8000 like R6000 and R4000
for now.
1995-04-12 16:41:50 +00:00
David Edelsohn f0d795faf6 * arc-tdep.c: #include "gdbcmd.h".
(codestream_seek): Pass CORE_ADDR.
	(arc_cpu_type, tmp_arc_cpu_type, arc_cpu_type_table): New globals.
	(debug_pipeline_p): Likewise.
	(X_...): Instruction field access macros.
	(BUILD_INSN): Define.
	(codestream_tell): Allow for stream elements > 1 byte.
	(codestream_fill): Likewise.
	(setup_prologue_scan): New function.
	(arc_get_frame_setup): Call it.  Update to current spec
	regarding prologues.  Use BUILD_INSN.
	(skip_prologue): New argument `frameless_p'.  Use BUILD_INSN.
	(arc_frame_saved_pc): New function.
	(frame_find_saved_regs): Use BUILD_INSN.
	(get_insn_type, single_step): New functions.
	(one_stepped): New global.
	(arc_set_cpu_type_command, arc_show_cpu_type_command): New functions.
	(arc_set_cpu_type): New function.
	(_initialize_arc_tdep): Define new `set' commands `cpu',
	`displaypipeline', and `debugpipeline'.
	* remote-arc.c (break_insn): Add bi-endian support.
	(arc_insert_breakpoint): Likewise.
	(arc_remove_breakpoint): Likewise.
	(switch_command): Delete.
	* arc/tm-arc.h (TARGET_BYTE_ORDER): Delete.
	(TARGET_BYTE_ORDER_SELECTABLE): Define.
	(DEFAULT_ARC_CPU_TYPE): Define.
	(SKIP_PROLOGUE_FRAMELESS_P): Define.
	(BREAKPOINT): Delete.
	(BIG_BREAKPOINT, LITTLE_BREAKPOINT): Define.
	(DECR_PC_AFTER_BREAK): Change to 8.
	(NO_SINGLE_STEP): Define.
	(ARC_PC_TO_REAL_ADDRESS): Define.
	(SAVED_PC_AFTER_CALL): Use it.
	(NUM_REGS, REGISTER_BYTES): Fix.
	(FRAME_SAVED_PC): Call arc_frame_saved_pc.
	(FRAME_LOCALS_ADDRESS): Fix.
1995-04-12 15:47:39 +00:00
David Edelsohn 32513ed10d ARC stuff. 1995-04-12 15:46:23 +00:00
David Edelsohn d4c5309e4a Support keep-arc flag. 1995-04-12 15:45:15 +00:00
David Edelsohn fa7a56f8dc * config/tc-arc.c (delay_slot_type): New function.
(md_assemble): Use hashed list of insns.
	Print warning if 8 byte insn appears in delay slot.
	(md_operand): Handle %st(sym1-sym2).
	(get_arc_exp_reloc_type): Likewise.
	(md_apply_fix, case BFD_RELOC_ARC_B26): Now using implicit addends
	so must store them here.
1995-04-12 14:41:21 +00:00
David Edelsohn 5d57a66b5a ARC stuff. 1995-04-12 14:40:14 +00:00
Jim Kingdon 88a5c3fc6b * rs6000-nat.c (vmap_ldinfo): If we don't find ldinfo for the
symfile_objfile, nuke it.
1995-04-12 04:42:05 +00:00
David Edelsohn 99dff294dc * configure.in: Recognize --with-newlib.
(sparc-*-sunos4*): Build sim, dejagnu, expect, tcl if cross target.
	(arc-*-*): Build g++ stuff now.
1995-04-12 01:59:39 +00:00
Jim Kingdon 0c0c911b03 * top.c, utils.c, defs.h: Remove error_hook. It is currently
unused and would need to hook into error_begin()/return_to_top_level(),
	instead of error(), if it were to be used.
1995-04-12 00:16:35 +00:00
Ken Raeburn 98df091243 * configure.in: Require at least autoconf 2.3, because earlier versions lose on
some AIX versions.
* configure: Regenerated.

* configure.in: Add m68k-*-elf.
* config/tc-m68k.c (comment_chars) [OBJ_ELF]: Include '#'.
(md_pseudo_table) [OBJ_ELF]: Ignore "swbeg".
(md_begin): Set alt_notend_table['&'], so svr4-style immediate operands are
accepted.
(md_apply_fix): Argument VALP should point to valueT.
(md_convert_frag): Argument SEC should be type segT.
(md_shortopts) [OBJ_ELF]: Accept 'Q' with an argument.
(md_parse_option): Ignore it.
(md_convert_frag_1): Add in frag address for the symbol in the displacement
calculation.
* config/tc-m68k.h (TARGET_FORMAT) [OBJ_ELF]: Use "elf32-m68k".
(TARGET_ARCH): Define.
(REGISTER_PREFIX_OPTIONAL) [OBJ_ELF]: Default to 0.
(LOCAL_LABEL, FAKE_LABEL_NAME, REGISTER_PREFIX_OPTIONAL): Handle these the same
way for OBJ_ELF as for M68KCOFF.
1995-04-11 23:51:52 +00:00
Ken Raeburn 7b1f56d41c * as.h (struct relax_type): Add forward declaration for type. 1995-04-11 22:55:29 +00:00
Jim Kingdon 8989d4fc4b * utils.c, defs.h (warning_begin): Renamed from warning_setup, for
consistency with error_begin.  Also print warning_pre_print.
	Document it better.
	* utils.c (warning): Use it.
	* utils.c (error_begin): Doc fix.
	* rs6000-nat.c (vmap_ldinfo): If symfile_objfile is not part of
	any vmap, nuke it.
1995-04-11 22:26:14 +00:00
Jim Kingdon af125b1638 * annotate.texi: Clarify which addresses have differing formats
depending on the language and which do not.
1995-04-11 19:08:18 +00:00
Jim Kingdon f1cd942d08 * printcmd.c (print_address_numeric): Pass use_local to
print_longest, rather than always passing 1.
1995-04-11 18:57:57 +00:00
Stan Shebs 162bcd89b4 Always keep MPW support 1995-04-11 18:45:25 +00:00
Stan Shebs fff711c45b Merge MPW ChangeLog with generic ChangeLog 1995-04-11 18:21:44 +00:00
Jim Kingdon 0b0785402d * nlm/Makefile.in: Remove comments discussing munch. 1995-04-11 16:39:37 +00:00
Michael Meissner 45f90c50d3 Use F_SETOWN if SIOCSPGRP is not available. 1995-04-11 15:14:07 +00:00
Ken Raeburn faf2dc2714 note doc changes 1995-04-11 06:34:31 +00:00
Ken Raeburn 7beebeb652 bunch o changes 1995-04-11 06:19:06 +00:00
Ken Raeburn 9b0da28b13 write.c: Complain about .space or .org moving backwards.
Do generic rs_machine_dependent relaxation only if TC_GENERIC_RELAX_TABLE is
defined.  Use its value as the base of the table, so the actual declaration
can be cpu-specific (and const or not as appropriate).  For other cpus where
this isn't done (the majority), delete md_relax_table altogether.

For machines with WORKING_DOT_WORD, delete md_{short,long}_jump_size.
1995-04-11 06:10:34 +00:00
Stan Shebs 49073be098 Always keep MPW support 1995-04-11 02:08:59 +00:00
Stan Shebs cb5aa38b34 Merge MPW ChangeLog in with generic ChangeLog 1995-04-11 01:55:20 +00:00
Ken Raeburn 04ef74bb13 (PCINDEX): New macro.
(md_relax_table): No longer const.  Add PCINDEX entries.
(m68k_ip): For AINDX with simple symbol operand, generate a PCINDEX frag if PC
is used, or do normal non-AINDX processing for address register.
(m68k_init_after_args): If cpu is 68000 or 68010, fix md_relax_table to prevent
relaxation of PCINDEX/BYTE mode to SHORT, since they don't support that mode.
(md_convert_frag_1, case PCLEA/LONG): Add 4 to offset, not 2.  Add support for
new PCINDEX modes.
(md_estimate_size_before_relax): Process PCINDEX/SZ_UNDEF mode.
(md_convert_frag_1, case PCLEA/SHORT): Add 2 to offset.
(m68k_ip, case most punctuation/AOFF): If using PC, call add_frag using PCLEA.
1995-04-11 01:31:08 +00:00