binutils-gdb.git
29 years ago * defs.h: Include progress.h.
Stan Shebs [Fri, 16 Dec 1994 01:58:43 +0000 (01:58 +0000)]
* defs.h: Include progress.h.
(QUIT): Call PROGRESS.
* main.c (main): Call START_PROGRESS and END_PROGRESS, break
usage message into shorter strings.
* source.c:  Change long command help strings into concats of
shorter ones, for picky ANSI compilers.

(ChangeLog.mpw)
* main.c, source.c: Remove hacks that replace long strings
with shorter ones, now solved portably.

29 years ago * top.c (command_loop): For space usage display, show both
Stan Shebs [Fri, 16 Dec 1994 01:19:40 +0000 (01:19 +0000)]
* top.c (command_loop): For space usage display, show both
        absolute size and the change from before command execution.

29 years ago * defs.h, gdbtk.c (gdbtk_fputs), main.c (gdb_fputs), top.c: Add stream arg
Stu Grossman [Fri, 16 Dec 1994 01:07:35 +0000 (01:07 +0000)]
* defs.h, gdbtk.c (gdbtk_fputs), main.c (gdb_fputs), top.c:  Add stream arg
to fputs_unfiltered_hook.  Differentiate stdout from stderr when
passing text into tcl land.
* defs.h, top.c, utils.c (error):  Add error_hook.
* gdbtk.c:  Improve mechanism for capturing output values.
* (full_filename):  Remove.
* (gdb_cmd call_wrapper gdbtk_init):  Protect all calls from tcl
land with call_wrapper.  This prevents longjmps (usually via
error()) from jumping out of tcl/tk and leaving things in an
indeterminate state.
* gdbtk.tcl:  New view option to disable line numbers.  Put catch
around most uses of gdb_cmd.  Add update button to reg config
window.  Stop doing immediate updates when selecting registers.
Change register view values into checkbuttons.

29 years ago* Makefile.in (AS_FOR_TARGET, OBJDUMP_FOR_TARGET): Don't set.
Ken Raeburn [Fri, 16 Dec 1994 00:19:40 +0000 (00:19 +0000)]
* Makefile.in (AS_FOR_TARGET, OBJDUMP_FOR_TARGET): Don't set.
(uninstall): Don't set OBJDUMP and OBJDUMPFLAGS in site.exp.
* config/default.exp: Default OBJDUMP and OBJDUMPFLAGS.  Use findfile and
transform procedures to determine objdump program name.

29 years ago * config/tc-sh.c (md_begin): Use a local variable when
Jim Wilson [Thu, 15 Dec 1994 23:30:01 +0000 (23:30 +0000)]
* config/tc-sh.c (md_begin): Use a local variable when
initializing md_relax_table to avoid errors about modifying a
const data structure.

29 years ago * hosts/mpw.h: Include spin.h.
Stan Shebs [Thu, 15 Dec 1994 22:08:53 +0000 (22:08 +0000)]
* hosts/mpw.h: Include spin.h.

29 years ago * elfcode.h (elf_map_symbols): Only use section symbols whose
Ian Lance Taylor [Thu, 15 Dec 1994 04:41:39 +0000 (04:41 +0000)]
* elfcode.h (elf_map_symbols): Only use section symbols whose
value is the start of the section, checking output_offset when
using output_section.  When creating a new symbol, set the value
to 0, since BFD symbol values are section relative.

29 years ago * elfcode.h (elf_map_symbols): Only use section symbols whose
Ian Lance Taylor [Thu, 15 Dec 1994 01:23:40 +0000 (01:23 +0000)]
* elfcode.h (elf_map_symbols): Only use section symbols whose
value is the start of the section.

29 years agosanitize out arc stuff
Ken Raeburn [Wed, 14 Dec 1994 21:45:07 +0000 (21:45 +0000)]
sanitize out arc stuff

29 years ago* lib/ld.exp (prune_system_crud): Define if not already defined, in case the
Ken Raeburn [Wed, 14 Dec 1994 21:40:30 +0000 (21:40 +0000)]
* lib/ld.exp (prune_system_crud): Define if not already defined, in case the
user isn't using the newest DejaGnu version that we haven't released to the net
yet.

29 years agoremoved some unreachable code from objcopy
Ken Raeburn [Wed, 14 Dec 1994 21:37:00 +0000 (21:37 +0000)]
removed some unreachable code from objcopy

