binutils-gdb.git
27 years ago * ld.h (check_nocrossrefs): Declare.
Ian Lance Taylor [Thu, 1 Aug 1996 17:35:49 +0000 (17:35 +0000)]
* ld.h (check_nocrossrefs): Declare.
* ldlang.h (struct lang_nocrossref): Define.
(struct lang_nocrossrefs): Define.
(nocrossref_list): Declare.
(lang_add_nocrossref): Declare.
* ldlex.l: Recognize NOCROSSREFS keyword.
* ldgram.y (%union): Add nocrossref field.
(NOCROSSREFS): New terminal.
(ifile_p1): Recognize NOCROSSREFS.
(nocrossref_list): New nonterminal.
* ldlang.c (nocrossref_list): Define.
(lang_add_nocrossref): New function.
* ldmain.c (main): If nocrossref_list is not NULL, call
check_nocrossrefs.
(warning_callback): Free symbols if there is no place to store
them.
(notice): Call add_cref if nocrossref_list is not NULL.
* ldcref.c: Include "ldexp.h" and "ldlang.h".
(check_nocrossrefs): New function.
(check_nocrossref): New static function.
(struct check_refs_info): Define.
(check_refs, check_reloc_refs): New static functions.
* Makefile.in: Rebuild dependencies.
* ld.texinfo (Option Commands): Document NOCROSSREFS.

27 years ago * config/mips/tm-mips.h (TM_MIPS_H): Enclose file contents in
Fred Fish [Thu, 1 Aug 1996 17:30:37 +0000 (17:30 +0000)]
* config/mips/tm-mips.h (TM_MIPS_H): Enclose file contents in
this, define when contents are included.
(mips_read_processor_type): Add prototype.
* config/mips/xm-mips.h: Remove strdup decl, now in gdb_string.h
* mdebugread.c (ecoff_relocate_efi): Add prototype.
(fixup_sigtramp): Only needed when TM_MIPS_H is defined.

27 years ago * ld.texinfo (Section Placement): Improve the wording of the
Ian Lance Taylor [Thu, 1 Aug 1996 17:10:52 +0000 (17:10 +0000)]
* ld.texinfo (Section Placement): Improve the wording of the
wildcard documentation.  Mention that wildcards are only searched
for on the command line, not in the file system.

27 years ago * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Move
Ian Lance Taylor [Thu, 1 Aug 1996 17:00:24 +0000 (17:00 +0000)]
* emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Move
definition of lib_path inside condition where it is used.

27 years ago * Makefile.in (gdbtk.tcl): put in $(datadir), not $(libdir).
Jason Molenda [Thu, 1 Aug 1996 07:13:18 +0000 (07:13 +0000)]
    * Makefile.in (gdbtk.tcl): put in $(datadir), not $(libdir).

27 years ago * rs6000-nat.c (add_vmap): Return 0 to caller rather than random value.
Fred Fish [Thu, 1 Aug 1996 05:25:23 +0000 (05:25 +0000)]
* rs6000-nat.c (add_vmap): Return 0 to caller rather than random value.
(vmap_ldinfo): Ensure got_exec_file is not used uninitialized.
(fetch_core_registers): Add prototype.
(vmap_symtab): Ditto.
(objfile_symbol_add): Ditto.
(add_vmap): Ditto.
(vmap_ldinfo): Ditto.
(vmap_exec): Ditto.

27 years agoWed Jul 31 14:46:11 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Wed, 31 Jul 1996 22:00:36 +0000 (22:00 +0000)]
Wed Jul 31 14:46:11 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* tc-d10v.c: Disable range checking on 16-bit values.

27 years agoWed Jul 31 14:46:11 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Wed, 31 Jul 1996 22:00:21 +0000 (22:00 +0000)]
Wed Jul 31 14:46:11 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* config/tc-d10v.c: Disable range checking on 16-bit values.

27 years ago * config/tc-m68k.c (m68k_ip): Set ok_arch for every instruction,
Ian Lance Taylor [Wed, 31 Jul 1996 20:29:00 +0000 (20:29 +0000)]
* config/tc-m68k.c (m68k_ip): Set ok_arch for every instruction,
not just the ones that don't match.

27 years ago * m68k-opc.c: Add cpushl for the mcf5200. From Ken Rose
Ian Lance Taylor [Wed, 31 Jul 1996 20:22:50 +0000 (20:22 +0000)]
* m68k-opc.c: Add cpushl for the mcf5200.  From Ken Rose
<rose@netcom.com>.

27 years agoWed Jul 31 13:17:10 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Wed, 31 Jul 1996 20:19:08 +0000 (20:19 +0000)]
Wed Jul 31 13:17:10 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

  * emulparams/d10velf.sh: Now works with elf.sc.

27 years ago Make ld -N more reasonable for ELF:
Ian Lance Taylor [Wed, 31 Jul 1996 19:58:05 +0000 (19:58 +0000)]
Make ld -N more reasonable for ELF:
* elf.c (map_sections_to_segments): If D_PAGED is not set, set
phdr_in_section to false, and always use a single load segment.
(elf_sort_sections): Sort sections by LMA after VMA.
(assign_file_positions_for_segments): If D_PAGED is not set, don't
align to maxpagesize.
(assign_file_positions_except_relocs): Likewise.
* elfcode.h (elf_object_p): If a section is loaded but not page
aligned, clear D_PAGED.

27 years agoWed Jul 31 11:52:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Wed, 31 Jul 1996 18:53:46 +0000 (18:53 +0000)]
Wed Jul 31 11:52:03 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* d10velf.sh (SCRIPT_NAME): Change to vanilla.

27 years agoWed Jul 31 11:52:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Wed, 31 Jul 1996 18:53:31 +0000 (18:53 +0000)]
Wed Jul 31 11:52:03 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* emulparams/d10velf.sh (SCRIPT_NAME): Change to vanilla.

27 years agoWed Jul 31 11:45:15 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Wed, 31 Jul 1996 18:50:12 +0000 (18:50 +0000)]
Wed Jul 31 11:45:15 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* tc-d10v.c: Fixed bugs in short relocs and range checking.

