binutils-gdb.git
30 years ago* lib/gdb.exp (gdb_run_cmd): New function, used to start program
J.T. Conklin [Tue, 19 Jul 1994 22:18:48 +0000 (22:18 +0000)]
* lib/gdb.exp (gdb_run_cmd): New function, used to start program
  running.
* gdb.base/bitfields.exp: Use gdb_run_cmd to start program.

30 years agoMostly converted to use gdb_test proc.
J.T. Conklin [Tue, 19 Jul 1994 21:42:58 +0000 (21:42 +0000)]
Mostly converted to use gdb_test proc.

30 years agoThis config file didn't belong here
J.T. Conklin [Tue, 19 Jul 1994 21:33:15 +0000 (21:33 +0000)]
This config file didn't belong here

30 years ago * main.c: Include <ctype.h>.
Stan Shebs [Tue, 19 Jul 1994 20:28:00 +0000 (20:28 +0000)]
* main.c: Include <ctype.h>.

30 years ago* gdb.base/bitfields.exp: Simplify by using delete_breakpoints and
J.T. Conklin [Tue, 19 Jul 1994 17:33:52 +0000 (17:33 +0000)]
* gdb.base/bitfields.exp: Simplify by using delete_breakpoints and
  gdb_test.
* lib/gdb.exp (gdb_test): if match times out, don't call fail if
  message is "".

30 years agoModified Files:
Kung Hsu [Mon, 18 Jul 1994 22:35:33 +0000 (22:35 +0000)]
Modified Files:
remote-mips.c ChangeLog

        * remote-mips.c (mips_readchar): Fix a bug in checking <IDT>
        prompt.

30 years ago* gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
J.T. Conklin [Mon, 18 Jul 1994 22:27:07 +0000 (22:27 +0000)]
* gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
  return,signals,twice}.exp: Handle non-existant binaries
  consistantly.

30 years ago(is there an echo in here?)
Stan Shebs [Mon, 18 Jul 1994 21:37:18 +0000 (21:37 +0000)]
(is there an echo in here?)
* solib.c (look_for_base): Don't deref exec_bfd if NULL.

30 years ago* gdb.base/corefile.exp: Execute coremaker to generate core dump.
J.T. Conklin [Mon, 18 Jul 1994 19:25:50 +0000 (19:25 +0000)]
* gdb.base/corefile.exp: Execute coremaker to generate core dump.
* gdb.base/Makefile.in: Don't try to generate a core dump, we
  might testing a cross development system.

30 years ago(This is the change that should have gone in the main tree ...)
Fred Fish [Sun, 17 Jul 1994 23:08:07 +0000 (23:08 +0000)]
(This is the change that should have gone in the main tree ...)
* Makefile.in (VERSION):  Bump to 4.12.4.

30 years ago * Makefile.in (VERSION): Bump to 4.12.85.
Fred Fish [Sun, 17 Jul 1994 22:40:25 +0000 (22:40 +0000)]
* Makefile.in (VERSION):  Bump to 4.12.85.

30 years ago * gdb.texinfo: Add some more credits.
Stan Shebs [Sun, 17 Jul 1994 21:17:23 +0000 (21:17 +0000)]
* gdb.texinfo: Add some more credits.
* gdbint.texinfo: Capitalize GDB consistently, describe some
macros and remove some.

30 years ago * config/m88k/delta88.mh (MUNCH_DEFINE): Remove.
Stan Shebs [Sun, 17 Jul 1994 21:10:21 +0000 (21:10 +0000)]
* config/m88k/delta88.mh (MUNCH_DEFINE): Remove.
* config/m88k/delta88.mt, config/m88k/delta88v4.mh: Format
consistently.

30 years ago Harris CX/UX support, from Bob Rusk (rrusk@mail.csd.harris.com).
Stan Shebs [Sun, 17 Jul 1994 21:08:42 +0000 (21:08 +0000)]
Harris CX/UX support, from Bob Rusk (rrusk@mail.csd.harris.com).
* configure.in (m88*-harris-cxux*): New configuration.
* cxux-nat.c, config/m88k/cxux.mh, config/m88k/cxux.mt,
config/m88k/xm-cxux.h, config/m88k/tm-cxux.h, config/m88k/nm-cxux.h:
New files.
* config/m88k/tm-m88k.h: Add comment about Harris OS.
(TARGET_WRITE_PC): Pass pid through to register writers.

* configure.in (m68*): Put vendor-only-specified host configs
after vendor-and-os-specified configs.
(m68*-atari-sysv4*, m68*-cbm-sysv4*): Replace with m68*-*-sysv4.

30 years ago * elfread.c (elf_symtab_read): Handle error return from
Peter Schauer [Sun, 17 Jul 1994 06:42:14 +0000 (06:42 +0000)]
* elfread.c (elf_symtab_read):  Handle error return from
bfd_get_dynamic_symtab_upper_bound gracefully.

