OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
22 years ago2002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
law [Tue, 5 Mar 2002 17:55:53 +0000 (17:55 +0000)]
2002-02-26  John David Anglin  <dave@hiauly1.hia.nrc.ca>

* bfd/elf-hppa.h (elf_hppa_is_dynamic_loader_symbol): New function.
(elf_hppa_relocate_section): Ignore undefined dynamic loader symbols.
(elf_hppa_final_link_relocate): Correct relocations for indirect
references to local data through the DLT.  Fix .opd creation for
local symbols using R_PARISC_LTOFF_FPTR32 and R_PARISC_FPTR64
relocations.  Use e_lsel selector for R_PARISC_DLTIND21L,
R_PARISC_LTOFF_FPTR21L and R_PARISC_LTOFF_TP21L as per
"Processor-Specific ELF for PA_RISC, Version 1.43" document.
Similarly, use e_rsel for DLT and LTOFF 'R' relocations.
* bfd/elf32-hppa.c (final_link_relocate): Revise relocation selectors
as per "Processor-Specific ELF for PA_RISC, Version 1.43" document.

22 years ago2002-03-05 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Tue, 5 Mar 2002 12:58:21 +0000 (12:58 +0000)]
2002-03-05  Robert Collins  <rbtcollins@hotmail.com>

        * cygserver_transport_pipes.cc (transport_layer_pipes::transport_layer_pipes):
        Always init - until static members work correctly.
        * shm.cc (shmget): Initialize the security descriptor - thanks Corinna!
        * include/sys/ipc.h: Make the ipc control constants partitioned off from the sem
        control constants.

22 years ago * merge.c (_bfd_merge_sections): Don't segfault if there
jakub [Tue, 5 Mar 2002 12:19:07 +0000 (12:19 +0000)]
* merge.c (_bfd_merge_sections): Don't segfault if there
is nothing to merge due to GC.

22 years ago * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with
jakub [Tue, 5 Mar 2002 11:56:21 +0000 (11:56 +0000)]
* scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with
DATA_SEGMENT_ALIGN.

22 years ago * include/sys/termios.h: Define _POSIX_VDISABLE. Define CCEQ macro.
corinna [Tue, 5 Mar 2002 08:15:24 +0000 (08:15 +0000)]
* include/sys/termios.h: Define _POSIX_VDISABLE.  Define CCEQ macro.
* fhandler_termios.cc: Include <sys/termios.h>.
(line_edit): Recognize disabled c_cc[] chars.  Ignore VDISCARD when
not in ICANON mode.

22 years ago2002-02-04 Chris Demetriou <cgd@broadcom.com>
cgd [Tue, 5 Mar 2002 07:34:01 +0000 (07:34 +0000)]
2002-02-04  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen: Remove gencode comment from top of file, fix
        spelling in another comment.

22 years agotypo fix
amodra [Tue, 5 Mar 2002 05:26:02 +0000 (05:26 +0000)]
typo fix

22 years ago * elf32-hppa.c (clobber_millicode_symbols): Remove hack to keep
amodra [Tue, 5 Mar 2002 05:25:12 +0000 (05:25 +0000)]
* elf32-hppa.c (clobber_millicode_symbols): Remove hack to keep
symbols that have been forced local.

22 years ago * elflink.h (elf_bfd_final_link): Call elf_link_output_extsym
amodra [Tue, 5 Mar 2002 05:18:41 +0000 (05:18 +0000)]
* elflink.h (elf_bfd_final_link): Call elf_link_output_extsym
to output forced local syms for non-shared link.
(elf_link_output_extsym): Tweak condition for calling backend
adjust_dynamic_symbol so that previous behaviour is kept.

22 years ago2002-02-04 Chris Demetriou <cgd@broadcom.com>
cgd [Tue, 5 Mar 2002 03:14:56 +0000 (03:14 +0000)]
2002-02-04  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (check_fmt, check_fmt_p): New functions to check
        whether specific floating point formats are usable.
        (ABS.fmt, ADD.fmt, CEIL.L.fmt, CEIL.W, DIV.fmt, FLOOR.L.fmt)
        (FLOOR.W.fmt, MOV.fmt, MUL.fmt, NEG.fmt, RECIP.fmt, ROUND.L.fmt)
        (ROUND.W.fmt, RSQRT.fmt, SQRT.fmt, SUB.fmt, TRUNC.L.fmt, TRUNC.W):
        Use the new functions.
        (do_c_cond_fmt): Remove format checks...
        (C.cond.fmta, C.cond.fmtb): And move them into all callers.

22 years ago * gas/pdp11/pdp11.exp: New file.
amodra [Tue, 5 Mar 2002 03:12:17 +0000 (03:12 +0000)]
* gas/pdp11/pdp11.exp: New file.
* gas/pdp11/opcode.s: Ditto.
* gas/pdp11/opcode.d: Ditto.

22 years ago * tc-pdp11.c: Use VAX float format support for PDP-11 target.
amodra [Tue, 5 Mar 2002 03:10:32 +0000 (03:10 +0000)]
* tc-pdp11.c: Use VAX float format support for PDP-11 target.
(parse_ac5): New function for parsing float regs in float operand.
(parse_expression): Remove attempt to make literals be octal.
(parse_op_no_deferred): Support float literals.
(parse_op): Reject attempts to refer to float regs.
(parse_fop): New function, like parse_op but for float operand.
(md_assemble): Add cases to parse float operands.  Also fix
IMM3, IMM6, IMM8 cases to pick up the operand from the right spot.

22 years ago * pdp11-opc.c: Fix "mark" operand type. Fix operand types
amodra [Tue, 5 Mar 2002 03:09:52 +0000 (03:09 +0000)]
* pdp11-opc.c: Fix "mark" operand type.  Fix operand types
for float opcodes that take float operands.  Add alternate
names (xxxD vs. xxxF) for float opcodes.
* pdp11-dis.c (print_operand): Clean up formatting for mode 67.
(print_foperand): New function to handle float opcode operands.
(print_insn_pdp11): Use print_foperand to disassemble float ops.

22 years ago * pdp11.h: Add format codes for float instruction formats.
amodra [Tue, 5 Mar 2002 03:09:01 +0000 (03:09 +0000)]
* pdp11.h: Add format codes for float instruction formats.

22 years agobump copyright
cgf [Tue, 5 Mar 2002 02:23:39 +0000 (02:23 +0000)]
bump copyright

