OSDN Git Service
msnyder [Tue, 1 May 2001 20:15:42 +0000 (20:15 +0000)]
2001-05-01 Michael Snyder <msnyder@redhat.com>
* Makefile.in: Add rules for thread-db.o, lin-lwp.o, proc-service.o.
nsd [Tue, 1 May 2001 19:36:11 +0000 (19:36 +0000)]
* config/rs6000/tm-rs6000.h (IN_SOLIB_RETURN_TRAMPOLINE): Define.
(rs6000_in_solib_return_trampoline): Declare.
* rs6000-tdep.c (rs6000_in_solib_return_trampoline): New
function.
(rs6000_skip_trampoline_code): Skip bigtoc fixup code.
* xcoffread.c (read_xcoff_symtab): Perform the ISFCN function
check after the CSECT check rather than before it. Allocate
separate symtabs for CSECTs whose names begin with '@'.
(scan_xcoff_symtab): Don't ignore symbols beginning with '@'.
Activate the misc_func_recorded mechanism for whose names begin
with '@'.
jjohnstn [Tue, 1 May 2001 18:18:25 +0000 (18:18 +0000)]
2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
real file systems, let __smakebuf() determine if line buffering
should be used for stdout.
cgf [Tue, 1 May 2001 14:50:54 +0000 (14:50 +0000)]
* mkpasswd.c (enum_users): Use /bin/bash as the default shell.
(main): Ditto.
eliz [Tue, 1 May 2001 08:54:08 +0000 (08:54 +0000)]
*** empty log message ***
aj [Tue, 1 May 2001 08:07:34 +0000 (08:07 +0000)]
* ld-scripts/phdrs.exp: Fix regexp, s390x is 64 bit platform.
* ld-scripts/phdrs.t: Use startaddress that's greater than any
MAXPAGESIZE used.
cgf [Tue, 1 May 2001 05:26:03 +0000 (05:26 +0000)]
* path.cc (mount_info::conv_to_win32_path): More path tweaking.
cgf [Tue, 1 May 2001 04:45:18 +0000 (04:45 +0000)]
* path.cc (mount_info::conv_to_win32_path): Fix debugging output to avoid a
SIGSEGV. Avoid double backslashes in middle of filename.
cgf [Tue, 1 May 2001 02:03:10 +0000 (02:03 +0000)]
* path.cc (mkrelpath): New function.
(mount_info::conv_to_win32_path): Eliminate now-unneeded relative path name arg
and processing.
(path_conv::check): Accomodate relative path names again. Accomodate one extra
argument in mount_info::conv_to_win32_path. Tack trailing slash on end of
relative path as a side effect, like before.
* shared_info.h (mount_info::conv_to_win32_path): Reflect new argument
ordering.
jtc [Mon, 30 Apr 2001 23:57:27 +0000 (23:57 +0000)]
* ppcnbsd-nat.c (fetch_inferior_registers)
(store_inferior_registers, fetch_core_registers): Changed to use
fpreg[] instead of r_regs[] to access floating point registers.
corinna [Mon, 30 Apr 2001 21:19:42 +0000 (21:19 +0000)]
* autoload.cc: Add LoadDLLinitfunc for secur32.dll.
Add LoadDLLfuncEx statements for AllocateLocallyUniqueId@4,
DuplicateTokenEx@24, LsaNtStatusToWinError@4,
LsaDeregisterLogonProcess@4, LsaFreeReturnBuffer@4,
LsaLogonUser@56, LsaLookupAuthenticationPackage@12,
LsaRegisterLogonProcess@12,
* environ.cc: Add extern declaration for `subauth_id'.
(subauth_id_init): New function for setting `subauth_id'.
(struct parse_thing): Add entry for `subauth_id'.
* fork.cc (fork_parent): Call `RevertToSelf' and
`ImpersonateLoggedOnUser' instead of `seteuid'.
* security.cc: Define global variable `subauth_id'.
(extract_nt_dom_user): New function.
(cygwin_logon_user): Call `extract_nt_dom_user' now.
(str2lsa): New static function.
(str2buf2lsa): Ditto.
(str2buf2uni): Ditto.
(subauth): Ditto.
* security.h: Add prototype for `subauth'.
* spawn.cc (spawn_guts): Use cygheap->user.token only if impersonated.
Use `cygsid' type. Remove impersonation before allowing access to
workstation/desktop to everyone. Call `RevertToSelf' and
`ImpersonateLoggedOnUser' instead of `seteuid'.
* syscalls.cc (seteuid): Rearranged to allow using subauthentication
to retrieve user tokens when needed.
ezannoni [Mon, 30 Apr 2001 20:57:31 +0000 (20:57 +0000)]
2001-04-30 Elena Zannoni <ezannoni@redhat.com>
* sh-tdep.c: Get rid of the function prototypes.
(sh_sh4_build_float_register_type): Move earlier in file.
(fv_reg_base_num): Ditto.
(dr_reg_base_num): Ditto.
msnyder [Mon, 30 Apr 2001 20:25:06 +0000 (20:25 +0000)]
2001-04-30 Michael Snyder <msnyder@redhat.com>
* thread-db.c: Revert 2001-04-26 change for debugging output.
* lin-lwp.c: Ditto.
* lin-lwp.c: Add set/show debug lin-lwp command. Use this
command to turn extra debugging output on / off.
corinna [Mon, 30 Apr 2001 18:27:24 +0000 (18:27 +0000)]
* uinfo.cc (internal_getlogin): Formatting change.
corinna [Mon, 30 Apr 2001 18:21:47 +0000 (18:21 +0000)]
* grp.cc: Eliminate MAX_DOMAIN_NAME define.
(read_etc_group): Substitute MAX_DOMAIN_NAME by
INTERNET_MAX_HOST_NAME_LENGTH.
* passwd.cc (parse_pwd): Don't force pw_name to be lower case.
* sec_helper.cc: Substitute MAX_USER_NAME by UNLEN,
MAX_COMPUTERNAME_LENGTH by INTERNET_MAX_HOST_NAME_LENGTH throughout.
(lookup_name): Slight cleanup.
* security.cc (alloc_sd): Substitute MAX_USER_NAME by UNLEN.
* security.h: Define DEFAULT_UID as DOMAIN_USER_RID_ADMIN and
DEFAULT_GID as DOMAIN_ALIAS_RID_ADMINS.
* shared.cc (memory_init): Substitute MAX_USER_NAME by UNLEN.
* thread.h: Ditto.
* uinfo.cc (internal_getlogin): Substitute MAX_USER_NAME by UNLEN.
Substitute MAX_COMPUTERNAME_LENGTH and MAX_HOST_NAME by
INTERNET_MAX_HOST_NAME_LENGTH.
* winsup.h: Include lmcons.h. Eliminate MAX_USER_NAME and
MAX_HOST_NAME. Move DEFAULT_UID and DEFAULT_GID to security.h.
msnyder [Mon, 30 Apr 2001 18:21:17 +0000 (18:21 +0000)]
2001-04-30 Michael Snyder <msnyder@redhat.com>
* thread-db.c: Revert 2001-04-26 change for debugging output.
* lin-lwp.c: Ditto.
msnyder [Mon, 30 Apr 2001 18:20:17 +0000 (18:20 +0000)]
2001-04-30 Michael Snyder <msnyder@redhat.com>
* thread-db.c: Revert 2001-04-26 change for debugging output.
* lin-lwp.c: Ditto.
cagney [Mon, 30 Apr 2001 17:09:19 +0000 (17:09 +0000)]
Always initialize `p'.
cgf [Mon, 30 Apr 2001 16:52:53 +0000 (16:52 +0000)]
* path.cc (path_conv::check): Don't use path_flags when converting to MS-DOS
syntax unless parsing tail of path component. Stop parsing path when we reach
the 'root' of the path. Correctly copy tail to path component.
hjl [Mon, 30 Apr 2001 16:13:25 +0000 (16:13 +0000)]
2000-04-27 H.J. Lu <hjl@gnu.org>
* elf.c (_bfd_elf_link_hash_hide_symbol): Set dynindx to -1
only for ELF_LINK_FORCED_LOCAL.
* elf32-hppa.c (elf32_hppa_hide_symbol): Likewise.
* elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise.
* elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise.
* elflink.h (elf_fix_symbol_flags): Set ELF_LINK_FORCED_LOCAL
if the symbol has hidden or internal visibility.
amodra [Mon, 30 Apr 2001 13:34:41 +0000 (13:34 +0000)]
* elf32-hppa.c (final_link_relocate): Branch to .+8 for
calls to undefined weak symbols.
eliz [Mon, 30 Apr 2001 10:30:27 +0000 (10:30 +0000)]
* buildsym.c (start_subfile): Use FILENAME_CMP instead of STREQ.
(top-level): #include filenames.h.
* dwarf2read.c (dwarf2_start_subfile): Use IS_ABSOLUTE_PATH and
FILENAME_CMP, to DTRT on non-Posix platforms.
(top-level): #include filenames.h.
aj [Mon, 30 Apr 2001 10:30:04 +0000 (10:30 +0000)]
* elf64-x86-64.c (elf64_x86_64_relocate_section): Correct test for
R_X86_64_GOTPCREL, don't use assignments instead of comparisons.
aj [Mon, 30 Apr 2001 09:37:07 +0000 (09:37 +0000)]
* emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
cgf [Mon, 30 Apr 2001 03:09:18 +0000 (03:09 +0000)]
* exceptions.cc (INIT_EXCEPTION_HANDLER): Eliminate.
(init_exceptions): Just use init_exception_handler.
(open_stackdumpfile): New function.
(stack_info::first_time): Eliminate.
(stack_info::init): Set up fields to avoid "first_time" consideration.
(stack_info::walk): Remove "first_time" consideration.
(stackdump): Change arguments to accept initial frame pointer and open stack
file flag.
(stack): Eliminate.
(cygwin_stackdump): Use stackdump() rather than stack().
(try_to_debug): Remove all synchronization logic. Just keep looping in
exception handler until debugger notices us. Return 1 if successfully started
debugger.
(handle_exceptions): Just return if we know that we're debugging. Reorganize
to avoid creating a stackdump file if we are starting a debugger. Return from
exception handler if debugger started successfully.
(sig_handle): Create a stackdump only if debugger wasn't started.
* winsup.h (try_to_debug): Add an argument.
cgf [Mon, 30 Apr 2001 01:46:30 +0000 (01:46 +0000)]
* path.cc (symlink_info::check): Remove extra arguments, move functionality
back to path_conv::check. Clear symlink bit from pflags argument before
detecting if this is a symlink.
(path_conv::check): Convert posix path here instead of symlink_info::check.
Only grab volflags when using ntsec.
(symlink_info::check_case): Just replace appropriate part of input path.
hjl [Sun, 29 Apr 2001 19:10:21 +0000 (19:10 +0000)]
2001-04-29 H.J. Lu <hjl@gnu.org>
* ld-shared/symbolic.dat: New.
* ld-shared/shared.exp: Also check -Bsymbolic.
hjl [Sun, 29 Apr 2001 17:58:39 +0000 (17:58 +0000)]
2001-04-29 Keith M Wesolowski <wesolows@foobazco.org>
* config/tc-mips.c (md_parse_option): Also accept
elf64-tradbigmips and elf64-tradlittlemips for OPTION_64.
aj [Sun, 29 Apr 2001 13:42:45 +0000 (13:42 +0000)]
* elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Only swap
out handled entries.
(elf64_x86_64_finish_dynamic_symbol): Set up GOT entries.
(elf64_x86_64_relocate_section): Fix GOTPCREL calculation.
(elf64_x86_64_relocate_section): Merge entries for GOTPCREL and
GOT32.
cgf [Sun, 29 Apr 2001 02:54:36 +0000 (02:54 +0000)]
minor formatting changes.
cgf [Sun, 29 Apr 2001 02:32:18 +0000 (02:32 +0000)]
* passwd.cc (ttymnam): New function.
(main): Use ttynam() to report name of tty.
cgf [Sat, 28 Apr 2001 23:48:27 +0000 (23:48 +0000)]
Throughout, change 'tty_attached' to 'real_tty_attached', for clarity.
Throughout, change 'OutputStopped' to 'output_stopped', for consistency.
* dtable.cc (stdio_init): Set controlling tty if not set by stdio opens.
* exceptions.cc (ctrl_c_handler): Avoid special pgid checking if no tty is
associated with the process.
(Suggested by Tim Baker <dbaker@direct.ca>)
* external.cc (fillout_pinfo): Return actual tty number for ctty.
* fhandler_console.cc (get_tty_stuff): Set ctty when shared memory is
allocated. Accept flags input from open().
(set_console_ctty): New function.
(fhandler_console::open): Pass flags to get_tty_stuff and rely on this function
to set the ctty, if appropriate.
* fhandler_termios.cc (fhandler_termios::set_ctty): Move to tty_min class.
* fhandler_tty.cc (fhandler_tty_slave::open): Use tc field to access
set_ctty().
* tty.h (TTY_CONSOLE): Move to include/sys/cygwin.h.
(tty_min): Add set_ctty class here.
* include/sys/cygwin.h (TTY_CONSOLE): New home here.
* path.cc (symlink_info): Make contents an actual buffer. Pass more flags to
case_check.
(path_conv::check): Reorganize to do parsing based on posix path rather than
native path.
(symlink_info::check): Expect posix path as input. Translate to native path
here. Accept path_conv flags. Stop parsing if not a symlink regardless of
whether previous path was a symlink.
nickc [Sat, 28 Apr 2001 18:00:09 +0000 (18:00 +0000)]
Give emulation a chance to process unrecognized file before fatal error is
reported, not after.
aj [Sat, 28 Apr 2001 16:14:39 +0000 (16:14 +0000)]
* ld-scripts/phdrs.exp: x86-64 is a 64 bit ELF platform, handle it
special.
jjohnstn [Fri, 27 Apr 2001 21:59:44 +0000 (21:59 +0000)]
2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
hjl [Fri, 27 Apr 2001 21:25:04 +0000 (21:25 +0000)]
Revert the last change on aclocal.m4.
jjohnstn [Fri, 27 Apr 2001 20:43:41 +0000 (20:43 +0000)]
2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdlib.h: Add prototype for _strtod_r.
hjl [Fri, 27 Apr 2001 20:42:55 +0000 (20:42 +0000)]
2001-04-27 David Mosberger <davidm@hpl.hp.com>
* config/tc-ia64.c (dot_spillmem_p): Fix output_spill_?sprel_p()
argument passing order: predicate goes last, not first.
cgf [Fri, 27 Apr 2001 18:50:57 +0000 (18:50 +0000)]
* thread.cc (thread_init_wrapper): Use _REENT_INIT to initialize the reent
structure of newlib.
* sigproc.h (sig_send): Add exception parameter to sig_send.
* sigproc.cc (sig_send): Ditto. Use it when setting frame info.
* exceptions.cc (handle_exceptions): Use exception flag when calling sig_send.
nickc [Fri, 27 Apr 2001 17:12:15 +0000 (17:12 +0000)]
Add support for arm-vxworks target
cagney [Fri, 27 Apr 2001 16:40:28 +0000 (16:40 +0000)]
Zap romp host.
cagney [Fri, 27 Apr 2001 16:20:50 +0000 (16:20 +0000)]
All 5.1 obsolete targets are done.
dhoward [Fri, 27 Apr 2001 16:06:51 +0000 (16:06 +0000)]
(Changes from Kevin Buettner, with minor update by Don Howard.)
* i387-nat.c (i387_supply_fxsave, i387_fill_fxsave, i387_tag): Fix
typos in which hexadecimal constants were really intended to be
binary constants.
(i387_tag): Swap logic regarding zero vs non-zero exponents.
dhoward [Fri, 27 Apr 2001 15:53:06 +0000 (15:53 +0000)]
Added myself to the write-after-approval list.
dhoward [Fri, 27 Apr 2001 15:45:15 +0000 (15:45 +0000)]
Added myself to the write-after-approval list.
nickc [Fri, 27 Apr 2001 15:42:21 +0000 (15:42 +0000)]
Support printable characters outside of the ASCII range
nickc [Fri, 27 Apr 2001 13:34:20 +0000 (13:34 +0000)]
Add openRISC support in opcodes
nickc [Fri, 27 Apr 2001 13:33:24 +0000 (13:33 +0000)]
Add openRISC support in opcodes
corinna [Fri, 27 Apr 2001 10:46:45 +0000 (10:46 +0000)]
* winsup.api/mmaptest04.c: Take care for binmode explicitely.
duda [Fri, 27 Apr 2001 06:27:28 +0000 (06:27 +0000)]
* tty.cc (tty::make_pipes): Set to_slave pipe mode to nonblocking.
* fhandler_tty.cc (fhandler_pty_master::accept_input): If pipe buffer
is full, give slave a chance to read data.
jimb [Fri, 27 Apr 2001 00:19:08 +0000 (00:19 +0000)]
(Changes from Daniel Berlin, with revisions by Jim Blandy.)
Abstract out operations specific to particular C++ ABI's, and
invoke them through a function table. This removes the C++ ABI
dependencies scattered throughout the code, and allows us to
cleanly add support for new C++ ABI's.
* cp-abi.h, cp-abi.h, gnu-v2-abi.c, hpacc-abi.c: New files.
* c-typeprint.c, c-valprint.c, dbxread.c, eval.c, gdbtypes.c,
jv-typeprint.c, linespec.c, symtab.c, typeprint.c, valops.c:
#include "cp-abi.h". These files all use functions now declared
there.
* symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P):
Deleted. These services are now provided by functions declared in
cp-abi.h.
* value.h (value_rtti_type, value_virtual_fn_field): Same.
* values.c (value_virtual_fn_field): Same, for this definition.
* valops.c (value_rtti_type): Same.
* c-typeprint.c (c_type_print_base): Use the functions from
"cp-abi.h", instead of the old macros, or hard-coded ABI-specific
tests.
* dbxread.c (record_minimal_symbol): Same.
* gdbtypes.c (get_destructor_fn_field, virtual_base_index,
virtual_base_index_skip_primaries): Same.
* jv-typeprint.c (java_type_print_base): Same.
* linespec.c (find_methods, decode_line_1): Same.
* symtab.c (gdb_mangle_name): Same.
* Makefile.in (SFILES): Add the new .c files mentioned above.
(cp_abi_h): New variable.
(COMMON_OBS): Add gnu-v2-abi.o, hpacc-abi.o, and cp-abi.o.
(cp-abi.o, gnu-v2-abi.o, hpacc-abi.o): New targets.
(c-typeprint.o, c-valprint.o, dbxread.o, eval.o, gdbtypes.o,
jv-typeprint.o, symtab.o, linespec.o, typeprint.o, valops.o): Add
dependency on $(cp_abi_h).
msnyder [Thu, 26 Apr 2001 23:14:19 +0000 (23:14 +0000)]
2001-04-26 Michael Snyder <msnyder@redhat.com>
* thread-db.c (_initialize_thread_db): Add set/show command
"debug-linux-threads" for debugging output.
* lin-lwp.c (various): Use global "debug_linux_threads to
turn on extra debugging output.
msnyder [Thu, 26 Apr 2001 22:35:08 +0000 (22:35 +0000)]
2001-04-26 Michael Snyder <msnyder@redhat.com>
* lin-lwp.c: Minor cleanups in comments.
msnyder [Thu, 26 Apr 2001 22:10:40 +0000 (22:10 +0000)]
2001-04-26 Michael Snyder <msnyder@redhat.com>
* target.c (normal_pid_to_str): Get rid of an ancient hack.
* remote.c (remote_pid_to_str): New function for remote target.
aoliva [Thu, 26 Apr 2001 19:23:16 +0000 (19:23 +0000)]
* Makefile.in (idecode.o, op_utils.o, semantics.o, simops.o):
Depend on targ-vals.h.
hjl [Thu, 26 Apr 2001 19:09:19 +0000 (19:09 +0000)]
2001-04-26 H.J. Lu <hjl@gnu.org>
* elf32-i386.c (elf_i386_check_relocs): Verify if r_symndx is
valid.
nickc [Thu, 26 Apr 2001 15:19:19 +0000 (15:19 +0000)]
Add ability to pad code alignment frags with no-ops.
corinna [Thu, 26 Apr 2001 09:21:32 +0000 (09:21 +0000)]
* security.cc (alloc_sd): Add unrelated ACCESS_ALLOWED_ACE behind
the `everyone' ACE.
aoliva [Thu, 26 Apr 2001 05:42:15 +0000 (05:42 +0000)]
* configure.in (noconfigdirs): Don't reset it from scratch in the
target case; only append to it.
aoliva [Thu, 26 Apr 2001 05:32:29 +0000 (05:32 +0000)]
* configure.in (noconfigdirs) [hppa*-*-*, mips*-*-irix6*,
sparc-*-solaris2.8]: Disable ${libgcj}.
aoliva [Wed, 25 Apr 2001 21:41:21 +0000 (21:41 +0000)]
* configure.in (libgcj_saved): Copy from $libgcj.
(libgcj): Zero out if --enable-libgcj; add to noconfigdirs is
--disable-libgcj.
fche [Wed, 25 Apr 2001 21:14:28 +0000 (21:14 +0000)]
* thanks, nickc
2001-04-25 Frank Ch. Eigler <fche@redhat.com>
* sim-load.c (sim_load_file): Put it back [...]
fche [Wed, 25 Apr 2001 21:08:01 +0000 (21:08 +0000)]
* externalize a function
2001-04-25 Frank Ch. Eigler <fche@redhat.com>
* bfd-in.h (bfd_cache_close): Declare newly exported function.
* bfd-in2.h: Regenerated.
cgf [Wed, 25 Apr 2001 19:11:37 +0000 (19:11 +0000)]
* sigproc.h [sigthread]: Add exception field.
[sigframe::~sigframe]: Clear exception field.
[sigframe::set]: Set exception field from caller.
* sigproc.cc (sig_send): Set exception field when frame pointer is passed in.
* exceptions.cc (interrupt_on_return): Always treat exception as interruptible.
nickc [Wed, 25 Apr 2001 19:09:27 +0000 (19:09 +0000)]
Fix autoconf breakage + commit target.c, omitted in previous delta
duda [Wed, 25 Apr 2001 16:18:42 +0000 (16:18 +0000)]
* cygwin.din: Export asctime_r, ctime_r, gmtime_r, localtime_r
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 39
cgf [Wed, 25 Apr 2001 14:59:49 +0000 (14:59 +0000)]
* include/cygwin/version.h: Bump minor version number.
* childinfo.h: Bump child structure magic number.
corinna [Wed, 25 Apr 2001 12:54:21 +0000 (12:54 +0000)]
* uinfo.cc (internal_getlogin): Return pointer to struct passwd.
(uinfo_init): Accommodate the above change.
* syscalls.cc (seteuid): Ditto.
corinna [Wed, 25 Apr 2001 09:43:25 +0000 (09:43 +0000)]
* autoload.cc: Add LoadDLLfunc statements for SetTokenInformation@16.
* cygheap.cc: Include security.h.
* grp.cc (internal_getgrent): New function.
(getgroups): Rearranged using `internal_getgrent' and the new
`cygsid' class.
* passwd.cc (internal_getpwent): New function.
* sec_acl.cc: Use new `cygsid' class throughout.
(acl_access): Use `internal_getgrent' instead of `getgrent'.
* sec_helper.cc: Use new `cygsid' class throughout.
(get_id_from_sid): Use `internal_getgrent' instead of `getgrent'.
Use `internal_getpwent' instead of `getpwent'.
* security.cc: Use new `cygsid' class throughout.
* security.h: Move `MAX_SID_LEN' from winsup.h to here.
Add extern declarations for `internal_getgrent' and `internal_getpwent'.
(class cygsid): New class.
* shared.cc (sec_user): Use new `cygsid' class.
* syscalls.cc (seteuid): Try to set owner to user and primary group to
current group in impersonation token before performing impersonation.
(setegid): Try to set primary group in process token to the new group
if ntsec is on.
* uinfo.cc (internal_getlogin): Use new `cygsid' class.
Try to set owner to user and primary group to current group in process
token if the process has been started from a non cygwin process.
(uinfo_init): Set primary group only if the process has been started
from a non cygwin process.
* winsup.h: Move define for `MAX_SID_LEN' to security.h.
nickc [Wed, 25 Apr 2001 09:11:30 +0000 (09:11 +0000)]
Check to see if the filename symbol has been initialised before extracting
its symbol index.
corinna [Wed, 25 Apr 2001 07:26:53 +0000 (07:26 +0000)]
* fhandler_dsp.cc: Improved handling of 8 bit playback modes.
Put in mock support for SNDCTL_DSP_SETFRAGMENT.
cgf [Wed, 25 Apr 2001 03:51:05 +0000 (03:51 +0000)]
* lib/Makefile.in: Install libraries in /usr/lib/w32api when building for
cygwin.
hjl [Wed, 25 Apr 2001 00:18:35 +0000 (00:18 +0000)]
2001-04-24 H.J. Lu <hjl@gnu.org>
* configure: Regenerated with the right version of autoconf.
jimb [Tue, 24 Apr 2001 23:12:49 +0000 (23:12 +0000)]
* c-typeprint.c (c_type_print_cv_qualifier): Don't print `const'
qualifier on C++ references; all references are innately const.
jjohnstn [Tue, 24 Apr 2001 22:09:21 +0000 (22:09 +0000)]
2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
* libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
* libc/stdio/vprintf.c (_vprintf_r): new function
* libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
* libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
_DEFUN, and call _vfprintf_r, not vfprintf.
* libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
* libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
_DEFUN, and call _vfprintf_r, not vfprintf.
corinna [Tue, 24 Apr 2001 21:52:57 +0000 (21:52 +0000)]
* passwd.cc (getpwnam_r): Add pw_passwd handling as well.
(getpwuid_r): Ditto.
corinna [Tue, 24 Apr 2001 21:45:20 +0000 (21:45 +0000)]
* passwd.cc (getpwnam_r): Use correct offsets into buffer.
Copy pw_gecos field as well.
(getpwuid_r): Ditto.
cgf [Tue, 24 Apr 2001 20:20:01 +0000 (20:20 +0000)]
* include/winsock2.h: Protect one *more* newlib defines when compiling cygwin.
dj [Tue, 24 Apr 2001 18:32:27 +0000 (18:32 +0000)]
* sparc.h: Fix typo.
jakub [Tue, 24 Apr 2001 17:55:55 +0000 (17:55 +0000)]
* merge.c (struct sec_merge_hash_entry): Add alignment field.
(struct sec_merge_hash): Remove alignment_power.
(sec_merge_hash_newfunc): Clear alignment.
(sec_merge_hash_lookup): Pass alignment as argument.
Use hashp->root.next, not hashp->next to walk the hash chain.
If a string already in the hashtable does not have required
alignment, create a new hashtable entry.
(sec_merge_init): Remove alignment_power argument.
(sec_merge_add): Add alignment argument.
(sec_merge_emit): Alignment is now a per-entity thing, not per
section.
(_bfd_merge_section): Sanity check even non-SEC_STRINGS sections
for proper alignment.
Pass alignment information to sec_merge_add.
jimb [Tue, 24 Apr 2001 17:47:41 +0000 (17:47 +0000)]
* gdb.c++/templates.exp: If we see the prompt for the overload
list, but we haven't recognized any of the longer patterns,
arrange for this test to fail, not hang.
jimb [Tue, 24 Apr 2001 17:39:14 +0000 (17:39 +0000)]
* gdb.c++/classes.exp (ptype class A): Tolerate whitespace
variations.
duda [Tue, 24 Apr 2001 15:25:30 +0000 (15:25 +0000)]
* dlmalloc.c: New file. Port of Doug Lea's malloc
* dlmalloc.h: Ditto.
* Makefile.in: Add support for MALLOC_DEBUG
* config.h.in: Ditto.
* winsup.h: Ditto.
* configure.in: Add --enable-malloc-debugging option.
* configure: Regenerate.
* debug.h: Include declarations for debugging malloc.
* tty.cc (grantpt): Fix definition.
(unlockpt): Ditto.
nickc [Tue, 24 Apr 2001 15:22:23 +0000 (15:22 +0000)]
z8k fixes
nickc [Tue, 24 Apr 2001 15:08:12 +0000 (15:08 +0000)]
Add OpenRISC support
cgf [Tue, 24 Apr 2001 03:41:36 +0000 (03:41 +0000)]
* include/winsock2.h: Protect some more newlib defines when compiling cygwin
cgf [Tue, 24 Apr 2001 02:07:57 +0000 (02:07 +0000)]
Remove trailing underscore from fhandler_base and friends, throughout.
* fhandler.h (fhandler_base::set_open_status): New method. Stores original
open status.
(fhandler_base::get_open_status): New method. Retrieves original open status.
(fhandler_base::reset_to_open_binmode): New method.
* fhandler.cc (fhandler_base::open): Save open status.
(fhandler_base::init): Ditto.
* fhandler_clipboard.cc (fhandler_clipboard::open): Ditto.
* fhandler_console.cc (fhandler_console::open): Ditto.
* fhandler_dsp.cc (fhandler_dsp::open): Ditto.
* fhandler_dev_mem.cc (fhandler_dev_mem::open): Ditto.
* fhandler_dev_random.cc (fhandler_dev_random::open): Ditto.
* fhandler_serial.cc (fhandler_serial::open): Ditto.
* fhandler_tty_slave.cc (fhandler_tty_slave::open): Ditto.
* fhandler_tty_master.cc (fhandler_tty_master::open): Ditto.
* fhandler_dev_zero.cc (fhandler_dev_zero::open): Ditto.
* syscalls.cc (setmode): Rework so that 0 mode value causes reversion to open
state.
* fhandler_tty_slave.cc (fhandler_tty_slave::read): Use correct multiplier when
converting from deciseconds to milliseconds.
kseitz [Mon, 23 Apr 2001 20:28:28 +0000 (20:28 +0000)]
* generic/gdbtk-cmds.c (gdb_entry_point): Return an empty
string when there is no active target (i.e., there is no
entry point to return yet).
kseitz [Mon, 23 Apr 2001 20:27:54 +0000 (20:27 +0000)]
* generic/gdbtk-cmds.c (gdb_get_breakpoint_info): If unable
to find the requested breakpoint for lookup, check if
it is about to be deleted and return information about
that breakpoint.
(gdb_get_tracepoint_info): Ditto for tracepoints.
* generic/gdbtk-hooks.c (gdbtk_deleted_bp): New global.
(gdbtk_delete_breakpoint): Remember the deleted breakpoint
for gdb_get_breakpoint_info, in case it is called during
the event notification.
(gdbtk_delete_tracepoints): Ditto for tracepoints.
cgf [Mon, 23 Apr 2001 17:29:32 +0000 (17:29 +0000)]
* fhandler.h (fhandler_base::clear_r_binary): New method.
(fhandler_base::clear_w_binary): New method.
* syscalls.cc (setmode): Accept 0 as mode value. Resets text/binary behavior
for fd to default.
cgf [Mon, 23 Apr 2001 17:19:24 +0000 (17:19 +0000)]
* include/winsock.h: Protect some more newlib defines when compiling cygwin.
chastain [Mon, 23 Apr 2001 17:02:04 +0000 (17:02 +0000)]
2001-04-22 Michael Chastain <chastain@redhat.com>
* gdb.c++/local.exp: Use the 'runto' library function.
* gdb.c++/namespace.exp: Likewise.
* gdb.c++/overload.exp: Likewise.
cgf [Mon, 23 Apr 2001 16:46:30 +0000 (16:46 +0000)]
* net.cc [errmap]: Add '0' condition.
(find_winsock_errno): Don't translate no error to EPERM.
aj [Mon, 23 Apr 2001 08:00:13 +0000 (08:00 +0000)]
2001-04-23 Bo Thorsen <bo@suse.de>
* x86-64.h: Add vtable support.
2001-04-23 Bo Thorsen <bo@suse.de>
* elf64-x86-64.c: Add c++ vtable hack.
Small whitespace and comment changes.
cgf [Mon, 23 Apr 2001 02:56:19 +0000 (02:56 +0000)]
spacing changes.
cgf [Mon, 23 Apr 2001 00:48:23 +0000 (00:48 +0000)]
* include/cygwin/version.h: Bump Cygwin version and API version.
rbcollins [Sun, 22 Apr 2001 23:59:15 +0000 (23:59 +0000)]
Mon Apr 23 9:27:00 2001 Robert Collins <rbtcollins@hotmail.com>
* thread.cc (MTinterface::Init): Always initialise per process variables.
cgf [Sun, 22 Apr 2001 23:52:06 +0000 (23:52 +0000)]
* libc/include/sys/unistd.h [X_OK]: Use better protection against Cygwin X_OK
definitions in sys/file.h.
cgf [Sun, 22 Apr 2001 23:18:27 +0000 (23:18 +0000)]
* features.h: Reinstate as wrapper for sys/features.h.
corinna [Sun, 22 Apr 2001 22:12:12 +0000 (22:12 +0000)]
* security.cc (alloc_sd): Reformat comment.
* shared.cc: Drop function declarations already in security.h.