30 years ago * objdump.c (slurp_dynamic_symtab): Try to get the dynamic symbols
Ian Lance Taylor [Sun, 17 Jul 1994 02:36:11 +0000 (02:36 +0000)]
* objdump.c (slurp_dynamic_symtab): Try to get the dynamic symbols
even if the bfd is not marked DYNAMIC.  ELF executables are not
marked DYNAMIC, but do have dynamic symbols.

30 years ago * libelf.h (ELF_LINK_HASH_DEFINED_WEAK): Define.
Ian Lance Taylor [Sun, 17 Jul 1994 02:15:24 +0000 (02:15 +0000)]
* libelf.h (ELF_LINK_HASH_DEFINED_WEAK): Define.
* elfcode.h (elf_link_add_object_symbols): If symbol is defined as
weak, set ELF_LINK_HASH_DEFINED_WEAK.
(elf_link_output_extsym): If symbol is defined as weak, mark it
STB_WEAK.

30 years ago * libelf.h (struct bfd_elf_section_data): Add relocs field.
Ian Lance Taylor [Sun, 17 Jul 1994 01:15:42 +0000 (01:15 +0000)]
* libelf.h (struct bfd_elf_section_data): Add relocs field.
(shdr_name): Remove; unused.
* elfcode.h (elf_slurp_reloc_table): Rewrote to handle both REL
and RELA relocs.  Free up the unswapped relocs.  Permit the relocs
to be cached in the section_data.  Correct the reloc address.
(elf_slurp_reloca_table): Remove.
(elf_canonicalize_reloc): Rewrote.
(elf_link_input_bfd): Permit the relocs to be cached in the
section data.

30 years ago * inferior.h (ARCH_NUM_REGS): New macro, actual number of
Stan Shebs [Sun, 17 Jul 1994 00:00:36 +0000 (00:00 +0000)]
* inferior.h (ARCH_NUM_REGS): New macro, actual number of
registers in use by the inferior.
* coredep.c (fetch_core_registers, register_addr): Use it.
* findvar.c (registers_changed, registers_fetched,
read_register_bytes): Ditto.
* infcmd.c (do_registers_info, registers_info): Ditto.
* infptrace.c (fetch_inferior_registers,
store_inferior_registers): Ditto.
* stack.c (frame_info): Ditto.

* coredep.c (CORE_REGISTER_ADDR): New macro.
(fetch_core_registers): Use it.

30 years ago * breakpoint.c (ignore, condition): Add usage notes to help strings.
Stan Shebs [Sat, 16 Jul 1994 22:57:23 +0000 (22:57 +0000)]
* breakpoint.c (ignore, condition): Add usage notes to help strings.
* symfile.c (add-symbol-file): Add usage note to help string.
(add_shared_symbol_files_command): New command.

gcc -Wall lint.
* inferior.h (read_pc_pid): Declare.
* breakpoint.c (watchpoint_check): Cache breakpoint in local
variable b, remove unused variable other_type_used.
* main.c (inferior.h, call-cmds.h): Include.
(gdb_init): Declare.
* remote.c (remote_wait): Return 0 by default.

30 years ago * config.bfd (m88*-harris-cxux*): Recognize.
Stan Shebs [Sat, 16 Jul 1994 21:08:41 +0000 (21:08 +0000)]
* config.bfd (m88*-harris-cxux*): Recognize.
* hosts/harris.h (POSIX_UTIME, HAVE_PROCFS): Define.

30 years ago * configure.host (m68*-atari-sysv4*): New host.
Stan Shebs [Sat, 16 Jul 1994 21:02:53 +0000 (21:02 +0000)]
* configure.host (m68*-atari-sysv4*): New host.
(m68*-cbm-sysv4*): Use m68kv4 instead of amix.
* hosts/amix.h: Remove.
* hosts/m68kv4.h: New file, was amix.h.

30 years ago * configure.in (m88*-harris-cxux7*): Recognize.
Stan Shebs [Sat, 16 Jul 1994 20:33:21 +0000 (20:33 +0000)]
* configure.in (m88*-harris-cxux7*): Recognize.
* sysdep-cxux7.h: New file.

30 years ago * mh-cxux: New file, from Bob Rusk (rrusk@mail.csd.harris.com).
Stan Shebs [Sat, 16 Jul 1994 19:24:33 +0000 (19:24 +0000)]
* mh-cxux: New file, from Bob Rusk (rrusk@mail.csd.harris.com).

30 years ago * config.guess: Recognize m68k-atari-sysv4 and m88k-harris-csux7.
Stan Shebs [Sat, 16 Jul 1994 19:11:16 +0000 (19:11 +0000)]
* config.guess: Recognize m68k-atari-sysv4 and m88k-harris-csux7.
* config.sub: Recognize cxux7.
* configure.in: Use mh-cxux for m88k-harris-cxux*.