27 years agoWed Jul 31 11:45:15 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Wed, 31 Jul 1996 18:49:56 +0000 (18:49 +0000)]
Wed Jul 31 11:45:15 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* config/tc-d10v.c: Fixed bugs in short relocs and range checking.

27 years ago * gas/sparc/asi.s: Update ASI_AS_IF_USER_{PRIMARY,SECONDARY}_LITTLE.
David Edelsohn [Wed, 31 Jul 1996 17:58:42 +0000 (17:58 +0000)]
* gas/sparc/asi.s: Update ASI_AS_IF_USER_{PRIMARY,SECONDARY}_LITTLE.

27 years agomention ColdFire support
Ian Lance Taylor [Wed, 31 Jul 1996 17:54:04 +0000 (17:54 +0000)]
mention ColdFire support

27 years ago"testsuite/gas/arm/arm7t.s" and "testsuite/gas/arm/arm7t.d" added.
Jackie Smith Cashion [Wed, 31 Jul 1996 15:00:18 +0000 (15:00 +0000)]
"testsuite/gas/arm/arm7t.s" and "testsuite/gas/arm/arm7t.d" added.

27 years agooWed Jul 31 15:41:42 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Wed, 31 Jul 1996 14:57:57 +0000 (14:57 +0000)]
oWed Jul 31 15:41:42 1996  James G. Smith  <jsmith@cygnus.co.uk>

* config/tc-arm.c: Changed INSN_SIZE to variable insn_size, as
  pre-cursor to adding Thumb support. Also added cpu_variant flag
  information to each of the asm_flg structures.
(md_parse_option): Updated ARM7 parsing to allow 't' for
  thumb/halfword support, aswell as 'm' for long multiply.
(md_show_usage): Updated help message.
(md_assemble): Check that instruction flags are applicated to the
  current cpu variant.
(md_apply_fix3, tc_gen_reloc): Add BFD_RELOC_ARM_OFFSET_IMM8 and
  BFD_RELOC_ARM_HWLITERAL relocation support for new halfword and
  signextension instructions.
(do_ldst): Generate halfword and signextension variants if
  mnemonic flags match.
(ldst_extend): Do not allow shifts in the offset field of halfword
  or signextension instructions.
(validate_offset_imm): Provide check on halfword and signextension
  immediate range.
(add_to_lit_pool): Merge identical literal pool values.

Wed Jul 31 15:55:12 1996  James G. Smith  <jsmith@cygnus.co.uk>

* gas/arm/arm7t.s: Added.
* gas/arm/arm7t.d: Added.
* gas/arm/arm.exp: Updated to run the new test.

27 years agoWed Jul 31 15:00:12 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Wed, 31 Jul 1996 14:34:21 +0000 (14:34 +0000)]
Wed Jul 31 15:00:12 1996  James G. Smith  <jsmith@cygnus.co.uk>

* reloc.c: (BFD_RELOC_ARM_OFFSETIMM8, BFD_RELOC_ARM_HWLITERAL):
  Added, for internal use by the ARM gas.
* libbfd.h: Rebuilt
* bfd-in2.h: Rebuilt

27 years agoWed Jul 31 14:39:27 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Wed, 31 Jul 1996 13:43:51 +0000 (13:43 +0000)]
Wed Jul 31 14:39:27 1996  James G. Smith  <jsmith@cygnus.co.uk>

* arm-opc.h: (arm_opcodes): Added halfword and sign-extension
  memory transfer instructions. Add new format string entries %h and %s.
* arm-dis.c: (print_insn_arm): Provide decoding of the new
formats %h and %s.

27 years ago * stabsread.c (get_substring): Declare second arg as int.
Stan Shebs [Wed, 31 Jul 1996 01:07:30 +0000 (01:07 +0000)]
* stabsread.c (get_substring): Declare second arg as int.

* remote-es.c: Include gdb_string.h after defs.h.

27 years ago * configure.in (*-*-ose): Remove exclusion of libgloss for this
Brendan Kehoe [Wed, 31 Jul 1996 00:51:54 +0000 (00:51 +0000)]
* configure.in (*-*-ose): Remove exclusion of libgloss for this
target, it now compiles correctly.

27 years ago * ldlang.c (lang_size_sections): Add the section VMA to the result
Ian Lance Taylor [Tue, 30 Jul 1996 22:56:46 +0000 (22:56 +0000)]
* ldlang.c (lang_size_sections): Add the section VMA to the result
value when computing the address of a section.

27 years ago * config/tc-hppa.c (selector_table): Add 'E' selector.
Jeff Law [Tue, 30 Jul 1996 20:30:49 +0000 (20:30 +0000)]
    * config/tc-hppa.c (selector_table): Add 'E' selector.
        (cons_fix_new_hppa): Don't coke on e_esel.
        (tc_gen_reloc, SOM version): Handle R_COMP2 when used
        to help generate exception handling tables.
        (md_apply_fix): Don't try to apply fixups with an e_esel
        selector.
        (hppa_fix_adjustable): Fixups with e_esel selectors
        are not adjustable.
Another stab at EH on the PA.

27 years ago * libhppa.h (R_HPPA_ESEL): New field selector.
Jeff Law [Tue, 30 Jul 1996 20:16:27 +0000 (20:16 +0000)]
    * libhppa.h (R_HPPA_ESEL): New field selector.
        (e_esel): Similarly.
        * som.c (hppa_som_gen_reloc_type): If we encounter an e_esel,
        then generate R_COMP2 (PUSH_SYM), R_DATA_EXPR fixup stream.
        (som_write_fixups): Handle R_DATA_EXPR just like R_CODE_EXPR.
Making another stab at EH support on the PA.

27 years agoupdate copyright
Ian Lance Taylor [Tue, 30 Jul 1996 20:05:42 +0000 (20:05 +0000)]
update copyright