22 years ago*** empty log message ***
gdbadmin [Tue, 5 Mar 2002 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * compIDE.cxx (command_set): Add implementation of 0x91
fitzsim [Mon, 4 Mar 2002 23:54:55 +0000 (23:54 +0000)]
* compIDE.cxx (command_set): Add implementation of 0x91
command.
(ide_controller): Change controlbus offsets to 0x0 and 0x1.

22 years ago * CATALOG: Add hw-disk-harddrive.
fitzsim [Mon, 4 Mar 2002 23:41:45 +0000 (23:41 +0000)]
* CATALOG: Add hw-disk-harddrive.

22 years ago * Makefile.am (SUBDIRLIST): Add harddrv.
fitzsim [Mon, 4 Mar 2002 23:33:00 +0000 (23:33 +0000)]
* Makefile.am (SUBDIRLIST): Add harddrv.
(SUBLIBLIST): Add harddrv/libharddrv.la.
(INCLUDES): Add harddrv.
* bochs.h: Include harddrv.h header.
* components.cxx: Add hw-disk-harddrive type.
* configure.in (AC_OUTPUT): Add harddrv/Makefile.
* cmos/sid-cmos-wrapper.cc: Remove cmos_irq_number,
use_host_time and start_time attributes.
Add base_memory_in_k, extended_memory_in_k attributes.
Remove get_time function.
* cpu/cpu.cc: Change mem->read_physical calls to access_linear
calls.
* cpu/cpu.h: Change _16_bit_base_reg references to
a_16_bit_base_reg, to prevent compiler warnings on some hosts.
* cpu/init.cc: Likewise.
* cpu/proc_ctrl.cc: Add RDTSC implementation.
* floppy/sid-floppy-wrapper.cc: Split up io memory range so that
3f6 is left for hard drive.
Add command-delay attribute.
* keyboard/keyboard.cc: Handle reads from, and writes to port
0x92.
* keyboard/sid-keyboard-wrapper.cc: Add serial-delay attribute.
* pic/sid-pic-wrapper.cc: Change implementation; provide one pin
per irq, rather than one irq-number pin.
* vga/sid-vga-wrapper.cc: Fix cmos writing bug.
* vga/vga.cc: Add BX_SUPPORT_SID ifdefs, so that diffs between
this file and the bochs version are clearer.

22 years ago* FOO-name merge
fche [Mon, 4 Mar 2002 23:32:28 +0000 (23:32 +0000)]
* FOO-name merge
* compiler compatibility tweaks

22 years agodaily update
amodra [Mon, 4 Mar 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years agomerge from gcc
dj [Mon, 4 Mar 2002 22:01:26 +0000 (22:01 +0000)]
merge from gcc

22 years ago2002-03-04 H.J. Lu <hjl@gnu.org>
hjl [Mon, 4 Mar 2002 20:41:54 +0000 (20:41 +0000)]
2002-03-04  H.J. Lu <hjl@gnu.org>

* elf.c (bfd_section_from_shdr): Handle special sections,
.init_array, .fini_array and .preinit_array.
(elf_fake_sections): Likewise.

* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Create the
DT entry only if the section is in output for .init_array,
.fini_array and .preinit_array. Complain about .preinit_array
section in DSO.
(elf_bfd_final_link): Warn zero size for .init_array,
.fini_array and .preinit_array sections.

* elfxx-ia64.c (elfNN_ia64_section_from_shdr): Remove
SHT_INIT_ARRAY, SHT_FINI_ARRAY and SHT_PREINIT_ARRAY.
(elfNN_ia64_fake_sections): Remove .init_array, .fini_array and
.preinit_array.

22 years ago2002-03-04 H.J. Lu <hjl@gnu.org>
hjl [Mon, 4 Mar 2002 20:40:44 +0000 (20:40 +0000)]
2002-03-04  H.J. Lu <hjl@gnu.org>

* config/obj-elf.c (special_section): Add .init_array,
.fini_array and .preinit_array.

* config/tc-ia64.h (ELF_TC_SPECIAL_SECTIONS): Remove
.init_array and .fini_array.

22 years ago2002-03-04 H.J. Lu <hjl@gnu.org>
hjl [Mon, 4 Mar 2002 20:40:12 +0000 (20:40 +0000)]
2002-03-04  H.J. Lu <hjl@gnu.org>

* scripttempl/elf.sc: Put .preinit_array, .init_array and
.fini_array in the data segment.

22 years ago* improve socket output latency
fche [Mon, 4 Mar 2002 20:38:56 +0000 (20:38 +0000)]
* improve socket output latency

2002-03-04  Frank Ch. Eigler  <fche@redhat.com>

* socketio.cxx (tx_handler): Expedite poll.

22 years ago 2002-03-04 Fred Fish <fnf@redhat.com>
fnf [Mon, 4 Mar 2002 20:38:09 +0000 (20:38 +0000)]
2002-03-04  Fred Fish  <fnf@redhat.com>
* gdbint.texinfo: Fix a bunch of typos (alsways, mirrorred,
expresson, suports, dependant, trhe, perhaphs, situtations,
explictily, taged, oportunity, unfortunatly).

22 years ago* formatting tweak
fche [Mon, 4 Mar 2002 18:23:49 +0000 (18:23 +0000)]
* formatting tweak

2002-03-04  Frank Ch. Eigler  <fche@redhat.com>

        * sid-control-tksm.tk (open_component_window): Make value entry
        widget auto-sizing.

22 years ago* host scheduler improvements, primarily for cygwin
fche [Mon, 4 Mar 2002 18:15:06 +0000 (18:15 +0000)]
* host scheduler improvements, primarily for cygwin

[component]
2002-03-04  Frank Ch. Eigler  <fche@redhat.com>

        * configure.in: Look for more time-related headers & libraries.
        * configure, config.in: Regenerated.

[component/sched]
2002-03-04  Frank Ch. Eigler  <fche@redhat.com>

        * compSched.cxx (host_time_keeper_base ctor): On Cygwin, call
        timeBeginPeriod to shrink scheduling granularity.  Keep more
        statistics.  Initialize more variables.
        (yield): Rewrite.
        (operator <<): Print extra stats.

22 years ago * syscalls.cc (truncate64): Use ftruncate64 directly to not lose
corinna [Mon, 4 Mar 2002 16:47:40 +0000 (16:47 +0000)]
* syscalls.cc (truncate64): Use ftruncate64 directly to not lose
upper 32 bits.

22 years ago2002-03-04 Daniel Jacobowitz <drow@mvista.com>
drow [Mon, 4 Mar 2002 16:28:30 +0000 (16:28 +0000)]
2002-03-04  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long.
        (num_regs, regmap): Move inside HAVE_LINUX_USRREGS.
        (register_addr, REGISTER_RAW_SIZE): Likewise.
        (usr_store_inferior_registers): Use PTRACE_XFER_TYPE.
        * gdbserver/linux-x86-64-low.c: Remove extra #endif.

22 years ago* MAINTAINERS (x86-64): tagret is not broken anymore.
mludvig [Mon, 4 Mar 2002 12:25:39 +0000 (12:25 +0000)]
* MAINTAINERS (x86-64): tagret is not broken anymore.

22 years ago* MAINTAINERS (x86-64): Add myself
mludvig [Mon, 4 Mar 2002 11:08:27 +0000 (11:08 +0000)]
* MAINTAINERS (x86-64): Add myself
* x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs,
changed value_ptr -> struct value *

22 years ago2002-03-04 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Mon, 4 Mar 2002 08:45:39 +0000 (08:45 +0000)]
2002-03-04  Robert Collins  <rbtcollins@hotmail.com>

        * cygserver_shm.cc (delete_shmnode): New function.
        (client_request_shm::serve): Use it.

22 years ago2002-03-04 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Mon, 4 Mar 2002 08:12:52 +0000 (08:12 +0000)]
2002-03-04  Robert Collins  <rbtcollins@hotmail.com>

        * cygserver_shm.cc (client_request_shm::serve): Implement SHM_DETACH.
        * shm.cc (shmdt): Implement.

22 years ago2002-03-04 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Mon, 4 Mar 2002 07:22:07 +0000 (07:22 +0000)]
2002-03-04  Robert Collins  <rbtcollins@hotmail.com>

        * cygserver_shm.cc: Run indent.
        (deleted_head): New global for storing shm id's pending deletion.
        (client_request_shm::serve): Return ENOSYS for invalid request types.
        Implement SHM_DEL - delete a shm id.
        * cygserver_shm.h (SHM_DEL): New type value.
        * shm.cc (delete_inprocess_shmds): New function, does what it's name implies.
        (shmctl): Implement shm_rmid control type.

22 years ago2002-03-01 Benjamin Kosnik <bkoz@redhat.com>
bje [Mon, 4 Mar 2002 04:22:32 +0000 (04:22 +0000)]
2002-03-01  Benjamin Kosnik  <bkoz@redhat.com>
* sidbusutil.h: Make typename usage explicit.

22 years ago2002-02-03 Chris Demetriou <cgd@broadcom.com>
cgd [Mon, 4 Mar 2002 04:14:51 +0000 (04:14 +0000)]
2002-02-03  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen: Fix formatting of check_fpu calls.

22 years ago2002-03-03 Chris Demetriou <cgd@broadcom.com>
cgd [Mon, 4 Mar 2002 04:06:47 +0000 (04:06 +0000)]
2002-03-03  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (FLOOR.L.fmt): Store correct destination register.

