OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
23 years ago * xcoffread.c (scan_xcoff_symtab): Ignore symbols beginning with
nsd [Thu, 12 Apr 2001 19:53:09 +0000 (19:53 +0000)]
* xcoffread.c (scan_xcoff_symtab): Ignore symbols beginning with
"@".

23 years ago * generic/gdbtk-cmds.c (gdb_entry_point): New TCL command.
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.

23 years ago * config/i386/fbsd.mh (NATDEPFILES): Add i386-nat.o.
kevinb [Thu, 12 Apr 2001 18:44:38 +0000 (18:44 +0000)]
* config/i386/fbsd.mh (NATDEPFILES): Add i386-nat.o.

23 years ago* syscalls.cc (mkfifo): New function stub.
cgf [Thu, 12 Apr 2001 16:50:13 +0000 (16:50 +0000)]
* syscalls.cc (mkfifo): New function stub.

23 years ago * dwarf2dbg.c (process_entries): Don't optimize redundant line notes.
jason [Thu, 12 Apr 2001 16:00:32 +0000 (16:00 +0000)]
    * dwarf2dbg.c (process_entries): Don't optimize redundant line notes.

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

23 years ago* mips.igen (CFC1, CTC1): Pass the correct register numbers to
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.

23 years ago* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
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.

23 years ago* expr.c (operand): Pass &c to md_parse_name().
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.

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

23 years ago * include/windows.h (#include <winsock.h>): Include <winsock2.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).

23 years ago2001-04-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
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).

23 years ago * include/windef.h (*PBOOL): Unprotect from XFree86Server.
earnie [Thu, 12 Apr 2001 00:55:47 +0000 (00:55 +0000)]
* include/windef.h (*PBOOL): Unprotect from XFree86Server.
(*LPBOOL): Ditto.

23 years ago* libc/include/sys/features.h: Add appropriate defines for Cygwin pthread
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.

23 years agoObsolete sun386i.
cagney [Wed, 11 Apr 2001 22:39:07 +0000 (22:39 +0000)]
Obsolete sun386i.

23 years ago* path.cc (struct symlink_info): Add extn and ext_tacked_on fields.
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.

23 years ago* mkgroup.c (uni2ansi): Use native method to convert from Unicode
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.

23 years ago * MAINTAINERS: Update my email address
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.

23 years ago* maint.c: Fix typo in comment.
jtc [Wed, 11 Apr 2001 01:01:04 +0000 (01:01 +0000)]
* maint.c: Fix typo in comment.

23 years agoFixes for newer cygwin gccs.
cgf [Tue, 10 Apr 2001 20:08:25 +0000 (20:08 +0000)]
Fixes for newer cygwin gccs.
Use modern Cygwin conditional.

23 years ago From Tom Tromey (tromey@redhat.com):
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.

23 years ago * MAINTAINERS: Swap with Syd Polk as a gdbtk maintainer.
kseitz [Tue, 10 Apr 2001 03:03:28 +0000 (03:03 +0000)]
* MAINTAINERS: Swap with Syd Polk as a gdbtk maintainer.

23 years ago2001-04-09 Martin M. Hunt <hunt@redhat.com>
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.

23 years ago2001-04-09 Martin M. Hunt <hunt@redhat.com>
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.

23 years ago* fhandler.h (class fhandler_socket): Add members and methods to
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.

23 years ago * elflink.h (elf_fix_symbol_flags): For non-default visibilities,
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.

23 years agoWork around new g++ problem.
cgf [Mon, 9 Apr 2001 01:23:27 +0000 (01:23 +0000)]
Work around new g++ problem.

23 years ago* include/winnt.h (GetCurrentFiber): Make "external __inline" or asm code will
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.

23 years agoremove extra whitespace.
cgf [Mon, 9 Apr 2001 00:52:33 +0000 (00:52 +0000)]
remove extra whitespace.

