OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
23 years ago * ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all
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.

23 years agoAdd support for .line and .file pseudo ops.
nickc [Fri, 17 Nov 2000 18:46:42 +0000 (18:46 +0000)]
Add support for .line and .file pseudo ops.

23 years ago * path.cc (normalize_posix_path): Special care for root directory
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.

23 years ago * config/tc-i386.c (md_pseudo_table): Add .file and .loc.
rth [Fri, 17 Nov 2000 18:15:53 +0000 (18:15 +0000)]
    * config/tc-i386.c (md_pseudo_table): Add .file and .loc.

23 years ago * dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number.
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.

23 years ago * lib/gdb.exp (gdb_test): Override timeout with board info.
nsd [Fri, 17 Nov 2000 17:16:24 +0000 (17:16 +0000)]
* lib/gdb.exp (gdb_test): Override timeout with board info.

23 years ago * gdb.base/display.exp: Don't kill running stub. Add "again" to
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.

23 years ago * configure.in: Add AC_EXEEXT.
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.

23 years ago * gdb.base/break.exp: Test backtrace and finish from called
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.

23 years agoAdd Windows ME to "What is it?"
davidsb [Fri, 17 Nov 2000 15:09:55 +0000 (15:09 +0000)]
Add Windows ME to "What is it?"

23 years agoAdd 'Windows 2000' to "What is it?" entry.
davidsb [Fri, 17 Nov 2000 14:12:23 +0000 (14:12 +0000)]
Add 'Windows 2000' to "What is it?" entry.

23 years agoUpdate entry "I'm having basic problems with find. Why?", add advice
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.

23 years agoUpdate "Why is make behaving badly?", add warning about make -j[n].
davidsb [Fri, 17 Nov 2000 13:32:28 +0000 (13:32 +0000)]
Update "Why is make behaving badly?", add warning about make -j[n].

23 years agoNew entry "Setup screwed up my mounts!"
davidsb [Fri, 17 Nov 2000 12:57:51 +0000 (12:57 +0000)]
New entry "Setup screwed up my mounts!"

23 years agoFix error in "Why doesn't my script work?", add note about 'mount -x'.
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'.

23 years agonew entry "Why doesn't my script work?"
davidsb [Fri, 17 Nov 2000 11:40:06 +0000 (11:40 +0000)]
new entry "Why doesn't my script work?"

23 years ago * syslog.cc (syslog): Add users SID to NT syslog entry.
corinna [Fri, 17 Nov 2000 11:30:13 +0000 (11:30 +0000)]
    * syslog.cc (syslog): Add users SID to NT syslog entry.

23 years ago * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn.
rth [Fri, 17 Nov 2000 09:28:03 +0000 (09:28 +0000)]
    * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn.

23 years ago* as.c (main): Call dwarf2_finish.
rth [Fri, 17 Nov 2000 08:53:38 +0000 (08:53 +0000)]
* as.c (main): Call dwarf2_finish.

23 years ago * as.c (debug_type): Init to DEBUG_UNSPECIFIED.
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.

23 years ago * readelf.c (display_debug_lines): Fix section length check
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.

23 years agoFix typo.
cgf [Fri, 17 Nov 2000 05:15:17 +0000 (05:15 +0000)]
Fix typo.

23 years ago* gdb.texinfo: Document new 'set step-mode' command.
cgf [Fri, 17 Nov 2000 03:59:40 +0000 (03:59 +0000)]
* gdb.texinfo: Document new 'set step-mode' command.

23 years ago* thread.c (thread_apply_all_command): Save the command before executing it
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.

23 years ago* fhandler_console.cc: New member variable `dwBufferSize' for `info'.
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.

23 years ago2000-11-16 Michael Snyder <msnyder@cleaver.cygnus.com>
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.

23 years agoFix minor typos in recent errata workaround patch.
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.

23 years ago Update relocations per August psABI docs.
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.

23 years ago * elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs.
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.

23 years agoUse "[ ]+" instead of "[ ]*".
hjl [Thu, 16 Nov 2000 22:27:45 +0000 (22:27 +0000)]
Use "[  ]+" instead of "[  ]*".

