binutils-gdb.git
30 years ago * configure.host (sparc-*-solaris2*): Use solaris2, not sysv4.
Ian Lance Taylor [Fri, 12 Aug 1994 15:28:19 +0000 (15:28 +0000)]
* configure.host (sparc-*-solaris2*): Use solaris2, not sysv4.
The linker depends upon configuring for solaris2.
* hosts/solaris2.h: New file; include hosts/sysv4.h.
* config/solaris2.mh: New file; copy of config/sysv4.mh.

30 years ago Add support for removing named sections to objcopy and strip.
Ian Lance Taylor [Thu, 11 Aug 1994 19:00:26 +0000 (19:00 +0000)]
Add support for removing named sections to objcopy and strip.
* objcopy.c (struct section_list): Define.
(remove_sections): New static variable.
(strip_options, copy_options): Add remove-section.
(copy_usage, strip_usage): Mention -R and --remove-section.
(setup_section): If section is in remove_sections list, ignore it.
(copy_section): Likewise.
(strip_main, copy_main): Handle -R.
* binutils.texi, objcopy.1, strip.1: Document new options.

30 years ago(concat, basename, buildargv, freeargv, strerrno, strsigno,
David Edelsohn [Thu, 11 Aug 1994 11:09:54 +0000 (11:09 +0000)]
(concat, basename, buildargv, freeargv, strerrno, strsigno,
errno_max, signo_max, strtoerrno, strtosigno):  Delete.
Include "libiberty.h" instead.

30 years agoRemove aout-ns32k.h.
Ian Lance Taylor [Thu, 11 Aug 1994 04:39:16 +0000 (04:39 +0000)]
Remove aout-ns32k.h.

30 years ago * i386v-nat.c (i386_insert_nonaligned_watchpoint):
Fred Fish [Thu, 11 Aug 1994 00:04:03 +0000 (00:04 +0000)]
* i386v-nat.c (i386_insert_nonaligned_watchpoint):
add additional argument specifying raw address to permit
proper release of debug registers.
(i386_insert_watchpoint, i386_insert_aligned_watchpoint):
change all callers.

30 years ago * defs.h, top.c: Use `extern' in declarations of GUI hooks, and
Stu Grossman [Wed, 10 Aug 1994 23:16:40 +0000 (23:16 +0000)]
* defs.h, top.c:  Use `extern' in declarations of GUI hooks, and
define them in top.c.  Add comments to the hooks.

30 years ago(gdbsim_ops): Set `to_insert_breakpoint' and `to_remove_breakpoint' fields.
David Edelsohn [Wed, 10 Aug 1994 23:06:39 +0000 (23:06 +0000)]
(gdbsim_ops): Set `to_insert_breakpoint' and `to_remove_breakpoint' fields.

30 years ago * infcmd.c (run_command): Remove comment suggesting using
Jim Kingdon [Wed, 10 Aug 1994 22:49:42 +0000 (22:49 +0000)]
* infcmd.c (run_command): Remove comment suggesting using
target_has_execution instead of inferior_pid.

30 years agoModified Files:
Kung Hsu [Wed, 10 Aug 1994 17:37:56 +0000 (17:37 +0000)]
Modified Files:
ChangeLog remote-mips.c

        * remote-mips.c (mips_open): add code to handle baud rate.

30 years ago * nlmconv.c (powerpc_mangle_relocs): Rename symvalue to sym_value,
Stan Shebs [Wed, 10 Aug 1994 17:24:10 +0000 (17:24 +0000)]
* nlmconv.c (powerpc_mangle_relocs): Rename symvalue to sym_value,
so as not to conflict with the symvalue typedef in bfd.h.

30 years ago * aoutx.h (adjust_z_magic): Make sure data section is padded to
Ian Lance Taylor [Wed, 10 Aug 1994 17:15:05 +0000 (17:15 +0000)]
* aoutx.h (adjust_z_magic): Make sure data section is padded to
page boundary when the VMA is set by the calling program.  From
Eric Youngdale <ericy@cais.cais.com>.

30 years ago * configure.in: Recognize ppc-*-netware.
Stu Grossman [Wed, 10 Aug 1994 02:47:48 +0000 (02:47 +0000)]
* configure.in:  Recognize ppc-*-netware.
* config/te-ppcnw.h:  New file to support Power-PC/Netware
configurations.  Currently, it just enables the use of backslash
escapes in string directives.

30 years ago * .Sanitize: Keep emacs19 around.
Bill Cox [Tue, 9 Aug 1994 22:14:59 +0000 (22:14 +0000)]
* .Sanitize: Keep emacs19 around.

30 years ago * config/tc-ppc.c (ppc_stabx): Call expression directly, rather
Ian Lance Taylor [Tue, 9 Aug 1994 20:06:58 +0000 (20:06 +0000)]
* config/tc-ppc.c (ppc_stabx): Call expression directly, rather
than via pseudo_set.  If expression is a symbol, move stab symbol
to just after symbol from expression.

30 years ago * ecoff.c (ecoff_build_procs): Don't force adr of first fdr to be
Ian Lance Taylor [Tue, 9 Aug 1994 18:11:30 +0000 (18:11 +0000)]
* ecoff.c (ecoff_build_procs): Don't force adr of first fdr to be
zero.  Undoes change of June 4, 1993.

30 years ago * infrun.c (wait_for_inferior): Call target_resume() upon
Stu Grossman [Tue, 9 Aug 1994 17:27:01 +0000 (17:27 +0000)]
* infrun.c (wait_for_inferior):  Call target_resume() upon
detection of new processes.

* procfs.c (create_procinfo):  Return pointer to new procinfo
structure.
* (do_detach):  Spacing & formatting cleanup.
* (procfs_wait):  Move wait_again label to ensure that we really
wait again.  On exit from fork, release new child from gdbs'
clutches.
* (procfs_set_sproc_trap):  Enable trapping of fork and vfork.

30 years ago * config/tc-mips.c (md_parse_option): Accept -mcpu=4400, 4600, and
Ian Lance Taylor [Tue, 9 Aug 1994 15:18:26 +0000 (15:18 +0000)]
* config/tc-mips.c (md_parse_option): Accept -mcpu=4400, 4600, and
orion.

30 years agoAlways keep examples
Stan Shebs [Tue, 9 Aug 1994 01:10:39 +0000 (01:10 +0000)]
Always keep examples

30 years ago Update to ns32k support, from Ian Dall (dall@hfrd.dsto.gov.au).
Stan Shebs [Tue, 9 Aug 1994 01:06:29 +0000 (01:06 +0000)]
Update to ns32k support, from Ian Dall (dall@hfrd.dsto.gov.au).
* aout-ns32k.c: Add declarations that were in aout-ns32k.h, change
declarations to traditional form.
(MY_reloc_howto, MY_put_reloc): Change from macro to function.
(ns32k_relocate_contents): New function.
* aout-ns32k.h: Remove.
* cpu-ns32k.c: Add declarations that were in aout-ns32k.h, change
declarations to traditional form.
(ns32k_final_link_relocate): Call ns32k_relocate_contents.
* netbsd532.c: Reformat to standards, add copyright notice.
(ARCH): Don't define.
(aout-ns32k.h): Don't include.
* pc532-mach.c: Ditto.

30 years agoFix copyright.
Steve Chamberlain [Mon, 8 Aug 1994 23:37:38 +0000 (23:37 +0000)]
Fix copyright.

30 years ago* i386-nlmstub.c (handle_exception): Wait until the thread has
J.T. Conklin [Mon, 8 Aug 1994 22:14:06 +0000 (22:14 +0000)]
* i386-nlmstub.c (handle_exception): Wait until the thread has
  been started before killing the NLM by pointing the PC at
  _exit().

30 years ago * configure.in: Configure the examples directory.
Stan Shebs [Mon, 8 Aug 1994 18:41:58 +0000 (18:41 +0000)]
* configure.in: Configure the examples directory.

30 years ago * gas/config/tc-hppa.c (md_pseudo_table): Delete redundant
Jeff Law [Mon, 8 Aug 1994 18:10:36 +0000 (18:10 +0000)]
    * gas/config/tc-hppa.c (md_pseudo_table): Delete redundant
        upper-case versions of the pseudo-ops.

30 years ago * config/tc-sparc.c (md_apply_fix): If we are going to generate a
Ian Lance Taylor [Mon, 8 Aug 1994 17:46:00 +0000 (17:46 +0000)]
* config/tc-sparc.c (md_apply_fix): If we are going to generate a
non PC relative reloc, don't put the addend in the object file.

30 years ago * config/mips/tm-irix5.h (IN_SIGTRAMP): Redefine for Irix 5,
Peter Schauer [Sun, 7 Aug 1994 13:34:39 +0000 (13:34 +0000)]
* config/mips/tm-irix5.h (IN_SIGTRAMP):  Redefine for Irix 5,
Irix 5 has a standard _sigtramp signal handler.

30 years ago * config/mips/tm-irix5.h (IN_SIGTRAMP): Redefine for Irix 5,
Peter Schauer [Sun, 7 Aug 1994 13:33:45 +0000 (13:33 +0000)]
* config/mips/tm-irix5.h (IN_SIGTRAMP):  Redefine for Irix 5,
Irix 5 has a standard _sigtramp signal handler.
* irix5-nat.c (solib_add):  Get rid of sigtramp_address handling,
it is not needed for a standard _sigtramp signal handler.
Add shared library sections to the section table of the target
before adding the symbols.
* mips-tdep.c (mips_skip_prologue):  Do not skip load immediate
instructions that do not prepare a stack adjustment.
* regex.c (SIGN_EXTEND_CHAR):  Update to emacs-19.25 definition,
which does the right thing on machines where `char' is unsigned.

30 years ago * irix-core.c (irix_core_core_file_p): Ignore sections that
Peter Schauer [Sun, 7 Aug 1994 13:26:46 +0000 (13:26 +0000)]
* irix-core.c (irix_core_core_file_p):  Ignore sections that
are not contained in the core file.

30 years agoSat Aug 6 01:15:02 1994 Steve Chamberlain (sac@jonny.cygnus.com)
Steve Chamberlain [Sat, 6 Aug 1994 08:23:09 +0000 (08:23 +0000)]
Sat Aug  6 01:15:02 1994  Steve Chamberlain  (sac@jonny.cygnus.com)

* as.h: If FOPEN_WB is not defined, do the right thing in a go32
environment.

Mon Jul 11 11:34:52 1994  Steve Chamberlain  (sac@jonny.cygnus.com)

* config/tc-h8300.c (pint): New function for handling varying
size of int pseudo op.
* doc/as.texinfo: Fix typo describing .h8300h pseduop.

30 years agoFri Aug 5 20:55:55 1994 Jason Molenda (crash@phydeaux.cygnus.com)
Jason Molenda [Sat, 6 Aug 1994 03:57:19 +0000 (03:57 +0000)]
Fri Aug  5 20:55:55 1994  Jason Molenda (crash@phydeaux.cygnus.com)

        * configure.in: add i960-nindy-coff support.

30 years ago * remote.c (remote_open): Move setting of inferior_pid prior to
Stu Grossman [Sat, 6 Aug 1994 00:55:08 +0000 (00:55 +0000)]
* remote.c (remote_open):  Move setting of inferior_pid prior to
call to remote_start_remote.  Also use unique value for pid to
avoid confusion with read_register_pid & friends.
* (remote_wait):  Return inferior_pid instead of 0 in all cases.

30 years ago * dwarfread.c (bfd.h): Don't include.
Stan Shebs [Fri, 5 Aug 1994 20:19:00 +0000 (20:19 +0000)]
* dwarfread.c (bfd.h): Don't include.

30 years agoDon't dereference invalid pointers in procfs_mourn_inferior
Thomas Lord [Fri, 5 Aug 1994 17:55:46 +0000 (17:55 +0000)]
Don't dereference invalid pointers in procfs_mourn_inferior

30 years ago* i386-nlmstub.c (handle_exception): Point the PC at _exit() to
J.T. Conklin [Fri, 5 Aug 1994 16:14:03 +0000 (16:14 +0000)]
* i386-nlmstub.c (handle_exception): Point the PC at _exit() to
  kill the program being debugged.  KillMe(), the undocumented
  call intended for this purpose, causes the server to hang.

30 years ago * remote.c (read_frame): Calculate run length encoded checksum correctly.
Steve Chamberlain [Fri, 5 Aug 1994 00:14:05 +0000 (00:14 +0000)]
  * remote.c (read_frame): Calculate run length encoded checksum correctly.
  * config/sh/stub.c: New file.

30 years agoNew file. (stan said I could put it here)
Steve Chamberlain [Thu, 4 Aug 1994 23:59:24 +0000 (23:59 +0000)]
New file.  (stan said I could put it here)

30 years ago * target.c (find_default_run_target): Make sure to_can_run is set
Stu Grossman [Thu, 4 Aug 1994 21:36:26 +0000 (21:36 +0000)]
* target.c (find_default_run_target):  Make sure to_can_run is set
before calling it.

30 years ago * configure: Simplify Jun 2 1994 change.
Jean Marie Diaz [Thu, 4 Aug 1994 20:16:03 +0000 (20:16 +0000)]
* configure: Simplify Jun 2 1994 change.

30 years agoFix up namespace handling in last patch.
Jean Marie Diaz [Thu, 4 Aug 1994 19:59:27 +0000 (19:59 +0000)]
Fix up namespace handling in last patch.

30 years ago * TODO: Remove note about fast watchpoints and remove obsolete
Jean Marie Diaz [Thu, 4 Aug 1994 19:48:25 +0000 (19:48 +0000)]
* TODO: Remove note about fast watchpoints and remove obsolete
Mach stuff.

30 years ago * ldlex.l (yy_create_string_buffer): Handle change to internal
Jean Marie Diaz [Thu, 4 Aug 1994 18:56:04 +0000 (18:56 +0000)]
* ldlex.l (yy_create_string_buffer): Handle change to internal
interface in flex 2.4.7.

30 years ago * config/i386/xm-i386v4.h, config/m68k/xm-m68kv4.h,
Stan Shebs [Thu, 4 Aug 1994 18:17:59 +0000 (18:17 +0000)]
* config/i386/xm-i386v4.h, config/m68k/xm-m68kv4.h,
config/sparc/xm-sun4sol2.h (NORETURN): Don't define.
* config/m88k/tm-cxux.h (ARCH_NUM_REGS): Undefine before defining.

30 years ago * target.c (add_target): Don't call clean_target on target
Stu Grossman [Thu, 4 Aug 1994 17:45:26 +0000 (17:45 +0000)]
* target.c (add_target):  Don't call clean_target on target
vectors anymore.
* (unpush_target):  Test for to_close being set before calling.
* (target_xfer_memory, target_info):  Check for to_has_memory
before playing with memory.

30 years ago * remote.c (remote_open): Set inferior_pid to make kill command
Stu Grossman [Thu, 4 Aug 1994 17:32:09 +0000 (17:32 +0000)]
* remote.c (remote_open):  Set inferior_pid to make kill command
happy.
* inflow.c (kill_command):  Revert change of Aug 2.  Use
inferior_pid to determine whether to print out "The program is not
being run." message.

30 years ago * coff-m68k.c (_bfd_coff_m68k_reloc_type_lookup): New function.
Jean Marie Diaz [Thu, 4 Aug 1994 16:38:05 +0000 (16:38 +0000)]
* coff-m68k.c (_bfd_coff_m68k_reloc_type_lookup): New function.
(coff_bfd_reloc_type_lookup): Define.

30 years ago* os9k.h: Comment out apparently-unused declarations.
Jean Marie Diaz [Thu, 4 Aug 1994 16:22:44 +0000 (16:22 +0000)]
* os9k.h: Comment out apparently-unused declarations.

30 years ago * config/i386/i386m3.mh (NAT_CLIBS): Add -lmachid and -lnetname.
Jean Marie Diaz [Thu, 4 Aug 1994 16:20:45 +0000 (16:20 +0000)]
* config/i386/i386m3.mh (NAT_CLIBS): Add -lmachid and -lnetname.
* m3-nat.c, config/nm-m3.h: #if 0 REQUEST_QUIT stuff.
* m3-nat.c: Pass argument to return_to_top_level.
Declare m3_kill_inferior before use.
(port_chain_insert): In "can't happen" case, abort rather than
setting `mid' to large decimal constant (which gcc warns about).
(get_thread_name): Use cast to convert const char * to char *.
(add_mach_specific_commands): #if 0 "thread break" command.
(m3_trace_him): Call push_target.
(mach_really_wait): New argument pid; remove unused
variable pid.
(intercept_exec_calls): Call target_terminal_init and
target_terminal_inferior once the child execs.
* infrun.c (proceed): Pass argument to PREPARE_TO_PROCEED.

30 years ago * elfcode.h (elf_bfd_final_link): Force the vma of sections which
Jean Marie Diaz [Thu, 4 Aug 1994 16:10:23 +0000 (16:10 +0000)]
* elfcode.h (elf_bfd_final_link): Force the vma of sections which
do not have SEC_ALLOC set to be 0.  This is needed to handle
relocs against debugging sections.

30 years ago * ch-lang.c (chill_language_defn): Ditto.
Stan Shebs [Thu, 4 Aug 1994 00:38:39 +0000 (00:38 +0000)]
* ch-lang.c (chill_language_defn): Ditto.

30 years ago * breakpoint.c (breakpoint_1): Improve pluralization in display
Stan Shebs [Thu, 4 Aug 1994 00:21:16 +0000 (00:21 +0000)]
* breakpoint.c (breakpoint_1): Improve pluralization in display
of breakpoint hit counts.

30 years ago * coff-i960.c (coff_i960_relocate): Rewrote to change relocs
Jean Marie Diaz [Wed, 3 Aug 1994 20:51:59 +0000 (20:51 +0000)]
* coff-i960.c (coff_i960_relocate): Rewrote to change relocs
against locally defined symbols into relocs against section
symbols, for VxWorks 5.1.

30 years ago * language.h (struct language_defn): Remove unused field
Stan Shebs [Wed, 3 Aug 1994 19:15:42 +0000 (19:15 +0000)]
* language.h (struct language_defn): Remove unused field
la_longest_float.
(longest_float): Remove, no longer used.
* language.c (unknown_language_defn, auto_language_defn,
local_language_defn): Remove init of la_longest_float field.
* c-lang.c (c_language_defn, cplus_language_defn,
asm_language_defn): Ditto.
* m2-lang.c (m2_language_defn): Ditto.

30 years agoWed Aug 3 10:34:37 1994 Eric Youngdale (ericy@cais.cais.com)
Jean Marie Diaz [Wed, 3 Aug 1994 14:43:42 +0000 (14:43 +0000)]
Wed Aug  3 10:34:37 1994  Eric Youngdale  (ericy@cais.cais.com)

* i386linux.c (linux_add_one_symbol): Only handle
SHARABLE_CONFLICTS specially if BSF_CONSTRUCTOR is set.  Set hashp
for a GOT or PLT symbol.  Set jump field of fixup for a PLT symbol.
(linux_tally_symbols): Check section of real symbol.  When looking
for a builtin fixup, check builtin and jump flags.  Create no more
than one fixup, and always create one if the real symbol is in the
absolute section.  Only strip absolute symbols.

30 years agoLynxOS changes
David Henkel-Wallace [Wed, 3 Aug 1994 13:45:11 +0000 (13:45 +0000)]
LynxOS changes

30 years ago * defs.h (bfd_read, bfd_seek): Remove declarations.
Stan Shebs [Tue, 2 Aug 1994 20:27:44 +0000 (20:27 +0000)]
* defs.h (bfd_read, bfd_seek): Remove declarations.
* os9kread.c, rs6000-nat.c (libbfd.h): Don't include.

30 years ago * hp300hpux.c (BMAGIC): Define as HPUX_DOT_O_MAGIC, to make test
Jean Marie Diaz [Tue, 2 Aug 1994 19:16:36 +0000 (19:16 +0000)]
* hp300hpux.c (BMAGIC): Define as HPUX_DOT_O_MAGIC, to make test
in aoutx.h work correctly.

30 years ago* config/netware.exp: New file.
J.T. Conklin [Tue, 2 Aug 1994 17:27:18 +0000 (17:27 +0000)]
* config/netware.exp: New file.

30 years ago* inflow.c (kill_command): Fix a bug which prevented target
J.T. Conklin [Tue, 2 Aug 1994 16:53:31 +0000 (16:53 +0000)]
* inflow.c (kill_command): Fix a bug which prevented target
  programs to be killed.

30 years agoTue Aug 2 11:52:06 1994 Eric Youngdale (ericy@cais.cais.com)
Jean Marie Diaz [Tue, 2 Aug 1994 16:01:56 +0000 (16:01 +0000)]
Tue Aug  2 11:52:06 1994  Eric Youngdale  (ericy@cais.cais.com)

* emultempl/linux.em (gld${EMULATION_NAME}_find_address_statement):
New function; add 0x20 to any use of -Ttext.
(gld${EMULATION_NAME}_create_output_section_statements): New
function.
(ld_${EMULATION_NAME}_emulation): Use the new function
gld${EMULATION_NAME}_create_output_section_statements.

30 years ago * coff-i960.c (coff_i960_relocate): New function.
Jean Marie Diaz [Tue, 2 Aug 1994 15:26:26 +0000 (15:26 +0000)]
* coff-i960.c (coff_i960_relocate): New function.
(howto_rellong, howto_iprmed): Use it as special_function.

30 years ago * libbfd-in.h: Move declarations of bfd_read, bfd_write, bfd_seek,
Jean Marie Diaz [Tue, 2 Aug 1994 14:48:21 +0000 (14:48 +0000)]
* libbfd-in.h: Move declarations of bfd_read, bfd_write, bfd_seek,
bfd_tell, bfd_flush, and bfd_stat from here...
* bfd-in.h: ...to here, to make them visible to programs which
know more about the object file format than BFD does.
* libbfd.h, bfd-in2.h: Rebuilt.

30 years ago * defs.h: Change two-line declarations to one-line form.
Stan Shebs [Tue, 2 Aug 1994 02:02:39 +0000 (02:02 +0000)]
* defs.h: Change two-line declarations to one-line form.
(NORETURN): Define as "volatile" only for older GCCs.
(ATTR_NORETURN): Define for newer GCCs.
* procfs.c (proc_init_filed): Add ATTR_NORETURN to declaration.

30 years ago * breakpoint.c (mention), main.c (fputs_unfiltered): Add comments.
Jean Marie Diaz [Tue, 2 Aug 1994 00:44:24 +0000 (00:44 +0000)]
* breakpoint.c (mention), main.c (fputs_unfiltered): Add comments.
* breakpoint.c (delete_breakpoint, enable_breakpoint,
disable_breakpoint): Don't call breakpoints_changed; it is now
called via the *_breakpoint_hook functions.
* annotate.c (_initialize_annotate, breakpoint_changed): New functions.

30 years agoForgot to check this in.
Jean Marie Diaz [Mon, 1 Aug 1994 23:45:51 +0000 (23:45 +0000)]
Forgot to check this in.

30 years ago * elfcode.h (map_program_segments): Check DYNAMIC as well as EXEC_P.
Jean Marie Diaz [Mon, 1 Aug 1994 23:37:22 +0000 (23:37 +0000)]
* elfcode.h (map_program_segments): Check DYNAMIC as well as EXEC_P.
(assign_file_positions_except_relocs): Likewise.

30 years ago * elf64-sparc.c (ELF_MAXPAGESIZE): Define.
Jean Marie Diaz [Mon, 1 Aug 1994 23:29:31 +0000 (23:29 +0000)]
* elf64-sparc.c (ELF_MAXPAGESIZE): Define.

30 years ago * nlmheader.y: Per current NetWare docs, accept a revision number
Jean Marie Diaz [Mon, 1 Aug 1994 23:25:53 +0000 (23:25 +0000)]
* nlmheader.y: Per current NetWare docs, accept a revision number
of 0 and treat a revision number greater than 26 as 0.

30 years ago ELF linker patches from Eric Youngdale <ericy@cais.cais.com>.
Jean Marie Diaz [Mon, 1 Aug 1994 23:11:18 +0000 (23:11 +0000)]
ELF linker patches from Eric Youngdale <ericy@cais.cais.com>.
* elfcode.h (elf_link_create_dynamic_sections): Set type of
_DYNAMIC to STT_OBJECT.
(NAME(bfd_elf,record_link_assignment)): Always create hash table
entry.  Set type to STT_OBJECT.
(elf_link_output_extsym): Don't set type of weak defined symbol to
STB_WEAK if symbol was referenced.
* elf32-i386.c (elf_i386_create_dynamic_sections): Set type of
_GLOBAL_OFFSET_TABLE to STT_OBJECT.
(elf_i386_check_relocs): Ignore local PLT32 relocs.
(elf_i386_relocate_section): Treat local PLT32 relocs as PC32.

30 years ago * gdbint.texinfo: Remove references to BROKEN_LARGE_ALLOCA and
Jean Marie Diaz [Mon, 1 Aug 1994 22:47:25 +0000 (22:47 +0000)]
* gdbint.texinfo: Remove references to BROKEN_LARGE_ALLOCA and
SET_STACK_LIMIT_HUGE; they were removed from GDB 14 May 1994.

30 years ago * gdbint.texinfo: Put regex conditionals in their own table.
Stan Shebs [Mon, 1 Aug 1994 22:13:35 +0000 (22:13 +0000)]
* gdbint.texinfo: Put regex conditionals in their own table.

30 years agoMon Aug 1 17:55:53 1994 Fred Fish (fnf@cygnus.com)
Jean Marie Diaz [Mon, 1 Aug 1994 22:00:19 +0000 (22:00 +0000)]
Mon Aug  1 17:55:53 1994  Fred Fish  (fnf@cygnus.com)

* ptrace-core.c (ptrace_unix_core_file_p):  Convert zalloc usage
to bfd_zalloc.

30 years ago * elfcode.h (elf_adjust_dynamic_symbol): Correct weak symbol
Ian Lance Taylor [Mon, 1 Aug 1994 20:53:48 +0000 (20:53 +0000)]
* elfcode.h (elf_adjust_dynamic_symbol): Correct weak symbol
handling again.

30 years agoModified Files:
Kung Hsu [Mon, 1 Aug 1994 20:41:11 +0000 (20:41 +0000)]
Modified Files:
stabsread.c ChangeLog

        * stabsread.c (read_type): Fix a bug in enum size calculation.

30 years ago * config/tc-hppa.c (create_new_space): Initialize sd_subspaces
Jeff Law [Mon, 1 Aug 1994 20:12:41 +0000 (20:12 +0000)]
    * config/tc-hppa.c (create_new_space): Initialize sd_subspaces
        field in the space chain.

30 years ago * scripttempl/mips.sc: Redo script to set . outside of sections
Ian Lance Taylor [Mon, 1 Aug 1994 19:55:21 +0000 (19:55 +0000)]
* scripttempl/mips.sc: Redo script to set . outside of sections
and not bother to explicitly specify section addresses.

30 years ago * configure.host (sparc-*-solaris2*): Use sysv4, not solaris2.
Ian Lance Taylor [Mon, 1 Aug 1994 16:35:40 +0000 (16:35 +0000)]
* configure.host (sparc-*-solaris2*): Use sysv4, not solaris2.
* hosts/solaris2.h: Remove.
* config/solaris2.mh: Remove.

30 years ago * elfcode.h (elf_slurp_reloc_table): Don't try to read the relocs
Ian Lance Taylor [Mon, 1 Aug 1994 16:34:09 +0000 (16:34 +0000)]
* elfcode.h (elf_slurp_reloc_table): Don't try to read the relocs
if there aren't any.

30 years ago * configure.host (sparc-*-solaris2*): Use sysv4, not solaris2.
Ian Lance Taylor [Mon, 1 Aug 1994 16:16:47 +0000 (16:16 +0000)]
* configure.host (sparc-*-solaris2*): Use sysv4, not solaris2.
* hosts/solaris2.h: Remove.
* config/solaris2.mh: Remove.

30 years ago * hppa-tdep.c (compare_unwind_entries): Add "const" to both
Jeff Law [Mon, 1 Aug 1994 08:46:51 +0000 (08:46 +0000)]
* hppa-tdep.c (compare_unwind_entries): Add "const" to both
argument types to shut up GCC.

30 years ago * config/tc-hppa.c (tc_gen_reloc): Cast return value from
Jeff Law [Mon, 1 Aug 1994 08:46:08 +0000 (08:46 +0000)]
    * config/tc-hppa.c (tc_gen_reloc): Cast return value from
        hppa_gen_reloc_type.

30 years ago * config/tc-hppa.c (tc_gen_reloc): Cast return value from
Jeff Law [Mon, 1 Aug 1994 08:44:02 +0000 (08:44 +0000)]
* config/tc-hppa.c (tc_gen_reloc): Cast return value from
hppa_gen_reloc_type.

30 years ago * hppa-tdep.c (saved_pc_after_call): If the saved PC is in a
Jeff Law [Mon, 1 Aug 1994 07:49:59 +0000 (07:49 +0000)]
* hppa-tdep.c (saved_pc_after_call): If the saved PC is in a
linker stub, then return the address the stub will return to.
(frame_saved_pc): Correctly restart the search for the saved
pc when a linker stub is encountered.

* hppa-tdep.c (inst_saves_gr): Handle 16 and 8 bit instruction
register stores emitted by the version 9 HP compilers.
(inst_saves_fr): Relax test for a specific base register (%r1);
this avoids losing with the version 9 HP compilers.
(skip_prologue): Try to skip argument stores emitted by the HP
compilers.  It's not perfect, but it's better than before.

30 years ago * elf32-hppa.c, elf32-hppa.h: Update comment reflecting which
Jeff Law [Sun, 31 Jul 1994 20:29:19 +0000 (20:29 +0000)]
* elf32-hppa.c, elf32-hppa.h: Update comment reflecting which
HPPA ELF spec the code implements.

30 years ago * findvar.c (write_pc write_pc_pid): Remove casts to long when
Stu Grossman [Sat, 30 Jul 1994 06:23:58 +0000 (06:23 +0000)]
* findvar.c (write_pc write_pc_pid):  Remove casts to long when
calling write_register_pid.
* (write_register_pid):  Add prototype.

30 years ago * remote.c (read_frame): Split readchar/checksum calculation into
Steve Chamberlain [Sat, 30 Jul 1994 05:04:03 +0000 (05:04 +0000)]
* remote.c (read_frame):  Split readchar/checksum calculation into
two parts since evaluation order is undefined.

30 years ago From Kevin A. Buettner (kev@cujo.geg.mot.com).
Fred Fish [Fri, 29 Jul 1994 21:04:27 +0000 (21:04 +0000)]
    From Kevin A. Buettner (kev@cujo.geg.mot.com).
* Makefile.in (coredep.o):  Add inferior.h as dependency.
* inflow.c:  Add F_SETOWN to list of defines to check
around code that uses F_SETOWN.

30 years agoKeep gdbtk.c and gdbtk.tcl.
Stu Grossman [Fri, 29 Jul 1994 18:08:50 +0000 (18:08 +0000)]
Keep gdbtk.c and gdbtk.tcl.

30 years ago* Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): If using newlib,
J.T. Conklin [Fri, 29 Jul 1994 17:08:25 +0000 (17:08 +0000)]
* Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): If using newlib,
  set the -L and -B directory prefixes so we can link with it.