23 years ago* Makefile.in: Put -lgcc last in list of libraries, since stdc++ library needs
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.

23 years agoAdd comments noting that vfork might be defined to be fork.
kevinb [Sun, 8 Apr 2001 18:26:03 +0000 (18:26 +0000)]
Add comments noting that vfork might be defined to be fork.

23 years agoUse cleanup machinery to invoke ui_out_list_end().
kevinb [Sun, 8 Apr 2001 17:55:13 +0000 (17:55 +0000)]
Use cleanup machinery to invoke ui_out_list_end().

23 years ago * include/winnt.h (GetCurrentFiber): Fix typo.
earnie [Sun, 8 Apr 2001 17:00:27 +0000 (17:00 +0000)]
* include/winnt.h (GetCurrentFiber): Fix typo.

23 years ago * include/shellapi.h: (CommandLineToArgvW): Add WINAPI declaration.
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.

23 years ago2001-04-05 Steven J. Hill <sjhill@cotw.com>
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.

23 years ago2001-04-05 Steven J. Hill <sjhill@cotw.com>
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.

23 years ago2001-04-07 Steven J. Hill <sjhill@cotw.com>
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.

23 years ago* dcache.c (dcache_write_line): Fixed bugs where cache line was
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.

23 years ago* gdbserver/low-hppabsd.c (read_inferior_memory): Add explicit
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.
---------------------------------------------------------------------

23 years agoAdd self to write-after-approval list.
geoffk [Fri, 6 Apr 2001 21:05:27 +0000 (21:05 +0000)]
Add self to write-after-approval list.

23 years ago * config/rs6000/nm-rs6000.h (PTRACE_ATTACH): Don't define.
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.

23 years agoCorrect erroneous ChangeLog.
cgf [Fri, 6 Apr 2001 19:24:16 +0000 (19:24 +0000)]
Correct erroneous ChangeLog.

23 years agoAdd missing ChangeLog entry.
cgf [Fri, 6 Apr 2001 19:23:33 +0000 (19:23 +0000)]
Add missing ChangeLog entry.

23 years ago2001-04-06 David Smith <dsmith@redhat.com>
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.

23 years agoObsolete powerpcle-*-cygwin* and powerpcle-*-solaris* platforms
cagney [Fri, 6 Apr 2001 16:25:20 +0000 (16:25 +0000)]
Obsolete powerpcle-*-cygwin* and powerpcle-*-solaris* platforms
and powerpc-*-netware* target.

23 years ago2001-04-06 Fernando Nasser <fnasser@redhat.com>
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.

23 years agoman page generation from gprof.texi by Stephane Carrez
amodra [Fri, 6 Apr 2001 12:13:40 +0000 (12:13 +0000)]
man page generation from gprof.texi by Stephane Carrez

23 years ago2001-04-06 Fernando Nasser <fnasser@redhat.com>
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'.

23 years ago * i386-dis.c: Add ffreep instruction.
aj [Fri, 6 Apr 2001 09:27:33 +0000 (09:27 +0000)]
* i386-dis.c: Add ffreep instruction.

23 years ago* config/tc-mn10300.c (xr_registers): Added `pc'.
aoliva [Fri, 6 Apr 2001 07:50:48 +0000 (07:50 +0000)]
* config/tc-mn10300.c (xr_registers): Added `pc'.

23 years ago2001-04-05 David Mosberger <davidm@hpl.hp.com>
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.

23 years ago * syscalls.cc (stat_worker): Fix conditional which still allowed
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.

23 years ago * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
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.

23 years ago * cris.h (enum cris_insn_version_usage): Correct comment for
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.

23 years agoRemove redundant ChangeLog entry separator
hp [Thu, 5 Apr 2001 19:11:07 +0000 (19:11 +0000)]
Remove redundant ChangeLog entry separator

23 years ago * gas/cris/fragtest.s, gas/cris/rd-pic-1.s,
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.

