binutils-gdb.git
30 years ago* nlm/Makefile.in: remove MMALLOC, READLINE, TERMCAP, and other cruft.
J.T. Conklin [Fri, 9 Sep 1994 23:22:41 +0000 (23:22 +0000)]
* nlm/Makefile.in: remove MMALLOC, READLINE, TERMCAP, and other cruft.

30 years agoAdd XDEPFILE = ser-tcp.o
Rob Savoye [Fri, 9 Sep 1994 23:00:02 +0000 (23:00 +0000)]
Add XDEPFILE = ser-tcp.o

30 years ago* config/i386/gdbserve.mt: New file, defs for i386 nlm stub.
J.T. Conklin [Fri, 9 Sep 1994 22:55:36 +0000 (22:55 +0000)]
* config/i386/gdbserve.mt: New file, defs for i386 nlm stub.

30 years agoGDB support for HP-PRO.
Rob Savoye [Fri, 9 Sep 1994 22:44:13 +0000 (22:44 +0000)]
GDB support for HP-PRO.

30 years ago * coffgen.c (coff_get_symtab): Reindented. Removed commented out
Ian Lance Taylor [Fri, 9 Sep 1994 20:38:37 +0000 (20:38 +0000)]
* coffgen.c (coff_get_symtab): Reindented.  Removed commented out
call to bfd_constructor_entry.

30 years agokeep arm files
Ken Raeburn [Fri, 9 Sep 1994 18:51:10 +0000 (18:51 +0000)]
keep arm files

30 years agokeep arm files
Ken Raeburn [Fri, 9 Sep 1994 18:35:11 +0000 (18:35 +0000)]
keep arm files

30 years agoforgot an entry for makefile dependency changes
Ken Raeburn [Fri, 9 Sep 1994 18:34:25 +0000 (18:34 +0000)]
forgot an entry for makefile dependency changes

30 years agokeep arm dir
Ken Raeburn [Fri, 9 Sep 1994 18:34:24 +0000 (18:34 +0000)]
keep arm dir

30 years ago Convert m68k COFF to use new COFF backend linker.
Ian Lance Taylor [Fri, 9 Sep 1994 15:54:45 +0000 (15:54 +0000)]
Convert m68k COFF to use new COFF backend linker.
* coff-m68k.c (coff_relocate_section): Define.
* cf-m68klynx.c (coff_rtype_to_howto): Define.
(coff_m68k_lynx_rtype_to_howto): New static function.
* configure.in (m68kcoff_vec): Build cofflink.o.
(m68kcoffun_vec, m68klynx_coff_vec): Likewise.

30 years agoModified Files:
Kung Hsu [Fri, 9 Sep 1994 01:05:28 +0000 (01:05 +0000)]
Modified Files:
ChangeLog read.h read.c ecoff.h ecoff.c

        * read.h : ditto.
        * read.c (read_a_source_file): if no file when inst is read, set
        generate_asm_lineno to true.
        * ecoff.h : change name to generate_asm_lineno and add function
        ecoff_no_current_file.
        * ecoff.c : change name to generate_asm_lineno.
        * ecoff.c (ecoff_generate_asm_lineno) : new function, to generate
        ecoff style line for asm file.

30 years agoModified Files:
Kung Hsu [Fri, 9 Sep 1994 01:02:48 +0000 (01:02 +0000)]
Modified Files:
obj-ecoff.h obj-elf.h

        * config/obj-ecoff.h : Change names to  OBJ_GENERATE_ASM_LINENO,
        and generate_asm_lineno.
        * config/obj-elf.h : ditto.

30 years ago * config/i386/xm-go32.h (GDBINIT_FILENAME): Set to gdb.ini.
Steve Chamberlain [Fri, 9 Sep 1994 00:44:01 +0000 (00:44 +0000)]
* config/i386/xm-go32.h (GDBINIT_FILENAME): Set to gdb.ini.
(more work here to come)

30 years ago * config/sh/tm-sh.h (EXTRA_FRAME_INFO): Add f_offset and leaf_function
Steve Chamberlain [Fri, 9 Sep 1994 00:43:50 +0000 (00:43 +0000)]
* config/sh/tm-sh.h (EXTRA_FRAME_INFO): Add f_offset and leaf_function
fields.

30 years ago * config/h8500/tm-h8500.h (target_write_pc, TARGET_WRITE_PC):
Steve Chamberlain [Fri, 9 Sep 1994 00:43:30 +0000 (00:43 +0000)]
* config/h8500/tm-h8500.h (target_write_pc, TARGET_WRITE_PC):
Handle extra arg.

30 years agoThu Sep 8 17:14:43 1994 Steve Chamberlain (sac@jonny.cygnus.com)
Steve Chamberlain [Fri, 9 Sep 1994 00:35:09 +0000 (00:35 +0000)]
Thu Sep  8 17:14:43 1994  Steve Chamberlain  (sac@jonny.cygnus.com)