27 years ago * config/tc-sparc.c (md_pseudo_table): Add 2byte, 4byte, and 8byte
Ian Lance Taylor [Tue, 30 Jul 1996 20:02:02 +0000 (20:02 +0000)]
* config/tc-sparc.c (md_pseudo_table): Add 2byte, 4byte, and 8byte
pseudo-ops.

27 years ago * ld.h (args_type): Add cref field.
Ian Lance Taylor [Tue, 30 Jul 1996 18:49:54 +0000 (18:49 +0000)]
* ld.h (args_type): Add cref field.
* lexsup.c (parse_args): Set command_line.cref.
* ldmain.c (main): Check command_line.cref rather than
link_info.notice_all.
(notice): Likewise.

27 years ago * ldcref.c (output_one_cref): Don't crash if a symbol is defined
Ian Lance Taylor [Tue, 30 Jul 1996 18:48:25 +0000 (18:48 +0000)]
* ldcref.c (output_one_cref): Don't crash if a symbol is defined
in a section without an owner.

27 years ago * xcofflink.c (_bfd_xcoff_bfd_link_add_symbols): Do the regular
Ian Lance Taylor [Tue, 30 Jul 1996 17:39:33 +0000 (17:39 +0000)]
* xcofflink.c (_bfd_xcoff_bfd_link_add_symbols): Do the regular
archive search before looking for stripped dynamic objects.
PR 10187.

27 years ago * rs6000-tdep.c (push_arguments): Remove unused variable "pc".
Fred Fish [Tue, 30 Jul 1996 07:24:22 +0000 (07:24 +0000)]
* rs6000-tdep.c (push_arguments): Remove unused variable "pc".
(branch_dest): Remove unused variable "offset".
(pop_dummy_frame): Add prototype and make static.
(push_arguments): Guard against using len uninitialized.
(push_arguments): Guard against using arg uninitialized.
(frame_saved_pc): Remove unused variable "frameless".
(free_loadinfo): Ifdef out unused function.

27 years ago * xcoffread.c (compare_lte): Change prototype and function to
Fred Fish [Tue, 30 Jul 1996 06:50:23 +0000 (06:50 +0000)]
* xcoffread.c (compare_lte): Change prototype and function to
be correct type for passing to qsort.
(add_stab_to_list): Ifdef out unused function and prototype.
(compare_lte): Add prototype
(arrange_linetable): Ditto.
(record_include_begin): Ditto.
(record_include_end): Ditto.
(process_linenos): Ditto.
(xcoff_next_symbol_text): Ditto.
(scan_xcoff_symtab): Ditto.
(xcoff_initial_scan): Ditto.

27 years ago * mips-tdep.c (mips_read_processor_type): Add parens around
Fred Fish [Tue, 30 Jul 1996 06:15:13 +0000 (06:15 +0000)]
* mips-tdep.c (mips_read_processor_type): Add parens around
bitwise-and operands in comparison; previous expression always
evaluated to 0 because of equality comparison of two constants.

27 years ago * rs6000-tdep.c (skip_prologue): Add missing parens around
Fred Fish [Tue, 30 Jul 1996 05:12:07 +0000 (05:12 +0000)]
* rs6000-tdep.c (skip_prologue): Add missing parens around
operands of logical-or so that first operand does not bind
to previous logical-and.

27 years ago * configure.in: Expand "long long" test to include code that triggers
Fred Fish [Tue, 30 Jul 1996 04:26:25 +0000 (04:26 +0000)]
* configure.in: Expand "long long" test to include code that triggers
known problem on HPUX with native compiler.
(configure): Regenerated.

27 years ago * somsolib.c (som_solib_create_inferior_hook): Don't
Jeff Law [Tue, 30 Jul 1996 00:13:14 +0000 (00:13 +0000)]
    * somsolib.c (som_solib_create_inferior_hook): Don't
        warn if __d_pid can't be found.

27 years ago * fnmatch.h, fnmatch.c: New files.
Ian Lance Taylor [Mon, 29 Jul 1996 21:33:26 +0000 (21:33 +0000)]
* fnmatch.h, fnmatch.c: New files.
* ldlex.l: Remove unused definition of FILENAME.  Add definition
of WILDCHAR.  In SCRIPT mode, accept any sequence of WILDCHAR as a
NAME.
* ldgram.y (file_NAME_list): Accept '*' and '?' specially.
(input_section_spec): Accept '?' specially.
(statement): Change exp to mustbe_exp in length and FILL cases.
(section): Call ldlex_script before section statements, and call
ldlex_popstate after them.
* ldlang.c: Include "fnmatch.h".
(wildcardp): New static function.
(wild_section): Permit the section name to be a wildcard.
(wild_file): New static function, broken out of wild.
(wild): Call wild_file.  Permit the file name to be a wildcard.
(open_input_bfds): Don't call lookup_name for a wildcard pattern.
* Makefile.in: Rebuild dependencies.
  (CFILES): Add fnmatch.c.
(HFILES): Add fnmatch.h.
(OFILES): Add fnmatch.o.
* ld.texinfo: Document that file and section names can now be
wildcard patterns.

* ldlang.c (lang_place_orphans): Correct condition: place a common
section if not relocateable or if common definitions are forced.

27 years ago * config/mips/tm-mips.h (struct frame_info): Forward decl.
Fred Fish [Sun, 28 Jul 1996 21:41:09 +0000 (21:41 +0000)]
* config/mips/tm-mips.h (struct frame_info): Forward decl.
(struct type): Ditto.
(struct value): Ditto.

* config/mips/tm-mips.h (sigtramp_address): Move extern decl
  from mips-tdep.c to here.
(sigtramp_end): Ditto.
(fixup_sigtramp): Ditto.