30 years ago Stop printing at null char option, from Oliver Meyer
Stan Shebs [Fri, 15 Jul 1994 23:53:04 +0000 (23:53 +0000)]
Stop printing at null char option, from Oliver Meyer
(omeyer@i3.informatik.rwth-aachen.de).
* valprint.h, valprint.c (stop_print_at_null): New global.
* valprint.c (_initialize_valprint): New print set subcommand
"null-stop".
* c-valprint.c (c_val_print): If stop_print_at_null is on, and
printing a char array, adjust the number of chars to print.

30 years agomore description on last change
Ken Raeburn [Fri, 15 Jul 1994 23:24:34 +0000 (23:24 +0000)]
more description on last change

30 years ago * lib/gas-defs.exp (run_dump_test): New routine for running the
Ken Raeburn [Fri, 15 Jul 1994 23:13:10 +0000 (23:13 +0000)]
* lib/gas-defs.exp (run_dump_test): New routine for running the
assembler, running objdump or nm (not fully supported) on the
resulting object file, and comparing the results against a file of
regular expressions in the test suite, all in one command.
(fail_phase, slurp_options): New auxiliary routines.
(regexp_diff): Always return a value.  Fix bugs in actually doing
the regexp test.

Should make it even easier to write gas test cases, giving Ian even less
excuse for not doing so. :-)

30 years agoremove atof-ns32k.c
Ken Raeburn [Fri, 15 Jul 1994 22:28:22 +0000 (22:28 +0000)]
remove atof-ns32k.c

30 years ago From Kevin A. Buettner (kev@cujo.geg.mot.com).
Stan Shebs [Fri, 15 Jul 1994 21:37:30 +0000 (21:37 +0000)]
    From Kevin A. Buettner (kev@cujo.geg.mot.com).
* m88k-tdep.c (examine_prologue): Modified to handle prologues for
pic code in addition to prologues where an instruction from the
prologue gets moved into the delay slot of a branch instruction
immediately following the prologue.  A table of potential prologue
instructions (prologue_insn_tbl) is now used for picking apart a
function prologue.
(frame_find_saved_regs): Changed the way in which limit gets set
so that the delay slot of branch instructions immediately
following the prologue gets examined.
(pushed_size, store_parm_word, store_parm, push_parameters,
collect_returned_value):  Deleted.

30 years ago * coffgrok.c (do_where): Make data with no type 'int'.
Steve Chamberlain [Fri, 15 Jul 1994 08:51:49 +0000 (08:51 +0000)]
* coffgrok.c (do_where): Make data with no type 'int'.
(do_define):  Keep info on source file of a symbol.
* coffgrok.h (coff_symbol): New field.
* srconv.c (PROGRAM_VERSION): Now 1.3
(wr_rl): Use external ref number for symbol.
(wr_dus): Only keep one source file per debug unit.
(wr_dln): Always emit line numbers for first source file,
(wr_globals):  Emit globals in the du of their owning source file.

30 years ago * infrun.c (wait_for_inferior): Handle stepping into leaf
Peter Schauer [Fri, 15 Jul 1994 08:15:13 +0000 (08:15 +0000)]
* infrun.c (wait_for_inferior):  Handle stepping into leaf
functions whose prologue consists of gp loading code only.

30 years ago * gdbint.texinfo: Removed mentions of many incorrectly placed and
Stan Shebs [Fri, 15 Jul 1994 01:48:01 +0000 (01:48 +0000)]
* gdbint.texinfo: Removed mentions of many incorrectly placed and
obsolete conditionals, described some others.

30 years ago * gdb.base/signals.exp: Allow for optionality of breakpoint
Stan Shebs [Thu, 14 Jul 1994 22:37:53 +0000 (22:37 +0000)]
* gdb.base/signals.exp: Allow for optionality of breakpoint
address.

30 years agodeleted atof-ns32k.c, no longer used
Ken Raeburn [Thu, 14 Jul 1994 21:58:13 +0000 (21:58 +0000)]
deleted atof-ns32k.c, no longer used

30 years agoNS32K changes from Ian Dall.
Ken Raeburn [Thu, 14 Jul 1994 21:35:54 +0000 (21:35 +0000)]
NS32K changes from Ian Dall.
Note: Some of the ns32k-specific files do require gcc to compile at present.
This will be fixed.

30 years ago * dbxread.c: Don't include libbfd.h.
Stan Shebs [Thu, 14 Jul 1994 21:34:09 +0000 (21:34 +0000)]
* dbxread.c: Don't include libbfd.h.
* dwarfread.c, elfread.c somread.c: Don't include libbfd.h,
<time.h>, or <sys/types.h>.
* elfread.c (elf_symfile_read): Use only standard BFD functions to
collect information about the stab and stab string sections.

30 years agoModified Files:
Kung Hsu [Thu, 14 Jul 1994 20:20:49 +0000 (20:20 +0000)]
Modified Files:
stabsread.c ChangeLog

        * stabsread.c (read_huge_number): handle large unsigned number
        for stabs generated by os9k C compiler.