22 years ago2002-03-03 Chris Demetriou <cgd@broadcom.com>
cgd [Mon, 4 Mar 2002 03:19:49 +0000 (03:19 +0000)]
2002-03-03  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen: Remove whitespace at end of lines.

22 years ago * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
amodra [Mon, 4 Mar 2002 01:37:51 +0000 (01:37 +0000)]
* scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.

22 years ago * configure.in (WIN32LIBADD): Don't eval PICFLAG assignment.
amodra [Mon, 4 Mar 2002 01:16:53 +0000 (01:16 +0000)]
* configure.in (WIN32LIBADD): Don't eval PICFLAG assignment.
* configure: Regenerate.

22 years agomerge from gcc
dj [Mon, 4 Mar 2002 00:55:25 +0000 (00:55 +0000)]
merge from gcc

22 years ago*** empty log message ***
gdbadmin [Mon, 4 Mar 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Sun, 3 Mar 2002 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago2002-03-04 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Sun, 3 Mar 2002 21:46:38 +0000 (21:46 +0000)]
2002-03-04  Robert Collins  <rbtcollins@hotmail.com>

        * Makefile.in (install): Remove install-bin to allow make install to work.

22 years ago2002-03-03 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Sun, 3 Mar 2002 12:52:59 +0000 (12:52 +0000)]
2002-03-03  Robert Collins  <rbtcollins@hotmail.com>

        * shm.cc (shmat): Prevent a compile error.
        (shmdt): Set errno as this function is incomplete.

22 years ago2002-03-03 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Sun, 3 Mar 2002 12:50:06 +0000 (12:50 +0000)]
2002-03-03  Robert Collins  <rbtcollins@hotmail.com>

        * shm.cc (shmat): Prevent a compile error.
        (shmdt): Set errno as this function is incomplete.

22 years agofix reg key typo "Red Hat, Inc." -> "Cygnus Solutions"
davidsb [Sun, 3 Mar 2002 11:44:46 +0000 (11:44 +0000)]
fix reg key typo "Red Hat, Inc." -> "Cygnus Solutions"

22 years agoadd details about missing cygintl.dll, cygreadline5.dll, ...
davidsb [Sun, 3 Mar 2002 11:37:35 +0000 (11:37 +0000)]
add details about missing cygintl.dll, cygreadline5.dll, ...

22 years agoupdate bash+nt-emacs entry for Emacs 21.1 and JDE->JDEE.
davidsb [Sun, 3 Mar 2002 11:13:21 +0000 (11:13 +0000)]
update bash+nt-emacs entry for Emacs 21.1 and JDE->JDEE.

22 years ago"setup.exe" -> "Cygwin Setup" throughout. Other minor changes throughout.
davidsb [Sun, 3 Mar 2002 10:57:57 +0000 (10:57 +0000)]
"setup.exe" -> "Cygwin Setup" throughout.  Other minor changes throughout.

22 years ago2002-03-02 Chris Demetriou <cgd@broadcom.com>
cgd [Sun, 3 Mar 2002 07:36:42 +0000 (07:36 +0000)]
2002-03-02  Chris Demetriou  <cgd@broadcom.com>

* mips.igen (loadstore_ea): New function to do effective
address calculations.
(do_load, do_load_left, do_load_right, LL, LDD, PREF, do_store,
do_store_left, do_store_right, SC, SCD, PREFX, SWC1, SWXC1,
CACHE): Use loadstore_ea to do effective address computations.

22 years ago2002-03-02 Chris Demetriou <cgd@broadcom.com>
cgd [Sun, 3 Mar 2002 06:49:43 +0000 (06:49 +0000)]
2002-03-02  Chris Demetriou  <cgd@broadcom.com>

* interp.c (load_word): Use EXTEND32 rather than SIGNEXTEND.
* mips.igen (LL, CxC1, MxC1): Likewise.

22 years ago2002-03-02 Chris Demetriou <cgd@broadcom.com>
cgd [Sun, 3 Mar 2002 02:11:23 +0000 (02:11 +0000)]
2002-03-02  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (LL, LLD, PREF, SC, SCD, ABS.fmt, ADD.fmt, CEIL.L.fmt,
        CEIL.W, CVT.D.fmt, CVT.L.fmt, CVT.S.fmt, CVT.W.fmt, DIV.fmt,
        FLOOR.L.fmt, FLOOR.W.fmt, MADD.D, MADD.S, MOV.fmt, MOVtf.fmt,
        MSUB.D, MSUB.S, MUL.fmt, NEG.fmt, NMADD.D, NMADD.S, NMSUB.D,
        NMSUB.S, PREFX, RECIP.fmt, ROUND.L.fmt, ROUND.W.fmt, RSQRT.fmt,
        SQRT.fmt, SUB.fmt, SWC1, SWXC1, TRUNC.L.fmt, TRUNC.W, CACHE):
        Don't split opcode fields by hand, use the opcode field values
        provided by igen.

22 years ago*** empty log message ***
gdbadmin [Sun, 3 Mar 2002 00:01:03 +0000 (00:01 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Sat, 2 Mar 2002 23:00:04 +0000 (23:00 +0000)]
daily update

22 years agoReplace immediate howto type initializers with symbolic.
trix [Sat, 2 Mar 2002 13:23:56 +0000 (13:23 +0000)]
Replace immediate howto type initializers with symbolic.

22 years ago * ChangeLog: Fix typo in last entry.
dannysmith [Sat, 2 Mar 2002 10:49:54 +0000 (10:49 +0000)]
* ChangeLog: Fix typo in last entry.
* include/winsock2.h (IPPROTO_*): Add IPv6 defines.
* include/ws2tcpip.h: (IP_*): Add new defines.
(INET_ADDRSTRLEN, INET6_ADDRSTRLEN): Add defines.
(NI_*): Add getnameinfo constants and bitmasks.
(AI_*): Add getaddrinfo flags.
(EAI_*): Add getaddrinfo error codes.
(ip_mreq_source): Add new structure.
(ip_msfilter): Add new structure.
(IP_MSFILTER_SIZE): Add new macro.
(in_pktinfo): Add new structure.
Add preliminary IPv6 support.
(in6_addr): Add new structure and some defines.
(sockaddr_in6): Add new structure.
(in6addr_any, in6addr_loopback): Declare extern structures.
(IN6ADDR_ANY_INIT,IN6ADDR_LOOPBACK_INIT): Add
initialization macros for above.
(IN6_ARE_ADDR_EQUAL): Define macro.
(IN6_IS_ADDR_*): Define address testing macros.
(socklen_t) Add new typedef.
(ipv6_mreq): Add new structure.
(in6_pktinfo): Same.
(addrinfo): Same.
(freeaddrinfo):Add new prototype.
(getaddrinfo): Same.
(gai_strerror[AW]): Same.
(getnameinfo): Same.
(sockaddr_in6_old): Add structure.
(sockaddr_gen): Add union definition.
(INTERFACE_INFO): Use sockaddr_gen as members.
(INTERFACE_INFO_OLD): Add comment on workaround for problems
with INTERFACE_INFO on NT4 prior to sp4.
.

22 years ago * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
rth [Sat, 2 Mar 2002 01:25:25 +0000 (01:25 +0000)]
    * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
        .init_array, and .fini_array.

22 years ago * elflink.h (size_dynamic_sections): If section named
rth [Sat, 2 Mar 2002 01:24:50 +0000 (01:24 +0000)]
    * elflink.h (size_dynamic_sections): If section named
        ".preinit_array" exists, create DT_PREINIT_ARRAY and
        DT_PREINIT_ARRAYSZ entries in dynamic table.  Analogously for
        ".init_array" and ".fini_array".
        (elf_bfd_final_link): Handle DT_PREINIT_ARRAYSZ, DT_INIT_ARRAYSZ,
        DT_FINI_ARRAYSZ, DT_PREINIT_ARRAY, DT_INIT_ARRAY, and
        DT_FINI_ARRAY.

22 years ago*** empty log message ***
gdbadmin [Sat, 2 Mar 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-03-01 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 1 Mar 2002 23:51:18 +0000 (23:51 +0000)]
2002-03-01  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (do_divu): Fix spacing.

        * mips.igen (do_dsllv): Move to be right before DSLLV,
        to match the rest of the do_<shift> functions.

22 years ago2002-03-01 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 1 Mar 2002 23:40:51 +0000 (23:40 +0000)]
2002-03-01  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (do_dsll, do_dsllv, DSLL32, do_dsra, DSRA32, do_dsrl,
        DSRL32, do_dsrlv): Trace inputs and results.