* config/mips/tm-mips.h (init_extra_frame_info): Add prototype.
(mips_frame_chain): Ditto.
(mips_step_skips_delay): Ditto.
(mips_frame_saved_pc): Ditto.
(mips_find_saved_regs): Ditto.
(mips_frame_num_args): Ditto.
(mips_pop_frame): Ditto.
(mips_extract_return_value): Ditto.
(mips_store_return_value): Ditto.
(mips_push_dummy_frame): Ditto.
(mips_push_arguments): Ditto.
(mips_do_registers_info): Ditto.
(ecoff_relocate_efi): Ditto.
(ecoff_relocate_efi): Ditto.
* irix4-nat.c (fetch_core_registers): Add prototype.
* mips-tdep.c (read_next_frame_reg): Add prototype
(heuristic_proc_start): Ditto.
(heuristic_proc_desc): Ditto.
(mips_print_register): Ditto.
* config/mips/nm-irix5.h (procfs_set_watchpoint): Add prototype.
(procfs_stopped_by_watchpoint): Ditto.
* config/mips/nm-irix4.h (procfs_set_watchpoint): Add prototype.
(procfs_stopped_by_watchpoint): Ditto.
* config/alpha/tm-alpha.h (ecoff_relocate_efi): Add prototype.
(struct symbol): Add forward decl for prototype.

* breakpoint.c (internal_breakpoint_number): Only needed if
GET_LONGJMP_TARGET or SOLIB_ADD is defined.

* objfiles.c (ecoff_relocate_efi): Remove prototype.

27 years ago * configure.in: Add test for "long long" support.
Fred Fish [Sun, 28 Jul 1996 06:32:48 +0000 (06:32 +0000)]
* configure.in: Add test for "long long" support.
* configure: Regenerate with autoconf.
* acconfig.h: Add CC_HAS_LONG_LONG
* config.in: Regenerate with autoheader.
* config/mips/tm-mips64.h (FORCE_LONG_LONG): Remove
* config/sparc/tm-sp64.h (CC_HAS_LONG_LONG): Remove.
* config/mips/tm-vr4300el.h (CC_HAS_LONG_LONG): Remove.
* config/mips/tm-vr4300.h (CC_HAS_LONG_LONG): Remove.
* config/mips/xm-irix5.h (CC_HAS_LONG_LONG): Remove
(PRINTF_HAS_LONG_LONG): Remove.
(FORCE_LONG_LONG): Remove.
* config/powerpc/xm-aix.h (UINT_MAX): Undef and use gdb's version.
* config/convex/xm-convex.h (CC_HAS_LONG_LONG): Remove
(PRINTF_HAS_LONG_LONG): Remove.
* config/xm-nbsd.h (CC_HAS_LONG_LONG): Remove.
(PRINTF_HAS_LONG_LONG): Remove.
* config/pa/tm-hppa.h (GET_FIELD): Put parens around
subtraction inside shift.  Put parens around subtraction
in operand of bitwise and.
(struct frame_info): Forward declare
  if __STDC__ defined.
(frame_saved_regs): Ditto.
(struct value): Ditto.
(struct type): Ditto.
(struct inferior_status): Ditto.
(init_extra_frame_info): Add prototype.
(skip_prologue): Ditto.
(frameless_function_invocation): Ditto.
(frame_chain): Ditto.
(frame_chain_valid): Ditto.
(saved_pc_after_call): Ditto.
(hppa_fix_call_dummy): Ditto.
(hppa_push_arguments): Ditto.
(pa_do_registers_info): Ditto.
(in_solib_call_trampoline): Ditto.
(in_solib_return_trampoline): Ditto.
(push_dummy_frame): Ditto.
* convex-tdep.c (decout): Use print_longest rather than
fprintf_filtered.
* defs.h: Remove use of FORCE_LONG_LONG and __GNUC__ to set
CC_HAS_LONG_LONG.
(INT_MIN): Fix so it works correctly when assigned to a long long.
* valprint.c (longest_to_int): Rewrite to remove dependence
on INT_MIN and INT_MAX.
(print_longest): Rewrite the code that falls back to synthesized
hex output when LONGEST value is not representable as in a long and
  printf doesn't support printing long longs.
* ch-valprint.c (chill_val_print): Cast 2nd arg of
chill_print_type_scalar to LONGEST.
chill_print_type_scalar): Make static and add prototype.
* hppa-tdep.c (get_field): Ifdef out unused function.
(set_field): Ditto.
(extract_3): Ditto.
(extract_5_store): Ditto.
(extract_11): Ditto.
(extract_12): Ditto.
(deposit_17): Ditto.
(extract_14): Convert to static and add prototype.
(deposit_14): Ditto.
(extract_21): Ditto.
(deposit_21): Ditto.
(extract_17): Ditto.
(extract_5r_store): Ditto.
(extract_5R_store): Ditto.
(extract_5_load): Ditto.
(find_proc_framesize): Ditto.
(find_dummy_frame_regs): Ditto.
(sign_extend): Ditto.
(find_unwind_entry): Add prototype.
(find_return_regnum): Ditto.
(unwind_command): Ditto.
(find_dummy_frame_regs): Add parens around subtraction in operand
of bitwise-and.
(skip_prologue): Add parens around operands of logical-and inside
operand of logical-or.
(sign_extend): Add parens around operands of subtraction inside
operand of shift.
(low_sign_extend): Ditto.
* top.c (filename_completer): Convert old style decl of
filename_completion_function into prototype.
* f-lang.c (patch_common_entries): Ifdef out unused function.
* stabsread.c (read_cfront_baseclasses): Remove unused local
variable "msg_noterm".
(resolve_cfront_continuation): Remove unused local variable "fip".
(read_type): Remove unused variable xtypenums.
(read_cfront_static_fields): Remove unused variable "i".
(read_cfront_static_fields): Remove unused variable "nfields".
(read_cfront_member_functions): Add missing comment terminator.
(read_cfront_static_fields): Return 1 rather than random value.
(read_cfront_baseclasses): Ditto.
(read_cfront_baseclasses): Ditto.
(read_cfront_baseclasses): Ditto.
* somsolib.c (som_solib_create_inferior_hook): Remove unused
variable "u".
(som_solib_create_inferior_hook): Remove unused variable
shadow_contents.
(language.h): Add for needed prototypes.
(som_solib_sharedlibrary_command): Add prototype.
* hpread.c: (hpread_read_array_type): Add prototype.
* somread.c (hpread_build_pysmtabs): Add prototype.
(hpread_symfile_finish): Ditto.
(hpread_symfile_init): Ditto.
* hppah-nat.c (fetch_register): Convert old style decl
to prototype.
(gdbcore.h): Include for needed prototypes.
(fetch_register): Remove unused variable "mess".
* remote-pa.c (get_offsets): Ifdef out unused function.
(remote_start_remote): Remove unused variable "timeout".
(boot_board): Add prototype.
(reaad_frame): Add prototype.
(getpkt): Remove unused variable "bp".
(remote_kill): Add prototype.
(remote_mourn): Add prototype.
(remote_insert_breakpoint): Add prototype.
(remote_remove_breakpoint): Add prototype.
* valops.c (value_push): Only use if PUSH_ARGUMENTS is not defined.
* infcmd.c (do_registers_info): Only need prototype if
DO_REGISTERS_INFO is not defined.
(breakpoint_auto_delete_contents): Only need if
CALL_DUMMY_BREAKPOINT_OFFSET is defined.