30 years agons32k port from Ian Dall
Ken Raeburn [Thu, 14 Jul 1994 19:20:53 +0000 (19:20 +0000)]
ns32k port from Ian Dall

30 years agoupdated ns532 support from Ian Dall
Ken Raeburn [Thu, 14 Jul 1994 18:58:06 +0000 (18:58 +0000)]
updated ns532 support from Ian Dall

30 years ago * coff-sparc.c (sparccoff_vec): Have leading underscores.
Stan Shebs [Thu, 14 Jul 1994 18:50:22 +0000 (18:50 +0000)]
* coff-sparc.c (sparccoff_vec): Have leading underscores.

30 years ago* config/obj-aout.c (obj_aout_frob_symbol): Use bfd_ind_section_ptr and
Ken Raeburn [Thu, 14 Jul 1994 18:40:36 +0000 (18:40 +0000)]
* config/obj-aout.c (obj_aout_frob_symbol): Use bfd_ind_section_ptr and
bfd_und_section_ptr.

* subsegs.c (subseg_set_rest): Compare segT values directly, without casting to
int first.

30 years ago* gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
Jim Kingdon [Thu, 14 Jul 1994 18:31:46 +0000 (18:31 +0000)]
* gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.

30 years ago Breakpoint hit counts, from Bob Rusk (rrusk@mail.csd.harris.com).
Stan Shebs [Thu, 14 Jul 1994 02:15:39 +0000 (02:15 +0000)]
Breakpoint hit counts, from Bob Rusk (rrusk@mail.csd.harris.com).
* breakpoint.h (hit_count): New breakpoint field.
* breakpoint.c (show_breakpoint_hit_counts): New variable.
(clear_breakpoint_hit_counts): New function.
(bpstat_stop_status): Increment the hit count.
(breakpoint_1): Display the hit count.
* infcmd.c (run_command): Reset breakpoint hit counts.
* target.c (generic_mourn_inferior): Don't clear ignore counts if
displaying hit counts.

30 years agons532 support from Ian Dall
Ken Raeburn [Wed, 13 Jul 1994 23:21:45 +0000 (23:21 +0000)]
ns532 support from Ian Dall

30 years agons32k-dis.c (invalid_float): Changed to take char* argument, and test for
Ken Raeburn [Wed, 13 Jul 1994 22:38:03 +0000 (22:38 +0000)]
ns32k-dis.c (invalid_float): Changed to take char* argument, and test for
explicitly specified sizes, instead of using sizeof() on host CPU types.
(INVALID_FLOAT): Cast first argument.

30 years agoWed Jul 13 18:01:58 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
Ken Raeburn [Wed, 13 Jul 1994 22:05:52 +0000 (22:05 +0000)]
Wed Jul 13 18:01:58 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)

* ns32k-dis.c: Deleted all code in "#ifdef GDB".
(invalid_float): Enabled general version, doesn't require running
on ns32k host.

Sun Jul 10 00:27:47 1994  Ian Dall  (dall@hfrd.dsto.gov.au)

* opcodes/ns32k-dis.c: Semi-new file.  Had apparently been dropped
from distribution. A ns32k-dis.c from a previous distribution has
been brought up to date and supports the new interface.

* disaaemble.c: define ARCH_ns32k and add case bfd_arch_ns32k.

* configure.in: add bfd_ns32k_arch target support.

* Makefile.in: add ns32k-dis.o to ALL_MACHINES.
Add ns32k-dis.c to CFILES. Add dependencies for ns32k-dis.o.

30 years agoiSun Jul 10 11:01:09 1994 Ian Dall (dall@hfrd.dsto.gov.au)
Ken Raeburn [Wed, 13 Jul 1994 21:45:25 +0000 (21:45 +0000)]
iSun Jul 10 11:01:09 1994  Ian Dall  (dall@hfrd.dsto.gov.au)

* ns32k.h: Drop Q operand type as there is no correct use
for it. Add I and Z operand types which allow better checking.

30 years ago * config/tc-m68k.c (m68k_ip): Change rp to be a const pointer.
Ian Lance Taylor [Wed, 13 Jul 1994 18:58:11 +0000 (18:58 +0000)]
* config/tc-m68k.c (m68k_ip): Change rp to be a const pointer.
(md_parse_option): Clear cpu field of current_architecture before
setting a new cpu type.  Clear no_68881 for m68881 or m68882.
Clear no_68851 for m68851.

30 years agoUpdated some copyrights, cleaned up some header-file comments, and:
Ken Raeburn [Wed, 13 Jul 1994 01:48:15 +0000 (01:48 +0000)]
Updated some copyrights, cleaned up some header-file comments, and:

* symbols.c (symbol_create): New function, most of the guts of the old
symbol_new function.
(symbol_new): Now just checks symbol_table_frozen, calls symbol_create, and
enters the symbol into the symbol table.
* subsegs.c (section_symbol): If EMIT_SECTION_SYMBOLS is not true, and the
symbol table is frozen, call symbol_create instead of symbol_new.
* symbols.h (symbol_create, symbol_table_frozen): Declare.

