OSDN Git Service
cgf [Mon, 16 Apr 2001 02:51:02 +0000 (02:51 +0000)]
* mount.cc (longopts): Add help to options list.
(opts): Add 'h' to options string.
* umount.cc (longopts): Add help to options list.
(opts): Add 'h' to options string and change 'R' to 'A'.
cgf [Sun, 15 Apr 2001 20:39:45 +0000 (20:39 +0000)]
* uname.c (uname): Default n in in86 to 6 if Windows returns > 6.
jtc [Sun, 15 Apr 2001 19:57:09 +0000 (19:57 +0000)]
* Makefile.in (simops.o): Add simops.h to dependency list.
corinna [Sun, 15 Apr 2001 14:09:33 +0000 (14:09 +0000)]
Patch by Kazuhiro Fujieda <fujieda@jaist.ac.jp>:
* mkgroup.c (enum_groups): Use RID + offset specified an additional
argument as ID.
(usage): Add description of -o option.
(longopts, opts): Add specifications of -o/--id-offset option.
(main): Add -o option. Invoke enum_groups with specified offset.
* mkpasswd.c (enum_users): Just like mkgroup.c.
(usage, longopts, opts): Ditto.
(main): Add -o option. Invoke enum_users with specified offset
only against domain accounts.
corinna [Sun, 15 Apr 2001 14:00:45 +0000 (14:00 +0000)]
* path.cc (add_ext_from_sym): Redefine to call `add_ext_from_sym_'.
(add_ext_from_sym_): New inline function.
dj [Sun, 15 Apr 2001 04:23:45 +0000 (04:23 +0000)]
* coffcode.h (coff_write_object_contents): Use
bfd_coff_swap_filehdr_out instead of coff_swap_filehdr_out.
hjl [Sun, 15 Apr 2001 01:02:54 +0000 (01:02 +0000)]
2001-04-14 H.J. Lu <hjl@gnu.org>
* bfd-in2.h: Regenerate.
cgf [Sat, 14 Apr 2001 23:24:06 +0000 (23:24 +0000)]
* config.h.in: Turn on VFORK by default.
fche [Sat, 14 Apr 2001 22:56:20 +0000 (22:56 +0000)]
* build fix
2001-04-14 Harri Porten <porten@kde.org>
* sidmiscutil.h (sidutil): added std:: prefixes for C++ ISO compliance.
cgf [Sat, 14 Apr 2001 22:11:02 +0000 (22:11 +0000)]
* net.cc (cygwin_socket): Set SO_LINGER to small value so closed UNIX domain
sockets will not stay around.
* select.cc (socket_cleanup): Set SO_LINGER to small value so closed dummy
sockets do not stay around. Use correct value for second argument to shutdown.
jtc [Sat, 14 Apr 2001 19:23:02 +0000 (19:23 +0000)]
* target.h (target_ops): Removed to_core_file_to_sym_file vector
function.
* corelow.c (core_ops): Updated for above change.
* gnu-nat.c (core_ops): Likewise.
* inftarg.c (child_ops): Likewise.
* monitor.c (monitor_ops): Likewise.
* ppc-bdm.c (bdm_ppc_ops): Likewise.
* remote-adapt.c (adapt_ops): Likewise.
* remote-bug.c (bug_ops): Likewise.
* remote-e7000.c (e7000_ops): Likewise.
* remote-eb.c (eb_ops): Likewise.
* remote-es.c (es1800_ops, es1800_child_ops): Likewise.
* remote-mm.c (mm_ops): Likewise.
* remote-nindy.c (nindy_ops): Likewise.
* remote-nrom.c (nrom_ops): Likewise.
* remote-os9k.c (rombug_ops): Likewise.
* remote-rdp.c (remote_rdp_ops): Likewise.
* remote-sim.c (gdbsim_ops): Likewise.
* remote-st.c (st2000_ops): Likewise.
* v850ice.c (v850ice_ops): Likewise.
* target.c (cleanup_target): Likewise
(update_current_target): Likewise.
(setup_target_debug): Likewise
(debug_to_core_file_to_sym_file): Removed.
* corefile.c (core_file_command) [HPUXHPPA]: Removed code that
sets symbol file from information obtained from the core file.
* corelow.c (core_file_to_sym_file): Removed.
jakub [Sat, 14 Apr 2001 14:23:31 +0000 (14:23 +0000)]
* section.c (STD_SECTION): Add entsize.
rbcollins [Sat, 14 Apr 2001 07:06:02 +0000 (07:06 +0000)]
Sat Apr 14 17:04:00 2001 Robert Collins <rbtcollins@hotmail.com>
* thread.h (MTinterface): Add threadcount.
* thread.cc (MTinterface::Init): Set threadcount to 1.
(__pthread_create): Increment threadcount.
(__pthread_exit): Decrement threadcount and call exit() from the last thread.
aoliva [Sat, 14 Apr 2001 06:57:28 +0000 (06:57 +0000)]
* struc-symbol.h (struct local_symbol): New TC_LOCAL_SYMFIELD_TYPE.
* symbols.c (local_symbol_convert): Call TC_LOCAL_SYMFIELD_CONVERT.
aoliva [Sat, 14 Apr 2001 06:53:57 +0000 (06:53 +0000)]
* config/tc-mn10300.c (md_assemble): Simplify offset adjustment of
pc-relative relocations not placed at the end of the instruction.
hjl [Sat, 14 Apr 2001 04:13:00 +0000 (04:13 +0000)]
2001-04-13 H.J. Lu <hjl@gnu.org>
* section.c (SEC_MERGE): Define new flag for merging.
(SEC_STRINGS): Likewise.
(entsize): New field.
wilson [Sat, 14 Apr 2001 03:51:40 +0000 (03:51 +0000)]
Fix latent bug exposed by a gcc-3 bug fix.
* tc-ia64.c (is_conditional_branch): Return true for br, brl, and br.
excluding br.i.
dj [Fri, 13 Apr 2001 22:42:46 +0000 (22:42 +0000)]
* coff-i386.c (TARGET_SYM): SEC_READONLY is an applicable section
flag on pe-i386 targets.
cgf [Fri, 13 Apr 2001 15:37:46 +0000 (15:37 +0000)]
* libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
cgf [Fri, 13 Apr 2001 15:34:33 +0000 (15:34 +0000)]
Fix ChangeLog format.
cgf [Fri, 13 Apr 2001 15:28:20 +0000 (15:28 +0000)]
* fork.cc (fork_child): Call the __pthread_atforkchild function.
(fork_parent): Call the __pthread_atforkparent function.
* cygwin.din: Export pthread_atfork.
* thread.h (callback): New class.
(MTinterface): Use it.
* thread.cc (__pthread_atforkprepare): New function.
(__pthread_atforkparent): New function.
(__pthread_atforkchild): New function.
(__pthread_atfork): New function.
* pthread.cc (pthread_atfork): New function.
fnasser [Fri, 13 Apr 2001 13:51:53 +0000 (13:51 +0000)]
2001-04-13 Fernando Nasser <fnasser@redhat.com>
From Adam Mirowski <Adam.Mirowski@Sun.COM>
Fixed Insight on Solaris. It was not possible to debug a process
because of EINTR "errors".
* procfs.c: (procfs_wait): if proc_wait_for_stop() fails
with EINTR, retry the call.
corinna [Fri, 13 Apr 2001 07:54:19 +0000 (07:54 +0000)]
* path.cc (add_ext_from_sym): New define evaluating `known'suffix'.
(path_conv::check): Use add_ext_from_sym throughout.
jtc [Fri, 13 Apr 2001 02:22:23 +0000 (02:22 +0000)]
* ld.texinfo: Document --fatal-warnings.
* ld.1: Regenerate.
* ldmisc.c (vfinfo): Set flag to inhibit making executable if
warnings have been turned into errors.
* lexsup.c (OPTION_WARN_FATAL): Define.
(ld_options): Entry for --fatal-warnings.
(parse_args): Handle OPTION_WARN_FATAL.
* ld.h (ld_config_type): Add fatal_warnings field.
jakub [Fri, 13 Apr 2001 00:34:34 +0000 (00:34 +0000)]
bfd/
* libbfd-in.h (_bfd_merge_section): New.
(_bfd_write_merged_section): New.
(_bfd_merged_section_offset): New.
* libbfd.h: Rebuilt.
* linker.c (_bfd_generic_link_output_symbols): Handle
discard_sec_merge.
* aoutx.h (aout_link_write_symbols): Likewise.
* pdp11.c (aout_link_write_symbols): Likewise.
* elflink.h (elf_link_add_object_symbols): Call _bfd_merge_section.
(elf_bfd_final_link): Adjust global symbols pointing into SEC_MERGE
sections.
(elf_link_sec_merge_syms): New.
(elf_link_input_bfd): Call _bfd_merged_section_offset
and _bfd_write_merged_section.
Handle discard_sec_merge.
* elf-bfd.h (struct elf_link_hash_table): Add merge_info
field.
(struct bfd_elf_section_data): Likewise.
* elf.c (_bfd_elf_make_section_from_shdr): Set SEC_MERGE and
SEC_STRINGS section flags and entsize from their ELF counterparts.
(_bfd_elf_link_hash_table_init): Initialize merge_info.
(elf_fake_sections): Set SHF_MERGE, SHF_STRINGS and sh_entsize
from their BFD counterparts.
* merge.c: New file.
* Makefile.am: Add strtab.lo.
* Makefile.in: Rebuilt.
include/
* bfdlink.h (bfd_link_discard): Add discard_sec_merge.
gas/
* config/obj-elf.c (obj_elf_change_section): Add entsize argument,
handle SHF_MERGE and SHF_STRINGS.
(obj_elf_parse_section_letters): Set SHF_MERGE and SHF_STRINGS.
(obj_elf_section): Allow additional argument specifying entity size.
* write.c (adjust_reloc_syms): Keep relocations against local symbols
in SEC_MERGE sections.
ld/
* ldmain.c (main): Default to discard_sec_merge.
* lexsup.c (OPTION_DISCARD_NONE): Define.
(ld_options): Add --discard-none.
(parse_args): Handle OPTION_DISCARD_NONE.
* ldlang.c (wild_doit): SEC_MERGE should be set in the output
section only if SEC_MERGE and SEC_STRINGS flags and entsize of
all its input sections match.
kevinb [Thu, 12 Apr 2001 22:27:09 +0000 (22:27 +0000)]
Revise way in which mappings are allocated/searched.
corinna [Thu, 12 Apr 2001 21:52:38 +0000 (21:52 +0000)]
* cygwinenv.sgml: Add text for `check_case' option.
corinna [Thu, 12 Apr 2001 21:21:37 +0000 (21:21 +0000)]
* dir.cc (mkdir): Check for case clash.
* environ.cc: Add extern declaration for `pcheck_case'.
(check_case_init): New function.
(struct parse_thing): Add "check_case" option.
* errno.cc (_sys_nerrlist): Add text for ECASECLASH.
(strerror): Add case branch for ECASECLASH.
* fhandler.cc (fhandler_disk_file::open): Check for case clash.
* path.cc: Add global variable `pcheck_case'.
(struct symlink_info): Add member `case_clash' and method `case_check'.
(path_prefix_p_): Call `pathnmatch' instead of `strncasematch'.
(pathnmatch): New funtion.
(pathmatch): Ditto.
(path_conv::check): Add handling for case checking.
(symlink): Check for case clash.
(symlink_info::check): Add parameter for case checking.
Handle case checking.
(symlink_info::case_check): New method.
(chdir): Don't use unconverted path if pcheck_case==PCHECK_STRICT.
* path.h: Add extern declarations for `pathmatch' and
`pathnmatch'.
(enum case_checking): New enumeration type describing
the case checking behaviour of path conversion routines.
(class path_conv): Add member `case_clash'.
* syscalls.cc (_link): Check for case clash.
corinna [Thu, 12 Apr 2001 21:17:26 +0000 (21:17 +0000)]
* libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
on case insensitve file systems.
nsd [Thu, 12 Apr 2001 19:53:09 +0000 (19:53 +0000)]
* xcoffread.c (scan_xcoff_symtab): Ignore symbols beginning with
"@".
nsd [Thu, 12 Apr 2001 19:46:41 +0000 (19:46 +0000)]
* generic/gdbtk-cmds.c (gdb_entry_point): New TCL command.
* library/interface.tcl (gdbtk_locate_main): Try the program's
entry point if no main function is found.
kevinb [Thu, 12 Apr 2001 18:44:38 +0000 (18:44 +0000)]
* config/i386/fbsd.mh (NATDEPFILES): Add i386-nat.o.
cgf [Thu, 12 Apr 2001 16:50:13 +0000 (16:50 +0000)]
* syscalls.cc (mkfifo): New function stub.
jason [Thu, 12 Apr 2001 16:00:32 +0000 (16:00 +0000)]
* dwarf2dbg.c (process_entries): Don't optimize redundant line notes.
cgf [Thu, 12 Apr 2001 15:40:17 +0000 (15:40 +0000)]
* configure.in: Remove PTH_ALLOW.
* cygwin.din: Remove @PTH_ALLOW@ prefixes to pthread functions. Add new
pthread exports.
* pthread.cc: New wrapper functions for the above new exports.
* sched.cc (valid_sched_parameters): New function.
(sched_setparam): Use it.
(sched_set_thread_priority): New function. Used by pthread_sched*.
* thread.cc (pthread_key_destructor::InsertAfter): New function.
(pthread_key_destructor::UnlinkNext): New function.
(pthread_key_destructor::Next): New function.
(pthread_key_destructor_list::Insert): New function.
(pthread_key_destructor_list::Remove): New function.
(pthread_key_destructor_list::Pop): New function.
(pthread_key_destructor::pthread_key_destructor): New function.
(pthread_key_destructor_list::IterateNull): New function.
(MTinterface::Init): Initialise new member.
(pthread::pthread): Initialise new members.
(pthread::create): Copy new attributes. Set the new thread priority.
(pthread_attr::pthread_attr): Initialise new members.
(pthread_key::pthread_key): Setup destructor function.
(pthread_key::~pthread_key): Remove destructor function.
(pthread_mutexattr::pthread_mutexattr): New function.
(pthread_mutexattr::~pthread_mutexattr): New function.
(__pthread_once): New function.
(__pthread_cleanup): New function.
(__pthread_cancel): New function.
(__pthread_setcancelstate): New function.
(__pthread_setcanceltype): New function.
(__pthread_testcancel): New function.
(__pthread_attr_getinheritsched): New function.
(__pthread_attr_getschedparam): New function.
(__pthread_attr_getschedpolicy): New function.
(__pthread_attr_getscope): New function.
(__pthread_attr_setinheritsched): New function.
(__pthread_attr_setschedparam): New function.
(__pthread_attr_setschedpolicy): New function.
(__pthread_attr_setscope): New function.
(__pthread_exit): Call any key destructors on thread exit.
(__pthread_join): Use the embedded attr values.
(__pthread_detach): Use the embedded attr values.
(__pthread_getconcurrency): New function.
(__pthread_getschedparam): New function.
(__pthread_key_create): Pass the destructor on object creation.
(__pthread_key_delete): Correct incorrect prototype.
(__pthread_setconcurrency): New function.
(__pthread_setschedparam): New function.
(__pthread_cond_timedwait): Support static mutex initialisers.
(__pthread_cond_wait): Ditto.
(__pthread_mutex_getprioceiling): New function.
(__pthread_mutex_lock): Support static mutex initialisers.
(__pthread_mutex_trylock): Ditto.
(__pthread_mutex_unlock): Ditto.
(__pthread_mutex_destroy): Ditto.
(__pthread_mutex_setprioceiling): New function.
(__pthread_mutexattr_getprotocol): New function.
(__pthread_mutexattr_getpshared): New function.
(__pthread_mutexattr_gettype): New function.
(__pthread_mutexattr_init): New function.
(__pthread_mutexattr_destroy): New function.
(__pthread_mutexattr_setprotocol): New function.
(__pthread_mutexattr_setprioceiling): New function.
(__pthread_mutexattr_getprioceiling): New function.
(__pthread_mutexattr_setpshared): New function.
(__pthread_mutexattr_settype): New function. Remove stubs for non MT_SAFE
compilation.
* thread.h: Remove duplicate #defines. Add prototypes for new functions in
thread.cc.
(pthread_key_destructor): New class.
(pthread_key_destructor_list): New class.
(pthread_attr): Add new members.
(pthread): Remove members that are duplicated in the pthread_attr class.
(pthread_mutex_attr): Add new members.
(pthread_once): New class.
* include/pthread.h: Add prototypes for new functions exported from
cygwin1.dll. Remove typedefs.
* include/sched.h: Add prototypes for new functions in sched.cc.
* include/cygwin/types.h: Add typedefs from pthread.h
jimb [Thu, 12 Apr 2001 14:53:20 +0000 (14:53 +0000)]
* mips.igen (CFC1, CTC1): Pass the correct register numbers to
PENDING_FILL. Use PENDING_SCHED directly to handle the pending
set of the FCSR.
* sim-main.h (COCIDX): Remove definition; this isn't supported by
PENDING_FILL, and you can get the intended effect gracefully by
calling PENDING_SCHED directly.
aoliva [Thu, 12 Apr 2001 12:31:58 +0000 (12:31 +0000)]
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.226.
aoliva [Thu, 12 Apr 2001 07:03:10 +0000 (07:03 +0000)]
* expr.c (operand): Pass &c to md_parse_name().
* config/tc-ia64.h, config/tc-ppc.h, config/tc-tic54x.h: Adjust.
rbcollins [Thu, 12 Apr 2001 04:04:53 +0000 (04:04 +0000)]
* configure.in: Remove PTH_ALLOW.
* cygwin.din: Remove @PTH_ALLOW@ prefixes to pthread functions.
Add new pthread exports.
* pthread.cc: New wrapper functions for the above new exports.
* sched.cc (valid_sched_parameters): New function.
(sched_setparam): Use it.
(sched_set_thread_priority): New function. Used by pthread_sched*.
* thread.cc (pthread_key_destructor::InsertAfter): New function.
(pthread_key_destructor::UnlinkNext): New function.
(pthread_key_destructor::Next): New function.
(pthread_key_destructor_list::Insert): New function.
(pthread_key_destructor_list::Remove): New function.
(pthread_key_destructor_list::Pop): New function.
(pthread_key_destructor::pthread_key_destructor): New function.
(pthread_key_destructor_list::IterateNull): New function.
(MTinterface::Init): Initialise new member.
(pthread::pthread): Initialise new members.
(pthread::create): Copy new attributes. Set the new thread priority.
(pthread_attr::pthread_attr): Initialise new members.
(pthread_key::pthread_key): Setup destructor function.
(pthread_key::~pthread_key): Remove destructor function.
(pthread_mutexattr::pthread_mutexattr): New function.
(pthread_mutexattr::~pthread_mutexattr): New function.
(__pthread_once): New function.
(__pthread_cleanup): New function.
(__pthread_cancel): New function.
(__pthread_setcancelstate): New function.
(__pthread_setcanceltype): New function.
(__pthread_testcancel): New function.
(__pthread_attr_getinheritsched): New function.
(__pthread_attr_getschedparam): New function.
(__pthread_attr_getschedpolicy): New function.
(__pthread_attr_getscope): New function.
(__pthread_attr_setinheritsched): New function.
(__pthread_attr_setschedparam): New function.
(__pthread_attr_setschedpolicy): New function.
(__pthread_attr_setscope): New function.
(__pthread_exit): Call any key destructors on thread exit.
(__pthread_join): Use the embedded attr values.
(__pthread_detach): Use the embedded attr values.
(__pthread_getconcurrency): New function.
(__pthread_getschedparam): New function.
(__pthread_key_create): Pass the destructor on object creation.
(__pthread_key_delete): Correct incorrect prototype.
(__pthread_setconcurrency): New function.
(__pthread_setschedparam): New function.
(__pthread_cond_timedwait): Support static mutex initialisers.
(__pthread_cond_wait): Ditto.
(__pthread_mutex_getprioceiling): New function.
(__pthread_mutex_lock): Support static mutex initialisers.
(__pthread_mutex_trylock): Ditto.
(__pthread_mutex_unlock): Ditto.
(__pthread_mutex_destroy): Ditto.
(__pthread_mutex_setprioceiling): New function.
(__pthread_mutexattr_getprotocol): New function.
(__pthread_mutexattr_getpshared): New function.
(__pthread_mutexattr_gettype): New function.
(__pthread_mutexattr_init): New function.
(__pthread_mutexattr_destroy): New function.
(__pthread_mutexattr_setprotocol): New function.
(__pthread_mutexattr_setprioceiling): New function.
(__pthread_mutexattr_getprioceiling): New function.
(__pthread_mutexattr_setpshared): New function.
(__pthread_mutexattr_settype): New function.
Remove stubs for non MT_SAFE compilation.
* thread.h: Remove duplicate #defines.
Add prototypes for new functions in thread.cc.
(pthread_key_destructor): New class.
(pthread_key_destructor_list): New class.
(pthread_attr): Add new members.
(pthread): Remove members that are duplicated in the pthread_attr class.
(pthread_mutex_attr): Add new members.
(pthread_once): New class.
* include/pthread.h: Add prototypes for new functions exported from cygwin1.dll.
Remove typedefs.
* include/sched.h: Add prototypes for new functions in sched.cc.
* include/cygwin/types.h: Add typedefs from pthread.h
earnie [Thu, 12 Apr 2001 01:11:41 +0000 (01:11 +0000)]
* include/windows.h (#include <winsock.h>): Include <winsock2.h>
instead if (_WIN32_WINNT >= 0x0400)&&(__W32API_MAJOR_VERSION > 0).
earnie [Thu, 12 Apr 2001 01:03:29 +0000 (01:03 +0000)]
2001-04-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
* include/winuser.h (WM_IME_*): Remove defines (now in imm.h).
earnie [Thu, 12 Apr 2001 00:55:47 +0000 (00:55 +0000)]
* include/windef.h (*PBOOL): Unprotect from XFree86Server.
(*LPBOOL): Ditto.
cgf [Thu, 12 Apr 2001 00:05:56 +0000 (00:05 +0000)]
* libc/include/sys/features.h: Add appropriate defines for Cygwin pthread
support.
* libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
* libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads types.
Include <cygwin/types.h> for the cygwin specific typedefs.
cagney [Wed, 11 Apr 2001 22:39:07 +0000 (22:39 +0000)]
Obsolete sun386i.
cgf [Wed, 11 Apr 2001 19:09:53 +0000 (19:09 +0000)]
* path.cc (struct symlink_info): Add extn and ext_tacked_on fields.
(path_conv::check): Only tack on extension if a known one didn't already exist.
(suffix_scan::has): Return pointer to known extension.
(symlink_info::check): Record location of extension, if any.
duda [Wed, 11 Apr 2001 09:38:55 +0000 (09:38 +0000)]
* mkgroup.c (uni2ansi): Use native method to convert from Unicode
to multi-byte strings.
* mkpasswd.c (uni2ansi): Ditto.
(enum_users): Pass buffer size when converting string.
(enum_local_groups): Ditto.
* mkgroup.c (enum_groups): Ditto.
(enum_local_groups): Ditto.
amodra [Wed, 11 Apr 2001 07:07:29 +0000 (07:07 +0000)]
* MAINTAINERS: Update my email address
* nm.c (print_symbol_info_bsd): Use a simple printf string.
jtc [Wed, 11 Apr 2001 01:01:04 +0000 (01:01 +0000)]
* maint.c: Fix typo in comment.
cgf [Tue, 10 Apr 2001 20:08:25 +0000 (20:08 +0000)]
Fixes for newer cygwin gccs.
Use modern Cygwin conditional.
kseitz [Tue, 10 Apr 2001 15:49:05 +0000 (15:49 +0000)]
From Tom Tromey (tromey@redhat.com):
* library/managedwin.itb (reveal): We actually do want to force
the focus for Windows.
kseitz [Tue, 10 Apr 2001 03:03:28 +0000 (03:03 +0000)]
* MAINTAINERS: Swap with Syd Polk as a gdbtk maintainer.
hunt [Mon, 9 Apr 2001 17:35:29 +0000 (17:35 +0000)]
2001-04-09 Martin M. Hunt <hunt@redhat.com>
* library/managedwin.itb (ManagedWin::reveal): After
deiconifying window for the first time, set its geometry
again, if the platform is unix. This fixes a problem with kde.
(ManagedWin::_create): Set a variable with the initial
geometry.
hunt [Mon, 9 Apr 2001 17:20:03 +0000 (17:20 +0000)]
2001-04-09 Martin M. Hunt <hunt@redhat.com>
* srcwin1.test: Fix line numbers to correspond to
modified source files in gdb.base. Commented-out test
case for moving up past main() because sometimes there
is a libc init function which makes the results
inconsistent.
* srcwin2.test: Ditto.
* srcwin3.test: Ditto.
duda [Mon, 9 Apr 2001 07:21:32 +0000 (07:21 +0000)]
* fhandler.h (class fhandler_socket): Add members and methods to
support secure connections on AF_UNIX sockets.
* fhandler_socket.cc (fhandler_socket::set_connect_secret): New method.
(fhandler_socket::get_connect_secret): Ditto.
(fhandler_socket::create_secret_event): Ditto.
(fhandler_socket::close_secret_event): Ditto.
(fhandler_socket::check_peer_secret_event): Ditto.
(fhandler_socket::fixup_after_fork): Duplicate secret event to child.
(fhandler_socket::dup): Copy address family.
(fhandler_socket::close): Close secret event.
* net.cc (get_inet_addr): Read secret cookie.
(cygwin_connect): Check if peer knows secret cookie value.
(cygwin_accept): Ditto. Copy address family to newly created socket.
(cygwin_bind): Generate and write secret cookie.
(wsock_init): Initialize random number generator.
hp [Mon, 9 Apr 2001 03:24:32 +0000 (03:24 +0000)]
* elflink.h (elf_fix_symbol_flags): For non-default visibilities,
only hide symbols marked STV_INTERNAL or STV_HIDDEN.
cgf [Mon, 9 Apr 2001 01:23:27 +0000 (01:23 +0000)]
Work around new g++ problem.
cgf [Mon, 9 Apr 2001 00:52:34 +0000 (00:52 +0000)]
* include/winnt.h (GetCurrentFiber): Make "external __inline" or asm code will
be included in every module which includes this header.
(GetFiberData): Ditto.
cgf [Mon, 9 Apr 2001 00:52:33 +0000 (00:52 +0000)]
remove extra whitespace.
cgf [Mon, 9 Apr 2001 00:44:24 +0000 (00:44 +0000)]
* Makefile.in: Put -lgcc last in list of libraries, since stdc++ library needs
it.
* cygwin.din: Remove obsolete "__empty" export.
* exceptions.cc (call_signal_handler_now): Force inclusion of function even
when -finline-functions is specified.
* sigproc.h: Remove obsolete call_signal_handler declaration.
* fhandler_console.cc (cp_get_internal): New function.
(cp_convert): New function.
(con_to_str): New function.
(str_to_con): New function.
(fhandler_console::read): Replace OemToCharBuff with con_to_str.
(fhandler_console::write_normal): Replace CharToOemBuff with str_to_con.
kevinb [Sun, 8 Apr 2001 18:26:03 +0000 (18:26 +0000)]
Add comments noting that vfork might be defined to be fork.
kevinb [Sun, 8 Apr 2001 17:55:13 +0000 (17:55 +0000)]
Use cleanup machinery to invoke ui_out_list_end().
earnie [Sun, 8 Apr 2001 17:00:27 +0000 (17:00 +0000)]
* include/winnt.h (GetCurrentFiber): Fix typo.
earnie [Sun, 8 Apr 2001 16:53:56 +0000 (16:53 +0000)]
* include/shellapi.h: (CommandLineToArgvW): Add WINAPI declaration.
* include/winbase.h: (GetFileAttributesExW): Fix typo.
* include/wingdi.h: (StartDocA): Change LPDOCINFOA to DOCINFOA*.
(StartDocB): Chage LNPDOCINFOB to DOCINFOB*.
Thanks To: Kent Tamura <tkent@users.sourceforge.net>
* include/winnt.h: (GetFiberData): Add __inline assembler coding.
(GetCurrentFiber): Ditto.
Thanks to: Andy Younger <AndyY@redlemon.com>
* include/windef.h: (HMONITOR_DECLARED): New definition to stop
DirectX 8 from complaining.
Thanks to: Sigbjørn Lund Olsen <mosikos@online.no>
* include/commctrl.h Updated TreeView and ListView defines and macros.
* include/winuser.h (MB_SERVICE_NOTIFICATION): Correct value for NT4
and above.
hjl [Sun, 8 Apr 2001 05:13:57 +0000 (05:13 +0000)]
2001-04-05 Steven J. Hill <sjhill@cotw.com>
* Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
(ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
(eelf32ltsmip.c): New target.
(eelf64btsmip.c): Likewise.
(eelf64ltsmip.c): Likewise.
* Makefile.in: Regenerated.
* configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
target.
(mips*-*-linux-gnu*): Likewise.
* emulparams/elf32ltsmip.sh: New. Traditional little endian
MIPS taget.
* emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
target.
* emulparams/elf64ltsmip.sh: New. Traditional 64bit little
endian target.
hjl [Sun, 8 Apr 2001 05:11:47 +0000 (05:11 +0000)]
2001-04-05 Steven J. Hill <sjhill@cotw.com>
* config.bfd (mips*el*-*-linux-gnu*): Use traditional little
endian MIPS ELF target.
* config.bfd (mips*-*-linux-gnu*): Use traditional big endian
MIPS ELF target.
* configure.in (bfd_elf64_tradbigmips_vec): New. Traditional
64bit big endian MIPS ELF target.
(bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little
endian MIPS ELF target.
* configure: Regenerated.
* elf32-mips.c (IRIX_COMPAT): Handle traditional 64bit and
little endian targets.
(mips_elf_sym_is_global): Handle traditional targets.
* elf64-mips.c (bfd_elf64_tradbigmips_vec): New. Traditional
64bit big endian MIPS ELF target.
(bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little
endian MIPS ELF target.
* targets.c: (_bfd_target_vector): Add bfd_elf64_tradbigmips_vec
and bfd_elf64_tradlittlemips_vec.
hjl [Sun, 8 Apr 2001 05:09:20 +0000 (05:09 +0000)]
2001-04-07 Steven J. Hill <sjhill@cotw.com>
* config/tc-mips.c: Support ELF64 for traditional MIPS targets.
* Makefile.am: (TARG_ENV_HFILES): Add tc-mips.h.
* Makefile.in: Regenerated.
* configure.in: Use traditional MIPS targets for Linux/MIPS.
* configure: Regenerated.
jtc [Fri, 6 Apr 2001 22:43:55 +0000 (22:43 +0000)]
* dcache.c (dcache_write_line): Fixed bugs where cache line was
not written to target correctly.
jtc [Fri, 6 Apr 2001 22:25:08 +0000 (22:25 +0000)]
* gdbserver/low-hppabsd.c (read_inferior_memory): Add explicit
void return value;
* gdbserver/low-nbsd.c: Likewise.
* gdbserver/low-sparc.c: Likewise.
* gdbserver/low-sun3.c: Likewise.
---------------------------------------------------------------------
geoffk [Fri, 6 Apr 2001 21:05:27 +0000 (21:05 +0000)]
Add self to write-after-approval list.
geoffk [Fri, 6 Apr 2001 21:05:08 +0000 (21:05 +0000)]
* config/rs6000/nm-rs6000.h (PTRACE_ATTACH): Don't define.
(PTRACE_DETACH): Don't define.
cgf [Fri, 6 Apr 2001 19:24:16 +0000 (19:24 +0000)]
Correct erroneous ChangeLog.
cgf [Fri, 6 Apr 2001 19:23:33 +0000 (19:23 +0000)]
Add missing ChangeLog entry.
dsmith [Fri, 6 Apr 2001 17:53:39 +0000 (17:53 +0000)]
2001-04-06 David Smith <dsmith@redhat.com>
* arch-utils.c (default_prepare_to_proceed)
(generic_prepare_to_proceed): Added new functions.
* arch-utils.h: New function declarations for
default_prepare_to_proceed() and generic_prepare_to_proceed().
* gdbarch.sh: Added PREPARE_TO_PROCEED.
* gdbarch.c: Regenerated.
* gdbarch.h: Regenerated.
* inferior.h: Added get_last_target_status() declaration.
* infrun.c (get_last_target_status): Added new function.
(handle_inferior_event): Saves last pid and waitstatus, which will
get returned by get_last_target_status().
* hppa-tdep.c (prepare_to_proceed): Added comment stating that
prepare_to_proceed() is potentially redundant since
default_prepare_to_proceed() has been added.
* linux-thread.c (prepare_to_proceed): Ditto.
* lin-lwp.c (prepare_to_proceed): Ditto.
* m3-nat.c (prepare_to_proceed): Ditto.
cagney [Fri, 6 Apr 2001 16:25:20 +0000 (16:25 +0000)]
Obsolete powerpcle-*-cygwin* and powerpcle-*-solaris* platforms
and powerpc-*-netware* target.
fnasser [Fri, 6 Apr 2001 13:14:54 +0000 (13:14 +0000)]
2001-04-06 Fernando Nasser <fnasser@redhat.com>
* buildsym.c (record_line): Turn off unused addr bits.
amodra [Fri, 6 Apr 2001 12:13:40 +0000 (12:13 +0000)]
man page generation from gprof.texi by Stephane Carrez
fnasser [Fri, 6 Apr 2001 12:09:27 +0000 (12:09 +0000)]
2001-04-06 Fernando Nasser <fnasser@redhat.com>
From David Deephanphongs <deephan@telocity.com>
* inferior.h: Fix declarations of get_inferior_args and
set_inferior_args, which were missing the trailing 's'.
aj [Fri, 6 Apr 2001 09:27:33 +0000 (09:27 +0000)]
* i386-dis.c: Add ffreep instruction.
aoliva [Fri, 6 Apr 2001 07:50:48 +0000 (07:50 +0000)]
* config/tc-mn10300.c (xr_registers): Added `pc'.
hjl [Fri, 6 Apr 2001 00:37:29 +0000 (00:37 +0000)]
2001-04-05 David Mosberger <davidm@hpl.hp.com>
* elf32-i386.c (elf_i386_fake_sections): Treat ".reloc" as an
ordinary "progbits" section.
corinna [Thu, 5 Apr 2001 20:43:23 +0000 (20:43 +0000)]
* syscalls.cc (stat_worker): Fix conditional which still allowed
successful stat'ing of non-existant files.
hp [Thu, 5 Apr 2001 20:37:53 +0000 (20:37 +0000)]
* emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
correct value of __Stext here.
(TEXT_START_SYMBOLS): Define; always define __Stext, to start of
.startup section.
* emulparams/crislinux.sh: Remove FIXME.
hp [Thu, 5 Apr 2001 19:35:17 +0000 (19:35 +0000)]
* cris.h (enum cris_insn_version_usage): Correct comment for
cris_ver_v3p.
hp [Thu, 5 Apr 2001 19:11:07 +0000 (19:11 +0000)]
Remove redundant ChangeLog entry separator
hp [Thu, 5 Apr 2001 19:07:00 +0000 (19:07 +0000)]
* gas/cris/fragtest.s, gas/cris/rd-pic-1.s,
gas/cris/binop-cmpmovx.d, gas/cris/binop-cmpmove.d,
gas/cris/binop.d, gas/cris/binop.s, gas/cris/brokw-2.d,
gas/cris/clear.d, gas/cris/fragtest.s, gas/cris/jump-type.d,
gas/cris/nosep.s, gas/cris/pushpop.d, gas/cris/quick.s,
gas/cris/range-err-2.s, gas/cris/sep-err-1.s,
gas/cris/sreg-to-x.d, gas/cris/test.d, gas/cris/x-to-byte-sreg.d,
gas/cris/x-to-word-sreg.d, gas/cris/x-to-dword-sreg.d: Remove
trailing empty lines.
* gas/cris/continue.s: Ditto, tweak comment.
hp [Thu, 5 Apr 2001 18:19:12 +0000 (18:19 +0000)]
* gas/cris/brokw-2.s: Correct broken-word expansion visualization
in comment.
hp [Thu, 5 Apr 2001 18:15:04 +0000 (18:15 +0000)]
* gas/cris/rd-dw2-1.d, gas/cris/rd-dw2-2.d, gas/cris/rd-dw2-3.d,
gas/cris/rd-dw2-4.d, gas/cris/rd-dw2-5.d, gas/cris/rd-dw2-6.d,
gas/cris/rd-dw2-7.d, gas/cris/rd-dw2-8.d, gas/cris/rd-dw2-9.d,
gas/cris/rd-dw2-10.d, gas/cris/rd-dw2-11.d, gas/cris/rd-dw2-12.d,
gas/cris/rd-dw2-13.d, gas/cris/rd-dw2-14.d, gas/cris/rd-dw2-15.d:
New tests.
hp [Thu, 5 Apr 2001 17:46:25 +0000 (17:46 +0000)]
Fix address in ChangeLog entry
hp [Thu, 5 Apr 2001 17:44:14 +0000 (17:44 +0000)]
* readelf.c (display_debug_lines): Fix typo for "Prologue".
jeffh [Thu, 5 Apr 2001 17:44:05 +0000 (17:44 +0000)]
2001-04-05 Jeff Holcomb <jeffh@redhat.com>
* monitor.c (monitor_supply_register): Only report an error if we
don't get a valid value.
fche [Thu, 5 Apr 2001 17:17:01 +0000 (17:17 +0000)]
* demo prep
[bsp/ChangeLog]
2001-04-05 Frank Ch. Eigler <fche@redhat.com>
* configrun-sid.in: Remove unused "--board=none" clause.
(board=pid7t): Support "redboot", a new alternative to "cygmon",
and "eCosstub".
[bsp/pregen/ChangeLog]
2001-04-05 Frank Ch. Eigler <fche@redhat.com>
* pregen-configs.in (arm): Generate redboot rather than cygmon .conf
files.
* arm-pid-redboot.conf, arm-pid-redboot-tksm.conf: New files.
* armpid-redboot.img: New ROM image for RedBoot snapshot 2001-04-05.
* arm-pid-cygmon.conf, arm-pid-cygmon-tksm.conf: Zapped files.
eliz [Thu, 5 Apr 2001 16:52:30 +0000 (16:52 +0000)]
* README: Don't mention gdba.el.
hp [Thu, 5 Apr 2001 15:31:45 +0000 (15:31 +0000)]
* lib/gas-defs.exp (run_dump_test): Support using readelf.
* config/default.exp: Default READELF and READELFFLAGS.
ezannoni [Thu, 5 Apr 2001 15:19:41 +0000 (15:19 +0000)]
2001-04-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
From Jimmy Guo <guo@cup.hp.com>
* top.c (init_main): set prompt if annotation_level>1,
this is necessary when annotation_level is set to 2 via
--annotate=2 command line option.
cagney [Thu, 5 Apr 2001 14:49:28 +0000 (14:49 +0000)]
Obsolete a29k-*-* host and a29k-*-sym1* and a29k-*-kern* targets.
amodra [Thu, 5 Apr 2001 04:21:34 +0000 (04:21 +0000)]
Fix more breakages from the multiple relax pass patch.
cgf [Thu, 5 Apr 2001 02:02:13 +0000 (02:02 +0000)]
* main.c: Remove windows.h use.
(gdbtk_test): Use PATH_MAX for home var calculation.
* remote-e7000.c (e7000_parse_device): Accomodate Cygwin as well as Win32 in
test.
* ser-tcp.c: Use modern __CYGWIN__ conditional.
* source.c (mod_path): Add __CYGWIN__ conditional to WIN32 test.
(openp): Ditto.
* symfile.c (symfile_bfd_open): Ditto.
* gdbtk/generic/gdbtk.c: Ditto.
hunt [Thu, 5 Apr 2001 00:04:45 +0000 (00:04 +0000)]
2001-04-04 Martin M. Hunt <hunt@redhat.com>
* main.c (captured_main): For GDBtk, don't use tui_fileopen().
Handle all stream setup in gdbtk_init
hunt [Thu, 5 Apr 2001 00:04:26 +0000 (00:04 +0000)]
2001-04-04 Martin M. Hunt <hunt@redhat.com>
* generic/gdbtk-hooks.c (gdbtk_fileopen): New function.
Initialize ui_file stuff for gdbtk.
(gdbtk_fputs): Don't print if gdbtk_disable_fputs. Send
stdlog and stdtarg to their handler functions.
* generic/gdbtk.c (Gdbtk_Init): Don't set gdb_stdlog
and gdb_stdtarg to gdb_stdout,
(gdbtk_init): Unset gdbtk_disable_fputs
when ready to accept output from gdb. Remove references to
fputs_unfiltered_hook.
* generic/gdbtk.h: Declare new flag gdbtk_disable_fputs.
* generic/gdbtk-cmds.c (gdb_restore_fputs): Instead of setting
fputs_unfiltered_hook, set the new flag gdbtk_disable_fputs.
* library/prefs.tcl (pref_set_defaults): Add defaults
for log_fg and target_fg.
* library/interface.tcl (gdbtk_tcl_fputs_error): Use
err_tag.
(gdbtk_tcl_fputs_log): New function. Write log messages
to console.
(gdbtk_tcl_fputs_target): New function. Write target
IO to console.
* library/console.ith (einsert): Add tag parameter.
* library/console.itb (_build_win): Add new tags for log
and target IO.
(einsert): Add tag parameter.
fche [Wed, 4 Apr 2001 23:54:05 +0000 (23:54 +0000)]
* function++
2001-04-04 Frank Ch. Eigler <fche@redhat.com>
* sidrtc.cxx (get_{hours,minutes,seconds}_attribute): New getter fns
for appropriate new attributes.
(set_no_attribute): New dummy setter fn for same.
(sidrtc ctor): Expose new attributes, component gui xref.
* components.h: Corresponding changes.
* hw-rtc-sid.txt: Document gui-compatibility.
* hw-rtc-ds1x42.txt: Similar tweak.