27 years ago * mpw-config.in: Generate Mac include for elf/dwarf2.h.
Stan Shebs [Sat, 27 Jul 1996 22:12:57 +0000 (22:12 +0000)]
* mpw-config.in: Generate Mac include for elf/dwarf2.h.

27 years ago * xcoffread.c (xcoff_end_psymtab): Add textlow_not_set parameter.
Fred Fish [Sat, 27 Jul 1996 17:03:14 +0000 (17:03 +0000)]
* xcoffread.c (xcoff_end_psymtab): Add textlow_not_set parameter.
(END_PSYMTAB): Ditto.
(scan_xcoff_symtab): Call xcoff_end_psymtab with textlow_not_set.

27 years ago * xcofflink.c (xcoff_build_ldsyms): Make exporting an undefined
Ian Lance Taylor [Fri, 26 Jul 1996 21:53:08 +0000 (21:53 +0000)]
* xcofflink.c (xcoff_build_ldsyms): Make exporting an undefined
symbol a warning rather than an error.
PR 10208.

27 years agoFri Jul 26 11:45:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Fri, 26 Jul 1996 18:59:21 +0000 (18:59 +0000)]
Fri Jul 26 11:45:04 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* d10v-opc.c (d10v_operands): Added UNUM4S; a 4-bit accumulator shift.
  (d10v_opcodes): Modified accumulator shift instructions to use UNUM4S.

27 years agoFri Jul 26 11:47:10 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Fri, 26 Jul 1996 18:58:46 +0000 (18:58 +0000)]
Fri Jul 26 11:47:10 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* d10v.h (OPERAND_SHIFT): New operand flag.

27 years agoFri Jul 26 11:43:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Fri, 26 Jul 1996 18:53:03 +0000 (18:53 +0000)]
Fri Jul 26 11:43:03 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* tc-d10v.c: Added lots of error checking.  Added hacks
to support accumulator shifts.

27 years agoFri Jul 26 11:43:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Fri, 26 Jul 1996 18:52:01 +0000 (18:52 +0000)]
Fri Jul 26 11:43:03 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* config/tc-d10v.c: Added lots of error checking.  Added hacks
to support accumulator shifts.

27 years ago * printcmd.c (_initialize_printcmd): Initialize
Ian Lance Taylor [Fri, 26 Jul 1996 18:10:18 +0000 (18:10 +0000)]
* printcmd.c (_initialize_printcmd): Initialize
tm_print_insn_info.flavour.
* gdbtk.c (gdb_disassemble): Initialize di.flavour.

27 years ago * objdump.c (disassemble_data): Set disasm_info.flavour from
Ian Lance Taylor [Fri, 26 Jul 1996 18:07:33 +0000 (18:07 +0000)]
* objdump.c (disassemble_data): Set disasm_info.flavour from
abfd.

27 years ago * alpha-dis.c (print_insn_alpha_osf): Remove.
Ian Lance Taylor [Fri, 26 Jul 1996 18:06:35 +0000 (18:06 +0000)]
* alpha-dis.c (print_insn_alpha_osf): Remove.
(print_insn_alpha_vms): Remove.
(print_insn_alpha): Make globally visible.  Chose the register
names based on info->flavour.
* disassemble.c: Always return print_insn_alpha for the alpha.

27 years ago * symbols.c (S_SET_EXTERNAL): Let .weak override.
Ian Lance Taylor [Fri, 26 Jul 1996 15:58:57 +0000 (15:58 +0000)]
* symbols.c (S_SET_EXTERNAL): Let .weak override.
(S_CLEAR_EXTERNAL): Likewise.
(S_SET_WEAK): Remove error; just let .weak override.

27 years ago * libiberty.h (PRIVATE_XMALLOC): Enclose xmalloc/xrealloc
Fred Fish [Fri, 26 Jul 1996 05:05:35 +0000 (05:05 +0000)]
* libiberty.h (PRIVATE_XMALLOC): Enclose xmalloc/xrealloc
definitions inside #ifndef so that programs that want to
can define PRIVATE_XMALLOC and then define xmalloc and
xrealloc anyway they want.
(basename): Document in source that we can't declare
the parameter type because it is declared inconsistently across
different systems.

27 years agoSee the huge ChangeLog entry that has the header:
Fred Fish [Fri, 26 Jul 1996 04:12:12 +0000 (04:12 +0000)]
See the huge ChangeLog entry that has the header:

   Thu Jul 25 19:41:31 1996  Fred Fish  <fnf@cygnus.com>

for details about these changes.  I was going to include the complete
entry in the checkin message but it was apparently so large it caused
cvs to dump core.

27 years agoSee gdb ChangeLog entry with header:
Fred Fish [Fri, 26 Jul 1996 03:01:51 +0000 (03:01 +0000)]
See gdb ChangeLog entry with header:

Thu Jul 25 19:41:31 1996  Fred Fish  <fnf@cygnus.com>