22 years agoAdd FreeBSD/sparc64 to the list of "New native configurations"
obrien [Fri, 1 Mar 2002 23:27:42 +0000 (23:27 +0000)]
Add FreeBSD/sparc64 to the list of "New native configurations"

22 years agodaily update
amodra [Fri, 1 Mar 2002 23:00:06 +0000 (23:00 +0000)]
daily update

22 years ago* vaporous abdication
fche [Fri, 1 Mar 2002 21:51:21 +0000 (21:51 +0000)]
* vaporous abdication

22 years ago* vaporous abdication
fche [Fri, 1 Mar 2002 21:50:28 +0000 (21:50 +0000)]
* vaporous abdication

22 years ago* overview.sgml: Fix 'more more' typo.
cgf [Fri, 1 Mar 2002 21:40:45 +0000 (21:40 +0000)]
* overview.sgml: Fix 'more more' typo.

22 years ago2002-03-01 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 1 Mar 2002 19:55:42 +0000 (19:55 +0000)]
2002-03-01  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (CACHE): Provide instruction-printing string.

        * interp.c (signal_exception): Comment tokens after #endif.

22 years ago * generic/gdbtk-register.c (register_changed_p): Don't use REGISTER_BYTES.
kseitz [Fri, 1 Mar 2002 19:03:16 +0000 (19:03 +0000)]
* generic/gdbtk-register.c (register_changed_p): Don't use REGISTER_BYTES.
There is no guarantee anymore that REGISTER_BYTES contains
NUM_REGS+NUM_PSEUDO_REGS registers.
(setup_architecture_data): Likewise.

22 years ago * config/obj-elf.c (elf_copy_symbol_attributes): Don't copy
jakub [Fri, 1 Mar 2002 18:36:07 +0000 (18:36 +0000)]
* config/obj-elf.c (elf_copy_symbol_attributes): Don't copy
visibility.
(obj_frob_symbol): Copy visibility.

22 years ago2002-03-01 David O'Brien <obrien@FreeBSD.org>
obrien [Fri, 1 Mar 2002 18:35:23 +0000 (18:35 +0000)]
2002-03-01  David O'Brien  <obrien@FreeBSD.org>
* configure.host (sparc64-*-freebsd): Add.
* configure.tgt: Likewise.
* config/sparc/fbsd.mh: New file.
* config/sparc/fbsd.mt: Likewise.
* config/sparc/nm-fbsd.h: Likewise.
* config/sparc/tm-fbsd.h: Likewise.

22 years ago2002-03-01 Daniel Jacobowitz <drow@mvista.com>
drow [Fri, 1 Mar 2002 16:11:21 +0000 (16:11 +0000)]
2002-03-01  Daniel Jacobowitz  <drow@mvista.com>

        * config/djgpp/fnchange.lst: Add regformats/reg-i386-linux.dat and
        regformats/reg-s390x.dat.

22 years agoTake into account --kill-at (-k) while generating .exp file.
nickc [Fri, 1 Mar 2002 15:34:32 +0000 (15:34 +0000)]
Take into account --kill-at (-k) while generating .exp file.

22 years agoAdd x86-64-opcode (checks valid opcodes) and x86-64-inval (checks invalid opcodes...
nickc [Fri, 1 Mar 2002 08:10:03 +0000 (08:10 +0000)]
Add x86-64-opcode (checks valid opcodes) and x86-64-inval (checks invalid opcodes) checks

22 years ago2002-02-28 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 1 Mar 2002 07:53:45 +0000 (07:53 +0000)]
2002-02-28  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (LWXC1): Mark with filter "64,f", rather than just "32".
        (MOVtf, MxC1, MxC1, DMxC1, DMxC1, CxC1, CxC1, SQRT.fmt, MOV.fmt,
        NEG.fmt, ROUND.L.fmt, TRUNC.L.fmt, CEIL.L.fmt, FLOOR.L.fmt,
        ROUND.W.fmt, TRUNC.W, CEIL.W, FLOOR.W.fmt, RECIP.fmt, RSQRT.fmt,
        CVT.S.fmt, CVT.D.fmt, CVT.W.fmt, CVT.L.fmt, MOVtf.fmt, C.cond.fmta,
        C.cond.fmtb, SUB.fmt, MUL.fmt, DIV.fmt, MOVZ.fmt, MOVN.fmt, LDXC1,
        SWXC1, SDXC1, MSUB.D, MSUB.S, NMADD.S, NMADD.D, NMSUB.S, NMSUB.D,
        LWC1, SWC1): Add "f" to filter, since these are FP instructions.

22 years ago2002-02-28 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 1 Mar 2002 07:34:57 +0000 (07:34 +0000)]
2002-02-28  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (DSRA32, DSRAV): Fix order of arguments in
        instruction-printing string.
        (LWU): Use '64' as the filter flag.

22 years ago2002-02-28 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 1 Mar 2002 06:40:28 +0000 (06:40 +0000)]
2002-02-28  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (SDXC1): Fix instruction-printing string.

22 years ago2002-02-28 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 1 Mar 2002 06:34:21 +0000 (06:34 +0000)]
2002-02-28  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (LDC1, SDC1): Remove mipsI model, and mark with
        filter flags "32,f".

22 years agoAdd FIXME explaining include problem.
cagney [Fri, 1 Mar 2002 06:19:22 +0000 (06:19 +0000)]
Add FIXME explaining include problem.

22 years agoMove JTC to to past maintainers.
cagney [Fri, 1 Mar 2002 03:30:57 +0000 (03:30 +0000)]
Move JTC to to past maintainers.

22 years ago2002-02-28 Michael Chastain <mec@shout.net>
chastain [Fri, 1 Mar 2002 01:55:33 +0000 (01:55 +0000)]
2002-02-28  Michael Chastain  <mec@shout.net>

* MAINTAINERS: Fix typo: gdb.satbs -> gdb.stabs .

22 years ago* configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for
aoliva [Fri, 1 Mar 2002 00:52:59 +0000 (00:52 +0000)]
* configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for
libjava.
(CXX_FOR_TARGET): Add -shared-libgcc for libstdc++-v3 and libjava.

22 years ago*** empty log message ***
gdbadmin [Fri, 1 Mar 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* times.cc: Remove if 0'd code. Clean up slightly.
cgf [Thu, 28 Feb 2002 19:36:11 +0000 (19:36 +0000)]
* times.cc: Remove if 0'd code.  Clean up slightly.

22 years ago* times.cc: Remove if 0'd code. Clean up slightly.
cgf [Thu, 28 Feb 2002 19:06:42 +0000 (19:06 +0000)]
* times.cc: Remove if 0'd code.  Clean up slightly.

22 years agoOops, fix date in changelog
drow [Thu, 28 Feb 2002 16:58:58 +0000 (16:58 +0000)]
Oops, fix date in changelog

22 years ago2002-02-27 Daniel Jacobowitz <drow@mvista.com>
drow [Thu, 28 Feb 2002 16:58:11 +0000 (16:58 +0000)]
2002-02-27  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/linux-s390-low.c: New file.
        * regformats/reg-s390.dat: New file.
        * regformats/reg-s390x.dat: New file.
        * gdbserver/configure.srv: Add S/390.
        * gdbserver/Makefile.in: Add S/390.
        * configure.tgt: Enable gdbserver for S/390.

22 years ago * go32-nat.c (_initialize_go32_nat): Don't use periods in the
eliz [Thu, 28 Feb 2002 16:49:10 +0000 (16:49 +0000)]
* go32-nat.c (_initialize_go32_nat): Don't use periods in the
first line of the doc string for "info dos", except at the end of
the sentence, since the short help stops at the first period.

22 years ago2002-02-28 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Thu, 28 Feb 2002 14:30:26 +0000 (14:30 +0000)]
2002-02-28  Robert Collins  <rbtcollins@hotmail.com>