23 years ago2000-11-16 H.J. Lu <hjl@gnu.org>
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.

23 years ago2000-11-16 Kazu Hirata <kazu@hxi.com>
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.

23 years ago* Makefile.in: Make import library creation 'make -j2' friendly.
cgf [Thu, 16 Nov 2000 20:32:27 +0000 (20:32 +0000)]
* Makefile.in: Make import library creation 'make -j2' friendly.

23 years ago2000-11-16 Kazu Hirata <kazu@hxi.com>
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.

23 years ago2000-11-16 H.J. Lu <hjl@gnu.org>
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.

23 years ago2000-11-16 H.J. Lu <hjl@gnu.org>
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.

23 years agoNew entry "Why doesn't mkdir -p work on a network share?"
davidsb [Thu, 16 Nov 2000 15:08:35 +0000 (15:08 +0000)]
New entry "Why doesn't mkdir -p work on a network share?"

23 years ago * tracepoint.c (trace_find_tracepoint_command): Replace call to
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.

23 years ago * uinfo.cc (uinfo_init): Call `cygwin_set_impersonation_token' to
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.

23 years ago* cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
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.

23 years agoUpdate ChangeLog.
cgf [Thu, 16 Nov 2000 05:21:03 +0000 (05:21 +0000)]
Update ChangeLog.

23 years ago* sigproc.cc (wait_sig): Remove unneeded for loop iteration.
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.

23 years ago2000-11-16 Ben Elliston <bje@redhat.com>
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.

23 years agoFix ChangeLog entry: cplus-dem.c instead of cplus_dem.c
dj [Thu, 16 Nov 2000 01:10:16 +0000 (01:10 +0000)]
Fix ChangeLog entry: cplus-dem.c instead of cplus_dem.c

23 years ago2000-11-15 Kazu Hirata <kazu@hxi.com>
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.

23 years ago2000-11-15 Kazu Hirata <kazu@hxi.com>
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.

23 years ago * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
rth [Wed, 15 Nov 2000 23:16:29 +0000 (23:16 +0000)]
    * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.

23 years ago * uinfo.cc (internal_getlogin): Change parameter list to reflect
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.

23 years ago * cygheap.h: Move `token' and `impersonated' from class _pinfo
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.

23 years ago2000-11-15 Kazu Hirata <kazu@hxi.com>
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.

23 years agoProtoization.
kevinb [Wed, 15 Nov 2000 19:58:14 +0000 (19:58 +0000)]
Protoization.

23 years ago * elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
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.

23 years ago* config/tc-v850.c: Support dwarf2.
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.

23 years ago[merge]
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.

23 years agoops - omited from previous delta
nickc [Wed, 15 Nov 2000 18:24:49 +0000 (18:24 +0000)]
ops - omited from previous delta
Add GFPL to bfd.texinfo

23 years agoWorkaround for Itanium A/B step errata
bernds [Wed, 15 Nov 2000 17:33:59 +0000 (17:33 +0000)]
Workaround for Itanium A/B step errata

23 years ago * utils.c (strlen_paddr, paddr, paddr_nz): Use TARGET_ADDR_BIT,
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.

23 years agoCorrect date and style of last entry
hp [Wed, 15 Nov 2000 12:01:15 +0000 (12:01 +0000)]
Correct date and style of last entry

23 years agoCorrect 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

23 years ago * cplus_dem.c: Add gnat demangler. Add java to demangle style
hp [Wed, 15 Nov 2000 11:50:21 +0000 (11:50 +0000)]
* cplus_dem.c: Add gnat demangler.  Add java to demangle style
list.

23 years ago * demangle.h: Add gnat and java demangle styles.
hp [Wed, 15 Nov 2000 11:47:51 +0000 (11:47 +0000)]
* demangle.h: Add gnat and java demangle styles.

23 years ago * spawn.cc (spawn_guts): Revert patch to ignore chroot settings
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.

23 years ago* fork.cc (slow_pid_reuse): Off-by-one.
cgf [Wed, 15 Nov 2000 06:46:19 +0000 (06:46 +0000)]
* fork.cc (slow_pid_reuse): Off-by-one.