for a rather huge set of changes.  I was going to put them here, but it
made cvs dump core.  :-(

27 years ago * dsrec.c (load_srec): Protect ANSI style function parms with PARAMS.
David Edelsohn [Thu, 25 Jul 1996 23:13:08 +0000 (23:13 +0000)]
* dsrec.c (load_srec): Protect ANSI style function parms with PARAMS.

27 years agoThu Jul 25 15:24:17 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Thu, 25 Jul 1996 22:28:10 +0000 (22:28 +0000)]
Thu Jul 25 15:24:17 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* d10v-dis.c (dis_long): Handle unknown opcodes.

27 years agoThu Jul 25 15:22:51 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Thu, 25 Jul 1996 22:27:37 +0000 (22:27 +0000)]
Thu Jul 25 15:22:51 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* tc-d10v.c (md_assemble): Now handles multiline
instructions.

27 years agoThu Jul 25 15:22:51 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Thu, 25 Jul 1996 22:27:17 +0000 (22:27 +0000)]
Thu Jul 25 15:22:51 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* config/tc-d10v.c (md_assemble): Now handles multiline
instructions.

27 years agoThu Jul 25 12:08:09 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Thu, 25 Jul 1996 19:16:34 +0000 (19:16 +0000)]
Thu Jul 25 12:08:09 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* d10v-opc.c: Changes to support signed and unsigned numbers.
All instructions with the same name that have long and short forms
now end in ".l" or ".s".  Divs added.
* d10v-dis.c: Changes to support signed and unsigned numbers.

27 years agoThu Jul 25 12:06:22 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Thu, 25 Jul 1996 19:15:49 +0000 (19:15 +0000)]
Thu Jul 25 12:06:22 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* d10v.h: Changes for divs, parallel-only instructions, and
  signed numbers.

27 years agoThu Jul 25 12:03:33 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Thu, 25 Jul 1996 19:15:14 +0000 (19:15 +0000)]
Thu Jul 25 12:03:33 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* tc-d10v.c: Fix packaging bug. Added range checking.
Added kludge for divs instruction.  Fixed minor problem with
multiple text sections.
* tc-d10v.h (d10v_cleanup): Change prototype.

27 years agoThu Jul 25 12:03:33 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Thu, 25 Jul 1996 19:14:27 +0000 (19:14 +0000)]
Thu Jul 25 12:03:33 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* config/tc-d10v.c: Fix packaging bug. Added range checking.
Added kludge for divs instruction.  Fixed minor problem with
multiple text sections.
* config/tc-d10v.h (d10v_cleanup): Change prototype.

27 years agoAdd mh-irix6.
Mark Alexander [Thu, 25 Jul 1996 07:35:23 +0000 (07:35 +0000)]
Add mh-irix6.

27 years agotipo
Ian Lance Taylor [Wed, 24 Jul 1996 23:11:13 +0000 (23:11 +0000)]
tipo

27 years agostart-sanitize-d10v
Martin Hunt [Wed, 24 Jul 1996 19:19:26 +0000 (19:19 +0000)]
start-sanitize-d10v
Wed Jul 24 12:16:38 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
        * d10velf.sh (SCRIPT_NAME): Change to elf.
end-sanitize-d10v

27 years agostart-sanitize-d10v
Martin Hunt [Wed, 24 Jul 1996 19:19:09 +0000 (19:19 +0000)]
start-sanitize-d10v
Wed Jul 24 12:16:38 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
        * emulparams/d10velf.sh (SCRIPT_NAME): Change to elf.
end-sanitize-d10v

27 years agoAllow plain d10v as a target
Michael Meissner [Wed, 24 Jul 1996 17:48:31 +0000 (17:48 +0000)]
Allow plain d10v as a target

27 years ago * elf.c (assign_file_positions_for_segments): Track the virtual
Ian Lance Taylor [Wed, 24 Jul 1996 16:05:32 +0000 (16:05 +0000)]
* elf.c (assign_file_positions_for_segments): Track the virtual
memory position separately from the file position, and use it to
compute the alignment adjustment.
PR 10039.

27 years agostart-sanitize-d10v
Martin Hunt [Tue, 23 Jul 1996 18:11:55 +0000 (18:11 +0000)]
start-sanitize-d10v
Tue Jul 23 11:02:53 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* d10v-dis.c: Change all functions to use info->print_address_func.

end-sanitize-d10v

27 years agostart-sanitize-d10v
Martin Hunt [Tue, 23 Jul 1996 18:11:24 +0000 (18:11 +0000)]
start-sanitize-d10v
Tue Jul 23 10:36:19 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* emulparams/d10velf.sh: New file.

end-sanitize-d10v

27 years ago * dlltool.c (secdata): In non DLLTOOL_PPC case, change alignment
Ian Lance Taylor [Tue, 23 Jul 1996 18:04:35 +0000 (18:04 +0000)]
* dlltool.c (secdata): In non DLLTOOL_PPC case, change alignment
of .text section to 2.

27 years agostart-sanitize-d10v
Martin Hunt [Tue, 23 Jul 1996 18:01:42 +0000 (18:01 +0000)]
start-sanitize-d10v
Tue Jul 23 10:36:19 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* emulparams/d10velf.sh: New file.

end-sanitize-d10v

27 years agostart-sanitize-d10v
Martin Hunt [Tue, 23 Jul 1996 18:00:39 +0000 (18:00 +0000)]
start-sanitize-d10v
Tue Jul 23 10:36:19 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* Makefile.in (ed10velf.c): New target.
* configure.tgt (d10v-*-elf*): New target.
* emulparams/d10velf.sh: New file.

end-sanitize-d10v

27 years agostart-sanitize-d10v
Martin Hunt [Tue, 23 Jul 1996 17:59:22 +0000 (17:59 +0000)]
start-sanitize-d10v
Tue Jul 23 10:49:36 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* config/tc-d10v.c (md_apply_fix3): Fix all instruction
addresses to be right-shifted by 2.

end-sanitize-d10v