23 years ago * gas/cris/brokw-2.s: Correct broken-word expansion visualization
hp [Thu, 5 Apr 2001 18:19:12 +0000 (18:19 +0000)]
* gas/cris/brokw-2.s: Correct broken-word expansion visualization
in comment.

23 years ago * gas/cris/rd-dw2-1.d, gas/cris/rd-dw2-2.d, gas/cris/rd-dw2-3.d,
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.

23 years agoFix address in ChangeLog entry
hp [Thu, 5 Apr 2001 17:46:25 +0000 (17:46 +0000)]
Fix address in ChangeLog entry

23 years ago * readelf.c (display_debug_lines): Fix typo for "Prologue".
hp [Thu, 5 Apr 2001 17:44:14 +0000 (17:44 +0000)]
* readelf.c (display_debug_lines): Fix typo for "Prologue".

23 years ago2001-04-05 Jeff Holcomb <jeffh@redhat.com>
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.

23 years ago* demo prep
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.

23 years ago * README: Don't mention gdba.el.
eliz [Thu, 5 Apr 2001 16:52:30 +0000 (16:52 +0000)]
* README: Don't mention gdba.el.

23 years ago * lib/gas-defs.exp (run_dump_test): Support using readelf.
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.

23 years ago2001-04-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
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.

23 years agoObsolete a29k-*-* host and a29k-*-sym1* and a29k-*-kern* targets.
cagney [Thu, 5 Apr 2001 14:49:28 +0000 (14:49 +0000)]
Obsolete a29k-*-* host and a29k-*-sym1* and a29k-*-kern* targets.

23 years agoFix more breakages from the multiple relax pass patch.
amodra [Thu, 5 Apr 2001 04:21:34 +0000 (04:21 +0000)]
Fix more breakages from the multiple relax pass patch.

23 years ago* main.c: Remove windows.h use.
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.

23 years ago2001-04-04 Martin M. Hunt <hunt@redhat.com>
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

23 years ago2001-04-04 Martin M. Hunt <hunt@redhat.com>
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.

23 years ago* function++
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.

23 years ago* function++
fche [Wed, 4 Apr 2001 23:53:31 +0000 (23:53 +0000)]
* function++

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

        * gprof.cxx (limit_min, limit_max): New variables/attributes.
        (accumulate): Respect them.
        * sw-profile-gprof.txt: Document them.

23 years ago* arm tweak
fche [Wed, 4 Apr 2001 23:52:57 +0000 (23:52 +0000)]
* arm tweak

[bsp/ChangeLog]
2001-04-04  Frank Ch. Eigler  <fche@redhat.com>

        * configrun-sid.in: For arm target, set emable_z_packet.

[bsp/pregen/ChangeLog]
2001-04-04  Frank Ch. Eigler  <fche@redhat.com>

        * arm-*.conf: Regenerated with new enable_z_packet default.

23 years ago * baseboards/unix.exp (ieee_multilib_flags): Set for alpha targets.
rth [Wed, 4 Apr 2001 23:20:32 +0000 (23:20 +0000)]
    * baseboards/unix.exp (ieee_multilib_flags): Set for alpha targets.

23 years ago* bug fix
fche [Wed, 4 Apr 2001 16:09:49 +0000 (16:09 +0000)]
* bug fix

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

* compTcl.cxx (scan_files): Make ".../sidcomp" an optional part of
the search path.

23 years ago* i386-tdep.c (i386_extract_return_value): Don't return the return
kettenis [Wed, 4 Apr 2001 15:09:45 +0000 (15:09 +0000)]
* i386-tdep.c (i386_extract_return_value): Don't return the return
value of a void function.
(i386_store_return_value): Likewise.

23 years ago* child_info.h: Bump magic number for fork/exec/spawn.
cgf [Wed, 4 Apr 2001 14:37:45 +0000 (14:37 +0000)]
* child_info.h: Bump magic number for fork/exec/spawn.