* symbols.c (symbol_clear_list_pointers): Always a function now.
* struc-symbol.h (symbol_clear_list_pointers): Deleted macro version.

* symbols.c (debug_verify_symchain): New macro, defined to be
verify_symbol_chain or a cast to void, depending on DEBUG_SYMS.
(many functions): Invoke debug_verify_symchain unconditionally.

30 years agoconfig/ho-sysv.h (realloc): Declare.
Ken Raeburn [Wed, 13 Jul 1994 01:28:47 +0000 (01:28 +0000)]
config/ho-sysv.h (realloc): Declare.

30 years agoMinor tweaks
J.T. Conklin [Tue, 12 Jul 1994 22:23:25 +0000 (22:23 +0000)]
Minor tweaks

30 years ago* gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
J.T. Conklin [Tue, 12 Jul 1994 21:56:28 +0000 (21:56 +0000)]
* gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
  for size_t definition.
* gdb.c++/templates.cc: Likewise

30 years agofixed typo on line 280
Karen Christiansen [Tue, 12 Jul 1994 21:24:09 +0000 (21:24 +0000)]
fixed typo on line 280

30 years ago* config/mt-i386-netware: New file.
J.T. Conklin [Tue, 12 Jul 1994 20:12:01 +0000 (20:12 +0000)]
* config/mt-i386-netware: New file.

30 years ago* gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
J.T. Conklin [Tue, 12 Jul 1994 20:07:49 +0000 (20:07 +0000)]
* gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
  defined.

30 years ago* gdb.base/Makefile.in: Added support for systems that name core
J.T. Conklin [Tue, 12 Jul 1994 19:33:37 +0000 (19:33 +0000)]
* gdb.base/Makefile.in: Added support for systems that name core
  files by appending "core" to the program name.
* gdb.base/a1-selftest.exp: Likewise.

30 years ago * gdb.texinfo (help targets): Changed to `help target', which
Peter Schauer [Tue, 12 Jul 1994 19:30:14 +0000 (19:30 +0000)]
* gdb.texinfo (help targets):  Changed to `help target', which
is the correct gdb command.

30 years ago * elfread.c (elf_symfile_read): Unconditionally add dynamic
Peter Schauer [Tue, 12 Jul 1994 19:29:04 +0000 (19:29 +0000)]
* elfread.c (elf_symfile_read):  Unconditionally add dynamic
symbols for all symbol files.  Makes skipping over the
trampoline code work when stepping from a function in a shared
library into a function in a different shared library for Irix 5.
Other ELF targets do not have enough information in their
dynamic symbol tables to make this work.
(elf_symtab_read):  Relocate mst_solib_trampoline address.

30 years agoModified Files:
Kung Hsu [Tue, 12 Jul 1994 19:17:35 +0000 (19:17 +0000)]
Modified Files:
read.c ecoff.h ecoff.c ChangeLog

        * read.c (read_a_source_file): ditto.
        * ecoff.h: change calling interface of
        ecoff_generate_asm_line_stab.
        * ecoff.c (add_file): record of filename to handle case of include
        files, also change default built-in type from int to void for
        asm file.
        * ecoff.c (ecoff_generate_asm_line_stab): handle case of include
        files.

30 years ago * aix386-core.c, aoutf1.h, cisco-core.c, elfcode.h, hppabsd-core.c,
Peter Schauer [Tue, 12 Jul 1994 19:14:09 +0000 (19:14 +0000)]
* aix386-core.c, aoutf1.h, cisco-core.c, elfcode.h, hppabsd-core.c,
hpux-core.c, irix-core.c, lynx-core.c, osf-core.c, ptrace-core.c,
rs6000-core.c, trad-core.c:  Remove SEC_ALLOC flag from .reg
sections, .reg sections are not allocated and contain debug
information only.
* osf-core.c (make_bfd_asection, osf_core_core_file_p):  Use
bfd_make_section_anyway instead of building unique section names.

30 years ago * libelf.h (bfd_elf32_swap_symbol_in): Declare.
Ian Lance Taylor [Tue, 12 Jul 1994 16:13:05 +0000 (16:13 +0000)]
* libelf.h (bfd_elf32_swap_symbol_in): Declare.
(bfd_elf32_swap_symbol_out): Declare.
(bfd_elf64_swap_symbol_in, bfd_elf64_swap_symbol_out): Declare.
* elf32-hppa.c (elf32_hppa_args_hash_table_init): Correct cast.

30 years ago * aout-encap.c (ARCH): Don't define. Obsolete.
Ian Lance Taylor [Tue, 12 Jul 1994 15:46:32 +0000 (15:46 +0000)]
* aout-encap.c (ARCH): Don't define.  Obsolete.
* aout0.c, aoutx.h, gen-aout.c, hp300bsd.c, hp300hpux.c: Likewise.
* i386aout.c, i386bsd.c, i386dynix.c, i386linux.c: Likewise.
* i386lynx.c, m68klynx.c, mipsbsd.c, netbsd386.c: Likewise.
* newsos3.c, sparclynx.c, sunos.c: Likewise.