27 years agostart-sanitize-d10v
Martin Hunt [Tue, 23 Jul 1996 17:54:21 +0000 (17:54 +0000)]
start-sanitize-d10v
Tue Jul 23 10:43:31 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* elf32-d10v.c (elf_d10v_howto_table): Changed all relocs to "long"
  and fixed mask on R_D10V_10_PCREL_L.

end-sanitize-d10v

27 years agostart-sanitize-d10v
Martin Hunt [Tue, 23 Jul 1996 17:53:27 +0000 (17:53 +0000)]
start-sanitize-d10v
Tue Jul 23 10:47:04 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* configure.in (d10v-*-*): Remove ld from $noconfigdirs.

end-sanitize-d10v

27 years agoNew simulator changes from Andrew
Michael Meissner [Tue, 23 Jul 1996 15:42:42 +0000 (15:42 +0000)]
New simulator changes from Andrew

27 years agoFix mistake from Brendan's last checkin.
Jim Wilson [Tue, 23 Jul 1996 04:24:28 +0000 (04:24 +0000)]
Fix mistake from Brendan's last checkin.

27 years ago * Makefile.in (os9kread.o): Remove dependency on partial-stab.h.
Stu Grossman [Tue, 23 Jul 1996 01:24:58 +0000 (01:24 +0000)]
* Makefile.in (os9kread.o):  Remove dependency on partial-stab.h.
* dbxread.c (read_dbx_symtab end_psymtab), partial-stab.h:  Don't
use partial_symtab->textlow==0 as a flag, as 0 is a legitimate
text address.  Use a seperate flag (textlow_not_set) instead.
This makes stabs in ELF .o files work a lot better.
* mdebugread.c xcoffread.c:  Define textlow_not_set for
partial-stab.h.
* stabsread.h (end_psymtab):  Add textlow_not_set arg to prototype.

27 years ago * elf64-mips.c: Include "aout/ar.h".
Ian Lance Taylor [Mon, 22 Jul 1996 23:02:35 +0000 (23:02 +0000)]
* elf64-mips.c: Include "aout/ar.h".
(mips_elf64_slurp_armap): New static function.
(mips_elf64_write_armap): New static function.
(bfd_elf64_archive_*): Define.
* elfxx-target.h (bfd_elfNN_archive_p): Define if not defined.
Use instead of bfd_generic_archive_p.
(bfd_elfNN_write_archive_contents): Define if not defined.  Use
instead of _bfd_write_archive_contents.
(bfd_elfNN_mkdarchive): Define if not defined.  Use instead of
_bfd_generic_mkarchive.
(TARGET_BIG_SYM): If bfd_elfNN_archive_functions is defined, use
bfd_elfNN_archive in BFD_JUMP_TABLE_ARCHIVE rather than
_bfd_archive_coff.
(TARGET_LITTLE_SYM): Likewise.
* archive.c (bfd_slurp_armap): Check for and reject an archive map
name of /SYM64/.
* Makefile.in: Rebuild dependencies.

27 years ago * elf32-mips.c (_bfd_mips_elf_final_write_processing): Handle
Ian Lance Taylor [Mon, 22 Jul 1996 23:02:02 +0000 (23:02 +0000)]
* elf32-mips.c (_bfd_mips_elf_final_write_processing): Handle
SHT_MIPS_LIBLIST, SHT_MIPS_CONTENT, SHT_MIPS_SYMBOL_LIB, and
SHT_MIPS_EVENTS sections.
(_bfd_mips_elf_section_from_shdr): Handle SHT_MIPS_IFACE,
SHT_MIPS_CONTENT, SHT_MIPS_SYMBOL_LIB, and SHT_MIPS_EVENTS
sections.
(_bfd_mips_elf_fake_sections): Likewise.

27 years ago * configure.in (native_only): Add prms.
Brendan Kehoe [Mon, 22 Jul 1996 20:30:04 +0000 (20:30 +0000)]
    * configure.in (native_only): Add prms.

27 years agoMon Jul 22 15:38:53 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Mon, 22 Jul 1996 19:49:24 +0000 (19:49 +0000)]
Mon Jul 22 15:38:53 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* m68k-opc.c (m68k_opcodes): Make opcode masks for the ColdFire
  move ccr/sr insns more strict so that the disassembler only
  selects them when the addressing mode is data register.

27 years ago * libecoff.h (ecoff_data_type): Add rdata_in_text field.
Ian Lance Taylor [Mon, 22 Jul 1996 19:38:23 +0000 (19:38 +0000)]
* libecoff.h (ecoff_data_type): Add rdata_in_text field.
* ecoff.c (ecoff_compute_section_file_positions): Copy
rdata_in_text from backend info to tdata.  Clear it if any data
section comes before .rdata.
(_bfd_ecoff_write_object_contents): Use rdata_in_text field in
tdata rather than backend info.

27 years agostart-sanitize-d10v
Martin Hunt [Mon, 22 Jul 1996 18:57:20 +0000 (18:57 +0000)]
start-sanitize-d10v
Mon Jul 22 11:25:24 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
        * d10v-opc.c (pre_defined_registers):  Declare.
        * d10v-dis.c (print_operand): Now uses pre_defined_registers
        to pick a better name for the registers.

end-sanitize-d10v

27 years agostart-sanitize-d10v
Martin Hunt [Mon, 22 Jul 1996 18:56:30 +0000 (18:56 +0000)]
start-sanitize-d10v
Mon Jul 22 11:21:15 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* d10v.h (pd_reg): Define. Putting the definition here allows
the assembler and disassembler to share the same struct.

end-sanitize-d10v

27 years agostart-sanitize-d10v
Martin Hunt [Mon, 22 Jul 1996 18:55:27 +0000 (18:55 +0000)]
start-sanitize-d10v
Mon Jul 22 11:32:36 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* config/tc-d10v.c: Many changes to get relocs working.
  (register_name): No longer creates a symbol for register names.
  (pre_defined_registers): moved to opcodes/d10v-opc.c.
(d10v_insert_operand): Now works correctly for either container.
* config/tc-d10v.h (d10v_cleanup): Declare.

end-sanitize-d10v

