OSDN Git Service
cagney [Sat, 22 Nov 2003 22:43:05 +0000 (22:43 +0000)]
2003-11-22 Andrew Cagney <cagney@redhat.com>
* procfs.c (procfs_wait): Delete FAULTED_USE_SIGINFO comment.
* config/sparc/tm-sun4sol2.h (FAULTED_USE_SIGINFO): Delete macro.
* config/i386/tm-i386sol2.h (FAULTED_USE_SIGINFO): Delete macro.
* config/alpha/nm-osf2.h (FAULTED_USE_SIGINFO): Delete macro.
corinna [Sat, 22 Nov 2003 22:37:13 +0000 (22:37 +0000)]
* msg.cc (client_request_msg::serve): Add default case to msgop switch.
* sem.cc (client_request_sem::serve): Add default case to semop switch.
* shm.cc (client_request_shm::serve): Add default case to shmop switch.
cagney [Sat, 22 Nov 2003 22:32:27 +0000 (22:32 +0000)]
2003-11-22 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (SIGFRAME_REG_SIZE): Delete macro.
(mips_find_saved_regs): Replace SIGFRAME_REG_SIZE with
mips_regsize.
(mips_dump_tdep): Do not print SIGFRAME_REG_SIZE.
* config/mips/tm-irix6.h (SIGFRAME_REG_SIZE): Delete macro.
* config/mips/tm-irix5.h: Update copyright.
(SIGFRAME_REG_SIZE): Delete macro.
cagney [Sat, 22 Nov 2003 22:15:22 +0000 (22:15 +0000)]
2003-11-22 Andrew Cagney <cagney@redhat.com>
* hppa-tdep.c (hppa_value_returned_from_stack): Delete function.
* config/pa/tm-hppa.h (hppa_value_returned_from_stack): Delete
declaration.
(DEPRECATED_VALUE_RETURNED_FROM_STACK): Delete macro.
* infcall.c (call_function_by_hand): Delete #ifdef
DEPRECATED_VALUE_RETURNED_FROM_STACK code.
* infcmd.c (print_return_value): Ditto.
kazu [Sat, 22 Nov 2003 21:37:49 +0000 (21:37 +0000)]
* sim-options.c (standard_options): Fix the names of H8
variants.
cagney [Sat, 22 Nov 2003 21:12:24 +0000 (21:12 +0000)]
2003-11-22 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (skip_prologue_using_sal): New function.
(mips32_skip_prologue, mips16_skip_prologue): Use
skip_prologue_using_sal to get an upper bound on the search.
cgf [Sat, 22 Nov 2003 17:22:59 +0000 (17:22 +0000)]
* dcrt0.cc (check_sanity_and_sync): Correct api major version check so that
newer dlls will work with older apps but not vice versa.
kazu [Sat, 22 Nov 2003 16:03:03 +0000 (16:03 +0000)]
* ehopt.c: Convert to ISO-C.
* emul.h: Likewise.
* expr.c: Likewise.
* expr.h: Likewise.
* flonum-copy.c: Likewise.
* flonum-mult.c: Likewise.
* flonum.h: Likewise.
* frags.c: Likewise.
* frags.h: Likewise.
cagney [Sat, 22 Nov 2003 16:01:03 +0000 (16:01 +0000)]
2003-11-22 Andrew Cagney <cagney@redhat.com>
* config/powerpc/tm-linux.h (PROLOGUE_FIRSTLINE_OVERLAP): Delete
#if 0'ed macro.
* infrun.c (step_into_function): Delete #ifdef
PROLOGUE_FIRSTLINE_OVERLAP code.
* symtab.c (find_function_start_sal): Ditto.
cagney [Sat, 22 Nov 2003 15:48:29 +0000 (15:48 +0000)]
2003-11-22 Andrew Cagney <cagney@redhat.com>
* remote-rdp.c: Update copyright.
(rdp_init): #if 0 references to "target_byte_order".
kazu [Sat, 22 Nov 2003 15:32:28 +0000 (15:32 +0000)]
* config/atof-tahoe.c: Fix comment typos.
* config/m68k-parse.y: Likewise.
* config/obj-aout.c: Likewise.
* config/obj-bout.c: Likewise.
* config/obj-vms.c: Likewise.
* config/tc-tahoe.c: Likewise.
* config/tc-tic30.c: Likewise.
* config/tc-tic4x.c: Likewise.
* config/tc-tic54x.c: Likewise.
* config/tc-v850.c: Likewise.
* config/tc-vax.c: Likewise.
* config/te-delt88.h: Likewise.
* config/te-delta.h: Likewise.
* config/te-generic.h: Likewise.
* config/te-macos.h: Likewise.
* config/te-ppcnw.h: Likewise.
* config/te-psos.h: Likewise.
* config/te-sun3.h: Likewise.
* config/te-tmips.h: Likewise.
* config/xtensa-relax.c: Likewise.
cagney [Sat, 22 Nov 2003 14:04:39 +0000 (14:04 +0000)]
2003-11-22 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_o32_store_return_value): Delete function.
(mips_o32_return_value): Replace mips_o32_xfer_return_value.
(mips_o32_extract_return_value): Delete function.
(mips_n32n64_return_value): Replace mips_n32n64_xfer_return_value.
(mips_n32n64_extract_return_value): Delete function.
(mips_n32n64_store_return_value): Delete function.
(mips_gdbarch_init): For o32 and n32n64, set "return_value"
instead of "store_return_value", "extract_return_value", and
"use_struct_convention".
(mips_n32n64_use_struct_convention): Delete function.
jakub [Sat, 22 Nov 2003 10:45:43 +0000 (10:45 +0000)]
2003-11-22 Jakub Jelinek <jakub@redhat.com>
* elf-bfd.h (ELF_LINK_POINTER_EQUALITY_NEEDED): Define new flag.
* elf.c (_bfd_elf_link_hash_copy_indirect): Copy it.
* elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
(elf_i386_check_relocs): Set it.
(elf_i386_finish_dynamic_symbol): If it is not set,
clear st_value of SHN_UNDEF symbol.
amodra [Sat, 22 Nov 2003 06:14:48 +0000 (06:14 +0000)]
* doc/c-ppc.texi (PowerPC-Pseudo): Add section.
amodra [Sat, 22 Nov 2003 04:47:16 +0000 (04:47 +0000)]
* gas/i386/divide.s: New.
* gas/i386/divide.d: New.
* gas/i386/i386.exp (gas_32_check): Run it.
amodra [Sat, 22 Nov 2003 04:46:35 +0000 (04:46 +0000)]
* app.c (do_scrub_chars): Revert 2003-04-23 and 2003-04-22.
kazu [Sat, 22 Nov 2003 02:35:29 +0000 (02:35 +0000)]
* config/tc-a29k.h: Fix comment typos.
* config/tc-arm.c: Likewise.
* config/tc-dlx.h: Likewise.
* config/tc-hppa.c: Likewise.
* config/tc-i386.c: Likewise.
* config/tc-m32r.c: Likewise.
* config/tc-m68hc11.c: Likewise.
* config/tc-m68k.c: Likewise.
* config/tc-m88k.c: Likewise.
* config/tc-mcore.c: Likewise.
* config/tc-mips.c: Likewise.
* config/tc-mmix.c: Likewise.
* config/tc-msp430.c: Likewise.
* config/tc-ns32k.c: Likewise.
* config/tc-or32.c: Likewise.
* config/tc-or32.h: Likewise.
* config/tc-pj.c: Likewise.
* config/tc-ppc.c: Likewise.
* config/tc-s390.c: Likewise.
* config/tc-sh64.c: Likewise.
* config/tc-sh.c: Likewise.
* config/tc-sparc.c: Likewise.
jjohnstn [Sat, 22 Nov 2003 01:07:24 +0000 (01:07 +0000)]
2003-11-21 Artem B. Bityuckiy <mail_lists@mail.ru>
* libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
code within checks for MB_CAPABLE. For non-mb-capable platforms,
use simple byte logic.
kazu [Sat, 22 Nov 2003 00:20:48 +0000 (00:20 +0000)]
* ecoff.c: Convert to ISO-C.
* ecoff.h: Likewise.
gdbadmin [Sat, 22 Nov 2003 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 21 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update
cgf [Fri, 21 Nov 2003 22:22:08 +0000 (22:22 +0000)]
* sem.cc: Always include signal.h to handle SIGSYS raise when !USE_SERVER.
* shm.cc: Ditto.
* msg.cc: Always include signal.h to handle SIGSYS raise when !USE_SERVER.
cgf [Fri, 21 Nov 2003 22:21:05 +0000 (22:21 +0000)]
* msg.cc: Always include signal.h to handle SIGSYS raise when !USE_SERVER.
dj [Fri, 21 Nov 2003 22:01:25 +0000 (22:01 +0000)]
merge from gcc
kevinb [Fri, 21 Nov 2003 21:36:23 +0000 (21:36 +0000)]
* frv-tdep.c (frv_frame_this_id): Eliminate call to
inside_entry_func().
dj [Fri, 21 Nov 2003 21:02:24 +0000 (21:02 +0000)]
merge from gcc
jjohnstn [Fri, 21 Nov 2003 20:48:48 +0000 (20:48 +0000)]
2003-11-21 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
_strtold routine for processing floats and doubles since it
is not as fast as _strtod_r.
corinna [Fri, 21 Nov 2003 18:10:49 +0000 (18:10 +0000)]
* Makefile.in (install): Explicitely create directories. Install
README to $(prefix)/share/doc/Cygwin.
* README: New file.
dj [Fri, 21 Nov 2003 17:42:45 +0000 (17:42 +0000)]
merge from gcc
amodra [Fri, 21 Nov 2003 15:05:55 +0000 (15:05 +0000)]
* gas/ppc/machine.s: New.
* gas/ppc/machine.d: New.
* gas/ppc/ppc.exp: Run it.
amodra [Fri, 21 Nov 2003 15:05:14 +0000 (15:05 +0000)]
* config/tc-ppc.c (parse_cpu): New function, broken out from..
(md_parse_option): ..here.
(ppc_setup_opcodes): New function, broken out from..
(md_begin): ..here.
(ppc_machine): Implement .machine pseudo op.
kazu [Fri, 21 Nov 2003 14:38:06 +0000 (14:38 +0000)]
* config/tc-hppa.c: Fix comment typos.
* config/tc-i370.c: Likewise.
* config/tc-i386.c: Likewise.
* config/tc-i386.h: Likewise.
* config/tc-i960.c: Likewise.
* config/tc-ia64.c: Likewise.
* config/tc-iq2000.h: Likewise.
corinna [Fri, 21 Nov 2003 13:30:33 +0000 (13:30 +0000)]
* cygserver.cc (print_usage): Fix scrambled output.
kazu [Fri, 21 Nov 2003 13:28:35 +0000 (13:28 +0000)]
* depend.c: Convert to ISO-C.
* dwarf2dbg.c: Likewise.
* dwarf2dbg.h: Likewise.
kazu [Fri, 21 Nov 2003 01:52:15 +0000 (01:52 +0000)]
* app.c: Convert to ISO-C.
* as.h: Likewise.
* atof-generic.c: Likewise.
* bignum-copy.c: Likewise.
* bignum.h: Likewise.
* cgen.c: Likewise.
* cgen.h: Likewise.
* cond.c: Likewise.
kazu [Fri, 21 Nov 2003 00:24:40 +0000 (00:24 +0000)]
* config/tc-a29k.h: Fix comment typos.
* config/tc-alpha.c: Likewise.
* config/tc-alpha.h: Likewise.
* config/tc-arc.c: Likewise.
* config/tc-arm.c: Likewise.
* config/tc-arm.h: Likewise.
* config/tc-cris.c: Likewise.
* config/tc-d10v.c: Likewise.
* config/tc-d30v.c: Likewise.
* config/tc-dlx.c: Likewise.
* config/tc-dlx.h: Likewise.
gdbadmin [Fri, 21 Nov 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 20 Nov 2003 23:00:06 +0000 (23:00 +0000)]
daily update
kettenis [Thu, 20 Nov 2003 22:37:49 +0000 (22:37 +0000)]
* i386-tdep.c (i386_extract_return_value,
i386_store_return_value): Add gdbarch argument. Use it instead of
determining it from REGCACHE. Remove recursive call for
structures with a single member.
(i386_use_struct_convention): Remove.
(i386_reg_struct_return_p): New function.
(i386_return_value): New function.
(i386_gdbarch_init): Set return_value, don't set
extract_return_value, store_return_value and
use_struct_convention.
* x86-64-tdep.c (x86_64_init_abi): Set return_value to NULL.
dj [Thu, 20 Nov 2003 20:08:20 +0000 (20:08 +0000)]
* config/tc-sh64.c (shmedia_frob_section): Only frob elf32
sections.
jjohnstn [Thu, 20 Nov 2003 19:59:03 +0000 (19:59 +0000)]
2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
* libc/machine/h8300/defines.h : Correct pointer register defines
for normal mode.
* libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
for normal mode.
* libc/machine/h8300/reg_memcpy.S : Likewise.
* libc/machine/h8300/reg_memset.S : Likewise.
* libc/machine/h8300/strcmp.S : Likewise.
corinna [Thu, 20 Nov 2003 19:34:00 +0000 (19:34 +0000)]
* cygserver-config: Slightly modify printed message.
cgf [Thu, 20 Nov 2003 19:31:52 +0000 (19:31 +0000)]
* configure.in: Make --use-server the default.
* configure: Regenerate.
cgf [Thu, 20 Nov 2003 19:31:41 +0000 (19:31 +0000)]
* configure.in: Make --use-server the default. Remove powerpc target.
* configure: Regenerate.
cgf [Thu, 20 Nov 2003 19:31:07 +0000 (19:31 +0000)]
* configure.in: Make --use-server the default. Remove powerpc target.
* configure: Regenerate.
jimb [Thu, 20 Nov 2003 18:42:21 +0000 (18:42 +0000)]
* cpu-powerpc.c (powerpc_compatible): Any ISA in the PowerPC
family is a superset of <bfd_arch_rs6000,bfd_mach_rs6k>.
jimb [Thu, 20 Nov 2003 18:37:20 +0000 (18:37 +0000)]
* osabi.c (_initialize_gdb_osabi): Don't return before registering
the 'set osabi' and 'show osabi' commands.
corinna [Thu, 20 Nov 2003 18:25:36 +0000 (18:25 +0000)]
* winsup.api/msgtest.c (main): Revert to use the SIGSYS signal handler.
* winsup.api/semtest.c (main): Ditto.
* winsup.api/shmtest.c (main): Ditto.
corinna [Thu, 20 Nov 2003 18:09:44 +0000 (18:09 +0000)]
* msg.cc (msgctl): Raise SIGSYS if call not available.
(msgget): Ditto.
(msgrcv): Ditto.
(msgsnd): Ditto.
* sem.cc (semctl): Ditto.
(semget): Ditto.
(semop): Ditto.
* shm.cc (shmat): Ditto.
(shmctl): Ditto.
(shmget): Ditto.
(shmdt): Ditto.
cagney [Thu, 20 Nov 2003 18:03:47 +0000 (18:03 +0000)]
2003-11-20 Andrew Cagney <cagney@redhat.com>
* gdb.base/structs.exp: Handle and recover from internal errors.
Replace "foo${n}" with "foo<n>" in test messages.
cagney [Thu, 20 Nov 2003 17:11:55 +0000 (17:11 +0000)]
2003-11-20 Andrew Cagney <cagney@redhat.com>
* gdb.base/structs.exp: Update copyright. Rewrite.
* gdb.base/structs.c: Update copyright. Rewrite.
cagney [Thu, 20 Nov 2003 15:58:07 +0000 (15:58 +0000)]
2003-11-20 Andrew Cagney <cagney@redhat.com>
* lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
resync count exceeded.
cagney [Thu, 20 Nov 2003 15:36:33 +0000 (15:36 +0000)]
2003-11-20 Andrew Cagney <cagney@redhat.com>
* gdb.base/maint.exp: Use gdb_internal_error_resync to recover
from the internal error.
* lib/gdb.exp (gdb_internal_error_resync): New procedure.
Original from Jim Blandy.
(gdb_test_multiple): Use gdb_internal_error_resync.
corinna [Thu, 20 Nov 2003 13:51:33 +0000 (13:51 +0000)]
* Makefile.in (install): Install cygserver-config script to bindir.
* cygserver-config: New script.
sky [Thu, 20 Nov 2003 09:54:06 +0000 (09:54 +0000)]
* elf32-s390.c (elf_s390_relocate_section): Don't recalculate symbol
section for reloc output and subtract the output section's address
from the addend when converting a relocation into one against a
section symbol.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
kazu [Thu, 20 Nov 2003 04:25:25 +0000 (04:25 +0000)]
* config/tc-h8300.c: Make some functions and global
variables static appropriately.
kazu [Thu, 20 Nov 2003 04:12:18 +0000 (04:12 +0000)]
* config/obj-ieee.c: Remove duplicate prototypes.
* config/tc-h8300.c: Likewise.
kazu [Thu, 20 Nov 2003 03:31:36 +0000 (03:31 +0000)]
* config/tc-h8300.c: Convert to ISO-C.
* config/tc-h8300.h: Likewise.
kazu [Thu, 20 Nov 2003 03:11:17 +0000 (03:11 +0000)]
* config/tc-mcore.h: Remove prototypes already in tc.h.
* config/tc-tic4x.c: Likewise.
dj [Thu, 20 Nov 2003 02:01:32 +0000 (02:01 +0000)]
merge from gcc
kazu [Thu, 20 Nov 2003 01:36:48 +0000 (01:36 +0000)]
* config/tc-arc.c: Remove a local prototype of atof_ieee.
* config/tc-ip2k.c: Likewise.
* config/tc-iq2000.c: Likewise.
* config/tc-tic30.c: Remove a comment.
kazu [Thu, 20 Nov 2003 00:01:54 +0000 (00:01 +0000)]
* config/obj-aout.h: Fix comment typos.
* config/obj-bout.h: Likewise.
* config/obj-coff.c: Likewise.
* config/obj-coff.h: Likewise.
* config/obj-elf.c: Likewise.
* config/obj-ieee.c: Likewise.
* config/obj-som.c: Likewise.
* config/obj-vms.c: Likewise.
* config/obj-vms.h: Likewise.
gdbadmin [Thu, 20 Nov 2003 00:01:02 +0000 (00:01 +0000)]
*** empty log message ***
bwilson [Wed, 19 Nov 2003 23:55:05 +0000 (23:55 +0000)]
* config/tc-xtensa.c (xg_emit_insn): Include "dwarf2dbg.h" and add
call to dwarf2_emit_insn.
amodra [Wed, 19 Nov 2003 23:00:07 +0000 (23:00 +0000)]
daily update
jjohnstn [Wed, 19 Nov 2003 21:57:52 +0000 (21:57 +0000)]
2003-11-19 Nicholas Wourms <nwourms@netscape.net>
* configure.host: Enable positional arguments for printf
family for Cygwin.
* libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
pointer reference for quad_ptr_t.
dj [Wed, 19 Nov 2003 19:56:21 +0000 (19:56 +0000)]
* Makefile.tpl (EXTRA_GCC_FLAGS): Pass BOOT_ADAFLAGS.
* Makefile.in: Regenerate.
kazu [Wed, 19 Nov 2003 19:44:58 +0000 (19:44 +0000)]
* h8300-dis.c (print_colon_thingie): Remove.
corinna [Wed, 19 Nov 2003 18:51:18 +0000 (18:51 +0000)]
* winsup.api/msgtest.c: New file derived from FreeBSD, testing
XSI Message Queue support.
* winsup.api/semtest.c: Ditto, testing XSI Semaphore support.
* winsup.api/shmtest.c: Ditto, testing XSI Shared Memory support.
corinna [Wed, 19 Nov 2003 18:50:52 +0000 (18:50 +0000)]
* Makefile.in: Add rules to build ipcrm and ipcs.
* ipcrm.c: New file.
* ipcs.c: New file.
corinna [Wed, 19 Nov 2003 18:50:20 +0000 (18:50 +0000)]
* cygserver.h (client_request::request_code_t): Add
CYGSERVER_REQUEST_MSG and CYGSERVER_REQUEST_SEM.
(admininstrator_group_sid): Add extern declaration.
* cygserver_ipc.h: Rewrite.
* cygserver_msg.h: New file.
* cygserver_sem.h: New file.
* cygserver_shm.h: More or less rewrite.
* cygwin.din: Add msgctl, msgget, msgrcv, msgsnd, semctl, semget and
semop.
* msg.cc: Rewrite.
* safe_memory.h: Remove.
* sem.cc: Rewrite.
* shm.cc: Rewrite.
* include/cygwin/ipc.h: Use appropriate guard.
(struct ipc_perm): Add seq.
(IPCID_TO_IX): New define from BSD.
(IPCID_TO_SEQ): Ditto.
(IXSEQ_TO_IPCID): Ditto.
(IPC_R): Ditto.
(IPC_W): Ditto.
(IPC_M): Ditto.
* include/cygwin/msg.h: Use appropriate guard. #ifdef _KERNEL all stuff
not explicitely defined by SUSv3. Use signed types in structs to match
types used in BSD.
(msgqnum_t): Define unsigned.
(msglen_t): Ditto.
(struct msqid_ds): Add msg_first and msg_last.
(struct msginfo): Remove msgpool. Add msgssz and msgseg.
* include/cygwin/sem.h: Use appropriate guard. #ifdef _KERNEL all stuff
not explicitely defined by SUSv3. Use signed types in structs to match
types used in BSD.
(SEM_UNDO): Define appropriately.
(struct semid_ds): Add sem_base.
(struct seminfo): Add semmap and semusz.
(SEM_A): New define from BSD.
(SEM_R): Ditto.
(SEM_ALLOC): Ditto.
(union semun): Define.
* include/cygwin/shm.h: Use appropriate guard. #ifdef _KERNEL all stuff
not explicitely defined by SUSv3. Use signed types in structs to match
types used in BSD.
(SHMLBA): Define using cygwin_internal(CW_GET_SHMLBA) call.
(struct shmid_ds): Add shm_internal.
(struct shm_info): Rename shm_ids to used_ids as in BSD. Add define
for shm_ids.
* include/cygwin/sysproto.h: New file.
* include/cygwin/version.h: Bump API minor number.
* include/sys/ipc.h: New file.
* include/sys/msg.h: New file.
* include/sys/queue.h: New file from BSD.
* include/sys/sem.h: New file.
* include/sys/shm.h: New file.
* include/sys/sysproto.h: New file.
corinna [Wed, 19 Nov 2003 18:49:40 +0000 (18:49 +0000)]
Don't use safe_new but new throughout. Fix copyright dates
throughout.
* Makefile.in: Accomodate all new files and name changes.
Add a *.d dependency.
(sbindir): Add.
(etcdir): Drop in favor of more appropriate sysconfdir definition.
(sysconfdir): Add.
(CXXFLAGS): Add -MMD flag. Add SYSCONFDIR definition.
(.SUFFIXES): Add.
(install): Add action items.
(libclean): New target.
(fullclean): Ditto.
* bsd_helper.cc: New file.
* bsd_helper.h: Ditto.
* bsd_log.cc: Ditto.
* bsd_log.h: Ditto.
* bsd_mutex.cc: Ditto.
* bsd_mutex.h: Ditto.
* client.cc: Rearrange to build as less as possible if
__INSIDE_CYGWIN__.
(client_request::handle_request): Add Message Queue and Semaphore
handling.
* cygserver.cc: Rearrange to build as less as possible if
__INSIDE_CYGWIN__. Use new debug/log/panic logging functions.
(DEF_CONFIG_FILE): New definition for configuration file. Use
throughout.
(getfunc): Remove.
(__cygserver__printf): Remove.
(client_request_attach_tty::serve): Return error if impersonation
fails.
(print_usage): Pump up help message.
(print_version): Add output of default configuration file.
(main): Accommodate new options. Allow overwrite of threading options
from config file. Call several new initialization functions. Drop
printing dots. Don't define SIGHANDLE inline.
* cygserver.conf: New file.
* cygserver_process.h: Rename to process.h.
* cygserver_transport.h: Rename to transport.h.
* cygserver_transport_pipes.h: Rename to transport_pipes.h.
* cygserver_transport_sockets.h: Rename to transport_sockets.h.
* msg.cc: Rewrite.
* sem.cc: Rewrite.
* shm.cc: Rewrite.
* sysv_msg.cc: New file, derived from FreeBSD version 1.52.
* sysv_sem.cc: New file, derived from FreeBSD version 1.66.
* sysv_shm.cc: New file, derived from FreeBSD version 1.89.
* threaded_queue.cc: Rearrange to build as less as possible if
__INSIDE_CYGWIN__.
* transport.cc (transport_layer_base::impersonate_client): Define bool.
(transport_layer_base::revert_to_self): Ditto.
* transport.h (transport_layer_base::impersonate_client): Declare bool.
(transport_layer_base::revert_to_self): Ditto.
* transport_pipes.cc (transport_layer_pipes::transport_layer_pipes):
Don't call init_security.
(init_security): Remove.
(transport_layer_pipes::accept): Use global sec_all_nih.
(transport_layer_pipes::connect): Ditto.
(transport_layer_pipes::impersonate_client): Define bool.
(transport_layer_pipes::revert_to_self): Ditt.
* transport_pipes.h (transport_layer_pipes::impersonate_client): Declare
bool.
(transport_layer_pipes::revert_to_self): Ditto.
* woutsup.h: Include bsd compatibility headers.
(SIGHANDLE): Add definition.
(__cygserver__printf): Remove definition.
(__noop_printf): Ditto.
(debug_printf): Define using debug.
(syscall_printf): Define using log.
(system_printf): Ditto.
Drop all other _printf definitions.
cagney [Wed, 19 Nov 2003 18:34:52 +0000 (18:34 +0000)]
2003-11-19 Andrew Cagney <cagney@redhat.com>
* gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
KFAIL.
kettenis [Wed, 19 Nov 2003 17:42:42 +0000 (17:42 +0000)]
New testcase for PR backtrace/1435.
* gdb.arch/i386-unwind.exp: New file.
* gdb.arch/i386-unwind.c: New file.
kettenis [Wed, 19 Nov 2003 17:35:45 +0000 (17:35 +0000)]
* frame.c (get_prev_frame): Use result from
get_frame_address_in_block instead of get_frame_pc as argument to
inside_main_func. Fixes PR backtrace/1435.
jjohnstn [Wed, 19 Nov 2003 17:07:35 +0000 (17:07 +0000)]
2003-11-19 Nicholas Wourms <nwourms@netscape.net>
* configure.host: Enable positional arguments for printf
family for Cygwin.
* libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
pointer reference for quad_ptr_t.
jjohnstn [Wed, 19 Nov 2003 16:57:51 +0000 (16:57 +0000)]
2003-11-19 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/scanf.c: Don't include local.h more than once.
cagney [Wed, 19 Nov 2003 16:27:52 +0000 (16:27 +0000)]
2003-11-19 Andrew Cagney <cagney@redhat.com>
* stack.c (return_command): Handle "void", "legacy" and "unknown
location" return values separatly.
* values.c (using_struct_return): Return 0 for a "void" return
type. Mention "register_value_being_returned".
(register_value_being_returned): Mention "using_struct_return".
dj [Wed, 19 Nov 2003 16:19:14 +0000 (16:19 +0000)]
merge from gcc
drow [Wed, 19 Nov 2003 15:08:00 +0000 (15:08 +0000)]
* dwarf2read.c (offreg, basereg, isderef, frame_base_reg)
(frame_base_offset): Delete.
(read_func_scope): Delete call to decode_locdesc.
(decode_locdesc): Update comments. Don't set the removed variables.
Complain for DW_OP_reg* not at the end. Remove DW_OP_breg* and
DW_OP_fbreg support.
corinna [Wed, 19 Nov 2003 11:19:26 +0000 (11:19 +0000)]
* dtable.cc (build_fh_pc): Resurrect accidentally removed
DEV_CYGDRIVE_MAJOR case.
corinna [Wed, 19 Nov 2003 10:11:46 +0000 (10:11 +0000)]
Revert most of last check in to ChangeLog. It duplicated
accidentally a big bunch of old entries.
amodra [Wed, 19 Nov 2003 08:21:14 +0000 (08:21 +0000)]
* objdump.c: Wrap long lines, init vars separately from decl.
(disassemble_section): Reset require_sec after call to
find_symbol_for_address.
amodra [Wed, 19 Nov 2003 03:46:08 +0000 (03:46 +0000)]
* ld-powerpc/tlsexe32.d: Update for changed symbols from objdump.
* ld-powerpc/tlsso32.d: Likewise.
wilson [Wed, 19 Nov 2003 02:40:53 +0000 (02:40 +0000)]
Fix IA-64 linker failure reported by Andreas Schwab.
* ldlang.c (lang_process): Move lang_reset_memory_regions call after
lang_do_assignments call.
wilson [Wed, 19 Nov 2003 01:06:09 +0000 (01:06 +0000)]
Fix -pie core dump with .rela.opd section.
bfd/ChangeLog
* elfxx-ia64.c (get_fptr): For fptr_rel, use dynobj not abfd.
(elfNN_ia64_size_dynamic_sections): When stripping sections, check
for ia64_info->rel_fptr_sec.
ld/ChangeLog
* emulparams/elf64_ia64.sh (OTHER_PLT_RELOC_SECTIONS): Include
.rela.opd if -pie.
gdbadmin [Wed, 19 Nov 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 18 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update
drow [Tue, 18 Nov 2003 21:51:37 +0000 (21:51 +0000)]
* dwarf2read.c (optimized_out, islocal): Remove.
(decode_locdesc): Update comments. Don't set optimized_out
or islocal.
macro [Tue, 18 Nov 2003 21:22:51 +0000 (21:22 +0000)]
* config/tc-mips.c (macro): Handle new macros: "lca" and "dlca"
for loading addresses using CALL relocations.
Don't emit CALL relocations when a base register is used.
* gas/mips/lca-svr4pic.d: New test for the "lca" macro.
* gas/mips/lca-xgot.d: Likewise.
* gas/mips/lca.s: Source for the new tests.
* gas/mips/mips.exp: Run the new tests.
* opcode/mips.h: Define new enum members, M_LCA_AB and M_DLCA_AB.
* mips-opc.c (mips_builtin_opcodes): Handle new macros: "lca" and
"dlca".
jjohnstn [Tue, 18 Nov 2003 19:17:17 +0000 (19:17 +0000)]
2003-11-18 Corinna Vinschen <corinna@vinschen.de>
* libc/include/sys/fcntl.h: Declare _open64.
* libc/include/sys/stat.h: Declare _fstat64.
* libc/include/sys/unistd.h: Declare _lseek64.
dj [Tue, 18 Nov 2003 19:10:02 +0000 (19:10 +0000)]
merge from gcc
amodra [Tue, 18 Nov 2003 04:14:13 +0000 (04:14 +0000)]
* elf64-ppc.c (toc_adjusting_stub_needed): Exit early if section
size is zero.
gdbadmin [Tue, 18 Nov 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 17 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update
corinna [Mon, 17 Nov 2003 22:18:42 +0000 (22:18 +0000)]
* fhandler.cc (fhandler_base::lseek): Include high order offset
bits in return value.
cagney [Mon, 17 Nov 2003 22:10:22 +0000 (22:10 +0000)]
2003-11-17 Andrew Cagney <cagney@redhat.com>
* lib/framework.exp (clone_output): Write KFAIL messages to the
screen.
jjohnstn [Mon, 17 Nov 2003 21:38:36 +0000 (21:38 +0000)]
2003-11-17 Jeff Johnston <jjohnstn@redhat.com>
David Mosberger <davidm@hpl.hp.com>
* ia64-tdep.c: Include elf.h.
[HAVE_LIBUNWIND_IA64_H]: Include libunwind-frame.h and
libunwind-ia64.h.
(ia64_rse_slot_num, ia64_rse_skip_regs): New for libunwind support.
(ia64_gdb2uw_regnum, ia64_uw2gdb_regnum): Ditto.
(ia64_is_fpreg, ia64_access_reg): Ditto.
(ia64_access_fpreg, ia64_access_mem): Ditto.
(get_kernel_table): Ditto.
(ia64_find_unwind_table): Ditto.
(ia64_find_proc_info_x, ia64_put_unwind_info): Ditto.
(ia64_get_dyn_info_list, ia64_libunwind_frame_this_id): Ditto.
(ia64_libunwind_frame_prev_register): Ditto.
(ia64_libunwind_frame_sniffer): Ditto.
(ia64_gdbarch_init)[HAVE_LIBUNWIND_IA64_H]: Add libunwind frame
sniffer. Register libunwind functions needed by generic
libunwind frame code using libunwind_frame_set_descr().
drow [Mon, 17 Nov 2003 21:31:09 +0000 (21:31 +0000)]
* elf.c (_bfd_elf_link_hash_copy_indirect): Copy
ELF_LINK_HASH_NEEDS_PLT. Fix formatting.
* elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise.
* elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
* elf32-ppc.c (ppc_elf_copy_indirect_symbol): Likewise.
* elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise.
* elf32-sh.c (sh_elf_copy_indirect_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
* elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise.
* elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Likewise.
* elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.
* elf32-xtensa.c (elf_xtensa_copy_indirect_symbol): Remove.
(elf_backend_copy_indirect_symbol): Don't define.
corinna [Mon, 17 Nov 2003 17:30:30 +0000 (17:30 +0000)]
* libc/include/stdlib.h (getprogname): Declare for Cygwin.
(setprogname): Ditto.