23 years ago * libc/include/machine/ieeefp.h: Comment about new configuration
rsandifo [Wed, 4 Apr 2001 13:33:01 +0000 (13:33 +0000)]
* libc/include/machine/ieeefp.h: Comment about new configuration
macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
* libm/common/fdlib.h: Define new macros for testing floats.
* libm/common/sf_*: Use them.
* libm/math/ef_*: Likewise.
* libm/math/sf_*: Likewise.

23 years ago * libc/include/machine/ieeefp.h: Comment about new configuration
rsandifo [Wed, 4 Apr 2001 13:30:58 +0000 (13:30 +0000)]
* libc/include/machine/ieeefp.h: Comment about new configuration
macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
* libm/common/fdlib.h: Define new macros for testing floats.
* libm/common/sf_*: Use them.
* libm/math/ef_*: Likewise.
* libm/math/sf_*: Likewise.

23 years ago2001-04-04 Ben Elliston <bje@redhat.com>
bje [Wed, 4 Apr 2001 05:50:43 +0000 (05:50 +0000)]
2001-04-04  Ben Elliston  <bje@redhat.com>

* sidcomp.cfgroot/libErr.expect: Update.

23 years ago * config/tc-cris.c (cris_insn_first_word_frag): New.
hp [Wed, 4 Apr 2001 04:23:19 +0000 (04:23 +0000)]
* config/tc-cris.c (cris_insn_first_word_frag): New.
(md_assemble): Call cris_insn_first_word_frag to get the first
frag in an insn, not frag_more.  Don't call dwarf2_emit_insn at
end.  Drop variable insn_size.
(gen_bdap): Call cris_insn_first_word_frag, not frag_more.
(cris_sym_leading_underscore): Wrap first as_bad parameter in _().
(cris_sym_no_leading_underscore, s_cris_file, s_cris_loc): Ditto.

23 years ago2001-04-04 Ben Elliston <bje@redhat.com>
bje [Wed, 4 Apr 2001 04:19:23 +0000 (04:19 +0000)]
2001-04-04  Ben Elliston  <bje@redhat.com>

* sidcomp.cgen-cpu/cpumonkey.exp: Make "untested" test messages
more informative.

23 years ago * config/tc-cris.c (md_estimate_size_before_relax) <case
hp [Wed, 4 Apr 2001 03:53:11 +0000 (03:53 +0000)]
* config/tc-cris.c (md_estimate_size_before_relax) <case
ENCODE_RELAX (STATE_CONDITIONAL_BRANCH, STATE_UNDF)>: Don't emit
32-bit branch, just set fragP->fr_subtype.  Set fragP->fr_var.
<all cases>: Always set fragP->fr_var using md_cris_relax_table.
Add cases to cover all relax states.

23 years ago2001-04-04 Ben Elliston <bje@redhat.com>
bje [Wed, 4 Apr 2001 03:43:15 +0000 (03:43 +0000)]
2001-04-04  Ben Elliston  <bje@redhat.com>

* sidcomp.timers/timerdocs.exp: Look for ARM timer doco in the
timers/arm7t subdirectory.

23 years ago * write.c (write_object_file): Reset broken word state before
hp [Wed, 4 Apr 2001 03:05:47 +0000 (03:05 +0000)]
* write.c (write_object_file): Reset broken word state before
calling relax_seg.

23 years agomerge from gcc
dj [Wed, 4 Apr 2001 01:16:27 +0000 (01:16 +0000)]
merge from gcc

23 years agomerge from gcc
dj [Wed, 4 Apr 2001 01:15:59 +0000 (01:15 +0000)]
merge from gcc

23 years ago * elflink.h (elf_fix_symbol_flags): Call elf_backend_hide_symbol
amodra [Wed, 4 Apr 2001 00:31:37 +0000 (00:31 +0000)]
* elflink.h (elf_fix_symbol_flags): Call elf_backend_hide_symbol
when -Bsymbolic causes a symbol to no longer need a .plt entry.