27 years agofix last patch
Ian Lance Taylor [Mon, 22 Jul 1996 18:38:50 +0000 (18:38 +0000)]
fix last patch

27 years ago * config/tc-mips.c (tc_gen_reloc): BFD_RELOC_PCREL_HI16_S and
Ian Lance Taylor [Mon, 22 Jul 1996 18:03:41 +0000 (18:03 +0000)]
* config/tc-mips.c (tc_gen_reloc): BFD_RELOC_PCREL_HI16_S and
BFD_RELOC_PCREL_LO16 are expected to be PC relative.

27 years ago * sparc-opc.c: Fix opcode values for fpack16, and fpackfix. Fix
Ian Lance Taylor [Mon, 22 Jul 1996 17:58:19 +0000 (17:58 +0000)]
* sparc-opc.c: Fix opcode values for fpack16, and fpackfix.  Fix
operands for fexpand and fpmerge.  From Christian Kuehnke
<Christian.Kuehnke@arbi.informatik.uni-oldenburg.de>.

27 years agoMon Jul 22 13:17:06 1996 Richard Henderson <rth@tamu.edu>
Ian Lance Taylor [Mon, 22 Jul 1996 17:19:09 +0000 (17:19 +0000)]
Mon Jul 22 13:17:06 1996  Richard Henderson  <rth@tamu.edu>

* alpha-dis.c (print_insn_alpha): No longer the user-visible
print routine.  Take new regnames and cpumask arguments.
Kill the environment variable nonsense.
(print_insn_alpha_osf): New function.  Do OSF/1 style regnames.
(print_insn_alpha_vms): New function.  Do VMS style regnames.
* disassemble.c (disassembler): Test bfd flavour to pick
between OSF and VMS routines.  Default to OSF.

27 years agoMon Jul 22 13:16:13 1996 Richard Henderson <rth@tamu.edu>
Ian Lance Taylor [Mon, 22 Jul 1996 17:18:55 +0000 (17:18 +0000)]
Mon Jul 22 13:16:13 1996  Richard Henderson  <rth@tamu.edu>

* dis-asm.h (print_insn_alpha): Don't declare.
(print_insn_alpha_osf, print_insn_alpha_vms): Declare.

27 years agoMon Jul 22 12:46:55 1996 Richard Henderson <rth@tamu.edu>
Ian Lance Taylor [Mon, 22 Jul 1996 17:04:04 +0000 (17:04 +0000)]
Mon Jul 22 12:46:55 1996  Richard Henderson  <rth@tamu.edu>

* tc-alpha.c: Patches to track current minimum alignment to reduce
the number of fragments created with frag_align.
(alpha_current_align): New static variable.
(s_alpha_text): Reset alignment to 0.
(s_alpha_data, s_alpha_rdata, s_alpha_sdata): Likewise.
(s_alpha_stringer, s_alpha_space): New functions.
(s_alpha_cons, alpha_flush_pending_output): Remove functions.
(alpha_cons_align): New function to replace both of them.
(emit_insn): Only align if alpha_current_align is less than 2;
reset alpha_current_align to 2.
(s_alpha_gprel32): Likewise.
(s_alpha_section): New function.  Basically duplicate the other
alpha section change hooks.  Only define for ELF.
(s_alpha_float_cons): Simplify alignment handling.
(md_pseudo_table): Only define "rdata" and "sdata" if OBJ_ECOFF.
If OBJ_ELF, define "section", "section.s", "sect", and "sect.s".
Don't define the s_alpha_cons pseudo-ops.  Do define
s_alpha_stringer and s_alpha_space pseudo-ops.
(alpha_align): Skip if less than current default alignment.  Set
default alignment.
* tc-alpha.h (md_flush_pending_output): Remove.
(md_cons_align): Add.

* tc-alpha.c: Add oodles of function description comments.
(md_bignum_to_chars): Remove; there are no callers.
(md_show_usage): Mention some more variants.

27 years ago * Makefile.in (GAS_SUPPORT_DIRS): Add make-all.com and setup.com.
Ian Lance Taylor [Mon, 22 Jul 1996 16:28:08 +0000 (16:28 +0000)]
* Makefile.in (GAS_SUPPORT_DIRS): Add make-all.com and setup.com.
(BINUTILS_SUPPORT_DIRS): Likewise.

27 years ago * i960.h (i960_opcodes): "halt" takes an argument. From Stephen
Ian Lance Taylor [Mon, 22 Jul 1996 16:21:25 +0000 (16:21 +0000)]
* i960.h (i960_opcodes): "halt" takes an argument.  From Stephen
Williams <steve@icarus.com>.

27 years ago * objdump.c (dump_section_stabs): Fix test for stabs sections
Stu Grossman [Mon, 22 Jul 1996 15:49:34 +0000 (15:49 +0000)]
* objdump.c (dump_section_stabs):  Fix test for stabs sections
ending with numbers.  This fixes a problem with .stab being
confused with .stab.index.

27 years ago * gdbtk.tcl (files_command): Reorder the binding tags for
Fred Fish [Sun, 21 Jul 1996 01:28:12 +0000 (01:28 +0000)]
* gdbtk.tcl (files_command): Reorder the binding tags for
the listbox widget to avoid referencing the listbox after
the containing widget has been destroyed by the action of
a previous binding.

27 years ago * dwarf2read.c (struct filenames): Change internal "struct file"
Fred Fish [Sat, 20 Jul 1996 18:33:27 +0000 (18:33 +0000)]
* dwarf2read.c (struct filenames): Change internal "struct file"
to "struct fileinfo" to avoid conflict with "struct file" in
<sys/file.h> on HPUX and Solaris.

27 years ago * gdbtk.tcl (delete_expr): Unset corresponding element of
Fred Fish [Sat, 20 Jul 1996 17:21:36 +0000 (17:21 +0000)]
* gdbtk.tcl (delete_expr): Unset corresponding element of
expr_update_list when destroying an expression.
(create_expr_window): Initialize expr_num, delete_expr_num,
and expr_update_list here when each new expression window
is created, rather than once at startup.
PR 9383