23 years agoThroughout use myself->ppid_handle rather than parent_alive.
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.

23 years agoFix formatting.
corinna [Wed, 15 Nov 2000 00:13:44 +0000 (00:13 +0000)]
Fix formatting.

23 years ago * cygheap.cc (cygheap_root::cygheap_root): New function.
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.

23 years agoExtend earlier ia64-hpux patches to work correctly for ia64-linux.
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.

23 years ago2000-11-03 Michael Snyder <msnyder@cleaver.cygnus.com>
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.

23 years ago2000-11-03 Michael Snyder <msnyder@cleaver.cygnus.com>
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.

23 years ago2000-11-14 Kazu Hirata <kazu@hxi.com>
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.

23 years ago * elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used
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.

23 years ago * cris-dis.c (cris_get_disassembler): If abfd is NULL, return
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.

23 years ago2000-11-14 Kazu Hirata <kazu@hxi.com>
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.

23 years ago2000-11-14 Kazu Hirata <kazu@hxi.com>
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.

23 years agoFrom Kenneth Block <kenneth.block@compaq.com>
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.

23 years ago * dir.cc (rewinddir): Always set __d_position = 0, so next
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.

23 years agoFix ``show remotewritesize'' was doing a set.
cagney [Tue, 14 Nov 2000 13:45:37 +0000 (13:45 +0000)]
Fix ``show remotewritesize'' was doing a set.

23 years ago* cygheap.h (init_cygheap): New struct holding values that live in the Cygwin
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.

23 years ago2000-11-13 Fernando Nasser <fnasser@redhat.com>
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.

23 years ago2000-11-08 H.J. Lu <hjl@gnu.org>
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.

23 years ago * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
denisc [Mon, 13 Nov 2000 22:26:38 +0000 (22:26 +0000)]
* scripttempl/elf32avr.sc: Fix bug in .eeprom segment.

23 years ago2000-11-13 H.J. Lu <hjl@gnu.org>
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.

23 years ago2000-11-13 H.J. Lu <hjl@gnu.org>
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.

23 years agofix errors in `df' docs
devans [Mon, 13 Nov 2000 18:00:57 +0000 (18:00 +0000)]
fix errors in `df' docs

23 years ago * config/djgpp/config.sed: Fix tweaking "VPATH=.:foo", and handle
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.

23 years ago2000-11-09 Philip Blundell <pb@futuretv.com>
pb [Mon, 13 Nov 2000 10:15:23 +0000 (10:15 +0000)]
2000-11-09  Philip Blundell  <pb@futuretv.com>

* emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
around orphan sections whose names can be represented in C.

23 years ago2000-11-09 Philip Blundell <pb@futuretv.com>
pb [Mon, 13 Nov 2000 10:01:12 +0000 (10:01 +0000)]
2000-11-09  Philip Blundell  <pb@futuretv.com>

* section.c (STD_SECTION): Set gc_mark flag.

23 years ago* path.cc (get_device_number): Allow /dev/ttySn to designate a com port.
cgf [Mon, 13 Nov 2000 04:06:40 +0000 (04:06 +0000)]
* path.cc (get_device_number): Allow /dev/ttySn to designate a com port.

23 years ago2000-11-12 H.J. Lu (hjl@gnu.org)
hjl [Mon, 13 Nov 2000 01:12:31 +0000 (01:12 +0000)]
2000-11-12  H.J. Lu  (hjl@gnu.org)

* config/obj-elf.c (obj_elf_symver): Check missing version
name.

23 years ago2000-11-12 H.J. Lu (hjl@gnu.org)
hjl [Mon, 13 Nov 2000 01:10:05 +0000 (01:10 +0000)]
2000-11-12  H.J. Lu  (hjl@gnu.org)

* dwarf2dbg.c (dwarf2_generate_asm_lineno): Use addressT
instead of bfd_vma for non-bfd assemblers.

23 years ago* path.h: Add __attribute__ ((regparm(x))) to commonly used functions.
cgf [Sun, 12 Nov 2000 04:57:41 +0000 (04:57 +0000)]
* path.h: Add __attribute__ ((regparm(x))) to commonly used functions.
* pinfo.h: Ditto.
* sigproc.h: Ditto.
* sync.h: Ditto.