* Merged cygwin_daemon into head minus the new shm and ipc exports.

2002-02-28  Robert Collins  <rbtcollins@hotmail.com>

* fhandler_tty.cc (fhandler_tty_slave::open): More debugging.
(fhandler_tty_slave::read): Fix printf type for the handle.
* tty.cc (tty::common_init): Add a FIXME for security.

2002-01-29  Robert Collins  <rbtcollins@hotmail.com>

* Makefile.in (OBJS): Remove duplicate localtime.o.

2002-01-17  Robert Collins  <rbtcollins@hotmail.com>

* cygserver.cc (check_and_dup_handle): Consolidate the two variants for
simplicity.
Add Some basic debug output.
(client_request_attach_tty::serve): Use the new debug_printf for clarity.
Mark the duplicated handles as inheritable - fixup_after_fork() doesn't reopen
tty's.

2002-01-16  Robert Collins  <rbtcollins@hotmail.com>

* cygserver.cc (transport): Correct scope.
(client_request_attach_tty::serve): Add more debug information.
Fix erroneous use of transport instead of conn.
* cygserver_transport_pipes.cc (transport_layer_pipes::close): More debug.
(transport_layer_pipes::read): Ditto.
(transport_layer_pipes::write): Ditto.
(transport_layer_pipes::impersonate_client): Ditto.

Mon Oct  8  7:41:00 2001  Robert Collins <rbtcollins@hotmail.com>

* cygserver.cc (server_request::process): Rename client_request_shm_get to
client_request_shm.
* cygserver_process.cc (process_cache::add): Rename to add_task.
Use process_cleanup instead of process_request.
(process_cache::remove_process): New method.
(process::process): Initialize new members.
(process::~process): New member.
(process::cleanup): New method.
(process::add_cleanup_routine): New method.
(process_request::process): Rename to process_cleanup.
Call the process object's cleanup method and then delete it.
(process_process_param::request_loop): Remove the signalling process.
* cygserver_shm.cc: Globally rename client_request_shm_get to client_request_shm.
(client_request_shm_get::serve): Handle attach request counting.
* cygserver_shm.h: Globally rename client_request_shm_get to client_request_shm.
(class shm_cleanup): New class.
* shm.cc: Globally rename client_request_shm_get to client_request_shm.
(client_request_shm::client_request_shm): New constructor for attach requests.
(shmat): Use it.
* include/cygwin/cygserver_process.h (class process_request): Rename to
process_cleanup.
(class cleanup_routine): New class.
(class process): New members and methods to allow calling back when the process
terminates.

Thu Oct  4 14:12:00 2001  Robert Collins <rbtcollins@hotmail.com>
* cygserver.cc (request_loop): Make static.
(main): Use new cache constructor syntax.
Start cache worker threads.
Cleanup the cache at shutdown.
* cygserver_process.cc: Run indent.
(process_cache::process_cache): Add a trigger to use when adding a process.
(process_cache::process): Move process_entry to process.
Insert at the end of the list.
Trigger the request loop when new process's inserted.
(process_cache::process_requests): Do it.
(process_cache::add): New method.
(process_cache::handle_snapshot): New method.
(process::process): Merge in the process_entry fields.
(process::handle): Make a stub function.
(process::exit_code): New method.
(process_request::process): New method.
(process_process_param::request_loop): New method.
* cygserver_shm.cc: New header dependency - threaded_queue.h.
* threaded_queue.cc (threaded_queue::cleanup): Clearer messages.
(queue_process_param::stop): Short spinlock on interruptible threads.
* threaded_queue.h (class threaded_queue): New constructor.
* include/cygwin/cygserver_process.h (process_request): New class.
(process_entry): Remove.
(process): Merge in process_entry.
(process_cache): Inherit from threaded_queue.

Tue Oct  2 23:24:00 2001  Robert Collins <rbtcollins@hotmail.com>

* cygserver.cc (class server_process_param): Use new constructor syntax.
* cygserver_process.cc (process_cache::~process_cache): New function.
* threaded_queue.cc: Define condition debug_printf.
Run indent.
(threaded_queue::cleanup): Move queue_process_param guts to a method.
(threaded_queue::process_requests): Ditto.
(queue_process_param::queue_process_param): New method.
(queue_process_param::~queue_process_param): Ditto.
(queue_process_param::start): Ditto.
(queue_process_param::stop): Ditto.
* threaded_queue.h (class queue_process_param): Add support for
interruptible request loops.
* cygwin/include/cygwin/cygserver_process.h (class process_cache): Add
destructor.

Tue Oct  2 23:24:00 2001  Robert Collins <rbtcollins@hotmail.com>

* cygserver_client.cc: New flag allow_daemon to disable the daemon completely.
(cygserver_request): Check it.
(cygserver_init): Ditto.
* environ.cc (parse_thing): Add (no)daemon option.

Tue Oct  2 23:00:00 2001  Robert Collins <rbtcollins@hotmail.com>

* shm.cc: Update to handle include changes from HEAD.

Tue Oct  2 16:06:00 2001  Robert Collins <rbtcollins@hotmail.com>

* Makefile.in: Remove cygserver_shm.o from cygwin1.dll.
Rename cygserver_shm_outside.o to cygserver_shm.o.
* cygserver.cc (server_request::process): Use the new client_request
constructor.
* cygserver_client.cc: Remove the #ifdef's stubs for the server method
within cygwin.
(client_request_attach_tty::client_request_attach_tty): Use the new
client_request constructor.
(client_request_shutdown::client_request_shutdown): Ditto.
(client_request::client_request): Ditto.
* cygserver_shm.cc (client_request_shm_get::serve): Remove the
#ifdef'd stub for in-cygwin builds.
(client_request_shm_get::client_request_shm_get): Use the new
client_request constructor, and remove the in-cygwin variants.
* cygserver_shm.h (class client_request_shm_get): #ifndef test the
serve method - it's only used in cygserver.
* shm.cc (client_request_shm_get::client_request_shm_get): New function.
* include/cygwin/cygserver.h (request_header): New constructor.
(class client_request): Use it.
New constructor accepting the header size.
#ifndef test the server method - it's only used within cygserver.
(client_request_get_version): #ifdef test the server method.
(client_request_shutdown): Ditto.
(client_request_attach_tty): Ditto.

Tue Oct  2  9:57:00 2001  Robert Collins <rbtcollins@hotmail.com>

* Makefile.in: add threaded_queue.o to cygserver.exe.
* cygserver.cc: Include threaded_queue.h
(class server_request): Inherit from queue_request.
(class server_process_param): Inherit from queue_process_param.
(class server_request_queue): Inherit from threaded_queue.
(request_loop): Adjust for new types.
(server_request_queue::process_requests): Remove guts to
threaded_queue::process_requests.
(server_request::server_request): Adjust for new types.
(worker_function): Delete.
(server_request_queue::create_workers): Delete.
(server_request_queue::cleanup): Delete.
(server_request_queue::add): Move guts to threaded_queue::add.
* threaded_queue.cc: New file.
* threaded_queue.h: New file.

Mon Oct  1 12:38:00 2001  Robert Collins <rbtcollins@hotmail.com>