23 years ago2001-04-04 Ben Elliston <bje@redhat.com>
bje [Tue, 3 Apr 2001 23:43:04 +0000 (23:43 +0000)]
2001-04-04  Ben Elliston  <bje@redhat.com>

* Makefile.am: Clean up.
* Makefile.in: Regenerate.

23 years ago* Correct spelling mistake.
bje [Tue, 3 Apr 2001 23:06:56 +0000 (23:06 +0000)]
* Correct spelling mistake.

23 years agoObsolete w65-*-* target.
cagney [Tue, 3 Apr 2001 21:56:00 +0000 (21:56 +0000)]
Obsolete w65-*-* target.

23 years agoObsolete tic80.
cagney [Tue, 3 Apr 2001 21:14:35 +0000 (21:14 +0000)]
Obsolete tic80.

23 years ago* tweak
fche [Tue, 3 Apr 2001 19:34:38 +0000 (19:34 +0000)]
* tweak

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

        * compLoader.cxx (load_it): Emit verbose message for starting_pc.

23 years ago * errno.cc (errmap): Map ERROR_FILE_INVALID to ENXIO.
corinna [Tue, 3 Apr 2001 18:20:38 +0000 (18:20 +0000)]
    * errno.cc (errmap): Map ERROR_FILE_INVALID to ENXIO.

23 years ago2001-04-03 David Mosberger <davidm@hpl.hp.com>
hjl [Tue, 3 Apr 2001 14:45:42 +0000 (14:45 +0000)]
2001-04-03  David Mosberger  <davidm@hpl.hp.com>

* efi-app-ia32.c (ALIGN_SECTIONS_IN_FILE): Deleted.

23 years ago * winsup.api/mmaptest01.c: New test.
corinna [Tue, 3 Apr 2001 08:39:21 +0000 (08:39 +0000)]
    * winsup.api/mmaptest01.c: New test.

23 years ago2001-04-03 Ben Elliston <bje@redhat.com>
bje [Tue, 3 Apr 2001 06:21:57 +0000 (06:21 +0000)]
2001-04-03  Ben Elliston  <bje@redhat.com>

* cgen-cpu.h (cgen_bi_endian_cpu::GETMEMUQI): New method.
(cgen_bi_endian_cpu::SETMEMUQI): Ditto.
(cgen_bi_endian_cpu::GETMEMUHI): Ditto.
(cgen_bi_endain_cpu::SETMEMUHI): Ditto.

23 years ago* cygrun.c (main): Fix compiler warning.
cgf [Tue, 3 Apr 2001 02:53:24 +0000 (02:53 +0000)]
* cygrun.c (main): Fix compiler warning.
* gmon.c (_mcleanup): Ditto.
* profil.c (profile_off): Ditto.
* net.cc (find_winsock_errno): New function.
(__set_winsock_errno): Use find_winsock_errno.
(cygwin_setsockopt): Detect SO_ERROR for debugging.
(cygwin_getsockopt): Ditto.  Translate error when getsockopt returns SO_ERROR.
* winsup.h: regparmize __set_winsock_errno.
* include/sys/strace.h: Document that strace functions can't use regparm.

23 years ago* mount.cc (main): Use getopt_long for parsing arguments.
cgf [Tue, 3 Apr 2001 02:41:54 +0000 (02:41 +0000)]
* mount.cc (main): Use getopt_long for parsing arguments.
(usage): Reformat, show long and short options.
* umount.cc (main): Ditto, all of the above.

23 years ago* remote-mips.c (S_IROTH): Moved definition from here.
jtc [Tue, 3 Apr 2001 01:51:26 +0000 (01:51 +0000)]
* remote-mips.c (S_IROTH): Moved definition from here.
* gdb_stat.h (S_IROTH): to here.