30 years agoObsolete file.
J.T. Conklin [Fri, 29 Jul 1994 00:41:04 +0000 (00:41 +0000)]
Obsolete file.

30 years ago* sparc-dis.c (print_insn_sparc): Handle new operand type 'x'.
Ken Raeburn [Thu, 28 Jul 1994 23:46:19 +0000 (23:46 +0000)]
* sparc-dis.c (print_insn_sparc): Handle new operand type 'x'.

* sparc-opc.c: Added sparclite extended FP operations, and versions of v9
impdep* instructions permitting specification of the OPF field.

30 years agoupdate doc for sparclite 934 opcode table changes
Ken Raeburn [Thu, 28 Jul 1994 23:42:55 +0000 (23:42 +0000)]
update doc for sparclite 934 opcode table changes

30 years ago* tc-sparc.c (sparc_ip): Check more carefully for conflicting architectures.
Ken Raeburn [Thu, 28 Jul 1994 23:36:16 +0000 (23:36 +0000)]
* tc-sparc.c (sparc_ip): Check more carefully for conflicting architectures.
(md_parse_option) [NO_V9]: Complain if v9 was selected.
(md_show_usage): Derive architecture list in usage message from
architecture_pname array.
(cypress): Macro deleted.
(op_hash): Don't initialize.
(s_common): Use bfd_und_section_ptr instead of bfd_und_section.
(BSR): New function.
(sparc_ip): Use it for right-shift operations of 32 bits or more.
(sparc_ip): Implement new operand type 'x'.