* cygserver.cc (client_request::serve): New function.
* cygserver_process.cc: Inlude <pthread.h> for pthread_once.
(process_cache::process_cache): Initialise a crtiical section for write access.
(process_cache::process): Use the critical section. Also add missing entries to
the cache.
(do_process_init): New function to initalise class process static variables.
(process::process): Ensure that the process access critical section is
initialised.
(process::handle): Close the handle of old process's when they have terminated
and we are returning the handle for a process with the same pid.
* cygserver_shm.cc: Run indent.
Include cygserver_process.h to allow process cache functionality.
(client_request_shm_get::serve): New parameter for process cache support.
Use the process cache, not OpenProcess to get a handle to the originating process.
Fix a handle leak with token_handle.
* cygserver_shm.h (class client_request_shm_get): Update ::serve for process
cache support.
* cygserver_transport_pipes.cc: Redefine debug_printf to be conditional on DEBUG.
* include/cygwin/cygserver.h: Do not implement client_request::serve in the
header.
* include/cygwin/cygserver_process.h (class process_cache): Add a write access
critical section to prevent races when requests from a  multithreaded
application arrive.

Sun Sep 30 23:41:00 2001  Robert Collins <rbtcollins@hotmail.com>

* Makefile.in: Add cygserver_process.o to cygserver.exe.
* cygserver.cc: Include signal.h and cygwin_version.h.
Define debug_printf as a macro.
Define DEBUG to a value.
(client_request_attach_tty::serve): Add beginning of process cache support.
Change from #ifdef DEBUG to work with new DEBUG style.
(client_request_get_version::serve): Add beginning of process cache support.
(class server_request): New prototype for support of process cache.
(class queue_process_param): New class to allow request loop threading.
(class server_request_queue): Add beginning of process cache support.
Allow request loop threading.
(request_loop): Thread function for request loops.
(server_request_queue::process_requests): Initiator for threaded request loops.
(client_request_shutdown::serve): Add beginning of process cache support.
(server_request::server_request): Ditto.
(server_request::process): Use debug_printf. Add beginning of process cache
support.
(server_request_queue::cleanup): Kill off any request loop threads.
(server_request_queue::add): Add beginning of process cache support.
(handle_signal): Trigger a shutdown.
(main): Print out some useful info at startup - version, date time.
Add process cache support.
Spawn a separate thread for the transport request loop, thus allowing concurrent
support for multiple transports.
* cygserver_client.cc (client_request_get_version::serve): Add process cache
support.
(client_request_attach_tty::serve): Add process cache support.
(client_request_shutdown::serve): Add process cache support.
* cygsserver_process.cc: New file with the process cache support.
* cygserver_shm.cc: Redefine debug_printf to allow conditional output.
* cygwin.din: Export shmdt().
* shm.cc: Run indent.
Update FIXME's.
(shmdt): New function.
* include/cygwin/cygserver.h (class client_request): Add process cache support.
(class client_request_get_version): Ditto.
(class client_request_shutdown): Ditto.
(class client_request_attach_tty): Ditto.
* include/cygwin/cygserver_process.h: New header for process cache support.

Sun Sep 30  8:52:00 2001  Robert Collins <rbtcollins@hotmail.com>

* include/cygwin/cygserver_transport.h: Add copyright header.
* include/cygwin/cygserver_transport_pipes.h: Ditto.
* include/cygwin/cygserver_transport_sockets.h: Ditto.

Sat Sep 29 20:40:00 2001  Robert Collins <rbtcollins@hotmail.com>

* Makefile.in: Add cygserver_transport_sockets.o to DLL_OFILES.
Add cygserver_transport_sockets_outside.o to cygserver.exe.
* cygserver.cc: Include new include files.
* cygserver_client.cc: Ditto.
* cygserver_shm.h: No need to include <sys/socket.h> now.
* cygerver_transport.cc: Include new include files.
(transport_layer_base::transport_layer_base): Strip back to a stub.
(transport_layer_base::listen): Ditto.
(transport_layer_base::accept): Ditto.
(transport_layer_base::close): Ditto.
(transport_layer_base::read): Ditto.
(transport_layer_base::write): Ditto.
(transport_layer_base::connect): Ditto.
* cygserver_transport_pipes.cc: Include new header
"cygwin/cygserver_transport_pipes.h".
* cygserver_transport_sockets.cc: New file.
* dcrt0.cc: No need to include <sys/socket.h> now.
* fhandler_tty.cc: Ditto.
* tty.cc: Ditto.
* include/cygwin/cygserver_transport.h: Strip the base class to a stub.
Remove the cygserver_transport_pipes class.
* include/cygwin/cygserver_transport_pipes.h: New file.
* include/cygwin/cygserver_transport_sockets.h: New file.

Tue Sep 25 16:22:00 2001  Robert Collins <rbtcollins@hotmail.com>

* autoload.cc: Add dynamic load statement for 'ImpersonateNamedPipeClient'.
* Makefile.in: Add new object files, and build instructions for cygserver.exe.
* cygwin.din: Export ftok, shmat, shmctl and shmget.
* dcrt0.cc: Additional includes for cygserver support.
(dll_crt0_1): Initialise the cygserver client.
* fhandler.h (fhandler_tty): New method cygserver_attach_tty.
* fhandler_tty.cc: Additional includes for cygserver support.
(fhandler_tty_slave::open): Attempt to use the cygserver when obtaining
handles from the parent process. On failure or 9x use the current method.
(fhandler_tty_slave::cygserver_attach_tty): New function.
* fork.cc (fork_child): Fixup shm memory mapped areas.
* pinfo.h: Declare fixup_shms_after_fork().
* security.h: Declare alloc_sd().
* tty.cc: Additonal includes to support cygserver.
(tty::common_init): Don't allow others to open us if the cygserver is running.
* winsup.h: Declare cygserver_running.
* cygserver.cc: New file.
* cygserver_client.cc: New file.
* cygserver_shm.cc: New file.
* cygserver_shm.h: New file.
* cygserver_transport.cc: New file.
* cygserver_transport_pipes.cc: New file.
* ipc.cc: New file.
* shm.cc: New file.
* include/cygwin/cygserver.h: New file.
* include/cygwin/cygserver_transport.h: New file.
* include/sys/ipc.h: New file.
* include/sys/shm.h: New file.

2002-02-28  Robert Collins  <rbtcollins@hotmail.com>

* thread.cc (semaphore::TryWait): Set errno as required by posix 1003.1.
(__sem_wait): Ditto.
(__sem_trywait): Ditto.

22 years ago2002-02-28 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Thu, 28 Feb 2002 14:25:52 +0000 (14:25 +0000)]
2002-02-28  Robert Collins  <rbtcollins@hotmail.com>

* Merged cygwin_daemon into head minus the new shm and ipc exports.

2002-02-28  Robert Collins  <rbtcollins@hotmail.com>

* fhandler_tty.cc (fhandler_tty_slave::open): More debugging.
(fhandler_tty_slave::read): Fix printf type for the handle.
* tty.cc (tty::common_init): Add a FIXME for security.

2002-01-29  Robert Collins  <rbtcollins@hotmail.com>

* Makefile.in (OBJS): Remove duplicate localtime.o.

2002-01-17  Robert Collins  <rbtcollins@hotmail.com>

* cygserver.cc (check_and_dup_handle): Consolidate the two variants for
simplicity.
Add Some basic debug output.
(client_request_attach_tty::serve): Use the new debug_printf for clarity.
Mark the duplicated handles as inheritable - fixup_after_fork() doesn't reopen
tty's.

2002-01-16  Robert Collins  <rbtcollins@hotmail.com>

* cygserver.cc (transport): Correct scope.
(client_request_attach_tty::serve): Add more debug information.
Fix erroneous use of transport instead of conn.
* cygserver_transport_pipes.cc (transport_layer_pipes::close): More debug.
(transport_layer_pipes::read): Ditto.
(transport_layer_pipes::write): Ditto.
(transport_layer_pipes::impersonate_client): Ditto.

Mon Oct  8  7:41:00 2001  Robert Collins <rbtcollins@hotmail.com>