* remote.c (fromhex): Make error more explicit.
(read_frame): Don't print bad checksum information unless
remote_debugging.  Don't use repeat count unless it's > 0.
* remote-e7000.c (expect): When echoing, ignore multiple newlines.
(e7000_insert_breakpoint, e7000_remove_breakpoint, target_ops): Optionally
cope with BC style breakpoints.
(e7000_command):  After command send directly to the E7000 mark
registers as changed.
(why_stop, e7000_wait: Understand BC style stop condition.
* sh-tdep.c (sh_skip_prologue):  Understand more complicated
sequences.  (frame_find_saved_regs): Likewise.
* config/h8500/tm-h8500.h (target_write_pc, TARGET_WRITE_PC):
Handle extra arg.
* config/i386/xm-go32.h (GDBINIT_FILENAME): Set to gdb.ini.
(more work here to come)
* config/sh/tm-sh.h (EXTRA_FRAME_INFO): Add f_offset and leaf_function
fields.

30 years ago * config/obj-coff.c (size_section): Do an fprintf to stderr rather
Ian Lance Taylor [Thu, 8 Sep 1994 23:46:00 +0000 (23:46 +0000)]
* config/obj-coff.c (size_section): Do an fprintf to stderr rather
than a printf.
(fixup_segment): Use as_bad_where rather than as_bad.

30 years ago * scripttempl/h8500b.sc: Put rdata stuff into own segment.
Steve Chamberlain [Thu, 8 Sep 1994 23:36:17 +0000 (23:36 +0000)]
    * scripttempl/h8500b.sc: Put rdata stuff into own segment.

30 years ago * coff-h8300.c (h8300_reloc16_extra_cases, case RELBYTE): Flag overflows
Steve Chamberlain [Thu, 8 Sep 1994 23:27:56 +0000 (23:27 +0000)]
* coff-h8300.c (h8300_reloc16_extra_cases, case RELBYTE):  Flag overflows
correctly.

30 years ago* sparclite/Makefile.in: Assorted stuff needed for eload.
J.T. Conklin [Thu, 8 Sep 1994 23:19:02 +0000 (23:19 +0000)]
* sparclite/Makefile.in: Assorted stuff needed for eload.
* sparclite/eload.c: Merge in command line argument parsing and
  error message handling improvements orignally made to aload.c.

30 years ago * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Don't define;
Ian Lance Taylor [Thu, 8 Sep 1994 17:26:27 +0000 (17:26 +0000)]
* emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Don't define;
.got section is now explicitly handled in elf.sc.

30 years ago * gdb.base/commands.exp: New tests for if/while commands.
Jeff Law [Thu, 8 Sep 1994 06:02:58 +0000 (06:02 +0000)]
    * gdb.base/commands.exp: New tests for if/while commands.

30 years ago * defs.h (enum misc_command_type, command_control_type): Enums
Jeff Law [Thu, 8 Sep 1994 05:32:34 +0000 (05:32 +0000)]
* defs.h (enum misc_command_type, command_control_type): Enums
for describing the command and control types.
(struct command_line): Add new fields to keep track of the command
type and body associated with the command.
* top.c: Include value.h.  Delete whitespace at the end of lines.
(build_command_line, get_command_line): New functions.
(execute_control_command, while_command, if_command): Likewise.
(realloc_body_list, read_next_line): Likewise.
(recurse_read_control_structure): Likewise.
(execute_user_command): Call execute_control_command.
(read_command_lines): Simplify by calling read_next_line, call
read_control_structure for "if" and "while" commands.
(free_command_lines): Free new fields in the command structure.
(define_command): Reset control_level to zero.
(init_main): Install command handlers for "if" and "while" commands.

30 years ago * config/tc-{h8300,sh}.[ch] (tc_coff_symbol_emit): Function doing nothing
Steve Chamberlain [Thu, 8 Sep 1994 00:52:23 +0000 (00:52 +0000)]
* config/tc-{h8300,sh}.[ch] (tc_coff_symbol_emit): Function doing nothing
becomes macro doing nothing.

30 years agoWed Sep 7 17:21:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
Steve Chamberlain [Thu, 8 Sep 1994 00:38:17 +0000 (00:38 +0000)]
Wed Sep  7 17:21:12 1994  Steve Chamberlain  (sac@jonny.cygnus.com)

* config/tc-{h8300,sh}.[ch] (tc_coff_symbol_emit): Function doing nothing
becomes macro doing nothing.

30 years agofix config.status, Makefile dependencies
Ken Raeburn [Thu, 8 Sep 1994 00:15:49 +0000 (00:15 +0000)]
fix config.status, Makefile dependencies

30 years agotc_gen_reloc, i386-linux, brokensed changes
Ken Raeburn [Thu, 8 Sep 1994 00:00:08 +0000 (00:00 +0000)]
tc_gen_reloc, i386-linux, brokensed changes

30 years ago(tc_gen_reloc): Use bfd_get_reloc_code_name in error message.
Ken Raeburn [Wed, 7 Sep 1994 23:58:32 +0000 (23:58 +0000)]
(tc_gen_reloc): Use bfd_get_reloc_code_name in error message.

30 years agoRemove 'brokensed' hack, autoconf should make it unnecessary now.
Ken Raeburn [Wed, 7 Sep 1994 23:52:59 +0000 (23:52 +0000)]
Remove 'brokensed' hack, autoconf should make it unnecessary now.

30 years agoDon't set bfd_gas for i386-linux a.out configurations.
Ken Raeburn [Wed, 7 Sep 1994 23:52:31 +0000 (23:52 +0000)]
Don't set bfd_gas for i386-linux a.out configurations.

30 years ago * libelf.h (struct elf_backend_data): Change second argument of
Ian Lance Taylor [Wed, 7 Sep 1994 23:41:58 +0000 (23:41 +0000)]
* libelf.h (struct elf_backend_data): Change second argument of
elf_backend_final_write_processing hook to boolean.
(struct elf_obj_tdata): Add linker field.
* elfcode.h (NAME(bfd_elf,write_object_contents)): Pass value of
tdata linker field to final_write_processing, rather than NULL.
(elf_bfd_final_link): Don't call final_write_processing hook.  Set
tdata linker field to true.
* elf32-mips.c (mips_elf_final_write_processing): Change type of
second argument to boolean.
* elf32-hppa.c (elf32_hppa_backend_final_write_processing):
Likewise.

30 years agoUpdate for autoconf beta 1.112:
Ken Raeburn [Wed, 7 Sep 1994 23:34:23 +0000 (23:34 +0000)]
Update for autoconf beta 1.112:
* aclocal.m4 (GAS_CHECK_DECL_NEEDED, GAS_WORKING_ASSERT): New macros.
* configure.in: Use them.  Use AC_ARG_PROGRAM (now provided by autoconf)
instead of my hacked-up AC_PROGRAM_TRANSFORM_NAME.  Move test for CROSS_COMPILE
just before AC_FUNC_ALLOCA, and emit a message to try to ease confusion about
autoconf's "cross-compiling" message.
* acconfig.h (NEED_DECLARATION_MALLOC, NEED_DECLARATION_FREE,
NEED_DECLARATION_ERRNO): Renamed from NEED_*_DECLARATION.
* configure, conf.in: Regenerated.

30 years ago * coff-go32.c (RTYPE2HOWTO): Fully parenthesize arguments.
Ian Lance Taylor [Wed, 7 Sep 1994 23:16:23 +0000 (23:16 +0000)]
* coff-go32.c (RTYPE2HOWTO): Fully parenthesize arguments.
* coff-i960.c (RTYPE2HOWTO): Likewise.
* coff-m88k.c (RTYPE2HOWTO): Likewise.
* coff-we32k.c (RTYPE2HOWTO): Likewise.

Make i386 COFF use new COFF backend linker.
* coff-i386.c (RTYPE2HOWTO): Fully parenthesize arguments.
(coff_relocate_section): Define.
(coff_i386_rtype_to_howto): New function.
* configure.in (i386coff_vec): Use cofflink.o.
(i386lynx_coff_vec): Likewise.

* coffcode.h (bfd_coff_backend_data): Add new field
_bfd_coff_rtype_to_howto.
(bfd_coff_rtype_to_howto): Define.
(coff_rtype_to_howto): Define to use RTYPE2HOWTO, if not already
defined.
(bfd_coff_std_swap_table): Initialize new field.
* cofflink.c (_bfd_coff_final_link): Allocate section_count + 1
section_info structures, since the target_index is 1 based.
(coff_link_input_bfd): Set *secpp to bfd_com_section_ptr for a
common symbol.  Adjust rel_hash by the output reloc count.
(_bfd_coff_generic_relocate_section): New function.
* libcoff-in.h (_bfd_coff_generic_relocate_section): Declare.
* libcoff.h: Rebuild.
* coff-alpha.c (alpha_ecoff_backend_data): Initialize new field.
* coff-mips.c (mips_ecoff_backend_data): Likewise.

30 years ago * configure.in: Check ${host} and ${target} rather than
Ian Lance Taylor [Wed, 7 Sep 1994 16:53:27 +0000 (16:53 +0000)]
* configure.in: Check ${host} and ${target} rather than
${host_canon} and ${target_canon}.
* configure: Likewise.

30 years ago * config.sub: Merge nextstep cleanup from FSF.
Per Bothner [Wed, 7 Sep 1994 06:23:05 +0000 (06:23 +0000)]
* config.sub:  Merge nextstep cleanup from FSF.

30 years ago * som.c (som_bfd_derive_misc_symbol_info): Treat undefined code
Jeff Law [Wed, 7 Sep 1994 05:39:13 +0000 (05:39 +0000)]
* som.c (som_bfd_derive_misc_symbol_info): Treat undefined code
symbols and undefined symbols which no type in the same manner
if the associated BFD symbol has BSF_FUNCTION set.  For a defined
symbol which no type, select a SOM type based on the flags of the
section containing the symbol.
(som_slurp_symbol_type): Set BSF_FUNCTION for undefined ST_STUB
or ST_CODE symbols (importing a non-function code symbol is
meaningless in SOM).
(som_set_reloc_info): Don't set "offset" to the section's vma; it
should always start at zero.

30 years agox
Ian Lance Taylor [Wed, 7 Sep 1994 03:57:59 +0000 (03:57 +0000)]
x

30 years ago * scripttempl/m68kcoff.sc: Put .bss in data segment.
Ian Lance Taylor [Wed, 7 Sep 1994 03:57:09 +0000 (03:57 +0000)]
* scripttempl/m68kcoff.sc: Put .bss in data segment.

* scripttempl/h8300.sc: Change .stab and .stabstr to use a VMA of
0, and to only be marked as NOLOAD if relocating.
* scripttempl/h8500.sc, scripttempl/h8500b.sc: Likewise.
* scripttempl/h8500c.sc, scripttempl/h8500m.sc: Likewise.
* scripttempl/h8500s.sc, scripttempl/i386coff.sc: Likewise.
* scripttempl/i386go32.sc, scripttempl/i386lynx.sc: Likewise.
* scripttempl/m68kcoff.sc, scripttempl/m68klynx.sc: Likewise.
* scripttempl/sh.sc, scripttempl/sparccoff.sc: Likewise.
* scripttempl/sparclynx.sc: Likewise.

30 years ago * c-typeprint.c (c_type_print_varspec_prefix,
Stan Shebs [Wed, 7 Sep 1994 00:23:16 +0000 (00:23 +0000)]
 * c-typeprint.c (c_type_print_varspec_prefix,
 c_type_print_varspec_suffix): Add cases for Fortran type codes.
 * eval.c (evaluate_subexp): For OP_ARRAY expressions in Fortran,
 call f77_value_literal_string instead.
 * f_exp.y: Include <string.h>, move include of parser-defs.h.
 (parse_number): Translate 'd' floats to 'e' so atof() works.
 (yylex): Remove unused variables.
 * f-lang.c: Include <string.h>.
 (get_bf_for_fcn): Remove unused variable.
 * f-typeprint.c (f_type_print_varspec_prefix,
 f_type_print_varspec_suffix): Remove unused
 variables, add cases to switch statements.
 (f_type_print_base): Remove unused variables.
 * f-valprint.c (gdbcore.h, command.h): Include.
 (f77_get_dynamic_lowerbound, f77_get_dynamic_upperbound):
 Call read_memory_integer with correct number of arguments.
 (f77_get_dynamic_upperbound): Call f77_get_dynamic_lowerbound
 with correct argument type.
 (f77_print_array): Removed unused array array_size_array.
 (f_val_print): Don't use a CORE_ADDR as a char *.
 * valops.c (value_cast): Handle COMPLEX and BOOL types.
 (value_assign): Handle Fortran literal string and complex values.
 (f77_cast_into_complex, f77_assign_from_literal_string,
 f77_assign_from_literal_complex): New functions.

30 years agoMinor tweaks to make COFF code support both new and old style linker.
Ian Lance Taylor [Tue, 6 Sep 1994 20:40:37 +0000 (20:40 +0000)]
Minor tweaks to make COFF code support both new and old style linker.

30 years ago * pr-5016.ch, pr-5016.exp, Makefile.in: New testcase.
Per Bothner [Tue, 6 Sep 1994 20:23:16 +0000 (20:23 +0000)]
* pr-5016.ch, pr-5016.exp, Makefile.in:  New testcase.
* Makefile.in (.exe.check):  New rule, to run just one test.

30 years agoNote fix to lib/gdb.exp.
Per Bothner [Tue, 6 Sep 1994 20:17:29 +0000 (20:17 +0000)]
Note fix to lib/gdb.exp.

30 years ago Add new style linker support to COFF backend. a29k only for now.
Ian Lance Taylor [Tue, 6 Sep 1994 19:28:55 +0000 (19:28 +0000)]
Add new style linker support to COFF backend.  a29k only for now.
* cofflink.c: New file.
* libcoff-in.h: Include bfdlink.h.
(obj_coff_external_syms, obj_coff_strings): Define accessor macro.
(obj_coff_sym_hashes): Define accessor macro.
(struct coff_tdata): Add fields external_syms, strings, and
sym_hashes.
(struct coff_link_hash_entry): Define.
(struct coff_link_hash_table): Define.
(coff_link_hash_lookup, coff_link_hash_traverse): Define.
(coff_hash_table): Define.
(_bfd_coff_link_hash_table_create): Declare.
(_bfd_coff_link_add_symbols, _bfd_coff_final_link): Declare.
* coffcode.h (bfd_coff_backend_data): Add fields _bfd_relsz,
_bfd_coff_swap_reloc_in, _bfd_coff_sym_is_global,
_bfd_coff_compute_section_file_positions,
_bfd_coff_relocate_section.
(bfd_coff_relsz, bfd_coff_swap_reloc_in): Define.
(bfd_coff_sym_is_global): Define.
(bfd_coff_compute_section_file_positions): Define.
(bfd_coff_relocate_section): Define.
(coff_mkobject_hook): Initialize obj_raw_syment_count and
obj_conv_table_size.
(coff_compute_section_file_positions): Set target_index of all
sections.  Set output_has_begun field.
(coff_write_object_contents): Don't set target_index; now done by
coff_compute_section_file_positions.  Remove obsolete handling of
scn_base and data_base.  Don't bother to check that target_index
is positive, since it always is.  Remove use of pad, which is
always zero.  Check obj_raw_syment_count, not bfd_get_symcount,
for the number of symbols, but only write them out if
bfd_get_symcount is non-zero.
(coff_slurp_symbol_table): Use obj_raw_syment_count, not
bfd_get_symcount for the number of symbols.  Don't set
obj_conv_table_size.
(coff_sym_is_global): New static function or macro.
(coff_slurp_reloc_table): Call coff_swap_reloc_in, not
bfd_swap_reloc_in.
(coff_bfd_link_hash_table_create): If coff_relocate_section is
defined, define as _bfd_coff_link_hash_table_create.
(coff_bfd_link_add_symbols): Similar change.
(coff_bfd_final_link): Similar change.
(coff_relocate_section): Define as NULL if not defined.
(bfd_coff_std_swap_table): Initialize new fields.
* coffgen.c (coff_real_object_p): Don't set obj_raw_syment_count
and obj_conv_table_size here.
(coff_count_linenumbers): Reindent.  If bfd_get_symcount is zero,
add up the line numbers from the sections.
(coff_write_symbols): Don't set bfd_get_symcount.
(coff_pointerize_aux): Don't pointerize a nonpositive x_endndx
field.
(coff_get_normalized_symtab): Use obj_raw_syment_count, not
bfd_get_symcount.
(coff_print_symbol): If auxp->fix_end, print x_endndx value.
* coffswap.h (coff_swap_reloc_in): Rename from bfd_swap_reloc_in.
Reindent.  Change argument type to  PTR.
* coff-a29k.c (coff_a29k_relocate_section): New static function.
(coff_relocate_section): Define.
* configure.in (a29kcoff_big_vec): Compile cofflink.o.
* coff-alpha.c (alpha_ecoff_backend_data): Initialize new fields.
* coff-mips.c (mips_ecoff_backend_data): Likewise.
* libcoff.h: Rebuilt.
* Makefile.in: Rebuilt dependencies.
(BFD32_BACKENDS): Add cofflink.o.
(CFILES): Add cofflink.c.

30 years ago* coffgen.c (coff_print_symbol, case bfd_symbol_print_all): Check for section
Ken Raeburn [Tue, 6 Sep 1994 18:30:06 +0000 (18:30 +0000)]
* coffgen.c (coff_print_symbol, case bfd_symbol_print_all): Check for section
symbol, and print its aux fields with appropriate labels.

30 years agoMakefile.in (ALL_MACHINES): ADded cpu-arm.o.
Ken Raeburn [Tue, 6 Sep 1994 18:03:03 +0000 (18:03 +0000)]
Makefile.in (ALL_MACHINES): ADded cpu-arm.o.

30 years ago * config/tc-mips.c (mips_cpu): New static variable.
Ian Lance Taylor [Tue, 6 Sep 1994 15:51:09 +0000 (15:51 +0000)]
* config/tc-mips.c (mips_cpu): New static variable.
(insns_since_cache_access): New static variable.
(md_begin): Set mips_cpu as well as mips_isa.
(append_insn): If mips_cpu is 4600, require four nop instructions
between an instruction which accesses the cache and certain CACHE
instructions.  Keep track of the number of instructions seen since
an instruction which accesses the cache.
(md_parse_option): Set mips_cpu as well as mips_isa.
PR 5433.

30 years ago * mips-opc.c: Set INSN_STORE_MEMORY flag for all instructions
Ian Lance Taylor [Tue, 6 Sep 1994 15:42:11 +0000 (15:42 +0000)]
* mips-opc.c: Set INSN_STORE_MEMORY flag for all instructions
which store a value into memory.
PR 5433.

30 years ago * mips.h (INSN_STORE_MEMORY): Define.
Ian Lance Taylor [Tue, 6 Sep 1994 15:39:52 +0000 (15:39 +0000)]
* mips.h (INSN_STORE_MEMORY): Define.
PR 5433.

30 years ago * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
Peter Schauer [Tue, 6 Sep 1994 09:26:19 +0000 (09:26 +0000)]
* gdb.c++/demangle.exp (test_arm_style_demangling):  Remove
linefeed from expect pattern for repeated types with indices > 9.

30 years ago * ch-typeprint.c (chill_type_print_base): Make TYPE_CODE_RANGE
Per Bothner [Mon, 5 Sep 1994 21:47:03 +0000 (21:47 +0000)]
* ch-typeprint.c (chill_type_print_base):  Make TYPE_CODE_RANGE
case more robust.
This fixes PR 5016.

30 years agoTipos
Ian Lance Taylor [Mon, 5 Sep 1994 19:14:24 +0000 (19:14 +0000)]
Tipos

30 years ago* doc/Makefile.in (VPATH): Define using @srcdir@.
Ken Raeburn [Mon, 5 Sep 1994 11:21:16 +0000 (11:21 +0000)]
* doc/Makefile.in (VPATH): Define using @srcdir@.
(prefix, program_transform_name, exec_prefix): Use autoconf style @-substitutions.

30 years agoARM Acorn/RISCiX target and host patches from Richard Earnshaw
Ken Raeburn [Mon, 5 Sep 1994 10:53:00 +0000 (10:53 +0000)]
ARM Acorn/RISCiX target and host patches from Richard Earnshaw

30 years ago * i960-tdep.c (signal.h): Don't include.
Stan Shebs [Sun, 4 Sep 1994 23:58:48 +0000 (23:58 +0000)]
* i960-tdep.c (signal.h): Don't include.

30 years ago * gdbint.texinfo: Removed mentions of some incorrectly placed and
Stan Shebs [Sun, 4 Sep 1994 23:49:40 +0000 (23:49 +0000)]
* gdbint.texinfo: Removed mentions of some incorrectly placed and
obsolete conditionals, described some others.

30 years ago * cxux-nat.c (target_is_m88110): Remove definition.
Stan Shebs [Sun, 4 Sep 1994 23:41:20 +0000 (23:41 +0000)]
* cxux-nat.c (target_is_m88110): Remove definition.

30 years agoUpdate to reflect changes in config files
Stan Shebs [Sun, 4 Sep 1994 23:18:31 +0000 (23:18 +0000)]
Update to reflect changes in config files

30 years ago * configure.in (config/nm-empty.h): If cross only, use instead
Stan Shebs [Sun, 4 Sep 1994 23:16:22 +0000 (23:16 +0000)]
* configure.in (config/nm-empty.h): If cross only, use instead
of config/nm-trash.h.
* config/nm-trash.h: Remove.
* config/nm-empty.h: New file.
* config/i386/nm-m3.h: New file, includes config/nm-m3.h.
* config/mips/nm-m3.h: New file, includes config/nm-m3.h.
* config/m68k/nm-sysv4.h: New file, includes config/nm-sysv4.h.
* config/mips/nm-sysv4.h: New file, includes config/nm-sysv4.h.
* config/sparc/nm-sysv4.h: New file, includes config/nm-sysv4.h.

30 years ago * configure.in: Don't ln gdbtk.tcl if it's already there.
Stu Grossman [Sat, 3 Sep 1994 02:13:47 +0000 (02:13 +0000)]
* configure.in:  Don't ln gdbtk.tcl if it's already there.

30 years agoFix a typo in last change
Stan Shebs [Sat, 3 Sep 1994 01:15:15 +0000 (01:15 +0000)]
Fix a typo in last change

30 years ago* configure.in: No longer looks for nm, tm, and xm headers in
J.T. Conklin [Sat, 3 Sep 1994 00:45:30 +0000 (00:45 +0000)]
* configure.in: No longer looks for nm, tm, and xm headers in
  config/<header>; they are always in config/<cpu>/<header>.

30 years ago * objfiles.c (allocate_objfile): Add the newly-created objfile to
Stan Shebs [Sat, 3 Sep 1994 00:32:08 +0000 (00:32 +0000)]
* objfiles.c (allocate_objfile): Add the newly-created objfile to
the end of the list of objfiles, instead of at the beginning.

* xcoffread.c (allocate_include_entry): New function, abstracted
from code in record_include_begin.
(record_include_begin, record_include_end): Call it.

* blockframe.c (reinit_frame_cache): Test inferior_pid instead of
target_has_stack to decide whether to create a real stack frame
for the cache.

* coffread.c (process_coff_symbol) [CXUX_TARGET]: Ignore vendor
section.
* config/m88k/tm-cxux.h (CXUX_TARGET): Define.

* h8300-tdep.c: Include "dis-asm.h" instead of <dis-asm.h>.

30 years agoAdd gdbserve.mt.
Stu Grossman [Sat, 3 Sep 1994 00:28:05 +0000 (00:28 +0000)]
Add gdbserve.mt.

30 years agoAdd .Sanitize.
Stu Grossman [Sat, 3 Sep 1994 00:27:50 +0000 (00:27 +0000)]
Add .Sanitize.

30 years agoAdd nlm subdir.
Stu Grossman [Sat, 3 Sep 1994 00:15:20 +0000 (00:15 +0000)]
Add nlm subdir.

30 years ago * ecoff.c (add_file): Don't try to generate line numbers if the
Ian Lance Taylor [Fri, 2 Sep 1994 20:42:28 +0000 (20:42 +0000)]
* ecoff.c (add_file): Don't try to generate line numbers if the
symbol table has been frozen.

30 years ago* reloc.c (enum bfd_reloc_code_real): Rewrote definition to use new "chew"
Ken Raeburn [Fri, 2 Sep 1994 18:21:41 +0000 (18:21 +0000)]
* reloc.c (enum bfd_reloc_code_real): Rewrote definition to use new "chew"
commands for simultaneous definition of enumerator and enumerator name table.
(bfd_get_reloc_code_name): New function, for retrieving a symbolic name
associated with an enumerator.

* libbfd.h, bfd-in2.h: Regenerated.

30 years ago* config/sparc/tm-nbsd.h: Add #defines to map NetBSD struct and
J.T. Conklin [Fri, 2 Sep 1994 16:57:11 +0000 (16:57 +0000)]
* config/sparc/tm-nbsd.h: Add #defines to map NetBSD struct and
  field names into what is expected by sparc-nat.c.

30 years ago * config/unix.exp: If nm.new does not exist, use [transform nm].
Ian Lance Taylor [Fri, 2 Sep 1994 16:55:54 +0000 (16:55 +0000)]
* config/unix.exp: If nm.new does not exist, use [transform nm].
* config/default.exp: Likewise.

30 years ago * c-typeprint.c (c_typedef_print): Add missing Chill support.
Per Bothner [Fri, 2 Sep 1994 00:34:43 +0000 (00:34 +0000)]
* c-typeprint.c (c_typedef_print):  Add missing Chill support.

30 years agoCreate a .Sanitize file.
Stu Grossman [Thu, 1 Sep 1994 23:02:10 +0000 (23:02 +0000)]
Create a .Sanitize file.

30 years ago * rs6000-pinsn.c (print_insn): Use powerpc disassembler when
Stu Grossman [Thu, 1 Sep 1994 22:57:32 +0000 (22:57 +0000)]
    * rs6000-pinsn.c (print_insn):  Use powerpc disassembler when
        doing Power PC.
        * config/powerpc/tm-ppc-nw.h:  Define GDB_TARGET_POWERPC.

        * config/i386/i386lynx.mh, config/m68k/m68klynx.mh,
        config/rs6000/rs6000lynx.mh, config/sparc/sparclynx.mh:  Enable
        ser-tcp.

        * nlm/Makefile.in:  Get rid of NWSOURCE.
        * nlm/alpha-io.S (inVti, outVti):  Remove extraneous ldha's.
        * nlm/gdbserve.o:  Add dummy __main routine.
        * nlm/gdbserve.def:  Turn on debug.

30 years ago * rs6000-pinsn.c (print_insn): Use powerpc disassembler when
Stu Grossman [Thu, 1 Sep 1994 22:57:02 +0000 (22:57 +0000)]
* rs6000-pinsn.c (print_insn):  Use powerpc disassembler when
doing Power PC.
* config/powerpc/tm-ppc-nw.h:  Define GDB_TARGET_POWERPC.

* config/i386/i386lynx.mh, config/m68k/m68klynx.mh,
config/rs6000/rs6000lynx.mh, config/sparc/sparclynx.mh:  Enable
ser-tcp.

* nlm/Makefile.in:  Get rid of NWSOURCE.
* nlm/alpha-io.S (inVti, outVti):  Remove extraneous ldha's.
* nlm/gdbserve.o:  Add dummy __main routine.
* nlm/gdbserve.def:  Turn on debug.

30 years agotemporary change so that hppa doesn't build tk
Karen Christiansen [Thu, 1 Sep 1994 21:41:38 +0000 (21:41 +0000)]
temporary change so that hppa doesn't build tk

30 years ago* config/xm-nbsd.h: Don't define SET_STACK_LIMIT_HUGE; it is obsolete.
Jim Kingdon [Thu, 1 Sep 1994 19:40:11 +0000 (19:40 +0000)]
* config/xm-nbsd.h: Don't define SET_STACK_LIMIT_HUGE; it is obsolete.

30 years agoCommit again, CVS botched this last time.
J.T. Conklin [Thu, 1 Sep 1994 18:23:24 +0000 (18:23 +0000)]
Commit again, CVS botched this last time.

30 years ago* config/tm-nbsd.h: New file, support for all NetBSD targets.
J.T. Conklin [Thu, 1 Sep 1994 18:20:42 +0000 (18:20 +0000)]
* config/tm-nbsd.h: New file, support for all NetBSD targets.
* config/xm-nbsd.h: fix typo.
* config/sparc/{nm,tm,xm}-nbsd.h: New files, renamed from
  {nm,tm,xm}-sparcnbsd.h to conform to prefered file naming
  conventions.
* configure.in: (sparc-*-netbsd): use config/sparc/nbsd.m[ht].

30 years ago* config/tm-nbsd.h: New file, support for all NetBSD targets.
J.T. Conklin [Thu, 1 Sep 1994 18:17:25 +0000 (18:17 +0000)]
* config/tm-nbsd.h: New file, support for all NetBSD targets.
* config/sparc/{nm,tm,xm}-nbsd.h: New files, renamed from
  {nm,tm,xm}-sparcnbsd.h to conform to prefered file naming
  conventions.
* configure.in: (sparc-*-netbsd): use config/sparc/nbsd.m[ht].

30 years ago * gprof.h (kfromlist, ktolist, flist, Flist, elist, Elist): Make
Jeff Law [Thu, 1 Sep 1994 16:53:19 +0000 (16:53 +0000)]
* gprof.h (kfromlist, ktolist, flist, Flist, elist, Elist): Make
decls extern to keep native HP compiler quiet.

30 years ago* configure.in (*-*-netware): don't configure libg++, libio, librx, or
J.T. Conklin [Thu, 1 Sep 1994 16:42:13 +0000 (16:42 +0000)]
* configure.in (*-*-netware): don't configure libg++, libio, librx, or
  newlib.

30 years agoremove alloca stuff from atof-generic.c
Ken Raeburn [Thu, 1 Sep 1994 01:35:19 +0000 (01:35 +0000)]
remove alloca stuff from atof-generic.c

30 years ago* as.h (volatile): Don't test or define here; not needed.
Ken Raeburn [Thu, 1 Sep 1994 00:48:30 +0000 (00:48 +0000)]
* as.h (volatile): Don't test or define here; not needed.
(alloca): Replace alloca-conf.h inclusion with code recommended in autoconf
documentation.  Include config.h first.

Makefile.in (INCLUDES): Deleted last patch (using -I..).

30 years agoautoconf bug fix -- config.status exit status should be 0
Ken Raeburn [Thu, 1 Sep 1994 00:05:06 +0000 (00:05 +0000)]
autoconf bug fix -- config.status exit status should be 0

30 years agoMakefile.in (INCLUDES): Include "-I.." for libiberty/alloca-conf.h.
Ken Raeburn [Wed, 31 Aug 1994 23:51:38 +0000 (23:51 +0000)]
Makefile.in (INCLUDES): Include "-I.." for libiberty/alloca-conf.h.

30 years ago* Makefile.in (prefix, exec_prefix): Use @-subtitutions.
Ken Raeburn [Wed, 31 Aug 1994 21:50:38 +0000 (21:50 +0000)]
* Makefile.in (prefix, exec_prefix): Use @-subtitutions.

* aclocal.m4 (AC_OUTPUT_LINKS): Deleted redefinition, since autoconf 1.109 has
this fixed.
* configure.in: Don't change quote characters around AC_MSG_ERROR invocation.
Don't use AC_HEADER_STDC, since it requires running a program.  Cache
NEED_*_DECLARATION values.
* configure, conf.in: Regenerated with a modified autoconf 1.109.

30 years agoWed Aug 31 14:40:33 1994 Jason Molenda (crash@phydeaux.cygnus.com)
Jason Molenda [Wed, 31 Aug 1994 21:43:27 +0000 (21:43 +0000)]
Wed Aug 31 14:40:33 1994  Jason Molenda (crash@phydeaux.cygnus.com)

        * remote-udi.c (udi_read_inferior_memory,udi_write_inferior_memory):
        change typeo in error msg (`inferrior' -> `inferior').

30 years ago * inflow.c (set_sigint_trap, clear_sigint_trap): Check for
Jim Kingdon [Wed, 31 Aug 1994 20:42:10 +0000 (20:42 +0000)]
* inflow.c (set_sigint_trap, clear_sigint_trap): Check for
attach_flag (this check was performed by the callers).  Also check
inferior_thisrun_terminal.
* inftarg.c (child_wait), lynx-nat.c (child_wait),
procfs.c (wait_fd), symm-nat.c (child_wait): Don't check
attach_flag in deciding whether to call set_sigint_trap and
clear_sigint_trap.

30 years ago * configure.in (alpha-dec-osf*): Use osf*, not osf1*. Don't
Ian Lance Taylor [Wed, 31 Aug 1994 17:55:49 +0000 (17:55 +0000)]
* configure.in (alpha-dec-osf*): Use osf*, not osf1*.  Don't
configure ld--it works, but it doesn't support shared libraries.

30 years ago * value.h (struct value): Change literal_data from PTR to char *,
Jim Kingdon [Wed, 31 Aug 1994 16:18:50 +0000 (16:18 +0000)]
* value.h (struct value): Change literal_data from PTR to char *,
since that is the way it is used.

30 years agoAdd HP-Pro as a configuration. This is for the Pro target board line.
Rob Savoye [Wed, 31 Aug 1994 16:03:01 +0000 (16:03 +0000)]
Add HP-Pro as a configuration. This is for the Pro target board line.

30 years ago * configure.in, configure: Initialize bfd_gas to no.
Ian Lance Taylor [Wed, 31 Aug 1994 15:35:04 +0000 (15:35 +0000)]
* configure.in, configure: Initialize bfd_gas to no.

30 years ago * somread.c (som_symfile_read): Force unwinds to be re-read after
Jeff Law [Wed, 31 Aug 1994 03:59:42 +0000 (03:59 +0000)]
* somread.c (som_symfile_read): Force unwinds to be re-read after
reading in a new partial symbol table.

30 years ago * som.c (som_write_fixups, case R_ENTRY): Handle case where no
Jeff Law [Wed, 31 Aug 1994 03:30:39 +0000 (03:30 +0000)]
* som.c (som_write_fixups, case R_ENTRY): Handle case where no
unwind descriptor information is available.

30 years agofix mpw problem with ".." for stan
Ken Raeburn [Tue, 30 Aug 1994 23:37:15 +0000 (23:37 +0000)]
fix mpw problem with ".." for stan

30 years ago * config/h8500/tm-8500.h (DONT_USE_REMOTE): Remove definition,
Stan Shebs [Tue, 30 Aug 1994 20:29:26 +0000 (20:29 +0000)]
* config/h8500/tm-8500.h (DONT_USE_REMOTE): Remove definition,
an obsolete conditional.
* config/pa/tm-hppa.h (BREAKPOINT) [KERNELDEBUG]: Remove use,
an obsolete conditional.
* config/rs6000/rs6000.mh, config/rs6000/rs6000.mt: Clean up
comments.

30 years agorewrite sanitize lines so as not to confuse bsd make
Ken Raeburn [Tue, 30 Aug 1994 19:45:05 +0000 (19:45 +0000)]
rewrite sanitize lines so as not to confuse bsd make

30 years ago * elfcode.h (NAME(bfd_elf,size_dynamic_sections)): Add soname
Ian Lance Taylor [Tue, 30 Aug 1994 16:04:40 +0000 (16:04 +0000)]
* elfcode.h (NAME(bfd_elf,size_dynamic_sections)): Add soname
argument, and use it to set DT_SONAME dynamic entry.
* bfd-in.h (bfd_elf32_size_dynamic_sections): Update prototype.
(bfd_elf64_size_dynamic_sections): Update prototype.
* bfd-in2.h: Rebuilt.

30 years ago * ld.h (args_type): Add field soname.
Ian Lance Taylor [Tue, 30 Aug 1994 16:04:19 +0000 (16:04 +0000)]
* ld.h (args_type): Add field soname.
* lexsup.c (parse_args): Handle -soname argument.
* emultempl/elf32.em: In call to bfd_elf32_size_dynamic_sections,
pass soname.
* ld.texinfo: Document -soname.

30 years ago * gprof.c (funcsymbol): Ignore ___gnu_compiled as well as
Ian Lance Taylor [Tue, 30 Aug 1994 15:15:09 +0000 (15:15 +0000)]
* gprof.c (funcsymbol): Ignore ___gnu_compiled as well as
__gnu_compiled, for the benefit of systems which add a leading
underscore.

30 years agoLose ns32k-opcode.h.
Stan Shebs [Mon, 29 Aug 1994 23:58:19 +0000 (23:58 +0000)]
Lose ns32k-opcode.h.