binutils-gdb.git
29 years ago * string.ch, string.exp, Makefile.in: New test case.
Per Bothner [Wed, 8 Mar 1995 03:29:55 +0000 (03:29 +0000)]
* string.ch, string.exp, Makefile.in:  New test case.
This is PR 5696.

29 years ago * valops.c (value_slice): Do COERCE_VARYING_ARRAY.
Per Bothner [Wed, 8 Mar 1995 03:26:21 +0000 (03:26 +0000)]
* valops.c (value_slice):  Do COERCE_VARYING_ARRAY.
This fixes PR 5696.

29 years ago * monitor.c array-rom.c monitor.h rom68k-rom.c: Move target_ops
Stu Grossman [Wed, 8 Mar 1995 03:21:51 +0000 (03:21 +0000)]
* monitor.c array-rom.c monitor.h rom68k-rom.c:  Move target_ops
into monitor.c.
* monitor.c (monitor_create_inferior):  Allow run command to start
program.

29 years ago * monitor.c (monitor_load): Set PC to start address when done
Stu Grossman [Wed, 8 Mar 1995 01:18:08 +0000 (01:18 +0000)]
* monitor.c (monitor_load):  Set PC to start address when done
loading.

* array-rom.c monitor.h rom68k-rom.c:  Clean up target_ops.
Remove ref to monitor_create_inferior.

29 years ago * monitor.c: More general cleanups. Add prototypes, remove
Stu Grossman [Wed, 8 Mar 1995 00:06:55 +0000 (00:06 +0000)]
* monitor.c:  More general cleanups.  Add prototypes, remove
unused routines.  Fix bug with wrong number of args to error().

29 years ago * ppc-opc.c: Sort recently added instructions by minor opcode
Ian Lance Taylor [Tue, 7 Mar 1995 21:48:27 +0000 (21:48 +0000)]
* ppc-opc.c: Sort recently added instructions by minor opcode
number within major opcode number.

29 years ago * doc/as.texinfo: Add documentation for SPARC V9, from Doug Evans
Ian Lance Taylor [Tue, 7 Mar 1995 21:08:53 +0000 (21:08 +0000)]
* doc/as.texinfo: Add documentation for SPARC V9, from Doug Evans
<dje@cygnus.com>.

29 years ago * coffcode.h (bfd_coff_backend_data): Add new field
Ian Lance Taylor [Tue, 7 Mar 1995 19:56:31 +0000 (19:56 +0000)]
* coffcode.h (bfd_coff_backend_data): Add new field
_bfd_coff_adjust_symndx.
(bfd_coff_adjust_symndx): Define.
(coff_adjust_symndx): Define as NULL if not already defined.
(bfd_coff_std_swap_table): Initialize new field to
coff_adjust_symndx.
* cofflink.c (coff_link_input_bfd): Call coff_adjust_symndx if it
is defined.
* coff-a29k.c (coff_a29k_adjust_symndx): New static function.
(coff_adjust_symndx): Define before including coffcode.h.
* libcoff.h: Rebuild.

29 years ago * format.c (bfd_check_format_matches): Skip binary_vec when
Ian Lance Taylor [Tue, 7 Mar 1995 19:32:39 +0000 (19:32 +0000)]
* format.c (bfd_check_format_matches): Skip binary_vec when
searching through bfd_target_vector.

29 years ago * elfcode.h (elf_sort_hdrs): Check SHT_NOBITS before checking
Ian Lance Taylor [Tue, 7 Mar 1995 17:25:07 +0000 (17:25 +0000)]
* elfcode.h (elf_sort_hdrs): Check SHT_NOBITS before checking
sh_size.

29 years ago * main.c (main): Don't start up GUI when running under gdb mode
Stu Grossman [Tue, 7 Mar 1995 09:32:29 +0000 (09:32 +0000)]
* main.c (main):  Don't start up GUI when running under gdb mode
in emacs.

29 years ago * Makefile.in: Add rules for monitor.o and rom68k-rom.o to make
Stu Grossman [Tue, 7 Mar 1995 09:26:39 +0000 (09:26 +0000)]
* Makefile.in:  Add rules for monitor.o and rom68k-rom.o to make
Sun make (with VPATH) work...

* monitor.c monitor.h rom68k-rom.c:  Serious cleanup to make IDP
(rom68k) target work right.
* array-rom.c op50-rom.c w89k-rom.c:  Partial updates to new
monitor.c interface.  More work needs to be done here.
* config/m68k/tm-monitor.h:  Change DECR_PC_AFTER_BREAK to 0 to
match the IDP monitor.  Also, set NUM_REGS to 18 cuz there's no
floating-point for this card.