* cygserver.cc (server_request::process): Rename client_request_shm_get to
client_request_shm.
* cygserver_process.cc (process_cache::add): Rename to add_task.
Use process_cleanup instead of process_request.
(process_cache::remove_process): New method.
(process::process): Initialize new members.
(process::~process): New member.
(process::cleanup): New method.
(process::add_cleanup_routine): New method.
(process_request::process): Rename to process_cleanup.
Call the process object's cleanup method and then delete it.
(process_process_param::request_loop): Remove the signalling process.
* cygserver_shm.cc: Globally rename client_request_shm_get to client_request_shm.
(client_request_shm_get::serve): Handle attach request counting.
* cygserver_shm.h: Globally rename client_request_shm_get to client_request_shm.
(class shm_cleanup): New class.
* shm.cc: Globally rename client_request_shm_get to client_request_shm.
(client_request_shm::client_request_shm): New constructor for attach requests.
(shmat): Use it.
* include/cygwin/cygserver_process.h (class process_request): Rename to
process_cleanup.
(class cleanup_routine): New class.
(class process): New members and methods to allow calling back when the process
terminates.

Thu Oct  4 14:12:00 2001  Robert Collins <rbtcollins@hotmail.com>
* cygserver.cc (request_loop): Make static.
(main): Use new cache constructor syntax.
Start cache worker threads.
Cleanup the cache at shutdown.
* cygserver_process.cc: Run indent.
(process_cache::process_cache): Add a trigger to use when adding a process.
(process_cache::process): Move process_entry to process.
Insert at the end of the list.
Trigger the request loop when new process's inserted.
(process_cache::process_requests): Do it.
(process_cache::add): New method.
(process_cache::handle_snapshot): New method.
(process::process): Merge in the process_entry fields.
(process::handle): Make a stub function.
(process::exit_code): New method.
(process_request::process): New method.
(process_process_param::request_loop): New method.
* cygserver_shm.cc: New header dependency - threaded_queue.h.
* threaded_queue.cc (threaded_queue::cleanup): Clearer messages.
(queue_process_param::stop): Short spinlock on interruptible threads.
* threaded_queue.h (class threaded_queue): New constructor.
* include/cygwin/cygserver_process.h (process_request): New class.
(process_entry): Remove.
(process): Merge in process_entry.
(process_cache): Inherit from threaded_queue.

Tue Oct  2 23:24:00 2001  Robert Collins <rbtcollins@hotmail.com>

* cygserver.cc (class server_process_param): Use new constructor syntax.
* cygserver_process.cc (process_cache::~process_cache): New function.
* threaded_queue.cc: Define condition debug_printf.
Run indent.
(threaded_queue::cleanup): Move queue_process_param guts to a method.
(threaded_queue::process_requests): Ditto.
(queue_process_param::queue_process_param): New method.
(queue_process_param::~queue_process_param): Ditto.
(queue_process_param::start): Ditto.
(queue_process_param::stop): Ditto.
* threaded_queue.h (class queue_process_param): Add support for
interruptible request loops.
* cygwin/include/cygwin/cygserver_process.h (class process_cache): Add
destructor.

Tue Oct  2 23:24:00 2001  Robert Collins <rbtcollins@hotmail.com>

* cygserver_client.cc: New flag allow_daemon to disable the daemon completely.
(cygserver_request): Check it.
(cygserver_init): Ditto.
* environ.cc (parse_thing): Add (no)daemon option.

Tue Oct  2 23:00:00 2001  Robert Collins <rbtcollins@hotmail.com>

* shm.cc: Update to handle include changes from HEAD.

Tue Oct  2 16:06:00 2001  Robert Collins <rbtcollins@hotmail.com>

* Makefile.in: Remove cygserver_shm.o from cygwin1.dll.
Rename cygserver_shm_outside.o to cygserver_shm.o.
* cygserver.cc (server_request::process): Use the new client_request
constructor.
* cygserver_client.cc: Remove the #ifdef's stubs for the server method
within cygwin.
(client_request_attach_tty::client_request_attach_tty): Use the new
client_request constructor.
(client_request_shutdown::client_request_shutdown): Ditto.
(client_request::client_request): Ditto.
* cygserver_shm.cc (client_request_shm_get::serve): Remove the
#ifdef'd stub for in-cygwin builds.
(client_request_shm_get::client_request_shm_get): Use the new
client_request constructor, and remove the in-cygwin variants.
* cygserver_shm.h (class client_request_shm_get): #ifndef test the
serve method - it's only used in cygserver.
* shm.cc (client_request_shm_get::client_request_shm_get): New function.
* include/cygwin/cygserver.h (request_header): New constructor.
(class client_request): Use it.
New constructor accepting the header size.
#ifndef test the server method - it's only used within cygserver.
(client_request_get_version): #ifdef test the server method.
(client_request_shutdown): Ditto.
(client_request_attach_tty): Ditto.

Tue Oct  2  9:57:00 2001  Robert Collins <rbtcollins@hotmail.com>

* Makefile.in: add threaded_queue.o to cygserver.exe.
* cygserver.cc: Include threaded_queue.h
(class server_request): Inherit from queue_request.
(class server_process_param): Inherit from queue_process_param.
(class server_request_queue): Inherit from threaded_queue.
(request_loop): Adjust for new types.
(server_request_queue::process_requests): Remove guts to
threaded_queue::process_requests.
(server_request::server_request): Adjust for new types.
(worker_function): Delete.
(server_request_queue::create_workers): Delete.
(server_request_queue::cleanup): Delete.
(server_request_queue::add): Move guts to threaded_queue::add.
* threaded_queue.cc: New file.
* threaded_queue.h: New file.

Mon Oct  1 12:38:00 2001  Robert Collins <rbtcollins@hotmail.com>

* cygserver.cc (client_request::serve): New function.
* cygserver_process.cc: Inlude <pthread.h> for pthread_once.
(process_cache::process_cache): Initialise a crtiical section for write access.
(process_cache::process): Use the critical section. Also add missing entries to
the cache.
(do_process_init): New function to initalise class process static variables.
(process::process): Ensure that the process access critical section is
initialised.
(process::handle): Close the handle of old process's when they have terminated
and we are returning the handle for a process with the same pid.
* cygserver_shm.cc: Run indent.
Include cygserver_process.h to allow process cache functionality.
(client_request_shm_get::serve): New parameter for process cache support.
Use the process cache, not OpenProcess to get a handle to the originating process.
Fix a handle leak with token_handle.
* cygserver_shm.h (class client_request_shm_get): Update ::serve for process
cache support.
* cygserver_transport_pipes.cc: Redefine debug_printf to be conditional on DEBUG.
* include/cygwin/cygserver.h: Do not implement client_request::serve in the
header.
* include/cygwin/cygserver_process.h (class process_cache): Add a write access
critical section to prevent races when requests from a  multithreaded
application arrive.

Sun Sep 30 23:41:00 2001  Robert Collins <rbtcollins@hotmail.com>

* Makefile.in: Add cygserver_process.o to cygserver.exe.
* cygserver.cc: Include signal.h and cygwin_version.h.
Define debug_printf as a macro.
Define DEBUG to a value.
(client_request_attach_tty::serve): Add beginning of process cache support.
Change from #ifdef DEBUG to work with new DEBUG style.
(client_request_get_version::serve): Add beginning of process cache support.
(class server_request): New prototype for support of process cache.
(class queue_process_param): New class to allow request loop threading.
(class server_request_queue): Add beginning of process cache support.
Allow request loop threading.
(request_loop): Thread function for request loops.
(server_request_queue::process_requests): Initiator for threaded request loops.
(client_request_shutdown::serve): Add beginning of process cache support.
(server_request::server_request): Ditto.
(server_request::process): Use debug_printf. Add beginning of process cache
support.
(server_request_queue::cleanup): Kill off any request loop threads.
(server_request_queue::add): Add beginning of process cache support.
(handle_signal): Trigger a shutdown.
(main): Print out some useful info at startup - version, date time.
Add process cache support.
Spawn a separate thread for the transport request loop, thus allowing concurrent
support for multiple transports.
* cygserver_client.cc (client_request_get_version::serve): Add process cache
support.
(client_request_attach_tty::serve): Add process cache support.
(client_request_shutdown::serve): Add process cache support.
* cygsserver_process.cc: New file with the process cache support.
* cygserver_shm.cc: Redefine debug_printf to allow conditional output.
* cygwin.din: Export shmdt().
* shm.cc: Run indent.
Update FIXME's.
(shmdt): New function.
* include/cygwin/cygserver.h (class client_request): Add process cache support.
(class client_request_get_version): Ditto.
(class client_request_shutdown): Ditto.
(class client_request_attach_tty): Ditto.
* include/cygwin/cygserver_process.h: New header for process cache support.

