OSDN Git Service
bje [Sun, 19 Nov 2000 22:27:14 +0000 (22:27 +0000)]
2000-11-20 Ben Elliston <bje@redhat.com>
* cgen-ops.h (SUBBI): New macro.
(SUBWORDSIQI, SUBWORDSIHI, SUBWORDSIUQI): New functions.
(SUBWORDDIHI, SUBWORDDIUQI, SUBWORDDIDF): Likewise.
rth [Sun, 19 Nov 2000 20:57:42 +0000 (20:57 +0000)]
* readelf.c (display_debug_lines): Adjust last change to
use sizeof (external->li_length).
jimb [Sun, 19 Nov 2000 17:27:38 +0000 (17:27 +0000)]
* symtab.c (no_symtab_msg): Remove definition.
(sources_info): Replace use of no_symtab_msg with the string
itself.
* linespec.c (no_symtab_msg): Remove declaration.
(decode_line_1): Replace uses of no_symtab_msg with the string
itself.
eliz [Sun, 19 Nov 2000 06:31:39 +0000 (06:31 +0000)]
* gdb.texinfo (Continuing and Stepping): Fixed markup and typos,
as suggested by Dmitry Sivachenko <dima@Chg.RU>.
cgf [Sun, 19 Nov 2000 04:58:18 +0000 (04:58 +0000)]
*** empty log message ***
cgf [Sun, 19 Nov 2000 04:55:49 +0000 (04:55 +0000)]
* utils.sgml: Document new options for ps and strace.
cgf [Sun, 19 Nov 2000 04:53:46 +0000 (04:53 +0000)]
* cygwinenv.sgml: Remove CYGWIN=strace option. Update CYGWIN options.
* how-programming.texinfo: Remove stuff about CYGWIN=strace.
* setup2.sgml: Remove CYGWIN=strace example.
aoliva [Sat, 18 Nov 2000 22:01:34 +0000 (22:01 +0000)]
* Makefile.in: Merge with GCC and libgcj.
(ALL_GCC_C, ALL_GCC_CXX): New macros. Use them as dependencies of
configure-target-<library> when their configure scripts need the C
or C++ library to have already been built to work properly.
(do_proto_toplev): Set them to an empty string.
aoliva [Sat, 18 Nov 2000 20:58:43 +0000 (20:58 +0000)]
* Makefile.in (HOST_LIB_PATH, TARGET_LIB_PATH): New macros.
(REALLY_SET_LIB_PATH): Use them.
gkm [Sat, 18 Nov 2000 09:08:59 +0000 (09:08 +0000)]
* Makefile.in: remove `@true' commands for rules that have
$(CGEN_MAINT) as a prerequisite.
gkm [Sat, 18 Nov 2000 09:08:36 +0000 (09:08 +0000)]
* Makefile.in: remove `@true' commands for rules that have
$(CGEN_MAINT) as a prerequisite.
gkm [Sat, 18 Nov 2000 09:08:14 +0000 (09:08 +0000)]
* Makefile.in: remove `@true' commands for rules that have
$(CGEN_MAINT) as a prerequisite.
kevinb [Sat, 18 Nov 2000 05:50:11 +0000 (05:50 +0000)]
Handle optimizer code motions into the prologue.
kevinb [Sat, 18 Nov 2000 02:05:46 +0000 (02:05 +0000)]
Protoization.
wilson [Sat, 18 Nov 2000 00:41:35 +0000 (00:41 +0000)]
Fix DT_INIT ABI violation, it is an offset not a function pointer.
* elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Don't create
pltoff entries for DT_INIT and DT_FINI.
(elfNN_ia64_final_link): Don't set DT_INIT/FINI entries.
(elfNN_ia64_finish_dynamic_sections): Don't fill in DT_INIT/FINI
entries.
rth [Sat, 18 Nov 2000 00:13:28 +0000 (00:13 +0000)]
* ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all
callers. Don't switch segments. Expect CIE == -1 in .debug_frame.
(check_eh_frame): Handle .eh_frame and .debug_frame concurrently.
nickc [Fri, 17 Nov 2000 18:46:42 +0000 (18:46 +0000)]
Add support for .line and .file pseudo ops.
corinna [Fri, 17 Nov 2000 18:39:47 +0000 (18:39 +0000)]
* path.cc (normalize_posix_path): Special care for root directory
in case of files beginning with a dot.
rth [Fri, 17 Nov 2000 18:15:53 +0000 (18:15 +0000)]
* config/tc-i386.c (md_pseudo_table): Add .file and .loc.
rth [Fri, 17 Nov 2000 18:07:31 +0000 (18:07 +0000)]
* dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number.
* config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Adjust for
tri-state definition of alpha_flag_mdebug.
* config/tc-alpha.c (alpha_flag_mdebug): Init to -1.
(s_alpha_file): Store first .file directive.
(s_alpha_stab): New.
(md_pseudo_table): Add stabs and stabn.
nsd [Fri, 17 Nov 2000 17:16:24 +0000 (17:16 +0000)]
* lib/gdb.exp (gdb_test): Override timeout with board info.
nsd [Fri, 17 Nov 2000 17:13:33 +0000 (17:13 +0000)]
* gdb.base/display.exp: Don't kill running stub. Add "again" to
the second kill and detach messages.
nsd [Fri, 17 Nov 2000 16:37:48 +0000 (16:37 +0000)]
* configure.in: Add AC_EXEEXT.
* configure: Regenerate.
* Makefile.in (just-check): Export EXEEXT.
* lib/gdb.exp ($EXEEXT): Import from environment.
* gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
expect "maint dump-me" on Cygwin.
* gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
$EXEEXT.
nsd [Fri, 17 Nov 2000 16:24:48 +0000 (16:24 +0000)]
* gdb.base/break.exp: Test backtrace and finish from called
function on all platforms, not just HP-UX.
davidsb [Fri, 17 Nov 2000 15:09:55 +0000 (15:09 +0000)]
Add Windows ME to "What is it?"
davidsb [Fri, 17 Nov 2000 14:12:23 +0000 (14:12 +0000)]
Add 'Windows 2000' to "What is it?" entry.
davidsb [Fri, 17 Nov 2000 14:04:59 +0000 (14:04 +0000)]
Update entry "I'm having basic problems with find. Why?", add advice
about -follow option if CWD is symlink.
davidsb [Fri, 17 Nov 2000 13:32:28 +0000 (13:32 +0000)]
Update "Why is make behaving badly?", add warning about make -j[n].
davidsb [Fri, 17 Nov 2000 12:57:51 +0000 (12:57 +0000)]
New entry "Setup screwed up my mounts!"
davidsb [Fri, 17 Nov 2000 12:10:04 +0000 (12:10 +0000)]
Fix error in "Why doesn't my script work?", add note about 'mount -x'.
davidsb [Fri, 17 Nov 2000 11:40:06 +0000 (11:40 +0000)]
new entry "Why doesn't my script work?"
corinna [Fri, 17 Nov 2000 11:30:13 +0000 (11:30 +0000)]
* syslog.cc (syslog): Add users SID to NT syslog entry.
rth [Fri, 17 Nov 2000 09:28:03 +0000 (09:28 +0000)]
* config/tc-i386.c (md_assemble): Call dwarf2_emit_insn.
rth [Fri, 17 Nov 2000 08:53:38 +0000 (08:53 +0000)]
* as.c (main): Call dwarf2_finish.
rth [Fri, 17 Nov 2000 08:47:51 +0000 (08:47 +0000)]
* as.c (debug_type): Init to DEBUG_UNSPECIFIED.
* as.h (debug_type): Clarify documentation of the meaning
of this variable.
* dwarf2dbg.c (DWARF2_LINE_MIN_INSN_LENGTH): Default to 1.
(print_stats): Fix parenthesis problem.
(now_subseg_size): New.
(dwarf2_finish): Use it. If DEBUG_DWARF2, emit bits for .debug_info.
(dwarf2_directive_file): Don't set debug_type.
(dwarf2_where): Honor DEBUG_DWARF2 first.
(dwarf2_emit_insn): Renamed from dwarf2_generate_asm_lineno;
do nothing if not emitting dwarf2 debug info, or no work.
* dwarf2dbg.h (dwarf2_emit_insn): Update.
* ecoff.c (add_file): Turn on DEBUG_ECOFF only if DEBUG_UNSPECIFIED.
(ecoff_new_file): Likewise.
* read.c (generate_lineno_debug): Kill ecoff hackery. Update
commentary wrt dwarf2.
* config/tc-alpha.c (alpha_adjust_symtab_relocs): Add
ATTRIBUTE_UNUSED as needed.
(emit_insn): Call dwarf2_emit_insn.
(s_alpha_file): New.
(s_alpha_loc): New.
(s_alpha_coff_wrapper): Don't handle them.
(md_pseudo_table): Update for .file and .loc.
* config/tc-alpha.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
* config/tc-arm.c (output_inst): Update for dwarf2_emit_insn;
don't protect with debug_type.
* config/tc-hppa.c (md_assemble): Likewise.
* config/tc-m68hc11.c (m68hc11_new_insn): Likewise.
* config/tc-mn10300.c (md_assemble): Likewise.
* config/tc-sh.c (md_assemble): Likewise.
* config/tc-v850.c (md_assemble): Likewise.
* config/tc-arm.c (arm_end_of_source): Remove.
* config/tc-hppa.c (pa_end_of_source): Remove.
* config/tc-m68hc11.c (m68hc11_end_of_source): Remove.
* config/tc-mn10300.c (mn10300_finalize): Remove.
* config/tc-sh.c (sh_finalize): Remove.
* config/tc-v850.c (sh_finalize): Remove.
* config/tc-arm.h (md_end): Remove.
* config/tc-hppa.h (md_end): Remove.
(DWARF2_LINE_MIN_INSN_LENGTH): New.
* config/tc-m68hc11.h (md_end): Remove.
* config/tc-mn10300.h (md_end): Remove.
* config/tc-sh.h (md_end): Remove.
* config/tc-v850.h (md_end): Remove.
* config/tc-ia64.c (emit_one_bundle): Don't protect
dwarf2 bits with debug_type.
(md_assemble): Likewise.
(ia64_end_of_source): Don't call dwarf2_finish.
rth [Fri, 17 Nov 2000 08:28:59 +0000 (08:28 +0000)]
* readelf.c (display_debug_lines): Fix section length check
and end_of_sequence computation.
cgf [Fri, 17 Nov 2000 05:15:17 +0000 (05:15 +0000)]
Fix typo.
cgf [Fri, 17 Nov 2000 03:59:40 +0000 (03:59 +0000)]
* gdb.texinfo: Document new 'set step-mode' command.
cgf [Fri, 17 Nov 2000 03:49:41 +0000 (03:49 +0000)]
* thread.c (thread_apply_all_command): Save the command before executing it
because it may be modified. Restore the saved command so that the same command
is executed on next thread.
(thread_apply_command): Same correction.
cgf [Fri, 17 Nov 2000 03:01:14 +0000 (03:01 +0000)]
* fhandler_console.cc: New member variable `dwBufferSize' for `info'.
(fillin_info): Set `dwBufferSize' to the size of the console buffer.
(clear_screen): Use width of console buffer to calculate how many spaces to
clear.
msnyder [Fri, 17 Nov 2000 01:30:53 +0000 (01:30 +0000)]
2000-11-16 Michael Snyder <msnyder@cleaver.cygnus.com>
* regcache.c (read_register_bytes): Failing to set register_valid
is not necessarily an error, if the register is a pseudo-register.
Some pseudo-registers are never marked as valid, so that they will
be read anew every time. Determining if a pseudo-register is valid
(or should be marked invalid) may be difficult, whereas just
recomputing it may be cheap.
wilson [Thu, 16 Nov 2000 23:52:00 +0000 (23:52 +0000)]
Fix minor typos in recent errata workaround patch.
* config/tc-ia64.c (errata_nop_necessary_p): Abort if general regno
>= 128 instead of > 128. Abort if predicate regno is >= 64 instead of
> 16.
rth [Thu, 16 Nov 2000 22:48:14 +0000 (22:48 +0000)]
Update relocations per August psABI docs.
* ia64.h (R_IA64_SEGBASE): Remove.
(R_IA64_LTV*): Renumber to 0x74 to 0x77.
(R_IA64_EPLTMSB, R_IA64_EPLTLSB): Remove.
(R_IA64_TPREL14, R_IA64_TPREL64I): New.
(R_IA64_DTPMOD*): New.
(R_IA64_DTPREL*): New.
rth [Thu, 16 Nov 2000 22:44:07 +0000 (22:44 +0000)]
* elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs.
(allocate_dynrel_entries): Likewise.
(elfNN_ia64_relocate_section): Likewise. Set REL addends correctly.
(set_pltoff_entry): Likewise.
(ia64_howto_table): Remove R_IA64_SEGBASE, and R_IA64_EPLT[ML]SB
(elfNN_ia64_reloc_type_lookup): Likewise.
(elfNN_ia64_install_value): Likewise.
(elfNN_ia64_relocate_section): Likewise.
* reloc.c (BFD_RELOC_IA64_SEGBASE): Remove.
(BFD_RELOC_IA64_EPLTMSB, BFD_RELOC_IA64_EPLTLSB): Remove.
hjl [Thu, 16 Nov 2000 22:27:45 +0000 (22:27 +0000)]
Use "[ ]+" instead of "[ ]*".
hjl [Thu, 16 Nov 2000 22:25:13 +0000 (22:25 +0000)]
2000-11-16 H.J. Lu <hjl@gnu.org>
* gas/symver/symver0.d: Add 64bit support.
* gas/symver/symver1.d: Likewise.
kazu [Thu, 16 Nov 2000 20:48:09 +0000 (20:48 +0000)]
2000-11-16 Kazu Hirata <kazu@hxi.com>
* cpu-a29k.c: Fix formatting.
* cpu-alpha.c: Likewise.
* cpu-arm.c: Likewise.
* cpu-avr.c: Likewise.
* cpu-d10v.c: Likewise.
* cpu-h8500.c: Likewise.
* cpu-hppa.c: Likewise.
* cpu-i370.c: Likewise.
* cpu-i386.c: Likewise.
* cpu-i960.c: Likewise.
* cpu-ia64-opc.c: Likewise.
* cpu-ia64.c: Likewise.
* cpu-m32r.c: Likewise.
* cpu-m68hc11.c: Likewise.
* cpu-m68hc12.c: Likewise.
* cpu-m68k.c: Likewise.
* cpu-m88k.c: Likewise.
* cpu-mips.c: Likewise.
* cpu-ns32k.c: Likewise.
* cpu-pj.c: Likewise.
* cpu-powerpc.c: Likewise.
* cpu-sh.c: Likewise.
* cpu-sparc.c: Likewise.
* cpu-tic54x.c: Likewise.
* cpu-v850.c: Likewise.
* cpu-vax.c: Likewise.
* cpu-w65.c: Likewise.
* cpu-we32k.c: Likewise.
* cpu-z8k.c: Likewise.
cgf [Thu, 16 Nov 2000 20:32:27 +0000 (20:32 +0000)]
* Makefile.in: Make import library creation 'make -j2' friendly.
kazu [Thu, 16 Nov 2000 19:29:48 +0000 (19:29 +0000)]
2000-11-16 Kazu Hirata <kazu@hxi.com>
* dwarf1.c: Fix formatting.
* dwarf2.c: Likewise.
hjl [Thu, 16 Nov 2000 19:29:12 +0000 (19:29 +0000)]
2000-11-16 H.J. Lu <hjl@gnu.org>
* config/obj-elf.c (obj_elf_symver): Don't check the missing
version name.
hjl [Thu, 16 Nov 2000 19:28:10 +0000 (19:28 +0000)]
2000-11-16 H.J. Lu <hjl@gnu.org>
* gas/symver/symver.exp: Don't run symver4 nor symver5.
davidsb [Thu, 16 Nov 2000 15:08:35 +0000 (15:08 +0000)]
New entry "Why doesn't mkdir -p work on a network share?"
taylor [Thu, 16 Nov 2000 14:51:49 +0000 (14:51 +0000)]
* tracepoint.c (trace_find_tracepoint_command): Replace call to
parse_and_eval_address with a call to parse_and_eval_long as
we are evaluating an integer, not an address.
* top.c (show_commands): Ditto.
corinna [Thu, 16 Nov 2000 09:53:24 +0000 (09:53 +0000)]
* uinfo.cc (uinfo_init): Call `cygwin_set_impersonation_token' to
reset `cygheap->user.token' to INVALID_HANDLE_VALUE.
hp [Thu, 16 Nov 2000 09:07:59 +0000 (09:07 +0000)]
* cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
parameter `option'.
Do s/cplus_dem.c/cplus-dem.c/g on ChangeLog.
cgf [Thu, 16 Nov 2000 05:21:03 +0000 (05:21 +0000)]
Update ChangeLog.
cgf [Thu, 16 Nov 2000 05:16:59 +0000 (05:16 +0000)]
* sigproc.cc (wait_sig): Remove unneeded for loop iteration.
* exceptions.cc (interrupt_setup): Don't set signal mask here or races occur
with main thread. Set it in sigdelayed instead.
(sigreturn): Reflect change in stack order of ebp and flags.
(sigdelayed): Set stack frame correctly. Call set_process_mask here with flags
for last trapped signal.
(signal_dispatch): Add newmask.
* sigproc.cc (wait_sig): Eliminate ill-considered attempt to halt looping
signal processors.
bje [Thu, 16 Nov 2000 03:21:48 +0000 (03:21 +0000)]
2000-11-16 Ben Elliston <bje@redhat.com>
* cgen-types.h (VOID): New type.
dj [Thu, 16 Nov 2000 01:10:16 +0000 (01:10 +0000)]
Fix ChangeLog entry: cplus-dem.c instead of cplus_dem.c
kazu [Thu, 16 Nov 2000 00:59:48 +0000 (00:59 +0000)]
2000-11-15 Kazu Hirata <kazu@hxi.com>
* config/tc-tic30.c: Fix formatting.
* config/tc-tic80.c: Likewise.
* config/tc-v850.c: Likewise.
* config/tc-vax.c: Likewise.
* config/tc-w65.c: Likewise.
* config/tc-z8k.c: Likewise.
kazu [Thu, 16 Nov 2000 00:54:11 +0000 (00:54 +0000)]
2000-11-15 Kazu Hirata <kazu@hxi.com>
* coff-rs6000.c: Fix formatting.
* coff-sh.c: Likewise.
* coff-sparc.c: Likewise.
* coff-tic30.c: Likewise.
* coff-tic54x.c: Likewise.
* coff-tic80.c: Likewise.
* coff-w65.c: Likewise.
* coff-we32k.c: Likewise.
* coff-z8k.c: Likewise.
rth [Wed, 15 Nov 2000 23:16:29 +0000 (23:16 +0000)]
* emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
corinna [Wed, 15 Nov 2000 21:14:27 +0000 (21:14 +0000)]
* uinfo.cc (internal_getlogin): Change parameter list to reflect
that `token' is member of cygheap_user now.
(uinfo_init): Use modified internal_getlogin.
* syscalls.cc (seteuid): Ditto.
corinna [Wed, 15 Nov 2000 21:04:02 +0000 (21:04 +0000)]
* cygheap.h: Move `token' and `impersonated' from class _pinfo
to class cygheap_user.
* pinfo.h: Ditto.
* fork.cc (fork_child): Change usage of `token' and `impersonated'
accordingly.
(fork_parent): Ditto.
* security.cc (cygwin_set_impersonation_token): Ditto.
* sigproc.cc (proc_subproc): Ditto.
* spawn.cc (spawn_guts): Ditto.
* syscalls.cc (seteuid): Ditto.
* uinfo.cc (uinfo_init): Ditto.
kazu [Wed, 15 Nov 2000 20:20:52 +0000 (20:20 +0000)]
2000-11-15 Kazu Hirata <kazu@hxi.com>
* coff-arm.c: Fix formatting.
* coff-ppc.c: Likewise.
* coff-rs6000.c: Likewise.
kevinb [Wed, 15 Nov 2000 19:58:14 +0000 (19:58 +0000)]
Protoization.
rth [Wed, 15 Nov 2000 19:22:28 +0000 (19:22 +0000)]
* elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
section with the same ALLOC|LOAD flags as the source section.
dj [Wed, 15 Nov 2000 19:22:22 +0000 (19:22 +0000)]
* config/tc-v850.c: Support dwarf2.
* config/tc-v850.h: Ditto.
* config/tc-v850.c (cons_fix_new_v850): Don't rely on
parse_cons_expression_v850 to initialize hold_cons_reloc.
dj [Wed, 15 Nov 2000 19:10:20 +0000 (19:10 +0000)]
[merge]
* cplus_dem.c: Eliminate use of DEFUN, it is obsolete and cannot
be used in GCC.
nickc [Wed, 15 Nov 2000 18:24:49 +0000 (18:24 +0000)]
ops - omited from previous delta
Add GFPL to bfd.texinfo
bernds [Wed, 15 Nov 2000 17:33:59 +0000 (17:33 +0000)]
Workaround for Itanium A/B step errata
taylor [Wed, 15 Nov 2000 14:33:50 +0000 (14:33 +0000)]
* utils.c (strlen_paddr, paddr, paddr_nz): Use TARGET_ADDR_BIT,
not TARGET_PTR_BIT, since we are dealing with addresses, not
pointers.
hp [Wed, 15 Nov 2000 12:01:15 +0000 (12:01 +0000)]
Correct date and style of last entry
hp [Wed, 15 Nov 2000 12:00:05 +0000 (12:00 +0000)]
Correct date and style of last entry
hp [Wed, 15 Nov 2000 11:50:21 +0000 (11:50 +0000)]
* cplus_dem.c: Add gnat demangler. Add java to demangle style
list.
hp [Wed, 15 Nov 2000 11:47:51 +0000 (11:47 +0000)]
* demangle.h: Add gnat and java demangle styles.
corinna [Wed, 15 Nov 2000 09:01:33 +0000 (09:01 +0000)]
* spawn.cc (spawn_guts): Revert patch to ignore chroot settings
on creating native Win32 environment.
cgf [Wed, 15 Nov 2000 06:46:19 +0000 (06:46 +0000)]
* fork.cc (slow_pid_reuse): Off-by-one.
cgf [Wed, 15 Nov 2000 06:27:48 +0000 (06:27 +0000)]
Throughout use myself->ppid_handle rather than parent_alive.
* child_info.h (child_info): Eliminate parent_alive.
* dcrt0.cc (dll_crt0_1): Call fork_init for debugging pid creation.
* fork.cc (fork_child): Reflect change to fixup_mmaps_after_fork arguments.
(slow_pid_reuse): New function to grab last 'n' pids to prevent pid reuse.
(fork_parent): Move last_fork_proc into slow_pid_reuse. Handle fork_pids
debugging. Eliminate unnecessary call to set_child_mmap_ptr.
(fork_init): New debugging function.
* mmap.cc (fixup_mmaps_after_fork): Renamed from recreate_mmaps_after_fork.
Rely on copied data after a fork.
(set_child_mmap_ptr): Eliminate.
* pinfo.h (_pinfo): Eliminate parent_alive, mmap_ptr and reflect above changes.
* spawn.cc (spawn_guts): Eliminate vestiges of "old way" of sending new hProc
to parent process.
corinna [Wed, 15 Nov 2000 00:13:44 +0000 (00:13 +0000)]
Fix formatting.
corinna [Wed, 15 Nov 2000 00:13:08 +0000 (00:13 +0000)]
* cygheap.cc (cygheap_root::cygheap_root): New function.
(cygheap_root::~cygheap_root): Ditto.
(cygheap_root::operator=): Ditto.
(cygheap_user::~cygheap_user): Ditto.
(cygheap_user::set_name): Ditto.
(cygheap_user::set_logsrv): Ditto.
(cygheap_user::set_domain): Ditto.
(cygheap_user::set_sid): Ditto.
* cygheap.h (cygheap_root): New class.
(cygheap_user): Ditto.
(init_cygheap): Change type of `root' member to cygheap_root.
Add `user' member.
* dir.cc (opendir): Use new `cygheap_root' class.
* dcrt0.cc (dll_crt0_1): Use new `cygheap_user' class.
* fork.cc (fork_parent): Ditto.
* grp.cc (getgroups): Ditto.
* passwd.cc (search_for): Ditto.
* path.cc: Use new `cygheap_root' class throughout.
* pinfo.h (_pinfo): Remove `use_psid'. Move `username', `psid',
`logsrv', `domain', `orig_{uid,gid}' and `real_{uid,gid}' to
cygheap_user class.
* security.cc: Use new `cygheap_user' class throughout.
* shared.cc (sec_user): Ditto.
* sigproc.cc (proc_subproc): Remove copy statements for user
related information moved to `cygheap_user' class.
* spawn.cc (spawn_guts): Invalidate current chroot settings
when creating Windows environment. Use new `cygheap_user' class.
* syscalls.cc: Use new `cygheap_user' class throughout.
* uinfo.cc: Ditto.
* uinfo.cc (internal_getlogin): Change parameters to reflect the
move of user information to cygheap.
wilson [Tue, 14 Nov 2000 23:56:37 +0000 (23:56 +0000)]
Extend earlier ia64-hpux patches to work correctly for ia64-linux.
* config/tc-ia64.c (ia64_target_format): If EF_IA_64_BE not set, then
return little endian bfd formats.
msnyder [Tue, 14 Nov 2000 22:19:02 +0000 (22:19 +0000)]
2000-11-03 Michael Snyder <msnyder@cleaver.cygnus.com>
* config/monitor.exp (gdb_target_cmd): Abstracts some of the
code from gdb_target_monitor, so it can be used independantly
for gdbserver. Also comment out an unnecessary PUTS.
msnyder [Tue, 14 Nov 2000 22:12:25 +0000 (22:12 +0000)]
2000-11-03 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
* gdb.base/corefile.exp: Expect the message "Program is being
debugged already" when we send the "corefile" command, since
the preceeding gdb_load may have connected gdb to a remote target.
* gdb.base/display.exp: Disable hardware watchpoints if new
board info variable "no_hardware_watchpoints" is true.
Replace single-letter commands with more readable ones.
* gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
if new board info variable "no_hardware_watchpoints" is true.
* gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
to see if stdio (printf) testing is possible.
* gdb.base/watchpoint.exp: Disable hardware watchpoints if new
board info variable "no_hardware_watchpoints" is true. Use new
proc "gdb_skip_stdio_tests" to see if printf tests are possible.
kazu [Tue, 14 Nov 2000 20:57:30 +0000 (20:57 +0000)]
2000-11-14 Kazu Hirata <kazu@hxi.com>
* config/aout_gnu.h: Fix formatting.
* config/atof-vax.c: Likewise.
* config/m68k-parse.h: Likewise.
* config/m88k-opcode.h: Likewise.
* config/obj-elf.c: Likewise.
* config/tc-arm.c: Likewise.
* config/tc-cris.c: Likewise.
* config/tc-i386.c: Likewise.
* config/tc-ia64.c: Likewise.
* config/tc-mn10300.c: Likewise.
* config/te-386bsd.h: Likewise.
* config/te-hppa.h: Likewise.
* config/te-nbsd.h: Likewise.
* config/te-ppcnw.h: Likewise.
* config/te-sparcaout.h: Likewise.
* config/te-tmips.h: Likewise.
* config/vax-inst.h: Likewise.
* config/vms-conf.h: Likewise.
jakub [Tue, 14 Nov 2000 20:46:24 +0000 (20:46 +0000)]
* elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used
by STO_ALPHA constants.
* config/tc-alpha.c (s_alpha_prologue): Preserve visibility bits.
hp [Tue, 14 Nov 2000 20:08:55 +0000 (20:08 +0000)]
* cris-dis.c (cris_get_disassembler): If abfd is NULL, return
print_insn_cris_with_register_prefix.
kazu [Tue, 14 Nov 2000 19:23:48 +0000 (19:23 +0000)]
2000-11-14 Kazu Hirata <kazu@hxi.com>
* coff-pmac.c: Fix formatting.
* coff-ppc.c: Likewise.
kazu [Tue, 14 Nov 2000 19:17:51 +0000 (19:17 +0000)]
2000-11-14 Kazu Hirata <kazu@hxi.com>
* scripttempl/h8300.sc: Fix formatting.
* scripttempl/h8300h.sc: Likewise.
* scripttempl/h8300s.sc: Likewise.
dberlin [Tue, 14 Nov 2000 16:46:24 +0000 (16:46 +0000)]
From Kenneth Block <kenneth.block@compaq.com>
* demangle.c: Use libibery list of demanglers instead of out of
date local copy.
corinna [Tue, 14 Nov 2000 16:06:52 +0000 (16:06 +0000)]
* dir.cc (rewinddir): Always set __d_position = 0, so next
call to readdir() will restart the directory scan.
cagney [Tue, 14 Nov 2000 13:45:37 +0000 (13:45 +0000)]
Fix ``show remotewritesize'' was doing a set.
cgf [Tue, 14 Nov 2000 05:53:32 +0000 (05:53 +0000)]
* cygheap.h (init_cygheap): New struct holding values that live in the Cygwin
heap.
* child_info.h (child_info): Change pointer type of cygheap to init_cygheap.
* cygheap.cc (init_cheap): Point cygheap_max after contents of cygheap. Move
some stuff into cygheap.h.
* dir.cc (opendir): Change to use root and rootlen in cygheap rather than in
myself.
(mkdir): Change to use umask in cygheap rather than in myself.
* path.cc: Ditto, throughout.
* syscalls.cc (_open): Ditto. Change to use umask in cygheap rather than in
myself.
(chroot): Change to allocate root dir on the cygwin heap.
(umask): Change to use umask in cygheap rather than in myself.
(cygwin_bind): Ditto.
* sigproc.cc (proc_subproc): Don't copy umask or root stuff as this happens
automatically now.
* pinfo.h (_pinfo): Migrate stuff out of here and into init_cheap.
* dcrt0.cc (dll_crt0_1): Call cygheap_init later in startup for first cygwin
process.
fnasser [Tue, 14 Nov 2000 02:36:22 +0000 (02:36 +0000)]
2000-11-13 Fernando Nasser <fnasser@redhat.com>
From Orjan Friberg <orjanf@axis.com>:
* gdb.base/printcmds.exp: Escape curly braces followed by a number
in array print pattern match.
hjl [Mon, 13 Nov 2000 22:49:54 +0000 (22:49 +0000)]
2000-11-08 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_link_add_object_symbols): Also add indirect
symbols for common symbols with the default version.
denisc [Mon, 13 Nov 2000 22:26:38 +0000 (22:26 +0000)]
* scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
hjl [Mon, 13 Nov 2000 21:36:14 +0000 (21:36 +0000)]
2000-11-13 H.J. Lu <hjl@gnu.org>
* gas/symver/symver.exp: New for symver test.
* gas/symver/symver0.d: Likewise.
* gas/symver/symver0.s: Likewise.
* gas/symver/symver1.d: Likewise.
* gas/symver/symver1.s: Likewise.
* gas/symver/symver2.l: Likewise.
* gas/symver/symver2.s: Likewise.
* gas/symver/symver3.l: Likewise.
* gas/symver/symver3.s: Likewise.
* gas/symver/symver4.l: Likewise.
* gas/symver/symver4.s: Likewise.
* gas/symver/symver5.l: Likewise.
* gas/symver/symver5.s: Likewise.
* gas/symver/symver6.l: Likewise.
* gas/symver/symver6.s: Likewise.
hjl [Mon, 13 Nov 2000 21:23:32 +0000 (21:23 +0000)]
2000-11-13 H.J. Lu <hjl@gnu.org>
* config/obj-elf.c (elf_frob_symbol): Support
".symver name,name2@@@nodename".
(elf_frob_file_before_adjust): Likewise.
* doc/as.texinfo: Updated for ".symver name,name2@@@nodename"
and ".symver name,name2@@@nodename".
Fix a typo.
devans [Mon, 13 Nov 2000 18:00:57 +0000 (18:00 +0000)]
fix errors in `df' docs
eliz [Mon, 13 Nov 2000 14:24:46 +0000 (14:24 +0000)]
* config/djgpp/config.sed: Fix tweaking "VPATH=.:foo", and handle
the gettext's posrcprefix correctly with drive letters.