23 years ago2000-11-11 Kazu Hirata <kazu@hxi.com>
kazu [Sat, 11 Nov 2000 19:03:23 +0000 (19:03 +0000)]
2000-11-11  Kazu Hirata  <kazu@hxi.com>

* coff-i960.c: Likewise.
* coff-m68k.c: Likewise.
* coff-m88k.c: Likewise.
* coff-mcore.c: Likewise.
* coff-mips.c: Likewise.

23 years ago* parameter to enable sim decode/extract separation
fche [Sat, 11 Nov 2000 17:26:22 +0000 (17:26 +0000)]
* parameter to enable sim decode/extract separation

2000-11-10  Frank Ch. Eigler  <fche@redhat.com>

* utils-sim.scm (-gen-decode-insn-entry): Add fn? parameter to signal
request to emit calls to insn extractors as functions rather than
branches to inline blocks.
(-gen-decode-expr-set-itype, -gen-decode-expr-entry): Ditto.
(-gen-decode-table-entry, -gen-decoder-switch, gen-decoder): Ditto.

* sim-decode.c (-gen-decode-fn): Tell (gen-decode) to emit branches
to extractor clauses.

23 years ago * gas/macros/macros.exp: Mark strings test xfail for sh.
hp [Sat, 11 Nov 2000 16:02:33 +0000 (16:02 +0000)]
* gas/macros/macros.exp: Mark strings test xfail for sh.

23 years ago* elf32-sh.c (sh_elf_relocate_section): Ignore R_SH_NONE relocs.
aoliva [Sat, 11 Nov 2000 06:43:42 +0000 (06:43 +0000)]
* elf32-sh.c (sh_elf_relocate_section): Ignore R_SH_NONE relocs.

23 years ago* sh-opc.h: The operand of `mov.w r0, (<disp>,GBR)' is IMM1, not 0.
aoliva [Sat, 11 Nov 2000 05:42:01 +0000 (05:42 +0000)]
* sh-opc.h: The operand of `mov.w r0, (<disp>,GBR)' is IMM1, not 0.

23 years ago* dcrt0.cc: New global variable `ignore_case_with_glob'.
cgf [Sat, 11 Nov 2000 05:36:34 +0000 (05:36 +0000)]
* dcrt0.cc: New global variable `ignore_case_with_glob'.
(dll_crt0_1): Disable case-insensitive globbing before calling `main'.
* environ.cc (glob_init): New static function to set or clear
`ignore_case_with_glob'.
(known): Changed "glob" entry to call `glob_init'.
* glob.c (match): Use case-insensitive globbing if needed.

23 years ago* stabsread.c (read_range_type): Properly construct complex
jimb [Fri, 10 Nov 2000 23:18:16 +0000 (23:18 +0000)]
* stabsread.c (read_range_type): Properly construct complex
type nodes.

23 years ago2000-11-10 Fernando Nasser <fnasser@totem.toronto.redhat.com>
fnasser [Fri, 10 Nov 2000 23:02:55 +0000 (23:02 +0000)]
2000-11-10  Fernando Nasser  <fnasser@totem.toronto.redhat.com>

* symtab.c (decode_line_1, total_number_of_methods, find_methods,
build_command_line_spec, find_toplevel_char, decode_line_2):
Move to linespec.c.
* linespec.c: New file. Routines that handle linespecs, formerly
in symtab.c.
* symtab.h: Export find_line_symtab and find_function_start_sal,
* Makefile.in: Add linespec.c.

23 years ago2000-11-10 Kazu Hirata <kazu@hxi.com>
kazu [Fri, 10 Nov 2000 20:55:43 +0000 (20:55 +0000)]
2000-11-10  Kazu Hirata  <kazu@hxi.com>

* coff-h8300.c: Fix formatting.
* coff-h8500.c: Likewise.
* coff-i386.c: Likewise.
* coff-i860.c: Likewise.
* coff-i960.c: Likewise.
* coff-ia64.c: Likewise.