Sun Sep 30  8:52:00 2001  Robert Collins <rbtcollins@hotmail.com>

* include/cygwin/cygserver_transport.h: Add copyright header.
* include/cygwin/cygserver_transport_pipes.h: Ditto.
* include/cygwin/cygserver_transport_sockets.h: Ditto.

Sat Sep 29 20:40:00 2001  Robert Collins <rbtcollins@hotmail.com>

* Makefile.in: Add cygserver_transport_sockets.o to DLL_OFILES.
Add cygserver_transport_sockets_outside.o to cygserver.exe.
* cygserver.cc: Include new include files.
* cygserver_client.cc: Ditto.
* cygserver_shm.h: No need to include <sys/socket.h> now.
* cygerver_transport.cc: Include new include files.
(transport_layer_base::transport_layer_base): Strip back to a stub.
(transport_layer_base::listen): Ditto.
(transport_layer_base::accept): Ditto.
(transport_layer_base::close): Ditto.
(transport_layer_base::read): Ditto.
(transport_layer_base::write): Ditto.
(transport_layer_base::connect): Ditto.
* cygserver_transport_pipes.cc: Include new header
"cygwin/cygserver_transport_pipes.h".
* cygserver_transport_sockets.cc: New file.
* dcrt0.cc: No need to include <sys/socket.h> now.
* fhandler_tty.cc: Ditto.
* tty.cc: Ditto.
* include/cygwin/cygserver_transport.h: Strip the base class to a stub.
Remove the cygserver_transport_pipes class.
* include/cygwin/cygserver_transport_pipes.h: New file.
* include/cygwin/cygserver_transport_sockets.h: New file.

Tue Sep 25 16:22:00 2001  Robert Collins <rbtcollins@hotmail.com>

* autoload.cc: Add dynamic load statement for 'ImpersonateNamedPipeClient'.
* Makefile.in: Add new object files, and build instructions for cygserver.exe.
* cygwin.din: Export ftok, shmat, shmctl and shmget.
* dcrt0.cc: Additional includes for cygserver support.
(dll_crt0_1): Initialise the cygserver client.
* fhandler.h (fhandler_tty): New method cygserver_attach_tty.
* fhandler_tty.cc: Additional includes for cygserver support.
(fhandler_tty_slave::open): Attempt to use the cygserver when obtaining
handles from the parent process. On failure or 9x use the current method.
(fhandler_tty_slave::cygserver_attach_tty): New function.
* fork.cc (fork_child): Fixup shm memory mapped areas.
* pinfo.h: Declare fixup_shms_after_fork().
* security.h: Declare alloc_sd().
* tty.cc: Additonal includes to support cygserver.
(tty::common_init): Don't allow others to open us if the cygserver is running.
* winsup.h: Declare cygserver_running.
* cygserver.cc: New file.
* cygserver_client.cc: New file.
* cygserver_shm.cc: New file.
* cygserver_shm.h: New file.
* cygserver_transport.cc: New file.
* cygserver_transport_pipes.cc: New file.
* ipc.cc: New file.
* shm.cc: New file.
* include/cygwin/cygserver.h: New file.
* include/cygwin/cygserver_transport.h: New file.
* include/sys/ipc.h: New file.
* include/sys/shm.h: New file.

2002-02-28  Robert Collins  <rbtcollins@hotmail.com>

* thread.cc (semaphore::TryWait): Set errno as required by posix 1003.1.
(__sem_wait): Ditto.
(__sem_trywait): Ditto.

22 years ago2002-02-28 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Thu, 28 Feb 2002 13:50:39 +0000 (13:50 +0000)]
2002-02-28  Robert Collins  <rbtcollins@hotmail.com>

        * thread.cc (semaphore::TryWait): Set errno as required by posix 1003.1.
        (__sem_wait): Ditto.
        (__sem_trywait): Ditto.

22 years ago * dwarf2read.c (dwarf_cfi_name): Add new codes.
jason [Thu, 28 Feb 2002 11:21:15 +0000 (11:21 +0000)]
    * dwarf2read.c (dwarf_cfi_name): Add new codes.

22 years ago * example/calc/Makefile.in (check): Add ./ to CALC value to avoid
jason [Thu, 28 Feb 2002 11:18:52 +0000 (11:18 +0000)]
    * example/calc/Makefile.in (check): Add ./ to CALC value to avoid
        PATH issues.  Add missing ../.

22 years ago2002-02-27 Chris Demetriou <cgd@broadcom.com>
cgd [Thu, 28 Feb 2002 07:07:54 +0000 (07:07 +0000)]
2002-02-27  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (PREFX): This is a 64-bit instruction, use '64'
        as the filter flag.

22 years ago2002-02-27 Chris Demetriou <cgd@broadcom.com>
cgd [Thu, 28 Feb 2002 07:01:14 +0000 (07:01 +0000)]
2002-02-27  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (PREFX): Tweak instruction opcode fields (i.e.,
        add a comma) so that it more closely match the MIPS ISA
        documentation opcode partitioning.
        (PREF): Put useful names on opcode fields, and include
        instruction-printing string.

22 years ago* fdl.texi: New file.
cagney [Thu, 28 Feb 2002 03:34:34 +0000 (03:34 +0000)]
* fdl.texi: New file.

22 years ago2002-02-27 Chris Demetriou <cgd@broadcom.com>
cgd [Thu, 28 Feb 2002 02:57:34 +0000 (02:57 +0000)]
2002-02-27  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (check_u64): New function which in the future will
        check whether 64-bit instructions are usable and signal an
        exception if not.  Currently a no-op.
        (DADD, DADDI, DADDIU, DADDU, DDIV, DDIVU, DMULT, DMULTU, DSLL,
        DSLL32, DSLLV, DSRA, DSRA32, DSRAV, DSRL, DSRL32, DSRLV, DSUB,
        DSUBU, LD, LDL, LDR, LLD, LWU, SCD, SD, SDL, SDR, DMxC1, LDXC1,
        LWXC1, SDXC1, SWXC1, DMFC0, DMTC0): Use check_u64.

        * mips.igen (check_fpu): New function which in the future will
        check whether FPU instructions are usable and signal an exception
        if not.  Currently a no-op.
        (ABS.fmt, ADD.fmt, BC1a, BC1b, C.cond.fmta, C.cond.fmtb,
        CEIL.L.fmt, CEIL.W, CxC1, CVT.D.fmt, CVT.L.fmt, CVT.S.fmt,
        CVT.W.fmt, DIV.fmt, DMxC1, DMxC1, FLOOR.L.fmt, FLOOR.W.fmt, LDC1,
        LDXC1, LWC1, LWXC1, MADD.D, MADD.S, MxC1, MOV.fmt, MOVtf,
        MOVtf.fmt, MOVN.fmt, MOVZ.fmt, MSUB.D, MSUB.S, MUL.fmt, NEG.fmt,
        NMADD.D, NMADD.S, NMSUB.D, NMSUB.S, RECIP.fmt, ROUND.L.fmt,
        ROUND.W.fmt, RSQRT.fmt, SDC1, SDXC1, SQRT.fmt, SUB.fmt, SWC1,
        SWXC1, TRUNC.L.fmt, TRUNC.W): Use check_fpu.

22 years agoUpdate options
cgf [Thu, 28 Feb 2002 00:08:52 +0000 (00:08 +0000)]
Update options