29 years ago * command.h command.c top.c: Add var_enum command type. It's
Stu Grossman [Tue, 7 Mar 1995 09:06:16 +0000 (09:06 +0000)]
* command.h command.c top.c:  Add var_enum command type.  It's
like var_string but allows only only one of the specified strings.

29 years ago * serial.h ser-go32.c ser-go32-para.c ser-mac.c ser-tcp.c
Stu Grossman [Tue, 7 Mar 1995 09:03:37 +0000 (09:03 +0000)]
* serial.h ser-go32.c ser-go32-para.c ser-mac.c ser-tcp.c
ser-unix.c:  Add SERIAL_SETSTOPBITS to set the number of stopbits
(needed for IDP board?!?!?).

29 years ago * defs.h utils.c remote-hms.c remote-pa.c remote.c: Fix defs and
Stu Grossman [Tue, 7 Mar 1995 08:57:32 +0000 (08:57 +0000)]
* defs.h utils.c remote-hms.c remote-pa.c remote.c:  Fix defs and
usage of fputc_unfiltered and putchar_unfiltered.  Eliminate
putc_unfiltered (it's superfluous).

29 years ago * command.h command.c: Add var_enum command type. It's like
Stu Grossman [Tue, 7 Mar 1995 08:32:55 +0000 (08:32 +0000)]
* command.h command.c:  Add var_enum command type.  It's like
var_string but allows only only one of the specified strings.

29 years ago * elfcode.h (elf_sort_hdrs): Keep SHT_NOBITS sections after
David Edelsohn [Tue, 7 Mar 1995 07:34:21 +0000 (07:34 +0000)]
* elfcode.h (elf_sort_hdrs): Keep SHT_NOBITS sections after
!SHT_NOBITS ones.

29 years ago * ldemul.c (ldemul_choose_mode): If emulation not recognized, list
Ian Lance Taylor [Tue, 7 Mar 1995 05:53:47 +0000 (05:53 +0000)]
* ldemul.c (ldemul_choose_mode): If emulation not recognized, list
all supported emulations.

29 years ago * valops.c (value_cast): Don't use backslash newline--pre-ANSI
Jim Kingdon [Mon, 6 Mar 1995 23:12:02 +0000 (23:12 +0000)]
* valops.c (value_cast): Don't use backslash newline--pre-ANSI
compilers (such as SunOS4 /bin/cc) don't generally support it
except in some contexts.

29 years ago * tuples.ch (setnmode); New module.
Per Bothner [Mon, 6 Mar 1995 22:11:17 +0000 (22:11 +0000)]
    * tuples.ch (setnmode);  New module.
        * tuples.exp:  Add some extra tests.
These are from PR 5024.

29 years ago * ldemul.c (ldemul_list_emulations): New function.
Ian Lance Taylor [Mon, 6 Mar 1995 19:21:33 +0000 (19:21 +0000)]
* ldemul.c (ldemul_list_emulations): New function.
* ldemul.h (ldemul_list_emulations): Declare.
* ldver.c (help): List supported targets and emulations.
PR 6345.

29 years ago * bucomm.c (list_supported_targets): New function.
Ian Lance Taylor [Mon, 6 Mar 1995 18:49:17 +0000 (18:49 +0000)]
* bucomm.c (list_supported_targets): New function.
* bucomm.h (list_supported_targets): Declare.
* ar.c (usage): Call list_supported_targets.
* nm.c (usage): Likewise.
* objcopy.c (copy_usage, strip_usage): Likewise.
* objdump.c (usage): Likewise.
* size.c (usage): Likewise.
* strings.c (usage): Likewise.
PR 6345.

29 years ago * configure.in (noconfigdirs): Don't build gas on AIX, for
Jim Kingdon [Mon, 6 Mar 1995 18:27:41 +0000 (18:27 +0000)]
* configure.in (noconfigdirs): Don't build gas on AIX, for
powerpc*-*-aix* as well as for rs6000*-*-aix*.

29 years ago * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
Jeff Law [Mon, 6 Mar 1995 17:46:26 +0000 (17:46 +0000)]
* gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
each expect pattern.  Cuts runtime from 12 to about 4 seconds.

29 years ago * hppa-dis.c: Include libhppa.h.
Jeff Law [Mon, 6 Mar 1995 17:05:20 +0000 (17:05 +0000)]
* hppa-dis.c: Include libhppa.h.

29 years ago * hppa.h (delay_type): Delete unused enumeration.
Jeff Law [Mon, 6 Mar 1995 17:04:18 +0000 (17:04 +0000)]
* hppa.h (delay_type): Delete unused enumeration.
(pa_opcode): Replace unused delayed field with an architecture
field.
(pa_opcodes): Mark each instruction as either PA1.0 or PA1.1.

29 years ago * config/tc-hppa.c: Change all occurences of pa-89 with pa-11 to
Jeff Law [Mon, 6 Mar 1995 17:02:38 +0000 (17:02 +0000)]
* config/tc-hppa.c: Change all occurences of pa-89 with pa-11 to
be consistent with current naming conventions.
(md_begin): Set a default architecture and machine type.
(pa_ip): If the current instruction specifies a newer machine type
than the current machine type, then update the current machine
type.
(need_pa11_opcode): Likewise.

29 years ago * cpu-hppa.c (arch_info_struct): Support both PA1.0 and PA1.1
Jeff Law [Mon, 6 Mar 1995 17:00:18 +0000 (17:00 +0000)]
* cpu-hppa.c (arch_info_struct): Support both PA1.0 and PA1.1
machine types.
(bfd_hppa_arch): Link in both PA1.0 and PA1.1 architecture info
structures.
* libhppa.h (enum pa_arch): New enumeration to describe the
different variants of the PA architecture.
* som.c (som_object_setup): Use new enumeration to set machine
type.
(som_finish_writing): If the machine type is PA1.1, then use the
PA1.1 machine identifier in the output file.

29 years ago * config/tc-hppa.c (pa_ip, case 'z'): Don't lose argument
Jeff Law [Mon, 6 Mar 1995 02:42:14 +0000 (02:42 +0000)]
* config/tc-hppa.c (pa_ip, case 'z'): Don't lose argument
relocation bits for absolute calls.

29 years agoFix typo in spelling.
Michael Tiemann [Sun, 5 Mar 1995 18:15:30 +0000 (18:15 +0000)]
Fix typo in spelling.

29 years ago * callch.ch, callch.exp, Makefile.in: New test case.
Per Bothner [Sat, 4 Mar 1995 23:15:48 +0000 (23:15 +0000)]
* callch.ch, callch.exp, Makefile.in:  New test case.
Extended testing for PR 6292.

29 years ago * valops.c (value_cast): Cehck for cast to array type *before*
Per Bothner [Sat, 4 Mar 1995 02:24:26 +0000 (02:24 +0000)]
* valops.c (value_cast):  Cehck for cast to array type *before*
we coerce array to pointer (in case arg2 is already array).

* valops.c (call_function_by_hand):  Set using_gcc to 2 if using
gcc2.  Needed for REG_STRUCT_HAS_ADDR to work on sparc.
Also check REG_STRUCT_HAS_ADDR for union, array and string types.

* valops.c (call_function_by_hand):  Re-arrange code for pushing
paramaters on the stack so we can do better STACK_ALIGN.

* valops.c (call_function_by_hand):  Call error if the number
of arguments is fewer than parameter types in function type.

29 years ago * sparc-tdep.c (sparc_extract_struct_value_address): Move
David Edelsohn [Sat, 4 Mar 1995 01:37:30 +0000 (01:37 +0000)]
* sparc-tdep.c (sparc_extract_struct_value_address): Move
sparc64 support to here.
(sparc64_extract_struct_value_address): Deleted.
(dump_ccreg): Add a prototype so long long arg -> int.
* sparc/tm-sp64.h (USE_STRUCT_CONVENTION): Define.
(EXTRACT_STRUCT_VALUE_ADDRESS): Delete.

29 years ago * sparc/tm-sp64.h (USE_STRUCT_CONVENTION): Define.
David Edelsohn [Sat, 4 Mar 1995 01:35:34 +0000 (01:35 +0000)]
* sparc/tm-sp64.h (USE_STRUCT_CONVENTION): Define.
(EXTRACT_STRUCT_VALUE_ADDRESS): Delete.

29 years ago * hpread.c (hpread_record_lines): New argument "offset". All
Jeff Law [Sat, 4 Mar 1995 00:55:45 +0000 (00:55 +0000)]
* hpread.c (hpread_record_lines): New argument "offset".  All
callers changed.  Use it to handle dynamic address relocation.
(hpread_build_psymtabs): Adjust texthigh as we read each function
debug symbol.  Fix computation of texthigh.
(hpread_read_subrange_type): Work around macro bugs in HP's
compilers.
(hpread_process_one_debug_symbol): Correctly map source lines.

29 years ago * hosts/mpw.h (SEEK_SET, SEEK_CUR, BYTES_IN_PRINTF_INT):
Stan Shebs [Sat, 4 Mar 1995 00:47:01 +0000 (00:47 +0000)]
* hosts/mpw.h (SEEK_SET, SEEK_CUR, BYTES_IN_PRINTF_INT):
Remove definitions.
(mpw_fread, mpw_fwrite): Declare, define as substitutes
for fread and fwrite.

29 years ago* config/tc-h8300.* (md_operand): Change empty function to empty macro.
Ken Raeburn [Fri, 3 Mar 1995 22:55:46 +0000 (22:55 +0000)]
* config/tc-h8300.* (md_operand): Change empty function to empty macro.

* config/tc-h8300.c (build_bytes): Make H8/300-H warning message clearer.

29 years agom68k entry i forgot to check in
Ken Raeburn [Fri, 3 Mar 1995 22:49:11 +0000 (22:49 +0000)]
m68k entry i forgot to check in

29 years ago* write.c (write_contents): If bfd_set_section_contents fails, print a message
Ken Raeburn [Fri, 3 Mar 1995 22:44:04 +0000 (22:44 +0000)]
* write.c (write_contents): If bfd_set_section_contents fails, print a message
and exit, instead of aborting.

29 years ago * somread.c (check_strange_names): Filter names emitted by the HP
Jeff Law [Fri, 3 Mar 1995 22:25:27 +0000 (22:25 +0000)]
* somread.c (check_strange_names): Filter names emitted by the HP
compiler when generating PIC code.

29 years ago * valops.c (value_struct_elt_for_reference): Work around macro
Jeff Law [Fri, 3 Mar 1995 22:15:23 +0000 (22:15 +0000)]
* valops.c (value_struct_elt_for_reference): Work around macro
bugs in HP's compilers.
* c-exp.y (block): Likewise.

29 years ago * emultempl/elf32.em (hold_rel): New static variable.
Ian Lance Taylor [Fri, 3 Mar 1995 22:09:24 +0000 (22:09 +0000)]
* emultempl/elf32.em (hold_rel): New static variable.
(gld${EMULATION_NAME}_place_orphan): Place readonly sections with
contents whose names begin with ".rel" after hold_rel.  Remove the
assertion which checked for unplaced .rel sections.  Don't try to
sort the section into place if place->bfd_section is NULL.
(gld${EMULATION_NAME}_place_section): Set hold_rel to the first
section beginning with ".rel".

29 years ago * rs6000-tdep.c (push_dummy_frame): Fix order of arguments to
Jim Kingdon [Fri, 3 Mar 1995 21:47:14 +0000 (21:47 +0000)]
* rs6000-tdep.c (push_dummy_frame): Fix order of arguments to
store_address.

29 years ago* utils.c [_AIX]: Include stddef.h instead of #defining size_t.
Jim Kingdon [Fri, 3 Mar 1995 21:38:54 +0000 (21:38 +0000)]
* utils.c [_AIX]: Include stddef.h instead of #defining size_t.

29 years agoIf -mrelocatable, warn about relocs that are incompatible.
Michael Meissner [Fri, 3 Mar 1995 21:34:36 +0000 (21:34 +0000)]
If -mrelocatable, warn about relocs that are incompatible.

29 years ago * mips.h (INSN_ISA4): Define.
Ian Lance Taylor [Fri, 3 Mar 1995 21:13:37 +0000 (21:13 +0000)]
* mips.h (INSN_ISA4): Define.

29 years agoSupport saving saved regs with multiple stores in addition to store multiple instruct...
Michael Meissner [Fri, 3 Mar 1995 17:39:37 +0000 (17:39 +0000)]
Support saving saved regs with multiple stores in addition to store multiple instructions in prologue.

29 years ago * sparc-tdep.c (decode_asi): New function.
David Edelsohn [Fri, 3 Mar 1995 09:06:51 +0000 (09:06 +0000)]
* sparc-tdep.c (decode_asi): New function.
(sparc_print_register_hook): Pretty print more v9 registers.

29 years ago * sparc/tm-sp64.h (REGISTER_NAMES): Fix some typos.
David Edelsohn [Fri, 3 Mar 1995 08:57:52 +0000 (08:57 +0000)]
* sparc/tm-sp64.h (REGISTER_NAMES): Fix some typos.

29 years ago * dwarfread.c (struct dieinfo): Use CORE_ADDR for at_{low,high}_pc.
David Edelsohn [Fri, 3 Mar 1995 06:26:25 +0000 (06:26 +0000)]
* dwarfread.c (struct dieinfo): Use CORE_ADDR for at_{low,high}_pc.
(target_to_host): Change result type to CORE_ADDR.

29 years agoForgot this one (from sparc64 changes).
David Edelsohn [Thu, 2 Mar 1995 23:18:13 +0000 (23:18 +0000)]
Forgot this one (from sparc64 changes).

29 years ago* rs6000-tdep.c: Fix byte-swapping sins.
Jim Kingdon [Thu, 2 Mar 1995 23:16:05 +0000 (23:16 +0000)]
* rs6000-tdep.c: Fix byte-swapping sins.

29 years ago * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
Jim Kingdon [Thu, 2 Mar 1995 22:24:44 +0000 (22:24 +0000)]
* gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
disassemble 8, not 16, instructions for part 4.

29 years agoMinor code cleanup in rs6000-tdep.c
Michael Meissner [Thu, 2 Mar 1995 21:51:30 +0000 (21:51 +0000)]
Minor code cleanup in rs6000-tdep.c

29 years ago * aoutx.h (NAME(aout,set_section_contents)): Double check that the
Ian Lance Taylor [Thu, 2 Mar 1995 21:00:39 +0000 (21:00 +0000)]
* aoutx.h (NAME(aout,set_section_contents)): Double check that the
caller is writing to a valid section.
PR 5996 cleanup.

29 years agoThu Mar 2 14:37:57 1995 Bryan Ford <baford@cs.utah.edu>
Ian Lance Taylor [Thu, 2 Mar 1995 20:04:07 +0000 (20:04 +0000)]
Thu Mar  2 14:37:57 1995  Bryan Ford  <baford@cs.utah.edu>

* binary.c: Add support for reading binary files.  Loads the raw
contents of the file into a data section and wraps some symbols
around it.  The symbols `_binary_<filename>_start' and
`_binary_<filename>_end' indicate the start and end of the data,
while `_binary_<filename>_size' is an absolute symbol whose value
is the size of the data.  <filename> is the name of the binary
input file, with all non-alphanumeric characters converted to
underscores.

* archures.c (bfd_arch_get_compatible): Assume users knows what
they're doing if one of the architectures is bfd_arch_unknown.

29 years ago Doc note from pierre@phi.la.tce.com (Pierre Willard):
Ian Lance Taylor [Thu, 2 Mar 1995 19:36:10 +0000 (19:36 +0000)]
Doc note from pierre@phi.la.tce.com (Pierre Willard):
* ld.texinfo: -X and -x work even if -s or -S are not specified.
* ld.1: Similar change.

29 years ago * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
Jim Kingdon [Thu, 2 Mar 1995 15:45:02 +0000 (15:45 +0000)]
* config/vx-gdb.exp (gdb_start): Use \030, not \CX.  tcl doesn't
support the latter anymore.

29 years ago * misc.exp: If executable does not exist, issue warning and skip
Jim Kingdon [Thu, 2 Mar 1995 14:23:40 +0000 (14:23 +0000)]
* misc.exp: If executable does not exist, issue warning and skip
remaining tests, like other chill tests.

29 years ago * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
Jim Kingdon [Thu, 2 Mar 1995 14:09:31 +0000 (14:09 +0000)]
* gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
-DNO_PROTOTYPES.
* gdb.base/callfuncs.c: Control use of prototypes based on
NO_PROTOTYPES, not __STDC.
* gdb.base/callfuncs.exp (do_function_calls): xfail one of the
t_float_values2 tests if prototypes in use.

* gdb.base/callfuncs.c (t_float_values, t_float_values2,
t_double_values):  When checking differences against DELTA, check
that difference is within the range (-DELTA,DELTA), not just
(-infinity,DELTA).

29 years agoForgot to check in ChangeLog entry for ch-exp.y (Feb 21).
Per Bothner [Thu, 2 Mar 1995 04:56:01 +0000 (04:56 +0000)]
Forgot to check in ChangeLog entry for ch-exp.y (Feb 21).

29 years ago * misc.ch, misc.exp, Makefile.in: New test case.
Per Bothner [Thu, 2 Mar 1995 04:28:57 +0000 (04:28 +0000)]
* misc.ch, misc.exp, Makefile.in:  New test case.

29 years ago Various changes for sparc64.
David Edelsohn [Thu, 2 Mar 1995 00:18:04 +0000 (00:18 +0000)]
Various changes for sparc64.
* sparc-tdep.c (NUM_SPARC_FPREGS): Define.
(SPARC_INTREG_SIZE): Define.
(*): Use SPARC_INTREG_SIZE instead of REGISTER_RAW_SIZE (intreg)
where appropriate.
(enum branch_type): New value `done_retry'.
(isbranch): Renamed from isannulled.  All callers changed.
Support new sparc64 branch insns.
(single_step): Handle done_retry.
(sparc_extract_struct_value_address): Don't assume 4 byte regs.
(get_saved_register): Likewise.
(sparc_push_dummy_frame): Likewise.
(sparc_frame_find_saved_regs): Likewise.
(sparc_pop_frame): Likewise.  Don't refer to FPS_REGNUM, CPS_REGNUM,
or PS_REGNUM if not sparc64.  sparc64 has 64 fp regs.
(sparc64_extract_struct_value_address): New function.
(dump_ccreg, sparc_print_register_hook): Likewise.
* sp64-tdep.c: Deleted.
* sparc/tm-sp64.h (GDB_TARGET_IS_SPARC64): Define.
(NUM_REGS): Reduce by 2, cle/tle are in the pstate reg.
(CC_HAS_LONG_LONG): Define.
(REGISTER_NAMES): Delete cle/tle and reorganize.
(PS_REGNUM, FPS_REGNUM, CPS_REGNUM): Delete, they're ifdef'd out of
sparc-tdep.c now.
(REGISTER_BYTES): Update.
(REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Delete.
(EXTRACT_RETURN_VALUE): Delete.  Use definition in tm-sparc.h.
(NO_SINGLE_STEP): Likewise.
* sparc/tm-sparc.h (EXTRACT_VALUE_RETURN): Don't assume 4 byte regs.
* sparc/sp64.mt: Move simulator support ...
* sparc/sp64sim.mt: ... to here.

29 years agoMerged into sparc-tdep.c.
David Edelsohn [Thu, 2 Mar 1995 00:13:16 +0000 (00:13 +0000)]
Merged into sparc-tdep.c.

29 years ago * sparc-tdep.c (NUM_SPARC_FPREGS): Define.
David Edelsohn [Thu, 2 Mar 1995 00:11:22 +0000 (00:11 +0000)]
* sparc-tdep.c (NUM_SPARC_FPREGS): Define.
(SPARC_INTREG_SIZE): Define.
(*): Use SPARC_INTREG_SIZE instead of REGISTER_RAW_SIZE (intreg)
where appropriate.
(enum branch_type): New value `done_retry'.
(isbranch): Renamed from isannulled.  All callers changed.
Support new sparc64 branch insns.
(single_step): Handle done_retry.
(sparc_extract_struct_value_address): Don't assume 4 byte regs.
(get_saved_register): Likewise.
(sparc_push_dummy_frame): Likewise.
(sparc_frame_find_saved_regs): Likewise.
(sparc_pop_frame): Likewise.  Don't refer to FPS_REGNUM, CPS_REGNUM,
or PS_REGNUM if not sparc64.  sparc64 has 64 fp regs.
(sparc64_extract_struct_value_address): New function.
(dump_ccreg, sparc_print_register_hook): Likewise.
* sp64-tdep.c: Deleted.
* sparc/tm-sp64.h (GDB_TARGET_IS_SPARC64): Define.
(NUM_REGS): Reduce by 2, cle/tle are in the pstate reg.
(CC_HAS_LONG_LONG): Define.
(REGISTER_NAMES): Delete cle/tle and reorganize.
(PS_REGNUM, FPS_REGNUM, CPS_REGNUM): Delete, they're ifdef'd out of
sparc-tdep.c now.
(REGISTER_BYTES): Update.
(REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Delete.
(EXTRACT_RETURN_VALUE): Delete.  Use definition in tm-sparc.h.
(NO_SINGLE_STEP): Likewise.
* sparc/tm-sparc.h (EXTRACT_VALUE_RETURN): Don't assume 4 byte regs.
* sparc/sp64.mt: Move simulator support ...
* sparc/sp64sim.mt: ... to here.

29 years agoWarn if GOT16 overflows.
Michael Meissner [Wed, 1 Mar 1995 22:34:34 +0000 (22:34 +0000)]
Warn if GOT16 overflows.

29 years ago * config/i960/vxworks960.mt: add remote-vx960.o.
Kung Hsu [Wed, 1 Mar 1995 21:22:37 +0000 (21:22 +0000)]
    * config/i960/vxworks960.mt: add remote-vx960.o.
        * config/m68k/vxworks68.mt: add remote-vx68.o.

29 years ago * config/m68k/vxworks68.mt: add remote-vx68.o.
Kung Hsu [Wed, 1 Mar 1995 21:20:14 +0000 (21:20 +0000)]
    * config/m68k/vxworks68.mt: add remote-vx68.o.

29 years ago * config/i960/vxworks960.mt: add remote-vx960.o.
Kung Hsu [Wed, 1 Mar 1995 21:19:29 +0000 (21:19 +0000)]
    * config/i960/vxworks960.mt: add remote-vx960.o.

29 years ago * remote-vx960.c: new file for target specific register packaging.
Kung Hsu [Wed, 1 Mar 1995 21:16:38 +0000 (21:16 +0000)]
    * remote-vx960.c: new file for target specific register packaging.
        * remote-vx68.c: ditto.

29 years agoWed Mar 1 11:52:55 1995 Jason Molenda <crash@phydeaux.cygnus.com>
Jason Molenda [Wed, 1 Mar 1995 19:55:05 +0000 (19:55 +0000)]
Wed Mar  1 11:52:55 1995  Jason Molenda  <crash@phydeaux.cygnus.com>

        * configure.host: Recognize powerpc-*-aix*.

for sludge.cygnus.com.

29 years agoBuild without warnings under Linux.
Michael Meissner [Wed, 1 Mar 1995 18:58:34 +0000 (18:58 +0000)]
Build without warnings under Linux.

29 years ago * emulparams/gld960coff.sh (COFF_CTORS): Define.
Ian Lance Taylor [Wed, 1 Mar 1995 18:57:24 +0000 (18:57 +0000)]
* emulparams/gld960coff.sh (COFF_CTORS): Define.
* scripttempl/i960.sc: Use COFF_CTORS if CONSTRUCTING.

29 years ago * coff-i960.c (COFF_PAGE_SIZE): Define.
Ian Lance Taylor [Wed, 1 Mar 1995 18:06:13 +0000 (18:06 +0000)]
* coff-i960.c (COFF_PAGE_SIZE): Define.

29 years agoAdd Linux yacc suport.
Michael Meissner [Wed, 1 Mar 1995 17:23:41 +0000 (17:23 +0000)]
Add Linux yacc suport.

29 years ago * configure.in: Rewrite output of TDEFAULTS to avoid relying on
Ian Lance Taylor [Wed, 1 Mar 1995 16:58:57 +0000 (16:58 +0000)]
* configure.in: Rewrite output of TDEFAULTS to avoid relying on
semantics of single quotes in parameter substitution.

29 years ago * hppa-tdep.c (pa_print_registers), monitor.c: Use
Jim Kingdon [Wed, 1 Mar 1995 07:18:04 +0000 (07:18 +0000)]
* hppa-tdep.c (pa_print_registers), monitor.c: Use
extract_unsigned_integer and friends, not SWAP_TARGET_AND_HOST.
* defs.h, findvar.c: Move SWAP_TARGET_AND_HOST back to findvar.c.
Rename it to SWAP_FLOATING to make it clear it is no longer for
integers.

29 years ago * defs.h (SWAP_TARGET_AND_HOST): check endianess at runtime not
Kung Hsu [Wed, 1 Mar 1995 02:13:06 +0000 (02:13 +0000)]
    * defs.h (SWAP_TARGET_AND_HOST): check endianess at runtime not
        compile time.

29 years ago * arc-tdep.c (_initialize_arc_tdep): set tm_print_insn according to
Kung Hsu [Wed, 1 Mar 1995 01:39:12 +0000 (01:39 +0000)]
    * arc-tdep.c (_initialize_arc_tdep): set tm_print_insn according to
        processor.
        * remote-arc.c (arc_wait): when a processor stops, stop other two
        processors too.
        * remote-arc.c (switch_command): switch tm_print_insn.

29 years ago * config/mips-gdb.exp (gdb_load): In every test case, we need to do
Kung Hsu [Wed, 1 Mar 1995 00:35:09 +0000 (00:35 +0000)]
    * config/mips-gdb.exp (gdb_load): In every test case, we need to do
        'file' command firts, then 'target', then 'load', this is due to gdb
        target set up.
        * config/mips-gdb.exp: Fix a couple regular exp bugs.

29 years ago * vx-share/ptrace.h: merge in WRS new ptrace requests.
Kung Hsu [Wed, 1 Mar 1995 00:27:31 +0000 (00:27 +0000)]
    * vx-share/ptrace.h: merge in WRS new ptrace requests.

29 years ago * defs.h: fix a syntax error.
Kung Hsu [Wed, 1 Mar 1995 00:22:46 +0000 (00:22 +0000)]
    * defs.h: fix a syntax error.

29 years ago * a29k-tdep.c (get_longjmp_target): add this function, from WRS.
Kung Hsu [Wed, 1 Mar 1995 00:01:49 +0000 (00:01 +0000)]
    * a29k-tdep.c (get_longjmp_target): add this function, from WRS.
        * remote-vx.c: move read_register and write_register out to
        target specific files.
        * remote-vx29k.c (get_fp_contnets): add this function, from WRS.

29 years agoread.c, tc-* md_operand changes
Ken Raeburn [Tue, 28 Feb 1995 23:38:47 +0000 (23:38 +0000)]
read.c, tc-* md_operand changes

29 years ago(md_operand): Replaced empty function in .c file with empty macro in .h file.
Ken Raeburn [Tue, 28 Feb 1995 23:37:38 +0000 (23:37 +0000)]
(md_operand): Replaced empty function in .c file with empty macro in .h file.

29 years ago * defs.h: define SWAP_TARGET_AND_HOST macro.
Kung Hsu [Tue, 28 Feb 1995 23:08:06 +0000 (23:08 +0000)]
    * defs.h: define SWAP_TARGET_AND_HOST macro.
        * findvar.c, monitor.c, hppa-tdep.c: remove definition of
        SWAP_TARGET_AND_HOST.

29 years ago * configure: If the --cache-file is used, pass it down to
Ian Lance Taylor [Tue, 28 Feb 1995 22:37:42 +0000 (22:37 +0000)]
* configure: If the --cache-file is used, pass it down to
configure in subdirectories.
PR 6389.

29 years agofix configury
Ian Lance Taylor [Tue, 28 Feb 1995 22:34:21 +0000 (22:34 +0000)]
fix configury

29 years ago * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust PLT or
Ian Lance Taylor [Tue, 28 Feb 1995 20:35:41 +0000 (20:35 +0000)]
* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust PLT or
GOT relocs either.

29 years ago * elfcode.h (elf_sort_hdrs): Sort empty sections before non-empty
Ian Lance Taylor [Tue, 28 Feb 1995 19:33:51 +0000 (19:33 +0000)]
* elfcode.h (elf_sort_hdrs): Sort empty sections before non-empty
sections, if they have the same VMA.

29 years agoSun Feb 26 15:27:24 1995 Steve Chamberlain <sac@cygnus.com>
Ian Lance Taylor [Tue, 28 Feb 1995 19:16:40 +0000 (19:16 +0000)]
Sun Feb 26 15:27:24 1995  Steve Chamberlain  <sac@cygnus.com>

* configure.in: Use ../../bfd/hosts/std-host.h if specific
host unavailable.

29 years ago * config.bfd (i[345]86-*-linuxelf*): New target. Use i386-lelf.
Ian Lance Taylor [Tue, 28 Feb 1995 17:54:37 +0000 (17:54 +0000)]
* config.bfd (i[345]86-*-linuxelf*): New target.  Use i386-lelf.
(i[345]86-*-gnuelf*): New target.  Use i386-gelf.
* config/i386-lelf.mt: New file.
* config/i386-gelf.mt: New file.

29 years ago * configure.in (i[345]86-*-linuxelf*): New target. Use i386-lelf.
Ian Lance Taylor [Tue, 28 Feb 1995 17:44:35 +0000 (17:44 +0000)]
* configure.in (i[345]86-*-linuxelf*): New target.  Use i386-lelf.
(i[345]86-*-gnuelf*): New target.  Use i386-gelf.
* config/i386-lelf.mt: New file.
* config/i386-gelf.mt: New file.

29 years ago * configure.in: Match on mips-ecoff, and default to the IDT
Rob Savoye [Tue, 28 Feb 1995 17:29:02 +0000 (17:29 +0000)]
* configure.in: Match on mips-ecoff, and default to the IDT
configuration.

29 years ago * alpha-tdep.c (find_proc_desc): Only attempt to set
Jim Kingdon [Tue, 28 Feb 1995 16:38:26 +0000 (16:38 +0000)]
* alpha-tdep.c (find_proc_desc): Only attempt to set
PROC_LOCALOFF (found_heuristic) if found_heuristic is non-NULL.

29 years ago * alpha-tdep.c (find_proc_desc): Only attempt to set PROC_LOCALOFF
Jim Kingdon [Tue, 28 Feb 1995 16:35:11 +0000 (16:35 +0000)]
* alpha-tdep.c (find_proc_desc): Only attempt to set PROC_LOCALOFF
(found_heuristic) if found_heuristic is non-NULL.

29 years ago * configure.in: add a29k-*-vxworks configuration.
Kung Hsu [Mon, 27 Feb 1995 21:05:00 +0000 (21:05 +0000)]
    * configure.in: add a29k-*-vxworks configuration.

29 years ago * config.bfd: add a29k-*-vxworks configuration.
Kung Hsu [Mon, 27 Feb 1995 20:59:54 +0000 (20:59 +0000)]
    * config.bfd: add a29k-*-vxworks configuration.

29 years ago * config.sub: add vxworks29k configuration.
Kung Hsu [Mon, 27 Feb 1995 20:54:49 +0000 (20:54 +0000)]
    * config.sub: add vxworks29k configuration.

29 years ago * monitor.c: General gcc -Wall lint cleanup and reformat.
Stan Shebs [Mon, 27 Feb 1995 20:03:49 +0000 (20:03 +0000)]
* monitor.c: General gcc -Wall lint cleanup and reformat.
(monitor_command): If no args, send an empty command.