30 years ago * gdb.base/return.exp: Add comment and message for `return double'
Peter Schauer [Tue, 12 Jul 1994 07:04:15 +0000 (07:04 +0000)]
* gdb.base/return.exp:  Add comment and message for `return double'
test failure on Sparc Solaris.

30 years agoVarious updates
Stan Shebs [Tue, 12 Jul 1994 01:43:09 +0000 (01:43 +0000)]
Various updates

30 years ago Atari support, from Uwe Seimet (seimet@chemie.uni-kl.de).
Stan Shebs [Tue, 12 Jul 1994 00:36:42 +0000 (00:36 +0000)]
Atari support, from Uwe Seimet (seimet@chemie.uni-kl.de).
* configure.in (m68*-atari-sysv4*): New configuration.
(m68*-cbm-sysv4*): Use m68kv4 instead of amix.
* m68k-tdep.c (R_PS): Define as R_SR if necessary.
* config/m68k/m68kv4.mh, config/m68k/m68kv4.mt,
config/m68k/tm-m68kv4.h, config/m68k/xm-m68kv4.h: New files.
* config/m68k/amix.mh, config/m68k/amix.mt,
config/m68k/tm-amix.h, config/m68k/xm-amix.h: Removed, superseded
by m68kv4 files.

30 years ago * section.c (STD_SECTION): Make the sixth argument boolean, not
Ian Lance Taylor [Tue, 12 Jul 1994 00:12:19 +0000 (00:12 +0000)]
* section.c (STD_SECTION): Make the sixth argument boolean, not
the seventh.  From gary@tuva.pacsemi.oz.au (gary kopff).

30 years agoadd -O2 flag
Karen Christiansen [Mon, 11 Jul 1994 23:35:24 +0000 (23:35 +0000)]
add -O2 flag

30 years agominor changes to bring build-all.mk update-to-date with prog/build-all.mk
Karen Christiansen [Mon, 11 Jul 1994 23:08:05 +0000 (23:08 +0000)]
minor changes to bring build-all.mk update-to-date with prog/build-all.mk

30 years ago* nlmheader.y: Null terminate var_hdr->threadName.
J.T. Conklin [Mon, 11 Jul 1994 23:06:35 +0000 (23:06 +0000)]
* nlmheader.y: Null terminate var_hdr->threadName.

30 years ago * config.sub: Fix typo powerpc -> powerpc-*.
Per Bothner [Mon, 11 Jul 1994 21:42:41 +0000 (21:42 +0000)]
* config.sub:  Fix typo powerpc -> powerpc-*.

30 years ago * config/tc-mips.c (macro): In case M_LA_AB, SVR4_PIC, large
Ian Lance Taylor [Mon, 11 Jul 1994 21:24:08 +0000 (21:24 +0000)]
* config/tc-mips.c (macro): In case M_LA_AB, SVR4_PIC, large
constant, and case ldd_std, set mips_optimize to 2 temporarily to
avoid inserting an unexpected nop instruction.

30 years agoMakefile.in (syslex.o, sysinfo.o): Permit C source files to be in $(srcdir), as
Ken Raeburn [Mon, 11 Jul 1994 18:22:19 +0000 (18:22 +0000)]
Makefile.in (syslex.o, sysinfo.o): Permit C source files to be in $(srcdir), as
they will be for FSF releases.

30 years agoSun Jul 10 09:12:02 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
David Henkel-Wallace [Sun, 10 Jul 1994 16:15:07 +0000 (16:15 +0000)]
Sun Jul 10 09:12:02 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)

        * aoutx.h (bfd_free_cached_info): Change name of FREE to BFCI_FREE
        in order not to collide with LynxOS's definition of FREE in
        /usr/include/sys/proc.h

30 years ago * symtab.c (find_function_start_sal): New function to find
Peter Schauer [Sat, 9 Jul 1994 23:30:21 +0000 (23:30 +0000)]
* symtab.c (find_function_start_sal):  New function to find
the start of a function from a function symbol.
(decode_line_1, decode_line_2):  Use it instead of open coded
partial copies of the code.
(list_symbols):  Quote symbol name before passing it to
break_command to enable proper handling of mangled symbols.

30 years ago`all-emacs19' depends on `all-byacc'. Found when /usr/latest/bin is
Michael Tiemann [Sat, 9 Jul 1994 20:46:07 +0000 (20:46 +0000)]
`all-emacs19' depends on `all-byacc'.  Found when /usr/latest/bin is
not in $PATH.

