binutils-gdb.git
29 years agokeep h8300 tests
Ken Raeburn [Wed, 1 Feb 1995 19:11:10 +0000 (19:11 +0000)]
keep h8300 tests

29 years ago * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
Jim Kingdon [Wed, 1 Feb 1995 18:21:30 +0000 (18:21 +0000)]
* gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
places as other ecoff systems).

29 years ago * gdb.base/nodebug.exp: Add xfails for ultrix (same places as
Jim Kingdon [Wed, 1 Feb 1995 17:08:16 +0000 (17:08 +0000)]
* gdb.base/nodebug.exp: Add xfails for ultrix (same places as
other ecoff systems).

29 years ago * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
Jim Kingdon [Wed, 1 Feb 1995 16:11:07 +0000 (16:11 +0000)]
* gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
ultrix.

29 years ago * som.c (som_object_setup): More heruistics to detect the
Jeff Law [Wed, 1 Feb 1995 08:35:40 +0000 (08:35 +0000)]
* som.c (som_object_setup): More heruistics to detect the
braindamaged HP OSF1 linker.
(setup_sections): Don't forget to free subspace_sections if we get
an error.
(som_slurp_string_table): Allocate strings on this bfd's obstack
rather than directly out of the heap.
(som_slurp_symbol_table): Likewise for the saved copy of the
canonical symbols.
(som_slurp_reloc_table): Likewise for the saved copy of the
canonical relocations.  Free the native relocations when we're
done with them.

29 years ago * libelf.h (struct elf_obj_tdata): New member program_header_size.
David Edelsohn [Wed, 1 Feb 1995 05:56:53 +0000 (05:56 +0000)]
* libelf.h (struct elf_obj_tdata): New member program_header_size.
* elfcode.h (get_program_header_size): New parameters sorted_hdrs,
count, and maxpagesize.  All callers updated.
If sorted_hdrs is non-NULL, use it to compute the number of segments.
Save result in case called again.
(assign_file_positions_except_relocs): Sort headers before calling
get_program_header_size.

29 years ago * ldlang.c (lang_size_sections): Clarify error message when user
David Edelsohn [Wed, 1 Feb 1995 00:23:47 +0000 (00:23 +0000)]
* ldlang.c (lang_size_sections): Clarify error message when user
specified start addr conflicts with region.  Fix resetting of
region pointer.

29 years ago * config/m68k/monitor.mt,
Jim Kingdon [Tue, 31 Jan 1995 22:00:59 +0000 (22:00 +0000)]
* config/m68k/monitor.mt,
config/pa/{hppabsd.mt,hppahpux.mt,hppaosf.mt,hppapro.mt}: Put
depfiles in TDEPFILES not REMOTE_O.

29 years ago * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
Jim Kingdon [Tue, 31 Jan 1995 21:01:09 +0000 (21:01 +0000)]
* gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
remove them.
* gdb.base/nodebug.exp: Accept "function" in addition to "text
variable and "variable" in addition to "data variable".
* gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.

29 years ago * elfcode.h (map_program_segments): Add sorted_hdrs parameter.
Ian Lance Taylor [Tue, 31 Jan 1995 20:55:25 +0000 (20:55 +0000)]
* elfcode.h (map_program_segments): Add sorted_hdrs parameter.
Search through it rather than through unsorted section headers.
(assign_file_positions_except_relocs): Pass sorted_hdrs to
map_program_segments.

29 years ago From nigel@algor.co.uk.
Steve Chamberlain [Tue, 31 Jan 1995 19:30:27 +0000 (19:30 +0000)]
From nigel@algor.co.uk.
* ser-go32.c (dos_close): Don't crash if scb null.
(dos_sendbreak): New function.
(dos_ops): Point to dos_sendbreak.
(dos_info): Calculate COM number correctly.

29 years ago * xcoffread.c (process_xcoff_symbol): Use new variables
Jim Kingdon [Tue, 31 Jan 1995 18:38:06 +0000 (18:38 +0000)]
* xcoffread.c (process_xcoff_symbol): Use new variables
func_symbol_type and var_symbol_type as type of functions and
variables which don't have any stabs associated with them.
Reindent most of function.
(_initialize_xcoffread): Initialize *_symbol_type.

* xcoffread.c (read_xcoff_symtab): Reindent most of function.
Put C_HIDEXT symbols in the minimal symbols, rather than ignoring
them (this part commented out as I didn't quite get it to work).
(cs_to_section, find_targ_sec): New functions, to support above code.
* xcoffread.c (RECORD_MINIMAL_SYMBOL): Only skip '.' if it is
actually present.

29 years ago * ldexp.c (fold_name): In case NAME, permit an absolute symbol
Ian Lance Taylor [Tue, 31 Jan 1995 17:40:50 +0000 (17:40 +0000)]
* ldexp.c (fold_name): In case NAME, permit an absolute symbol
in lang_allocating_phase_enum.
PR 6259.

29 years ago* ecoff.c (_bfd_ecoff_find_nearest_line): Fix problems in range checking.
Ken Raeburn [Tue, 31 Jan 1995 03:57:31 +0000 (03:57 +0000)]
* ecoff.c (_bfd_ecoff_find_nearest_line): Fix problems in range checking.
Expect argument OFFSET to be section-relative.  From David Mosberger-Tang,
davidm@piston.cs.arizona.edu.

29 years ago * gdbtk.tcl (create_file_win): Disable old popup menu for source
Stu Grossman [Tue, 31 Jan 1995 01:41:55 +0000 (01:41 +0000)]
* gdbtk.tcl (create_file_win):  Disable old popup menu for source
window.

29 years ago * sparcl-tdep.c: Add `sparclite' target for doing serial and udp
Stu Grossman [Tue, 31 Jan 1995 01:38:44 +0000 (01:38 +0000)]
* sparcl-tdep.c:  Add `sparclite' target for doing serial and udp
downloads to SPARClite demo boards.

29 years ago * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
Jim Kingdon [Mon, 30 Jan 1995 19:53:35 +0000 (19:53 +0000)]
* gdb.base/list.exp (test_forward_search): Set listsize to 4 not
2.
* gdb.base/list1.c (long_line): Add additional statement at start
of function.
* gdb.base/list.exp (test_forward_search): Update line number to
reflect new statement.

29 years agotipo
Ian Lance Taylor [Mon, 30 Jan 1995 04:23:50 +0000 (04:23 +0000)]
tipo

29 years ago * remote.c, remote-pa.c: Remove #if 0'd icache code. It has had
Jim Kingdon [Sun, 29 Jan 1995 17:51:58 +0000 (17:51 +0000)]
* remote.c, remote-pa.c: Remove #if 0'd icache code.  It has had
no hope of working as is for a long time (in particular, shebs' 27
Jan 95 change confuses the issue further--target_read_memory and
xfer_core_file do *not* do the same thing in this context).
Revise comment.

29 years ago(arc.h): New file, contains ARC specific ELF definitions.
David Edelsohn [Sun, 29 Jan 1995 08:00:08 +0000 (08:00 +0000)]
(arc.h): New file, contains ARC specific ELF definitions.

29 years ago * som.c (compare_subspaces): New function to sort subspaces by
Jeff Law [Sun, 29 Jan 1995 06:37:35 +0000 (06:37 +0000)]
* som.c (compare_subspaces): New function to sort subspaces by
their location in the object file.
(setup_sections): When computing the index for each subspace,
handle case where setup_sections reads the subspaces in a
different order that they appear in the object file.
(som_is_space): Also examine the output section for the containing
section.
(som_is_subspace, som_is_container): Likewise.
(som_begin_writing): Don't prepare or write fixups here.  When
writing the symbol strings, use the unsorted symbol table.
(som_write_object_contents): Don't write the symbol table here.
(som_finish_writing): Prepare and write the fixups here.  Likewise
for the symbol table.
(som_bfd_derive_misc_symbol_info): Undefined symbols always have
type SS_UNSAT regardless of BSF_EXPORT.
(som_set_reloc_info): Unpack and attach argument location
information for R_PCREL_CALL and R_ABS_CALL relocations.

29 years ago * elfread.c (elf_symtab_read): Do not test BSF_GLOBAL for
Peter Schauer [Sat, 28 Jan 1995 21:43:51 +0000 (21:43 +0000)]
* elfread.c (elf_symtab_read):  Do not test BSF_GLOBAL for
procedure linkage table symbols, it is no longer set due to the
Jan 6 BFD change in bfd/elfcode.h.

29 years ago * som.c (som_object_setup): New heuristic to determine if the
Jeff Law [Sat, 28 Jan 1995 19:50:52 +0000 (19:50 +0000)]
* som.c (som_object_setup): New heuristic to determine if the
entry and flags fields are switched in the exec header.

29 years ago * gdb.disasm/Makefile.in (clean): Delete "errs" file.
Jeff Law [Sat, 28 Jan 1995 08:42:31 +0000 (08:42 +0000)]
* gdb.disasm/Makefile.in (clean): Delete "errs" file.
* gdb.stabs/Makefile.in: Likewise.

* gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
change.  Instead split the tests into smaller pieces.
* gdb.disasm/hppa.s: Corresponding changes.

29 years ago * elfcode.h (elf_link_add_object_symbols): Use *sym_hash instead
Ian Lance Taylor [Sat, 28 Jan 1995 05:17:04 +0000 (05:17 +0000)]
* elfcode.h (elf_link_add_object_symbols): Use *sym_hash instead
of h if we might not be doing an ELF link.

29 years ago * top.c (use_windows): Clarify comments.
Stan Shebs [Sat, 28 Jan 1995 01:38:39 +0000 (01:38 +0000)]
* top.c (use_windows): Clarify comments.

29 years ago * convex-tdep.c (xfer_core_file): Comment out.
Stan Shebs [Sat, 28 Jan 1995 01:32:10 +0000 (01:32 +0000)]
* convex-tdep.c (xfer_core_file): Comment out.
* config/convex/tm-convex.h (XFER_CORE_FILE): Remove.
* remote.c, remote-pa.c (remote_fetch_word): Change xfer_core_file
        references to target_read_memory.
* gdbcore.h (xfer_core_file, core_open, core_detach): Remove
declarations.
* corelow.c (core_open, core_detach): Make static.

29 years ago * arm-tdep.c: Make it compile.
Stan Shebs [Sat, 28 Jan 1995 01:17:33 +0000 (01:17 +0000)]
* arm-tdep.c: Make it compile.
(exec_file_command, xfer_core_file): Comment out.
(arm_print_insn): Remove, now in libopcodes.
(skip_prologue): Comment out most of body.
(arm_frame_find_saved_regs): Move here from tm-arm.h.
(_initialize_arm_tdep): Set tm_print_insn.
* config/arm/tm-arm.h: Remove old refs to first_object_file_end.
(XFER_CORE_FILE): Remove.
(FRAME_FIND_SAVED_REGS): Call arm_frame_find_saved_regs.

29 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): For
Ian Lance Taylor [Fri, 27 Jan 1995 21:28:52 +0000 (21:28 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): For
a MIPS target, clobber the size of all but the first input
.reginfo section to be 0, so that lang_size_sections sets the
correct size for the output .reginfo section.

29 years ago * elf32-mips.c (mips_elf_final_link): If the size of an input
Ian Lance Taylor [Fri, 27 Jan 1995 21:27:33 +0000 (21:27 +0000)]
* elf32-mips.c (mips_elf_final_link): If the size of an input
.reginfo section is zero, force it to the correct size, since the
linker emulation code may have clobbered it.

29 years ago * elfcode.h (elf_sort_hdrs): Correct SHF_ALLOC test.
Ian Lance Taylor [Fri, 27 Jan 1995 21:24:28 +0000 (21:24 +0000)]
* elfcode.h (elf_sort_hdrs): Correct SHF_ALLOC test.
(assign_file_positions_except_relocs): Free sorted_hdrs.

29 years agoadded two h8300 tests
Ken Raeburn [Fri, 27 Jan 1995 19:06:56 +0000 (19:06 +0000)]
added two h8300 tests

29 years ago * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
Jim Kingdon [Fri, 27 Jan 1995 18:22:15 +0000 (18:22 +0000)]
* gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
Quote ^C when passing it to stty.  For some shells ^ is a pipe.

29 years ago * gdb.base/funcargs.exp: Modify many tests so that every test
Jim Kingdon [Fri, 27 Jan 1995 17:29:52 +0000 (17:29 +0000)]
* gdb.base/funcargs.exp: Modify many tests so that every test
either passes or fails.  Make some test names unique.

29 years ago* Makefile.in (CHILL_LIB): Define as in testsuite/Makefile.in.
Jim Kingdon [Fri, 27 Jan 1995 16:53:21 +0000 (16:53 +0000)]
* Makefile.in (CHILL_LIB): Define as in testsuite/Makefile.in.

29 years ago * srec.c (srec_set_section_contents): Fix off by
Steve Chamberlain [Fri, 27 Jan 1995 16:41:11 +0000 (16:41 +0000)]
* srec.c (srec_set_section_contents): Fix off by
one end address calculation.

29 years ago * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
Jim Kingdon [Fri, 27 Jan 1995 05:40:50 +0000 (05:40 +0000)]
* gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
Call stty to set interrupt character.

29 years ago * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
Jim Kingdon [Fri, 27 Jan 1995 04:24:09 +0000 (04:24 +0000)]
* gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
for HP assembler versus GNU assembler based on actual behavior of
$(CC), rather than assuming that $(AS) is always the GNU assembler.

29 years ago* TODO: Suggest a few more stepping tests.
Jim Kingdon [Fri, 27 Jan 1995 03:22:42 +0000 (03:22 +0000)]
* TODO: Suggest a few more stepping tests.

29 years ago * symtab.c (find_pc_line): When subtracting one to get a line
Jim Kingdon [Fri, 27 Jan 1995 03:15:20 +0000 (03:15 +0000)]
* symtab.c (find_pc_line): When subtracting one to get a line
number, make sure not to end up with zero.

29 years ago * remote-vx.c: Revert all of Kung's changes of 16 Jan. The
Jim Kingdon [Fri, 27 Jan 1995 03:10:00 +0000 (03:10 +0000)]
* remote-vx.c: Revert all of Kung's changes of 16 Jan.  The
problems with those changes were (a) the file didn't compile, (b)
they changed memset to bzero--memset is correct, (c) they took out
code to deal with boards lacking floating point, (d) who knows
what I didn't discover in a quick read.

29 years ago * sparcl-tdep.c: Clean up formatting and indentation.
Stu Grossman [Fri, 27 Jan 1995 01:34:48 +0000 (01:34 +0000)]
* sparcl-tdep.c:  Clean up formatting and indentation.

29 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Ian Lance Taylor [Fri, 27 Jan 1995 00:54:51 +0000 (00:54 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Remove unused variable is.

29 years ago* config/tc-h8300.c (get_specific): Add parens around | inside &.
Ken Raeburn [Fri, 27 Jan 1995 00:05:09 +0000 (00:05 +0000)]
* config/tc-h8300.c (get_specific): Add parens around | inside &.
(skip_colonthing): Set L_8 if ":8" is specified.

29 years ago * config/tc-ppc.c (md_begin): Permit mfdec to be duplicated on the
Ian Lance Taylor [Thu, 26 Jan 1995 23:41:12 +0000 (23:41 +0000)]
* config/tc-ppc.c (md_begin): Permit mfdec to be duplicated on the
601.  Check that the error return from hash_insert is "exists".

29 years ago * ppc-opc.c: Changes based on patch from David Edelsohn
Ian Lance Taylor [Thu, 26 Jan 1995 23:35:32 +0000 (23:35 +0000)]
* ppc-opc.c: Changes based on patch from David Edelsohn
<edelsohn@npac.syr.edu>.
(powerpc_operands): Add operands SPRBAT and SPRG. Split TBR out of
SPR.
(FXM_MASK): Define.
(insert_tbr): New static function.
(extract_tbr): New static function.
(XFXFXM_MASK, XFXM): Define.
(XSPRBAT_MASK, XSPRG_MASK): Define.
(powerpc_opcodes): Add instructions to access special registers by
name.  Add mtcr and mftbu.

29 years ago * elfcode.h (elf_link_add_object_symbols): Only examine weakdef if
Ian Lance Taylor [Thu, 26 Jan 1995 21:48:14 +0000 (21:48 +0000)]
* elfcode.h (elf_link_add_object_symbols): Only examine weakdef if
we are using an ELF hash table.

29 years ago * remote-hms.c (hms_ops): Change ref of hr_load_image
Steve Chamberlain [Thu, 26 Jan 1995 19:57:09 +0000 (19:57 +0000)]
* remote-hms.c (hms_ops): Change ref of hr_load_image
to gr_load_image.
(dcache_flush, dcache_hit, dcache_value, dcache_fetch,
dcache_poke, dcache_init):  Deleted.
(hms_open, hms_resume, hms_fetch_word, hms_store_word):
Use dcache routines provided by remote-util.h

29 years ago * remote-hms.c (hms_ops): Change ref of hr_load_image
Steve Chamberlain [Thu, 26 Jan 1995 18:53:20 +0000 (18:53 +0000)]
* remote-hms.c (hms_ops): Change ref of hr_load_image
to gr_load_image.

29 years agoAdd embedded PowerPC ELF support.
Michael Meissner [Thu, 26 Jan 1995 17:59:08 +0000 (17:59 +0000)]
Add embedded PowerPC ELF support.

29 years agoNew file.
Steve Chamberlain [Thu, 26 Jan 1995 17:41:48 +0000 (17:41 +0000)]
New file.

29 years ago * config.bfd: (m68*-est-coff): New configuration.
Steve Chamberlain [Thu, 26 Jan 1995 17:37:31 +0000 (17:37 +0000)]
  * config.bfd: (m68*-est-coff): New configuration.

29 years agoAdd powerpc-*-eabi support.
Michael Meissner [Thu, 26 Jan 1995 17:27:56 +0000 (17:27 +0000)]
Add powerpc-*-eabi support.

29 years agoAdd support for PowerPC embedded ABI.
Michael Meissner [Thu, 26 Jan 1995 17:07:03 +0000 (17:07 +0000)]
Add support for PowerPC embedded ABI.

29 years ago * aoutx.h (NAME(aout,some_aout_object_p)): Always set EXEC_P if
Ian Lance Taylor [Thu, 26 Jan 1995 16:43:54 +0000 (16:43 +0000)]
* aoutx.h (NAME(aout,some_aout_object_p)): Always set EXEC_P if
the start address is in the .text section, even if STAT_FOR_EXEC
is set.  Just use STAT_FOR_EXEC as an additional test.

29 years agoAllow configuration of PowerPC embedded ABI.
Michael Meissner [Thu, 26 Jan 1995 16:39:26 +0000 (16:39 +0000)]
Allow configuration of PowerPC embedded ABI.

29 years agoAdd new relocs for PowerPC Elf support.
Michael Meissner [Thu, 26 Jan 1995 16:31:24 +0000 (16:31 +0000)]
Add new relocs for PowerPC Elf support.
Add eabi support.

29 years ago * coff-sh.c (CALC_ADDEND): Don't define.
Ian Lance Taylor [Thu, 26 Jan 1995 04:27:50 +0000 (04:27 +0000)]
* coff-sh.c (CALC_ADDEND): Don't define.
(coff_sh_relocate_section): Remove.
(coff_relocate_section): Use _bfd_coff_generic_relocate_section.

29 years ago * language.h (struct language_defn): New field c_style_arrays.
Per Bothner [Thu, 26 Jan 1995 02:32:25 +0000 (02:32 +0000)]
* language.h (struct language_defn):  New field c_style_arrays.
* language.c (unknown_language_defn, auto_language_defn,
local_language_defn), c-lang.c (c_language_defn, cplus_language_defn,
asm_language_defn):  Set c_style_arrays to true.
* m2-lang.c (m2_language_defn), ch-lang.c (chill_language_defn),
f-lang.c (f_language_defn):  Set c_style_arrays to false.
* valops.c (value_string):  If c_style_array is not set,
allocate string in gdb (not inferior) using allocate_value.

* value.h (COERCE_ARRAY), valops.c (value_addr, value_arg_coerce):
Only call value_coerce_array if current_language->c_style_arrays.
* values.c:  Add #include "language.h".  (Needed for COERCE_ARRAY.)

* valops.c (chill_varying_type):  New predicate.
* valops.c (value_cast):  Support assigning a fixed string or array
to a variable string/array structure.

* valarith.c (value_subscripted_rvalue):  Extra parameter lowerbound.
Check index>=lowerbound, and then add lowerbound to index here,
instead of in caller.  Generalize to arbitrary lval_types.
(value_subscript):  Use enhanced value_subscripted_rvalue if
c_style_arrays is false (and index is in range).

29 years ago * gdbtk.c (gdbtk_init): Prevent segfault when gdbtk.tcl can't be
Stu Grossman [Thu, 26 Jan 1995 02:27:06 +0000 (02:27 +0000)]
* gdbtk.c (gdbtk_init):  Prevent segfault when gdbtk.tcl can't be
found.
* gdbtk.tcl:  Initialize expr_update_list() to prevent errors when
popping up expression window for the first time.

29 years ago * eval.c (evaluate_subexp case OP_ARRAY): Fix calls to memset:
Per Bothner [Thu, 26 Jan 1995 02:19:13 +0000 (02:19 +0000)]
* eval.c (evaluate_subexp case OP_ARRAY):  Fix calls to memset:
TYPE_LENGTH is length in bytes, not bits.

29 years ago * tc-sh.c (little): Add argument IGNORE to avoid compiler warnings.
Jim Wilson [Thu, 26 Jan 1995 00:26:11 +0000 (00:26 +0000)]
* tc-sh.c (little): Add argument IGNORE to avoid compiler warnings.
(md_pseudo_table): Add space for consistent formatting.
(COND8_RANGE, COND12_RANGE): Delete unused macros.
(COND8_F, COND8_M, COND12_F, COND12_M, UNCOND12_F, UNCOND12_M):
Correct minimum and maximum branch offsets.  Add comments explaining
why these numbers are correct.

29 years ago * gdb.base/default.exp: xfail no-stack backtraces for h8300,
Stan Shebs [Thu, 26 Jan 1995 00:02:46 +0000 (00:02 +0000)]
* gdb.base/default.exp: xfail no-stack backtraces for h8300,
restart GDB for h8300 after a continue.
(return): Add pattern to match a29k-udi behavior.
* gdb.base/nodebug.exp: Remove obsolete comment.
* gdb.base/regs.exp: New file, testing of register displays.
* gdb.base/return.exp: Fix typo in reference to $objdir.
* gdb.base/whatis.exp: Always start with a fresh GDB.

29 years ago * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
Jim Kingdon [Wed, 25 Jan 1995 22:16:08 +0000 (22:16 +0000)]
* gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
higher, these tests generate a lot of output.

29 years agoWed Jan 25 15:32:09 1995 David Edelsohn <edelsohn@mhpcc.edu>
Ian Lance Taylor [Wed, 25 Jan 1995 20:43:50 +0000 (20:43 +0000)]
Wed Jan 25 15:32:09 1995  David Edelsohn  <edelsohn@mhpcc.edu>

* config/tc-ppc.c (md_parse_option): Accept mpwr2 as a synonym for
mpwrx; mppc32, m603, and m604 as synonyms for mppc; and mppc64 and
m620 for PowerPC64 mode.
(ppc_symbol_new_hook): Add T0 as synonym for TC0 suffix.

29 years ago * infrun.c (proceed): Flush stdout before resuming inferior.
Jim Kingdon [Wed, 25 Jan 1995 18:16:42 +0000 (18:16 +0000)]
* infrun.c (proceed): Flush stdout before resuming inferior.
* infcmd.c (step_1), annotate.c (annotate_starting):
Don't bother to flush here.

29 years ago * hpread.c (hpread_process_one_debug_symbol): Fix lines garbled
Jeff Law [Wed, 25 Jan 1995 08:13:14 +0000 (08:13 +0000)]
* hpread.c (hpread_process_one_debug_symbol): Fix lines garbled
by an ill-advised global search and replace.

29 years ago * lib/gdb.exp (gdb_test): Remove catch from around the send. The
Jim Kingdon [Wed, 25 Jan 1995 03:33:25 +0000 (03:33 +0000)]
* lib/gdb.exp (gdb_test): Remove catch from around the send.  The
code following the catch silently ignored some errors; without the
catch they should be thrown like any other tcl error.  Also, the
catch used "" instead of {} which meant all the callers who wanted
to include one of the characters "[]$ had to quote it an extra time.
* gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
Remove extra quoting.

29 years agoSanitize arc stuff.
David Edelsohn [Wed, 25 Jan 1995 03:27:54 +0000 (03:27 +0000)]
Sanitize arc stuff.

29 years ago * gdbtk.tcl (create_registers_window): Work around a radiobutton
Stu Grossman [Wed, 25 Jan 1995 00:36:33 +0000 (00:36 +0000)]
* gdbtk.tcl (create_registers_window):  Work around a radiobutton
widget bug to make Options|Natural button work.

29 years ago"gcc -fno-builtin -Wall -Wwrite-strings -Wshadow" can be your friend.
Ken Raeburn [Tue, 24 Jan 1995 21:56:29 +0000 (21:56 +0000)]
"gcc -fno-builtin -Wall -Wwrite-strings -Wshadow" can be your friend.
Well, sometimes.
Bunch of patches from Pat Rankin for cleaning up some warnings in vax-vms gas.

29 years ago * gdbtk.c (gdb_disassemble): Fix problem with source+assembly and
Stu Grossman [Tue, 24 Jan 1995 21:49:11 +0000 (21:49 +0000)]
* gdbtk.c (gdb_disassemble):  Fix problem with source+assembly and
g++ caused by out-of-order pc's.
* gdbtk.tcl (files_command):  Remove duplicate file names.  Also,
add scrollbar.

29 years ago * ld-bootstrap/bootstrap.exp: If not in the ld build directory,
Ian Lance Taylor [Tue, 24 Jan 1995 20:16:49 +0000 (20:16 +0000)]
* ld-bootstrap/bootstrap.exp: If not in the ld build directory,
call untested for each test, rather than ignoring it.  If one test
fails, go on to the next one instead of returning.
* ld-cdtest/cdtest.exp: If compilations fail, mark tests as
unresolved.
* ld-empic/empic.exp: Likewise.  Also, always pass the same test
name to pass or fail.
* ld-shared/shared.exp: Likewise.  Also, always run all tests.
* ld-scripts/defined.exp: If as or nm fail, mark test as
unresolved.  Always pass the same test name to pass or fail.
* ld-scripts/script.exp: Likewise.
* ld-scripts/sizeof.exp: Likewise.

29 years agoupdate copyright dates
Ian Lance Taylor [Tue, 24 Jan 1995 19:48:50 +0000 (19:48 +0000)]
update copyright dates

29 years ago * elf32-mips.c (mips_elf_output_extsym): Set the value of the
Ian Lance Taylor [Tue, 24 Jan 1995 19:27:35 +0000 (19:27 +0000)]
* elf32-mips.c (mips_elf_output_extsym): Set the value of the
ECOFF symbol from the hash table entry.

29 years agoupdate copyrights
Ian Lance Taylor [Tue, 24 Jan 1995 16:01:04 +0000 (16:01 +0000)]
update copyrights

29 years ago * ldctor.c (ldctor_add_set_entry): Don't dump core if a
Ian Lance Taylor [Tue, 24 Jan 1995 15:34:16 +0000 (15:34 +0000)]
* ldctor.c (ldctor_add_set_entry): Don't dump core if a
constructor entry is in the absolute section.

29 years agoAdd EM_PPC macro.
Michael Meissner [Tue, 24 Jan 1995 14:42:17 +0000 (14:42 +0000)]
Add EM_PPC macro.

29 years ago * gdb.base/commands.exp: Make test names unique; every test either
Jeff Law [Tue, 24 Jan 1995 05:16:25 +0000 (05:16 +0000)]
* gdb.base/commands.exp: Make test names unique; every test either
passes or fails.  Update some comments.

29 years ago * gdb.disasm/hppa.exp (do_system_control_tests): Update.
Jeff Law [Tue, 24 Jan 1995 04:59:07 +0000 (04:59 +0000)]
* gdb.disasm/hppa.exp (do_system_control_tests): Update.

29 years ago * config/tc-hppa.c (pa_ip, case 'D'): Fix typo which caused
Jeff Law [Tue, 24 Jan 1995 04:50:43 +0000 (04:50 +0000)]
    * config/tc-hppa.c (pa_ip, case 'D'): Fix typo which caused
        miscompilation of "diag" instructions.

* gas/hppa/basic/basic.exp (do_system): Update.

29 years ago * gdbtk.tcl: Take .gdbtkinit if it exists. Makes gdbtk match the
Stu Grossman [Tue, 24 Jan 1995 01:23:18 +0000 (01:23 +0000)]
* gdbtk.tcl:  Take .gdbtkinit if it exists.  Makes gdbtk match the
doc!

29 years agoMon Jan 23 14:53:35 1995 Steve Chamberlain <sac@splat>
Steve Chamberlain [Mon, 23 Jan 1995 22:57:30 +0000 (22:57 +0000)]
Mon Jan 23 14:53:35 1995  Steve Chamberlain  <sac@splat>

* coff-sh.c (coff_sh_relocate_section):  Don't subtract
vma twice.

29 years ago * coff-sh.c (sh_reloc): Don't ignore the previous contents of an
Ian Lance Taylor [Mon, 23 Jan 1995 22:32:18 +0000 (22:32 +0000)]
* coff-sh.c (sh_reloc): Don't ignore the previous contents of an
R_SH_IMM32 reloc.
PR 6215.

29 years ago* gdb.texinfo (Processes): New node.
Jim Kingdon [Mon, 23 Jan 1995 22:27:49 +0000 (22:27 +0000)]
* gdb.texinfo (Processes): New node.

29 years agoconfigure regen, tc-mips.c libiberty.h include
Ken Raeburn [Mon, 23 Jan 1995 21:57:32 +0000 (21:57 +0000)]
configure regen, tc-mips.c libiberty.h include

29 years agoregenerated
Ken Raeburn [Mon, 23 Jan 1995 21:56:46 +0000 (21:56 +0000)]
regenerated

29 years ago Add support for Chill bitstring literals (e.h. H'FF00').
Per Bothner [Mon, 23 Jan 1995 21:20:58 +0000 (21:20 +0000)]
Add support for Chill bitstring literals (e.h. H'FF00').
* ch-exp.y (match_bitstring_literal):  Fix for proper endianness.
* expprint.c (print_subexp):  Don't call error on OP_BITSTRING,
just print B'<unimlemented>'.
* gdbtypes.c (create_set_type):  Fix bug in length calculation.
* valops.c, value.h (value_bitstring):  New function.
* eval.c (evaluate_subexp):  Implement support for OP_BITSTRING.

* ch-typeprint.c (chill_type_print_base): For TYPE_CODE_FUNC,
check that return type is non-void, and print in proper Chill syntax.

29 years ago * Makefile.in: Remove references to remote-mon.c.
Rob Savoye [Mon, 23 Jan 1995 19:25:24 +0000 (19:25 +0000)]
* Makefile.in: Remove references to remote-mon.c.
* remote-mon.c: remove. Replaced by rom68k-rom.c.
* rom68k-rom.c: Support for Rom68k monitor.

29 years ago * config/tc-sh.h (tc_init_after_args): Don't define.
Ian Lance Taylor [Mon, 23 Jan 1995 19:22:52 +0000 (19:22 +0000)]
* config/tc-sh.h (tc_init_after_args): Don't define.
* config/tc-sh.c (md_begin): Remove unused variable table.
(md_assemble): Remove unused variable p.
(md_convert_frag): Cast fr_address to unsigned long for printf.
(md_apply_fix): Use as_warn_where rather than as_warn.
(sh_init_after_args): Remove empty function.

29 years ago * configure.in (i386-*-gnu*elf*): New target.
Ian Lance Taylor [Mon, 23 Jan 1995 19:09:02 +0000 (19:09 +0000)]
* configure.in (i386-*-gnu*elf*): New target.

29 years agox
Ian Lance Taylor [Mon, 23 Jan 1995 19:01:41 +0000 (19:01 +0000)]
x

29 years ago * configure.in (i[345]86-*-gnu*): Set ld_target to i386-gnu.
Ian Lance Taylor [Mon, 23 Jan 1995 19:00:46 +0000 (19:00 +0000)]
* configure.in (i[345]86-*-gnu*): Set ld_target to i386-gnu.
* config/i386-gnu.mt: New file.  Include ELF support.

29 years ago * config.bfd (i[345]86-*-gnu*): Set bfd_name to i386-gnu.
Ian Lance Taylor [Mon, 23 Jan 1995 18:55:58 +0000 (18:55 +0000)]
* config.bfd (i[345]86-*-gnu*): Set bfd_name to i386-gnu.
* config/i386-gnu.mt: New file.  Include ELF support.

29 years ago * Makefile.in (CHILL_FOR_TARGET): Update -L argument to point to
Jim Kingdon [Mon, 23 Jan 1995 18:54:29 +0000 (18:54 +0000)]
* Makefile.in (CHILL_FOR_TARGET): Update -L argument to point to
gcc/ch/runtime not chillrt, since that is where the chill runtime
lives now.

29 years ago * opncls.c (bfd_openstreamr): Call bfd_cache_init.
Ian Lance Taylor [Mon, 23 Jan 1995 18:35:07 +0000 (18:35 +0000)]
* opncls.c (bfd_openstreamr): Call bfd_cache_init.

29 years ago * remote-hms.c (hms_load): Delete.
Steve Chamberlain [Mon, 23 Jan 1995 08:11:30 +0000 (08:11 +0000)]
* remote-hms.c (hms_load): Delete.
(target_ops): Use hr_load_image.

29 years agoMon Jan 23 00:06:57 1995 Steve Chamberlain <sac@splat>
Steve Chamberlain [Mon, 23 Jan 1995 08:09:02 +0000 (08:09 +0000)]
Mon Jan 23 00:06:57 1995  Steve Chamberlain  <sac@splat>

* remote-e7000.c, remote-z8k.c, remote-nindy.c (target_ops):
        Define memory_insert/remove_breakpoint.
* xm-go32.h: Remove redundant SIGs.

Thu Jan 19 20:26:58 1995  Steve Chamberlain  <sac@splat>

* ser-go32.c: Rewritten by nigel@algor.co.uk.

29 years agoDon't pass -S to the linker.
Steve Chamberlain [Mon, 23 Jan 1995 07:54:24 +0000 (07:54 +0000)]
Don't pass -S to the linker.

29 years agoChanges for PR 6203.
Torbjorn Granlund [Sun, 22 Jan 1995 22:12:59 +0000 (22:12 +0000)]
Changes for PR 6203.