30 years ago* config/mt-slite (LDFLAGS): If using the newlib in the tree, set
J.T. Conklin [Thu, 28 Jul 1994 23:00:42 +0000 (23:00 +0000)]
* config/mt-slite (LDFLAGS): If using the newlib in the tree, set
  the -B and -L prefixes so we can find the debugging stub.

30 years ago * Makefile.in (INSTALLED_LIBS, CLIBS, DEPFILES): Add support for
Stu Grossman [Thu, 28 Jul 1994 22:07:02 +0000 (22:07 +0000)]
* Makefile.in (INSTALLED_LIBS, CLIBS, DEPFILES):  Add support for
--enable-xxx configure option by adding ENABLE_{CLIBS DEPFILES}
where appropriate.

* General hackery to support alternate user-interface.
* breakpoint.c (mention, delete_breakpoint, enable_breakpoint,
disable_breakpoint):  Call hooks for alternate user-interface.
* defs.h:  Add declarations for alternate user-interface hooks.
* main.c (main):  Add --nw (and --nowindows) options to disable
the GUI.
* (near call to command_loop):  Call command_loop_hook if set.
* (fputs_unfiltered):  Call fputs_unfiltered_hook if set.
* stack.c:  Call print_frame_info_listing_hook if set.
* top.c (gdb_init):  Initialize targets.c and utils.c prior to
other files to make sure that calls to error and warning will
work.  Call init_ui_hook after everything else.
* utils.c (query):  Call query_hook if set.
* (gdb_flush):  Call flush_hook if set.
* Change _initialize_utils to initialize_utils cuz we don't use
automatic initialization of utils.c anymore.