30 years agoAdd all-emacs19 and install-emacs19 rules (in parallel with all-emacs
Michael Tiemann [Sat, 9 Jul 1994 20:08:16 +0000 (20:08 +0000)]
Add all-emacs19 and install-emacs19 rules (in parallel with all-emacs
and install-emacs).  Top-level command `make all-emacs19 CC=gcc' now
behaves as `make all-emacs CC=gcc'.

30 years ago * ecoff.c (ecoff_build_lineno): Handle count correctly for last
Ian Lance Taylor [Sat, 9 Jul 1994 04:11:19 +0000 (04:11 +0000)]
* ecoff.c (ecoff_build_lineno): Handle count correctly for last
line number.

30 years ago * (process_pseudo_op): Pass right are do do_aif.
Steve Chamberlain [Fri, 8 Jul 1994 22:34:11 +0000 (22:34 +0000)]
* (process_pseudo_op): Pass right are do do_aif.
(get_any_string): New arg 'pretend_quote'.
(get_and_process, do_formals, macro_expand, do_sdata,
process_pseudo_op): Use new arg.

30 years ago * rttty.c (control_meta_key_on): Remove superfluous testing of
Steve Chamberlain [Fri, 8 Jul 1994 20:23:56 +0000 (20:23 +0000)]
* rttty.c (control_meta_key_on): Remove superfluous testing of
__GO32__.

30 years agoModified Files:
Kung Hsu [Fri, 8 Jul 1994 19:38:18 +0000 (19:38 +0000)]
Modified Files:
read.c read.h ecoff.c ecoff.h ChangeLog

        * read.c (read_a_source_file): generate line stabs for asm file.
        * read.h: add extern generate_asm_line_stab.
        * ecoff.h : add prototype for ecoff_generate_asm_line_stab().
        * ecoff.c (add_file): if there's no filename provided, set switch
        to generate line stabs for .s file.
        * ecoff.c (add_procedure): add stabs symbol for .ent directive.
        * ecoff.c (generate_ecoff_stab): creates an artificial stabs.
        * ecoff.c (generate_asm_line_stab): generate a artifitial label
        for each line and generate a stabn for the line.

30 years agoModified Files:
Kung Hsu [Fri, 8 Jul 1994 19:36:55 +0000 (19:36 +0000)]
Modified Files:
obj-ecoff.h obj-elf.h

        * config/obj-ecoff.h: define macro OBJ_GENERATE_ASM_LINE_STAB.
        * config/obj-elf.h: ditto.

30 years ago * lexsup.c (parse_args): Changed "retain-symbols-file" from
Ian Lance Taylor [Fri, 8 Jul 1994 15:06:29 +0000 (15:06 +0000)]
* lexsup.c (parse_args): Changed "retain-symbols-file" from
no_argument to required_argument.  From djm.

30 years ago * gasp.c (get_any_string): Cope with getting a string with an
Steve Chamberlain [Fri, 8 Jul 1994 00:13:14 +0000 (00:13 +0000)]
* gasp.c (get_any_string): Cope with getting a string with an
alternate base specifier.
(do_aif, do_aelse): Only enable output if expression is true and previous
level was on.
(chartype_init):  Add BASEBIT chartype.
(process_pseudo_op):  Notice nesteed AIFs.

30 years ago * gas/hppa/reloc/relocreduce2.s: More relocation reduction tests.
Jeff Law [Thu, 7 Jul 1994 17:59:58 +0000 (17:59 +0000)]
* gas/hppa/reloc/relocreduce2.s: More relocation reduction tests.
* gas/hppa/reloc/reloc.exp: Run them.

30 years ago * config/tc-hppa.c (hppa_fix_adjustable): Reject reductions for
Jeff Law [Thu, 7 Jul 1994 17:35:27 +0000 (17:35 +0000)]
* config/tc-hppa.c (hppa_fix_adjustable): Reject reductions for
symbols in DLT relative relocs.
(tc_gen_reloc): Zero out the addend field for DLT relative relocs.

30 years ago * aoutx.h (howto_table_std): Add entry for GOT relocations
Peter Schauer [Thu, 7 Jul 1994 17:11:58 +0000 (17:11 +0000)]
* aoutx.h (howto_table_std):  Add entry for GOT relocations
which are present in sun3 shared libraries, to avoid assertions
when reading the dynamic relocations.

30 years ago * som.h (R_HPPA_COMPLEX): Fix dumb typo.
Jeff Law [Thu, 7 Jul 1994 16:22:01 +0000 (16:22 +0000)]
    * som.h (R_HPPA_COMPLEX): Fix dumb typo.

30 years ago * ch-exp.y (match_simple_name_string): Don't lower-case here.
Per Bothner [Thu, 7 Jul 1994 03:27:48 +0000 (03:27 +0000)]
* ch-exp.y (match_simple_name_string):  Don't lower-case here.
* ch-exp.y (yylex):  First try name lookup using exact name
typed by user;  if that fails, try lower-cased name.

30 years ago * elfcode.h (elf_link_output_sym): Don't call output_symbol_hook
Ian Lance Taylor [Wed, 6 Jul 1994 23:33:02 +0000 (23:33 +0000)]
* elfcode.h (elf_link_output_sym): Don't call output_symbol_hook
if it is NULL.

30 years ago * hosts/sysv4.h (qsort, strtol): Don't declare.
Ian Lance Taylor [Wed, 6 Jul 1994 23:28:31 +0000 (23:28 +0000)]
* hosts/sysv4.h (qsort, strtol): Don't declare.

30 years ago * dbxread.c, elfread.c, mipsread.c, nlmread.c, os9kread.c:
Peter Schauer [Wed, 6 Jul 1994 08:01:52 +0000 (08:01 +0000)]
* dbxread.c, elfread.c, mipsread.c, nlmread.c, os9kread.c:
Move "no debugging symbols found" test to symfile.c.
* symfile.c (syms_from_objfile, reread_symbols):  Add
"no debugging symbols found" test.
* coffread.c (init_stringtab):  Handle stripped files with a
stringtab offset of zero gracefully.
* osfsolib.c (solib_create_inferior_hook):  Use DYNAMIC flag from
BFD instead of stop_pc heuristic to determine if it is a dynamically
linked object file.
* procfs.c (wait_fd):  Handle ENOENT error return from PIOCWSTOP
ioctl, it indicates that the process has exited.

30 years ago * coff-alpha.c (alpha_ecoff_mkobject_hook): New hook to
Peter Schauer [Wed, 6 Jul 1994 07:53:31 +0000 (07:53 +0000)]
* coff-alpha.c (alpha_ecoff_mkobject_hook):  New hook to
additionally copy object type information from the alpha file
header to the BFD flags.
(alpha_ecoff_backend_data):  Use it.
(ecoffalpha_little_vec):  Add DYNAMIC to object_flags.
* aout64.c:  Fix typo in conditional QMAGIC definition.

30 years ago * hppabsd-core.c (hppabsd_core_core_file_p): Sanity check the
Jeff Law [Wed, 6 Jul 1994 06:17:06 +0000 (06:17 +0000)]
* hppabsd-core.c (hppabsd_core_core_file_p): Sanity check the
value of clicksz to help weed out non HPPA BSD core files.

30 years ago * config/tc-ppc.c (ppc_tc): If not OBJ_COFF, force TOC entry to
Ian Lance Taylor [Wed, 6 Jul 1994 05:14:48 +0000 (05:14 +0000)]
* config/tc-ppc.c (ppc_tc): If not OBJ_COFF, force TOC entry to
align to a four byte boundary.

30 years ago Mach 3 support.
Stan Shebs [Tue, 5 Jul 1994 21:50:43 +0000 (21:50 +0000)]
Mach 3 support.
* config.bfd (m88*-*-mach3*, mips*-dec-mach3*, mips*-*-mach3*):
New targets.
* configure.host (i[34]86-*-mach3*, ns32k-*-mach3*): Recognize
"mach3" instead of "mach".
(m88*-*-mach3*, mips*-dec-mach3*, mips*-*-mach3*): New hosts.
* targets.c (m88kmach3_vec): New target vector.
(bfd_target_vector): Add i386mach3_vec and m88kmach3_vec, but
inside #if 0.
* aoutx.h (some_aout_object_p) [MACH]: Recognize executables by
checking for execute permission, instead of looking at entry
point.
* i386mach3.c: Update, define MACH, N_TXTOFF, N_TXTADDR,
N_SHARED_LIB, don't include aout/*.h files, etc.
* m88kmach3.c: New file, m88k Mach 3 target.
* config/m88k-mach3.mt, config/mips-mach3.mt: New files, target
makefile fragments.
* config/i386mach3.mh, config/m88kmach3.mh, config/mipsmach3.mh:
New files, host makefile fragments.
* hosts/m88kmach3.h, hosts/mipsmach3.h: New files, host definitions.

30 years agosome internals doc updates
Ken Raeburn [Tue, 5 Jul 1994 21:00:22 +0000 (21:00 +0000)]
some internals doc updates

30 years agohandle 32-bit addends in exprs on alpha
Ken Raeburn [Tue, 5 Jul 1994 20:51:39 +0000 (20:51 +0000)]
handle 32-bit addends in exprs on alpha

30 years ago * objcopy.c: Include libiberty.h.
Ian Lance Taylor [Tue, 5 Jul 1994 20:17:37 +0000 (20:17 +0000)]
* objcopy.c: Include libiberty.h.
(copy_file): If output_target is NULL, set it to the target of the
input file.

30 years ago * config/obj-elf.h (S_GET_ALIGN, S_SET_ALIGN): Define.
Ian Lance Taylor [Tue, 5 Jul 1994 18:06:33 +0000 (18:06 +0000)]
* config/obj-elf.h (S_GET_ALIGN, S_SET_ALIGN): Define.
* config/obj-elf.c (obj_elf_common): Set alignment of common
symbol.
* config/tc-sparc.c (s_common): If OBJ_ELF, set alignment of
common symbol.