29 years agoexpect simple-objcopy test to fail on hp300
Ken Raeburn [Wed, 14 Dec 1994 21:35:07 +0000 (21:35 +0000)]
expect simple-objcopy test to fail on hp300

29 years ago * mpw-config.in (m68k-apple-macos, ppc-apple-macos,
Stan Shebs [Wed, 14 Dec 1994 21:33:33 +0000 (21:33 +0000)]
* mpw-config.in (m68k-apple-macos, ppc-apple-macos,
        i386-unknown-aout, i386-unknown-coff): New targets.
(m68k-aout, m68k-coff): Remove targets.
(mk.tmp): Add definition of EMUL.

29 years ago * progress.h: New file, empty definitions for progress macros.
Stan Shebs [Wed, 14 Dec 1994 21:11:18 +0000 (21:11 +0000)]
* progress.h: New file, empty definitions for progress macros.

29 years agodisable bintest.o tests on hppa, fix minor sh-coff objcopy setup_xfail problem
Ken Raeburn [Wed, 14 Dec 1994 20:59:14 +0000 (20:59 +0000)]
disable bintest.o tests on hppa, fix minor sh-coff objcopy setup_xfail problem

29 years ago * config/m68k/xm-mpw.h (spin.h): Include.
Stan Shebs [Wed, 14 Dec 1994 01:00:17 +0000 (01:00 +0000)]
* config/m68k/xm-mpw.h (spin.h): Include.
(ALMOST_STDC): Only define if MPW_C.
* config/m68k/tm-mac.h: New file, Mac target definitions.

29 years agoActually lose it
Stan Shebs [Wed, 14 Dec 1994 00:47:58 +0000 (00:47 +0000)]
Actually lose it

29 years ago * mpw-config.in (m68k-apple-macos, ppc-apple-macos,
Stan Shebs [Wed, 14 Dec 1994 00:47:32 +0000 (00:47 +0000)]
* mpw-config.in (m68k-apple-macos, ppc-apple-macos,
        i386-unknown-aout): New targets.
(mk.tmp): Add *DEPFILES definitions.
* mpw-make.in: Remove gC rules, clean up definitions for other
        include files, bump version, fix bogus \ that should be \Option-d.
(init.c): Build correctly.
(mpw-init.c): Remove.

29 years agoInitial arc-elf support.
David Edelsohn [Wed, 14 Dec 1994 00:44:50 +0000 (00:44 +0000)]
Initial arc-elf support.

29 years ago * breakpoint.c, infrun.c, printcmd.c: Change long command help
Stan Shebs [Tue, 13 Dec 1994 23:36:31 +0000 (23:36 +0000)]
* breakpoint.c, infrun.c, printcmd.c: Change long command help
        strings into concats of shorter ones, for picky ANSI compilers.

29 years ago * gas/mips/jal-svr4pic.d: Fix 0-strings to work with 64-bit hosted
Ian Lance Taylor [Tue, 13 Dec 1994 23:28:17 +0000 (23:28 +0000)]
* gas/mips/jal-svr4pic.d: Fix 0-strings to work with 64-bit hosted
disassembly.

29 years ago * config/tc-ppc.c (tc_gen_reloc): Remove OBJ_ELF hack which
Ian Lance Taylor [Tue, 13 Dec 1994 20:43:28 +0000 (20:43 +0000)]
* config/tc-ppc.c (tc_gen_reloc): Remove OBJ_ELF hack which
appears to no longer be needed.

29 years ago * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
Jim Kingdon [Tue, 13 Dec 1994 19:30:31 +0000 (19:30 +0000)]
* gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
and pr-5646.o, so "make" is the same as "make all, not "make
pr-4975.o".

29 years ago * cpu-z8k.c (arch_info_struct): Make z8002 the default
Ian Lance Taylor [Tue, 13 Dec 1994 18:33:05 +0000 (18:33 +0000)]
* cpu-z8k.c (arch_info_struct): Make z8002 the default
architecture.

29 years ago * config/tc-mips.c (macro_build): Accept BFD_RELOC_PCREL* without
Ian Lance Taylor [Tue, 13 Dec 1994 16:07:02 +0000 (16:07 +0000)]
* config/tc-mips.c (macro_build): Accept BFD_RELOC_PCREL* without
requiring that the X_op_symbol be in the text_section.
(macro): Change the test for a legel expression difference to
correspond to changes in pseudo_set in read.c.

29 years ago * mpw-config.in: Add mapping from configs to object file formats,
Stan Shebs [Tue, 13 Dec 1994 03:52:01 +0000 (03:52 +0000)]
* mpw-config.in: Add mapping from configs to object file formats,
get VERSION from Makefile.in and add to mk.tmp.
(mips-idt-ecoff) [TDEFINES]: Add TARGET_BYTES_BIG_ENDIAN.
* mpw-make.in (VERSION, gC): Don't define.
(ALL_CFLAGS): Remove -d flags.
(config.h): Remove definition of MPW, add HAVE_STDARG_H,
BFD_ASSEMBLER.

29 years ago * mpw-config.in: Create mk.tmp, define ARCHDEFS in it.
Stan Shebs [Tue, 13 Dec 1994 03:41:18 +0000 (03:41 +0000)]
* mpw-config.in: Create mk.tmp, define ARCHDEFS in it.

29 years ago * mpw-config.in: Edit the BFD version into bfd.h.
Stan Shebs [Tue, 13 Dec 1994 03:34:28 +0000 (03:34 +0000)]
* mpw-config.in: Edit the BFD version into bfd.h.
(m68k-apple-macos, ppc-apple-macos): New targets.
* mpw-make.in: Remove use of gC in rules, add srcdir pathnames to
        more files.

29 years ago * mpw-mh-mpw (EXTRALIBS): Always link in Math.o, CSANELIB.o,
Stan Shebs [Tue, 13 Dec 1994 01:16:49 +0000 (01:16 +0000)]
* mpw-mh-mpw (EXTRALIBS): Always link in Math.o, CSANELIB.o,
        and ToolLibs.o.

29 years ago * mpw-configure: Remove subdir-specific makefile hackery,
Stan Shebs [Tue, 13 Dec 1994 01:13:38 +0000 (01:13 +0000)]
* mpw-configure: Remove subdir-specific makefile hackery,
delete mk.tmp after using it.
(TDEFINES): Set to empty.

29 years ago Sparc flat register window support.
Stan Shebs [Tue, 13 Dec 1994 01:11:49 +0000 (01:11 +0000)]
Sparc flat register window support.
* sparc-tdep.c (sparc_insn_layout): New union, defines layout of
        instructions symbolically (used to be local to skip_prologue).
(sparc_init_extra_frame_info): New function.
(sparc_frame_chain): Add flat cases throughout.
(skip_prologue): Add recognition of flat prologues.
(sparc_frame_find_saved_regs): Add flat cases.
(sparc_pop_frame): Ditto.
* config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): New slots.
(INIT_EXTRA_FRAME_INFO): Call sparc_init_extra_frame_info.
(PRINT_EXTRA_FRAME_INFO): Define.

29 years ago * gdbtk.tcl (reg_config_menu create_registers_window
Stu Grossman [Tue, 13 Dec 1994 01:04:38 +0000 (01:04 +0000)]
* gdbtk.tcl (reg_config_menu create_registers_window
recompute_reg_display_list):  Use array instead of individual vars
for register display list.
* (recompute_reg_display_list update_registers):  Fix bug with not
displaying all registers.

29 years ago * f-lang.c: Remove duplicate declaration of
Jim Kingdon [Mon, 12 Dec 1994 21:21:10 +0000 (21:21 +0000)]
* f-lang.c: Remove duplicate declaration of
builtin_type_f_integer, and only include it in the f_builtin_types
once.

* somread.c (som_symfile_read): Just assign to objfile->obj_private,
not OBJ_UNWIND_INFO.  Assigning to a cast is a GCC-ism which
the HP compiler doesn't like.

29 years ago * gdbtk.c: New tcl commands: gdb_fetch_registers,
Stu Grossman [Mon, 12 Dec 1994 20:50:08 +0000 (20:50 +0000)]
* gdbtk.c:  New tcl commands:  gdb_fetch_registers,
gdb_changed_register_list, and gdb_regnames.
* gdbtk.tcl:  Use monochrome color model for now.
* (delete_breakpoint_tag create_file_win):  Add breakdot support.
* (create_file_win create_asm_win update_listing build_framework
create_source_window create_command_window):  Re-org window
creation to give all windows consistent look and feel.
* (update_listing update_asm):  Change pc pointer to '->'.
* (registers_command reg_config_menu create_registers_window
populate_reg_window update_registers):  Revamp register window.
Allow selection of registers to be displayed.  Highlight changed
registers.

29 years ago * configure.in: Configure tk for hppa/hpux.
Stu Grossman [Mon, 12 Dec 1994 20:12:43 +0000 (20:12 +0000)]
* configure.in:  Configure tk for hppa/hpux.

29 years ago* gas/all/gas.exp (comment.s test): Make the "\r" optional, since it depends on
Ken Raeburn [Sat, 10 Dec 1994 03:50:52 +0000 (03:50 +0000)]
* gas/all/gas.exp (comment.s test): Make the "\r" optional, since it depends on
tty modes.

* lib/gas-defs.exp (gas_start): Try using -nottycopy instead of -nottyinit.

29 years ago* write.c (write_relocs) [RELOC_EXPANSION_POSSIBLE]: Use bfd_install_relocation.
Ken Raeburn [Sat, 10 Dec 1994 02:10:44 +0000 (02:10 +0000)]
* write.c (write_relocs) [RELOC_EXPANSION_POSSIBLE]: Use bfd_install_relocation.

29 years ago* ecoff.c (ecoff_set_gp_prolog_size): If there is no current routine, just
Ken Raeburn [Sat, 10 Dec 1994 02:09:12 +0000 (02:09 +0000)]
* ecoff.c (ecoff_set_gp_prolog_size): If there is no current routine, just
return.

29 years ago* config/tc-alpha.c (alpha_ip, case 'B', subcase 'c'): Use opcode value from
Ken Raeburn [Sat, 10 Dec 1994 02:06:26 +0000 (02:06 +0000)]
* config/tc-alpha.c (alpha_ip, case 'B', subcase 'c'): Use opcode value from
pattern instead of assuming jsr.
* config/alpha-opcode.h (jmp): Add a "1,Bc" form.

29 years ago* gas/arm/gas.exp: The arm6 test should report errors, for now.
Ken Raeburn [Sat, 10 Dec 1994 01:28:29 +0000 (01:28 +0000)]
* gas/arm/gas.exp: The arm6 test should report errors, for now.

29 years ago * remote.c (remote_wait): Pass string instead of char to strcpy.
Stan Shebs [Fri, 9 Dec 1994 23:54:02 +0000 (23:54 +0000)]
* remote.c (remote_wait): Pass string instead of char to strcpy.

29 years ago * scripttempl/elf.sc: Move .ctors and .dtors from .text segment to
Ian Lance Taylor [Fri, 9 Dec 1994 22:24:03 +0000 (22:24 +0000)]
* scripttempl/elf.sc: Move .ctors and .dtors from .text segment to
.data segment.  They must be writable when creating a shared
library.  From H.J. Lu <hjl@nynexst.com>.

29 years ago * aoutx.h (NAME(aout,link_add_symbols)): Similar change if the
Ian Lance Taylor [Fri, 9 Dec 1994 22:18:49 +0000 (22:18 +0000)]
* aoutx.h (NAME(aout,link_add_symbols)): Similar change if the
first object is not an a.out object.

29 years ago * elfcode.h (elf_bfd_link_add_symbols): If the first object in the
Ian Lance Taylor [Fri, 9 Dec 1994 17:57:47 +0000 (17:57 +0000)]
* elfcode.h (elf_bfd_link_add_symbols): If the first object in the
archive is not an ELF object, pass the archive to the add_symbols
entry point appropriate for the first object.  From Eric Youngdale
<eric@aib.com>.

29 years ago * elf32-i386.c (elf_i386_relocate_section): Don't compute
Ian Lance Taylor [Fri, 9 Dec 1994 17:44:45 +0000 (17:44 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Don't compute
relocation in cases where we won't use it.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.

29 years ago* gdbserver/low-lynx.c (mywait): Remove debugging printf.
Jim Kingdon [Fri, 9 Dec 1994 12:46:42 +0000 (12:46 +0000)]
* gdbserver/low-lynx.c (mywait): Remove debugging printf.

29 years ago * nlmconv.c (powerpc_mangle_relocs): Don't switch a reloc to use
Ian Lance Taylor [Fri, 9 Dec 1994 05:25:00 +0000 (05:25 +0000)]
* nlmconv.c (powerpc_mangle_relocs): Don't switch a reloc to use
the section symbol if the symbol is undefined.

29 years ago* lib/gas-defs.exp: Use -i in expect_after command.
Ken Raeburn [Fri, 9 Dec 1994 01:20:07 +0000 (01:20 +0000)]
* lib/gas-defs.exp: Use -i in expect_after command.

29 years ago* Makefile.in (NM_FOR_TARGET): Use ../binutils/nm.new, not just plain nm.
Ken Raeburn [Fri, 9 Dec 1994 01:19:22 +0000 (01:19 +0000)]
* Makefile.in (NM_FOR_TARGET): Use ../binutils/nm.new, not just plain nm.

29 years agobinutils-all/objdump.exp: handle "powerpc" cpu
Ken Raeburn [Thu, 8 Dec 1994 23:56:01 +0000 (23:56 +0000)]
binutils-all/objdump.exp: handle "powerpc" cpu

29 years agoadded mips-gnu target for roland
Ken Raeburn [Thu, 8 Dec 1994 23:36:37 +0000 (23:36 +0000)]
added mips-gnu target for roland

29 years agoalpha, mips, m68k fixes
Ken Raeburn [Thu, 8 Dec 1994 23:28:05 +0000 (23:28 +0000)]
alpha, mips, m68k fixes

29 years ago * frame.h: Restore pre-Nov 3 comments about FRAME_FP with minor
Jim Kingdon [Thu, 8 Dec 1994 23:20:11 +0000 (23:20 +0000)]
* frame.h: Restore pre-Nov 3 comments about FRAME_FP with minor
changes.  They are correct, unlike the post-Nov 3 comment
(FRAME_FP doesn't have any machine-independent relationship with
FP_REGNUM or any other such notion of a "frame pointer").

29 years ago * gdbserver/remote-utils.c (write_ok): Write "OK", not "Ok", to
Jim Kingdon [Thu, 8 Dec 1994 22:54:33 +0000 (22:54 +0000)]
* gdbserver/remote-utils.c (write_ok): Write "OK", not "Ok", to
match stubs and protocol spec.
* gdbserver/remote-utils.c (remote_open): Cast to struct sockaddr
when passing to function which expects that.

The following changes aren't quite enough to make things work with
LynxOS (apprently kernel problems).
* infrun.c (wait_for_inferior): When resuming new thread, pass pid
not -1 for remote case.
* thread.c (info_threads_command): Give error if !target_has_stack.
* infrun.c (start_remote): Call init_thread_list.
* thread.c (info_threads_command): Don't call kill for remote
debugging target.
* target.c (normal_pid_to_str): Print "thread" not "process" for
remote.
* remote.c, gdbserver/*: Add 'H', 'S', and 'C' requests, 'X'
response, and `thread' part of 'T' response.
* gdbserver/*: If program exits, send packet to GDB before
exiting.  Handle termination with a signal the same as exiting
with an exitstatus.
* remote.c: Don't try to kill program after getting an 'X'
response.
* infrun.c (wait_for_inferior): Add comment about kill versus mourn.

29 years agoconfigure.in: fix ns32k-pc532-mach* and mips-sony-bsd* configs
Ken Raeburn [Thu, 8 Dec 1994 22:54:22 +0000 (22:54 +0000)]
configure.in: fix ns32k-pc532-mach* and mips-sony-bsd* configs

29 years ago* pc532-mach.c (NAME): Define to use ns32kaout prefix.
Ken Raeburn [Thu, 8 Dec 1994 20:47:46 +0000 (20:47 +0000)]
* pc532-mach.c (NAME): Define to use ns32kaout prefix.
* ns32knetbsd.c (NAME): Ditto.
(ns32kaout_32_get_section_contents): Define to standard aout-32 version.

29 years ago* binutils-all/objdump.exp (cpus_expected): New variable, taken from objdump -i
Ken Raeburn [Thu, 8 Dec 1994 19:55:05 +0000 (19:55 +0000)]
* binutils-all/objdump.exp (cpus_expected): New variable, taken from objdump -i
test, added ns32k, sorted.
(objdump -i, -f tests): Use $cpus_expected.

* binutils-all/objcopy.exp: For simple-copy test, expect failure for sh-coff.

29 years ago * config/pa/tm-pro.h tm-hppap.h, hppapro.mt: Rename tm-hppap.h to
Rob Savoye [Thu, 8 Dec 1994 19:49:13 +0000 (19:49 +0000)]
* config/pa/tm-pro.h tm-hppap.h, hppapro.mt: Rename tm-hppap.h to
tm-pro.h.

29 years agoobjcopy.c (add_strip_symbol): Cast return value of xmalloc.
Ken Raeburn [Thu, 8 Dec 1994 19:46:25 +0000 (19:46 +0000)]
objcopy.c (add_strip_symbol): Cast return value of xmalloc.

29 years ago * gdb.base/list.exp: Adjust expectations to reflect changes in
Stan Shebs [Thu, 8 Dec 1994 03:05:49 +0000 (03:05 +0000)]
* gdb.base/list.exp: Adjust expectations to reflect changes in
list1.c.
(test_forward_search): New test proc.
* gdb.base/list1.c (long_line): New function, has long source line.

29 years ago * source.c: Various cosmetic changes.
Stan Shebs [Thu, 8 Dec 1994 02:27:47 +0000 (02:27 +0000)]
* source.c: Various cosmetic changes.
(forward_search_command): Handle very long source lines correctly.

29 years agoboost timeout to at least 2min; fix a couple mips tests for 64-bit host disasm
Ken Raeburn [Thu, 8 Dec 1994 01:48:25 +0000 (01:48 +0000)]
boost timeout to at least 2min; fix a couple mips tests for 64-bit host disasm

29 years agorename gas/ieee.fp to ieee-fp
Ken Raeburn [Wed, 7 Dec 1994 21:51:34 +0000 (21:51 +0000)]
rename gas/ieee.fp to ieee-fp

29 years ago * hppa-tdep.c: Use GDB_TARGET_IS_PA_ELF so SOM target support will
Rob Savoye [Wed, 7 Dec 1994 21:47:22 +0000 (21:47 +0000)]
    * hppa-tdep.c: Use GDB_TARGET_IS_PA_ELF so SOM target support will
stop being linked in.
* config/pa/tm-hppap.h: New file. Set GDB_TARGET_IS_PA_ELF,
otherwise it looks like BSD-ELF.

29 years ago * hppa-tdep.c: Use GDB_TARGET_IS_PA_ELF so SOM target support will
Rob Savoye [Wed, 7 Dec 1994 21:26:22 +0000 (21:26 +0000)]
    * hppa-tdep.c: Use GDB_TARGET_IS_PA_ELF so SOM target support will
stop being linked in.
* config/pa/tm-hppap.h: New file. Set GDB_TARGET_IS_PA_ELF,
otherwise it looks like BSD-ELF.

29 years agokeep everything
Ken Raeburn [Tue, 6 Dec 1994 23:30:12 +0000 (23:30 +0000)]
keep everything

29 years agoClean the sh3 stuff out the right way.
Steve Chamberlain [Tue, 6 Dec 1994 23:29:54 +0000 (23:29 +0000)]
Clean the sh3 stuff out the right way.

29 years agofinish deletion of this directory
Ken Raeburn [Tue, 6 Dec 1994 22:25:17 +0000 (22:25 +0000)]
finish deletion of this directory

29 years ago * inftarg.c: include <sys/types.h> to get def of pid_t.
Stu Grossman [Tue, 6 Dec 1994 05:45:31 +0000 (05:45 +0000)]
* inftarg.c: include <sys/types.h> to get def of pid_t.

29 years agoSwitch r3 to scratch register, r0 to stack register.
Michael Tiemann [Tue, 6 Dec 1994 02:04:58 +0000 (02:04 +0000)]
Switch r3 to scratch register, r0 to stack register.
Other misc changes before beta shipment to customer.

30 years ago * solib.c (auto_solib_add_at_startup): New global.
Stan Shebs [Sat, 3 Dec 1994 00:19:03 +0000 (00:19 +0000)]
* solib.c (auto_solib_add_at_startup): New global.
(solib_create_inferior_hook): Call solib_add only if
auto_solib_add_at_startup is nonzero.
(_initialize_solib): New command "set auto-solib-add".

30 years ago * Makefile.in (LIBGXX_SUPPORT_DIRS): Add libstdc++.
Per Bothner [Fri, 2 Dec 1994 23:54:59 +0000 (23:54 +0000)]
* Makefile.in (LIBGXX_SUPPORT_DIRS):  Add libstdc++.

30 years ago * config/default.exp: Define objdump if it is not defined.
Ian Lance Taylor [Fri, 2 Dec 1994 22:29:20 +0000 (22:29 +0000)]
* config/default.exp: Define objdump if it is not defined.
* ld-empic/*: New tests to test -membedded-pic code.

30 years ago * emultempl/miposecoff.em: New file.
Ian Lance Taylor [Fri, 2 Dec 1994 22:28:09 +0000 (22:28 +0000)]
* emultempl/miposecoff.em: New file.
* emulparams/mipsidt.sh (TEMPLATE_NAME): Set to mipsecoff.
* emulparams/mipsidtl.sh (TEMPLATE_NAME): Likewise.
* scripttempl/mips.sc: Put .rel.sdata sections in .text, and
provide __runtime_reloc_start and __runtime_reloc_stop if they are
used.   Align _fdata to a 16 byte boundary.
* Makefile.in (emipsidt.c): Depend upon mipsecoff.em rather than
generic.em.
(emipsidtl.c): Likewise.
(check): Pass CC_FOR_HOST and CFLAGS_FOR_HOST to runtest.

30 years ago * ld.h (args_type): Add new field embedded_relocs.
Ian Lance Taylor [Fri, 2 Dec 1994 22:25:50 +0000 (22:25 +0000)]
* ld.h (args_type): Add new field embedded_relocs.
* ldemul.h (ldemul_after_open, after_open_default): Declare.
(ld_emulation_xfer_struct): Add new field after_open.
* ldemul.c (ldemul_after_open): New function.
(after_open_default): New function.
* ldlang.c (lang_process): Call ldemul_after_open.
* lexsup.c (parse_args): Handle --embedded-relocs.
* emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Initialize
new after_open field to after_open_default.
* emultempl/generic.em, emultempl/gld960.em: Likewise.
* emultempl/gld960c.em, emultempl/hppaelf.em: Likewise.
* emultempl/linux.em, emultempl/m88kbcs.em: Likewise.
* emultempl/sunos.em, emultempl/vanilla.em: Likewise.
* ld.texinfo, ld.1: Mention -embedded-relocs.

30 years ago * parse.c (msymbol_addr_type): Replaced by
Peter Schauer [Fri, 2 Dec 1994 20:55:16 +0000 (20:55 +0000)]
* parse.c (msymbol_addr_type):  Replaced by
lookup_pointer_type (builtin_type_void).

* printcmd.c (_initialize_printcmd):  Give examine_*_type
a name for `ptype $_'.

* printcmd.c (print_formatted): Call val_print_string directly,
rather than via value_print.

30 years ago * gdb.base/a1-selftest.exp: Change initial stepping to know about
Stan Shebs [Fri, 2 Dec 1994 07:17:28 +0000 (07:17 +0000)]
* gdb.base/a1-selftest.exp: Change initial stepping to know about
additional line of code that was added.

30 years agoRemove last remnants of hpread sanitization.
Jeff Law [Fri, 2 Dec 1994 06:42:40 +0000 (06:42 +0000)]
Remove last remnants of hpread sanitization.

30 years ago * somsolib.c (som_solib_get_got_by_pc): New function.
Jeff Law [Thu, 1 Dec 1994 05:34:30 +0000 (05:34 +0000)]
* somsolib.c (som_solib_get_got_by_pc): New function.
* somsolib.h (som_solib_get_got_by_pc): Add extern decl.
* hppa-tdep.c (hppa_fix_call_dummy): Handle case where FUN is the
function's export stub or real address in a shared library.

30 years ago * gdb.disasm/hppa.s: Break the large branching tests into smaller
Jeff Law [Thu, 1 Dec 1994 04:08:29 +0000 (04:08 +0000)]
    * gdb.disasm/hppa.s: Break the large branching tests into smaller
        tests so as not to overflow expect's input buffers.
        * gdb.disasm/hppa.exp: Corresponding changes.

30 years ago * coff-sh.c: Use _bfd_dummy_target instead of no_archive.
Ian Lance Taylor [Wed, 30 Nov 1994 19:14:23 +0000 (19:14 +0000)]
* coff-sh.c: Use _bfd_dummy_target instead of no_archive.

30 years ago * gas/hppa/parse: Renamed from gas/hppa/more.parse.
Jeff Law [Wed, 30 Nov 1994 17:57:29 +0000 (17:57 +0000)]
* gas/hppa/parse: Renamed from gas/hppa/more.parse.

30 years agoMoving into a new directory
Jeff Law [Wed, 30 Nov 1994 17:47:54 +0000 (17:47 +0000)]
Moving into a new directory

30 years ago * Makefile.in: Move -fno-implicit-template from CXXFLAGS
Per Bothner [Wed, 30 Nov 1994 03:37:23 +0000 (03:37 +0000)]
* Makefile.in:  Move -fno-implicit-template from CXXFLAGS
to LIBCXXFLAGS.  Tests are better run without it.

30 years agoInitial ARC support.
David Edelsohn [Wed, 30 Nov 1994 02:48:31 +0000 (02:48 +0000)]
Initial ARC support.

30 years agoInitial ARC support.
David Edelsohn [Wed, 30 Nov 1994 02:16:54 +0000 (02:16 +0000)]
Initial ARC support.

30 years agoInitial ARC support.
David Edelsohn [Wed, 30 Nov 1994 02:06:04 +0000 (02:06 +0000)]
Initial ARC support.

30 years agoInitial ARC support.
David Edelsohn [Wed, 30 Nov 1994 01:54:43 +0000 (01:54 +0000)]
Initial ARC support.

30 years agoInitial ARC support.
David Edelsohn [Wed, 30 Nov 1994 01:45:28 +0000 (01:45 +0000)]
Initial ARC support.

30 years ago* config/arc-elf.mt: New file.
David Edelsohn [Wed, 30 Nov 1994 01:35:40 +0000 (01:35 +0000)]
* config/arc-elf.mt: New file.

30 years agoInitial ARC support.
David Edelsohn [Wed, 30 Nov 1994 01:29:26 +0000 (01:29 +0000)]
Initial ARC support.

30 years agodelete signal handler code (which has been disabled since March 93)
Ken Raeburn [Wed, 30 Nov 1994 01:01:13 +0000 (01:01 +0000)]
delete signal handler code (which has been disabled since March 93)

30 years agoswitch to libiberty version of xmalloc
Ken Raeburn [Wed, 30 Nov 1994 00:56:43 +0000 (00:56 +0000)]
switch to libiberty version of xmalloc

30 years agolog for alpha, sanitize, m68k, rce (sanitized) changes
Ken Raeburn [Tue, 29 Nov 1994 22:30:53 +0000 (22:30 +0000)]
log for alpha, sanitize, m68k, rce (sanitized) changes

30 years ago* config.bfd (i[345]86-*-freebsd*): Use i386-bsd as bfd_name.
J.T. Conklin [Tue, 29 Nov 1994 22:24:39 +0000 (22:24 +0000)]
* config.bfd (i[345]86-*-freebsd*): Use i386-bsd as bfd_name.
* configure.host (i[345]86-*-freebsd*): Use i386bsd as my_host.
CVSn:

30 years ago* config/i386/nbsd.mh (REGEX, REGEX1): No longer define.
J.T. Conklin [Tue, 29 Nov 1994 21:47:48 +0000 (21:47 +0000)]
* config/i386/nbsd.mh (REGEX, REGEX1): No longer define.

* configure.in (i[345]86-*-freebsd*): New configuration.
* config/i386/{fbsd.mh,fbsd.mt,nm-fbsd.h}: New files.

30 years ago * top.c (read_next_line): Pass annotation suffix "commands"
Stan Shebs [Tue, 29 Nov 1994 20:45:13 +0000 (20:45 +0000)]
* top.c (read_next_line): Pass annotation suffix "commands"
instead of "command", matches documentation.

30 years ago* tc-alpha.c (in_range_signed, in_range_unsigned): New routines, split from
Ken Raeburn [Tue, 29 Nov 1994 20:31:40 +0000 (20:31 +0000)]
* tc-alpha.c (in_range_signed, in_range_unsigned): New routines, split from
in_range.
(in_range): Deleted.  All calls changed to in_range_*signed.
(create_lita_section): Macro deleted.  Single use expanded in place.
(alpha_ip): Handle `t' and `8' operand types.
(md_apply_fix): Handle BFD_RELOC_12_PCREL.  Print name of unhandled relocation
types.
* alpha-opcode.h: Added HALT and DRAINA.  Disabled MOVI, since it doesn't work,
and isn't supported by the native assembler.

30 years agoRegenerate after Tiemann's change to configure.in.
Ken Raeburn [Tue, 29 Nov 1994 20:27:26 +0000 (20:27 +0000)]
Regenerate after Tiemann's change to configure.in.

30 years agocheck configure and ChangeLog for rce stuff too
Ken Raeburn [Tue, 29 Nov 1994 20:19:54 +0000 (20:19 +0000)]
check configure and ChangeLog for rce stuff too