* Support for TK GUI.
* Makefile.in:  Add rule for gdbtk.o.
* configure.in:  Add support for --enable-gdbtk.
* gdbtk.c:  New file.  Contains support routines for TK interface.
* gdbtk.tcl:  New file.  Implements GUI policy.

* remote.c:  Get rid of #ifdef DONT_USE_REMOTE.  It's no longer
necessary.

30 years ago* Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
J.T. Conklin [Thu, 28 Jul 1994 21:57:31 +0000 (21:57 +0000)]
* Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
  there and we are using the gcc from the tree.
  (LD_FOR_TARGET): Look for ld in ../ld/ld.new.

30 years agoFix typo
J.T. Conklin [Thu, 28 Jul 1994 21:33:56 +0000 (21:33 +0000)]
Fix typo

30 years ago* Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
J.T. Conklin [Thu, 28 Jul 1994 21:23:28 +0000 (21:23 +0000)]
* Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
  there and we are using the gcc from the tree.

* gdb.base/types.c: Removed.

30 years ago* gdb.base/configure.in: Look for makefile fragments in ../config.
J.T. Conklin [Thu, 28 Jul 1994 20:38:45 +0000 (20:38 +0000)]
* gdb.base/configure.in: Look for makefile fragments in ../config.
  Recognize i386-*-netware.
* gdb.c++/configure.in: Likewise.

30 years ago * Makefile.in (annotate.o): Add dependencies.
Fred Fish [Thu, 28 Jul 1994 18:24:07 +0000 (18:24 +0000)]
* Makefile.in (annotate.o):  Add dependencies.

30 years ago* sparclite/aload.c: Added new -q (quiet) option.
J.T. Conklin [Thu, 28 Jul 1994 01:33:45 +0000 (01:33 +0000)]
* sparclite/aload.c: Added new -q (quiet) option.
  return 0 exit status if file was successfully downloaded.

30 years ago* nlm/gdbserve.c: merge in command line argument parsing changes
J.T. Conklin [Wed, 27 Jul 1994 22:05:46 +0000 (22:05 +0000)]
* nlm/gdbserve.c: merge in command line argument parsing changes
  and bug fixes made to i386-nlmstub.c.