OSDN Git Service

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

22 years ago * include/windows.h; Remove test for __W32API_MAJOR_VERSION
dannysmith [Thu, 28 Feb 2002 00:03:10 +0000 (00:03 +0000)]
* include/windows.h; Remove test for __W32API_MAJOR_VERSION
when selecting winsock interface.
* include/winsock.h (SOCKET_ADDRESS_LIST): Add structure
definition and typedefs.
Expand FIXME comment.
(WSACOMPLETIONTYPE): Add enum.
(WSACOMPLETION): Add structure and typedefs.
(WSANSPIoctl): Add function prototpe and callback typedef.
(SIO_NSP_NOTIFY_CHANGE): Add define.
(sockaddr_storage): Add structure and typedefs.

22 years ago*** empty log message ***
gdbadmin [Thu, 28 Feb 2002 00:00:09 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 27 Feb 2002 23:55:40 +0000 (23:55 +0000)]
2002-02-27  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.host: Add check for --disable-newlib-io-float
        configuration option and add -DNO_FLOATING_POINT to newlib cflags
        if appropriate.
        * acinclude.m4: Added --disable-newlib-io-float option.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
        * libc/*/aclocal.m4 libc/*/configure
        * libm/*/aclocal.m4 libm/*/configure: Ditto.
        * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
        if NO_FLOATING_POINT flag is not defined.

22 years ago * config/tc-alpha.c (s_alpha_text): Use obj_elf_text for OBJ_ELF, not
jakub [Wed, 27 Feb 2002 23:48:03 +0000 (23:48 +0000)]
* config/tc-alpha.c (s_alpha_text): Use obj_elf_text for OBJ_ELF, not
s_text.
(s_alpha_data): Use obj_elf_data for OBJ_ELF, not s_data.

22 years ago* include/cygwin/version.h: Bump DLL minor number.
cgf [Wed, 27 Feb 2002 23:06:54 +0000 (23:06 +0000)]
* include/cygwin/version.h: Bump DLL minor number.

22 years ago* winsup.api/systemcall.c (main): Ensure that stdin is redirected.
cgf [Wed, 27 Feb 2002 23:01:08 +0000 (23:01 +0000)]
* winsup.api/systemcall.c (main): Ensure that stdin is redirected.

22 years agodaily update
amodra [Wed, 27 Feb 2002 23:00:06 +0000 (23:00 +0000)]
daily update

22 years ago2002-02-27 Chris Demetriou <cgd@broadcom.com>
cgd [Wed, 27 Feb 2002 22:46:35 +0000 (22:46 +0000)]
2002-02-27  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (do_load_left, do_load_right): Move to be immediately
        following do_load.
        (do_store_left, do_store_right): Move to be immediately following
        do_store.

22 years ago2002-02-27 Chris Demetriou <cgd@broadcom.com>
cgd [Wed, 27 Feb 2002 21:52:51 +0000 (21:52 +0000)]
2002-02-27  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (mipsV): New model name.  Also, add it to
        all instructions and functions where it is appropriate.

22 years agoChange copyright format.
cgf [Wed, 27 Feb 2002 21:20:09 +0000 (21:20 +0000)]
Change copyright format.

22 years ago 2002-02-27 Fred Fish <fnf@redhat.com>
fnf [Wed, 27 Feb 2002 20:04:27 +0000 (20:04 +0000)]
2002-02-27  Fred Fish  <fnf@redhat.com>
* blockframe.c (generic_fix_call_dummy): Fix obvious typo in
comment (dumy -> dummy).

22 years ago * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames.
schauer [Wed, 27 Feb 2002 18:22:22 +0000 (18:22 +0000)]
* symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames.

22 years agoUpdate translation files.
nickc [Wed, 27 Feb 2002 16:37:43 +0000 (16:37 +0000)]
Update translation files.

22 years ago* cygcheck.cc (main): Eliminate non-GNU formatting glitch.
cgf [Wed, 27 Feb 2002 16:25:30 +0000 (16:25 +0000)]
* cygcheck.cc (main): Eliminate non-GNU formatting glitch.

22 years ago* ssp.c (help_desk): Fix compiler warning. Christopher Faylor <cgf@redhat.com>
cgf [Wed, 27 Feb 2002 16:10:17 +0000 (16:10 +0000)]
* ssp.c (help_desk): Fix compiler warning.  Christopher Faylor <cgf@redhat.com>
Change appropriate globals to statics throughout.
* cygcheck.cc (usage): Simplify usage output.  Generalize to allow use for
help.
(longopts): Add version option.
(opts): Add 'V" version option.
(print_version): New function.
(main): Accommodate new version option.  Accommodate usage parameter changes.
Use usage to output help message.
* Makefile.in (CXXFLAGS): Add override so that HAVE_DECL_GETOPT is defined.
(libbfd): Use -B rather than -L so that bfd from build directory is correctly
found.
(libintl): Ditto.

22 years ago2002-02-27 Rodney Brown <rbrown64@csc.com.au>
rdbrown [Wed, 27 Feb 2002 12:29:42 +0000 (12:29 +0000)]
2002-02-27  Rodney Brown  <rbrown64@csc.com.au>

      * utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5.

22 years ago2002-02-27 Daniel Jacobowitz <drow@mvista.com>
drow [Wed, 27 Feb 2002 07:07:49 +0000 (07:07 +0000)]
2002-02-27  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/acconfig.h: New file.
        * gdbserver/i387-fp.c: New file.
        * gdbserver/i387-fp.h: New file.
        * gdbserver/linux-x86-64.c: New file.
        * regformats/reg-x86-64.dat: New file.
        * configure.tgt: Add x86_64-*-linux* gdbserver support.
        & gdbserver/configure.srv: Add x86_64-*-linux* and regset support.
        * gdbserver/configure.in: Add support for regsets.
        * gdbserver/config.in: Regenerate.
        * gdbserver/configure: Regenerate.
        * gdbserver/Makefile.in: Likewise.  Add $(linux_low_h).
        * gdbserver/linux-low.h: New file.
        * gdbserver/linux-low.c: Include "linux-low.h".  Add support
        for regsets.
        * gdbserver/linux-arm-low.c: Include "linux-low.h".
        * gdbserver/linux-ia64-low.c: Include "linux-low.h".
        * gdbserver/linux-m68k-low.c: Include "linux-low.h".
        * gdbserver/linux-mips-low.c: Include "linux-low.h".
        * gdbserver/linux-ppc-low.c: Include "linux-low.h".
        * gdbserver/linux-sh-low.c: Include "linux-low.h".
        * gdbserver/linux-i386-low.c: Include "linux-low.h".  Include
        "i387-fp.h".  Add PTRACE_GETREGS and friends.
        * gdbserver/regcache.c (supply_register): New function.
        (supply_register_by_name): New function.
        (collect_register): New function.
        (collect_register_by_name): New function.

22 years ago2002-02-27 Daniel Jacobowitz <drow@mvista.com>
drow [Wed, 27 Feb 2002 07:07:34 +0000 (07:07 +0000)]
2002-02-27  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/acconfig.h: New file.
        * gdbserver/i387-fp.c: New file.
        * gdbserver/i387-fp.h: New file.
        * gdbserver/linux-x86-64.c: New file.
        * regformats/reg-x86-64.dat: New file.
        * configure.tgt: Add x86_64-*-linux* gdbserver support.
        & gdbserver/configure.srv: Add x86_64-*-linux* and regset support.
        * gdbserver/configure.in: Add support for regsets.
        * gdbserver/config.in: Regenerate.
        * gdbserver/configure: Regenerate.
        * gdbserver/Makefile.in: Likewise.  Add $(linux_low_h).
        * gdbserver/linux-low.h: New file.
        * gdbserver/linux-low.c: Include "linux-low.h".  Add support
        for regsets.
        * gdbserver/linux-arm-low.c: Include "linux-low.h".
        * gdbserver/linux-ia64-low.c: Include "linux-low.h".
        * gdbserver/linux-m68k-low.c: Include "linux-low.h".
        * gdbserver/linux-mips-low.c: Include "linux-low.h".
        * gdbserver/linux-ppc-low.c: Include "linux-low.h".
        * gdbserver/linux-sh-low.c: Include "linux-low.h".
        * gdbserver/linux-i386-low.c: Include "linux-low.h".  Include
        "i387-fp.h".  Add PTRACE_GETREGS and friends.
        * gdbserver/regcache.c (supply_register): New function.
        (supply_register_by_name): New function.
        (collect_register): New function.
        (collect_register_by_name): New function.

22 years ago2002-02-27 Daniel Jacobowitz <drow@mvista.com>
drow [Wed, 27 Feb 2002 06:22:07 +0000 (06:22 +0000)]
2002-02-27  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER.
        (config.status): Add configure.srv dependency.
        (server_h): Add config.h dependency.

22 years ago2002-02-27 Daniel Jacobowitz <drow@mvista.com>
drow [Wed, 27 Feb 2002 06:18:05 +0000 (06:18 +0000)]
2002-02-27  Daniel Jacobowitz  <drow@mvista.com>

        * regformats/reg-i386-linux.dat: New file, with $orig_eax.
        * gdbserver/Makefile.in: Add rules for reg-i386-linux.o.
        * gdbserver/configure.srv: Change i386-*-linux* to use
        reg-i386-linux.o.

22 years agoUpdate copyright. re-indent.
cagney [Wed, 27 Feb 2002 02:55:12 +0000 (02:55 +0000)]
Update copyright.  re-indent.

22 years ago* x86-64-tdep.c (value.h): Delete.
cagney [Wed, 27 Feb 2002 02:47:19 +0000 (02:47 +0000)]
* x86-64-tdep.c (value.h): Delete.
(gdb_assert.h): Include.
(x86_64_register_convert_to_virtual,
x86_64_register_convert_to_raw ): Add check which lets only
floating-point values to be converted.
(value_push): Delete.
(x86_64_push_arguments): Order of arguments pushed on stack fixed.
(i386_gdbarch_init): Number of register_bytes fixed.

22 years ago* MAINTAINERS: Add x86-64 target.
cagney [Wed, 27 Feb 2002 02:45:10 +0000 (02:45 +0000)]
* MAINTAINERS: Add x86-64 target.

22 years ago* standards.texi: Import February 14, 2002 version.
cagney [Wed, 27 Feb 2002 02:13:31 +0000 (02:13 +0000)]
* standards.texi: Import February 14, 2002 version.
* make-stds.texi: Import 2001 version.
* Makefile.in (install): Depend on install-info.

22 years ago* memattr.c (mem_command): Eliminate ``true'' and ``false''.
cagney [Wed, 27 Feb 2002 01:40:34 +0000 (01:40 +0000)]
* memattr.c (mem_command): Eliminate ``true'' and ``false''.
* osfsolib.c (solib_map_sections): Ditto.
* irix5-nat.c (solib_map_sections): Ditto.
* corelow.c (gdb_check_format): Ditto.
* symfile.c (symfile_bfd_open): Ditto.
* solib.c (solib_map_sections): Ditto.
Partially fix PR gdb/354.

22 years ago* remote.c (_initialize_remote): By default, disable ``e'' and
cagney [Wed, 27 Feb 2002 01:18:36 +0000 (01:18 +0000)]
* remote.c (_initialize_remote): By default, disable ``e'' and
``E'' step out-of-range packets.

22 years ago*** empty log message ***
gdbadmin [Wed, 27 Feb 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Tue, 26 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago2002-02-26 Chris Demetriou <cgd@broadcom.com>
cgd [Tue, 26 Feb 2002 22:18:49 +0000 (22:18 +0000)]
2002-02-26  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (mips_need_elf_addend_fixup): For embedded-PIC
        only, undo the changes made on 2001-06-08, with the
        effect being that common or extern symbols are
        adjusted for embedded-PIC, but weak symbols are not.
        (md_estimate_size_before_relax: Likewise, with the effect
        that extern symbols are treated the same as weak symbols
        only if not embedded-PIC.
        (mips_fix_adjustable) Likewise, with the effect that
        weak or extern symbols are not adjusted for embedded-PIC.
        (md_apply_fix3): Tweak so that the case where value is zero
        is handled more correctly for embedded-PIC code.

22 years ago2002-02-26 Chris Demetriou <cgd@broadcom.com>
cgd [Tue, 26 Feb 2002 22:17:52 +0000 (22:17 +0000)]
2002-02-26  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/empic2.d: Adjust for the fact that relocations on
        symbols local to this file are resolved at assembly time into
        section-relative relocations, even if the symbols are extern.
        * gas/mips/empic2.s: Add file offset information, so the next
        person to do the math mentioned above has an easier time.
        * gas/mips/jal-empic-elf.d: New test.
        * gas/mips/jal-empic-elf-2.d, gas/mips/jal-empic-elf-2.s: New test.
        * gas/mips/jal-empic-elf-3.d, gas/mips/jal-empic-elf-3.s: New test.
        * gas/mips/mips.exp: Run the new tests.

22 years ago * config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as
schwab [Tue, 26 Feb 2002 22:12:45 +0000 (22:12 +0000)]
* config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as
m68k_linux_frame_saved_pc.
(IN_SIGTRAMP): Define as m68k_linux_in_sigtramp instead of
in_sigtramp.
(SIGCONTEXT_PC_OFFSET): Remove.
* m68klinux-nat.c (m68k_linux_frame_saved_pc,
m68k_linux_sigtramp_saved_pc): New functions.
(IS_SIGTRAMP, IS_RT_SIGTRAMP): Define.
(SIGCONTEXT_PC_OFFSET): Moved here from config/m68k/tm-linux.h.
(UCONTEXT_PC_OFFSET): Define.
(m68k_linux_in_sigtramp): Renamed from in_sigtramp, handle both
non-RT and RT signal trampolines.

22 years agoExport dis-asm.h as part of an install
nickc [Tue, 26 Feb 2002 22:09:26 +0000 (22:09 +0000)]
Export dis-asm.h as part of an install

22 years ago* config/arm/tm-embed.h (TARGET_UPAGES): Delete.
rearnsha [Tue, 26 Feb 2002 14:23:08 +0000 (14:23 +0000)]
* config/arm/tm-embed.h (TARGET_UPAGES): Delete.
(TARGET_NBPG, STACK_END_ADDR): Delete
(VARIABLES_INSIDE_BLOCK): Delete.

22 years agoFix typo
nickc [Tue, 26 Feb 2002 12:04:27 +0000 (12:04 +0000)]
Fix typo

22 years agoImport new Spanish and German translations
nickc [Tue, 26 Feb 2002 10:28:03 +0000 (10:28 +0000)]
Import new Spanish and German translations

22 years ago* utils.c (perror_with_name): Make string parameter constant.
cagney [Tue, 26 Feb 2002 03:29:53 +0000 (03:29 +0000)]
* utils.c (perror_with_name): Make string parameter constant.
(print_sys_errmsg): Ditto.
(query): Ditto.
* defs.h (perror_with_name): Update.
(print_sys_errmsg): Update.
(query): Update.

22 years ago2002-02-25 Daniel Jacobowitz <drow@mvista.com>
drow [Tue, 26 Feb 2002 01:40:04 +0000 (01:40 +0000)]
2002-02-25  Daniel Jacobowitz  <drow@mvista.com>

        From Eliot Dresselhaus <eliot@ayrnetworks.com>:
        * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo.

22 years ago * library/srcbar.itcl (SrcBar::create_buttons): Added
irox [Tue, 26 Feb 2002 00:29:06 +0000 (00:29 +0000)]
* library/srcbar.itcl (SrcBar::create_buttons): Added
"Search in source file" entry box and label to the top
row toolbar.
* library/srcwin.itb (SrcWin::_build_win): Removed
"Search in source file" entry box.
(SrcWin::_search): Renamed to "search", add string
parameter and cleaned up.
* library/srcwin.ith (SrcWin): Removed private
method "_search" and added public method "search".

22 years ago * src/library/looknfeel.tcl (standard_look_and_feel):
irox [Tue, 26 Feb 2002 00:16:21 +0000 (00:16 +0000)]
* src/library/looknfeel.tcl (standard_look_and_feel):
Hard code Windows menu font name to MS Sans Serif 8.

22 years ago*** empty log message ***
gdbadmin [Tue, 26 Feb 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 25 Feb 2002 23:51:09 +0000 (23:51 +0000)]
2002-02-25  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/config.h: Add __extension__ in front of
        long long references.

22 years ago * elflink.h (elf_bfd_final_link): Don't crash on SHN_UNDEF local
amodra [Mon, 25 Feb 2002 23:31:21 +0000 (23:31 +0000)]
* elflink.h (elf_bfd_final_link): Don't crash on SHN_UNDEF local
dynsyms.

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

22 years ago * rs6000-nat.c (set_host_arch): Do not switch to a new architecture
schauer [Mon, 25 Feb 2002 18:15:50 +0000 (18:15 +0000)]
* rs6000-nat.c (set_host_arch): Do not switch to a new architecture
if it already matches the current architecture from the exec file.
Include arch-utils.h for gdbarch_info_init prototype.
* Makefile.in (rs6000-nat.o): Update dependencies.

22 years ago * cygwin.din (fstat64): New symbol.
corinna [Mon, 25 Feb 2002 17:47:44 +0000 (17:47 +0000)]
* cygwin.din (fstat64): New symbol.
(ftruncate64): Ditto.
(lseek64): Ditto.
(lstat64): Ditto.
(mmap64): Ditto.
(seekdir64): Ditto.
(stat64): Ditto.
(telldir64): Ditto.
(truncate64): Ditto.
* dir.cc (telldir64): New function.
(telldir): Call telldir64().
(seekdir64): New function.
(seekdir): Call seekdir64().
* fhandler.h: Redefine all methods using __off32_t to use __off64_t.
* fhandler.cc: Use __off64_t and struct __stat64 throughout.
* fhandler_clipboard.cc: Ditto.
* fhandler_disk_file.cc: Ditto.
* fhandler_dsp.cc: Ditto.
* fhandler_floppy.cc: Ditto.
* fhandler_mem.cc: Ditto.
* fhandler_random.cc: Ditto.
* fhandler_socket.cc: Ditto.
* fhandler_tape.cc: Ditto.
* fhandler_zero.cc: Ditto.
* pipe.cc: Ditto.
* glob.c: Ditto, call lstat64 and stat64 in Cygwin.
* mmap.cc: Use __off64_t throughout.
(mmap64): New function.
* sec_acl.cc (acl_worker): Use struct __stat64, call stat64 and lstat64.
* syscalls.cc (lseek64): New function.
(stat64_to_stat32): Ditto.
(fstat64): Ditto.
(stat64): Ditto.
(lstat64): Ditto.
(ftruncate64): Ditto.
(truncate64): Ditto.
(_fstat): Call fstat64.
(_stat): Call stat64.
(cygwin_lstat): Rename to avoid declaration problem.  Call lstat64.
(stat_worker): Use struct __stat64.
(access): Ditto.
(ftruncate): Call ftruncate64.
(truncate): Call truncate64.
* wincap.cc: Set flag has_64bit_file_access appropriately.
* wincap.h: Add flag has_64bit_file_access.
* winsup.h (ILLEGAL_SEEK): Define as __off64_t.
(stat_dev): Declare using struct __stat64.
(stat_worker): Ditto.
* include/cygwin/stat.h (struct __stat32): Define if compiling Cygwin.
(struct __stat64): Ditto.
(struct stat): Revert definition with explicitly sized datatypes.
Eliminate sized field names.
* include/cygwin/types.h (blksize_t): New type.
(__blkcnt32_t): Ditto.
(__blkcnt64_t): Ditto.
(blkcnt_t): Ditto.

22 years agoUpdate for the next release.
eliz [Mon, 25 Feb 2002 16:14:09 +0000 (16:14 +0000)]
Update for the next release.

22 years agoAdd NM and CFLAGS to the exports.
eliz [Mon, 25 Feb 2002 16:09:45 +0000 (16:09 +0000)]
Add NM and CFLAGS to the exports.

22 years ago * config/tc-mips.c (set_at): Fix handling of 64bit register loads.
ths [Mon, 25 Feb 2002 13:21:31 +0000 (13:21 +0000)]
* config/tc-mips.c (set_at): Fix handling of 64bit register loads.
(macro): Likewise. Fix la/dla address expansions for EMBEDDED_PIC
and NO_PIC cases. Code cleanup.
(macro2): Fix handling of 64bit register loads.
* mips-gp64-fp32-pic.d: Fix test of 64bit register loads.
* mips-gp64-fp32-pic.s: Likewise.
* mips-gp64-fp32.d: Likewise.
* mips-gp64-fp32.s: Likewise.
* mips-gp64-fp64-pic.d: Likewise.
* mips-gp64-fp64-pic.s: Likewise.
* mips-gp64-fp64.d: Likewise.
* mips-gp64-fp64.s: Likewise.

22 years agoAdd documentation of IA64 port
nickc [Mon, 25 Feb 2002 10:34:24 +0000 (10:34 +0000)]
Add documentation of IA64 port

22 years agoupdate copyright
cgf [Mon, 25 Feb 2002 05:27:18 +0000 (05:27 +0000)]
update copyright

22 years ago * gas/hppa/reloc/reloc.exp: Update copyright date.
amodra [Mon, 25 Feb 2002 05:10:44 +0000 (05:10 +0000)]
* gas/hppa/reloc/reloc.exp: Update copyright date.

22 years ago * config/tc-hppa.c: Update copyright date.
amodra [Mon, 25 Feb 2002 05:10:07 +0000 (05:10 +0000)]
* config/tc-hppa.c: Update copyright date.

22 years ago * elf64-hppa.h: Update copyright date.
amodra [Mon, 25 Feb 2002 05:09:08 +0000 (05:09 +0000)]
* elf64-hppa.h: Update copyright date.

22 years ago* Makefile.in (gdb.info): Add explicit path to gdb.texinfo.
cagney [Mon, 25 Feb 2002 04:32:58 +0000 (04:32 +0000)]
* Makefile.in (gdb.info): Add explicit path to gdb.texinfo.
Remove reference to 3.12.

22 years agomissdit
amodra [Mon, 25 Feb 2002 04:13:42 +0000 (04:13 +0000)]
missdit

22 years ago * doc/c-ppc.texi (PowerPC-Opts): Add -mpower4 and -maltivec.
amodra [Mon, 25 Feb 2002 03:44:49 +0000 (03:44 +0000)]
* doc/c-ppc.texi (PowerPC-Opts): Add -mpower4 and -maltivec.
Remove references to chip manufacturers.
* config/tc-ppc.c (md_parse_option): Handle -mpower4 option.
Correct comments.
(md_show_usage): Remove references to chip manufacturers.  Mention
-mpower4.
(md_begin): Test power4 opcode flag bits.

22 years ago * elf64-ppc.c (ppc64_elf_check_relocs): Warning fix.
amodra [Mon, 25 Feb 2002 03:44:15 +0000 (03:44 +0000)]
* elf64-ppc.c (ppc64_elf_check_relocs): Warning fix.
(ppc64_elf_relocate_section): Don't generate power4 style branch
hints for *_BRTAKEN and *_BRNTAKEN relocs.

22 years ago * ppc-dis.c (powerpc_dialect): Handle power4 option.
amodra [Mon, 25 Feb 2002 03:43:46 +0000 (03:43 +0000)]
* ppc-dis.c (powerpc_dialect): Handle power4 option.
* ppc-opc.c (insert_bdm): Correct description of "at" branch
hints.  Test PPC_OPCODE_POWER4 to determine branch hint flavour.
(extract_bdm, insert_bdp, extract_bdp, valid_bo): Likewise.
(BOFM64, BOFP64, BOTM64, BOFP64): Rename to BOFM4, BOFP4 etc.
(BODNZM64, BODNZP64, BODZM64, BODZP64): Likewise.
(PPCCOM32, PPCCOM64): Delete.
(NOPOWER4, POWER4): Define.
(powerpc_opcodes): Replace occurences of PPCCOM32 with NOPOWER4,
and PPCCOM4 with POWER4 so that "at" style branch hint opcodes
are enabled for power4 rather than ppc64.

22 years ago * ppc.h (PPC_OPCODE_POWER4, PPC_OPCODE_NOPOWER4): Define.
amodra [Mon, 25 Feb 2002 03:42:59 +0000 (03:42 +0000)]
* ppc.h (PPC_OPCODE_POWER4, PPC_OPCODE_NOPOWER4): Define.

22 years ago2002-02-24 Daniel Jacobowitz <drow@mvista.com>
drow [Mon, 25 Feb 2002 02:49:02 +0000 (02:49 +0000)]
2002-02-24  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/configure.srv: New file.
        * gdbserver/configure.in: Use configure.srv instead
        of the host/target makefile fragments.  Set GDBSERVER_DEPFILES
        from it.
        * gdbserver/configure: Regenerated.
        * gdbserver/terminal.h: New file.
        * gdbserver/Makefile.in: Update for configure changes.  Remove
        more unneeded include paths.

22 years agoChecked in for Mo DeJong <supermo@bayarea.net>
irox [Mon, 25 Feb 2002 02:47:48 +0000 (02:47 +0000)]
Checked in for Mo DeJong  <supermo@bayarea.net>
        * src/Makefile.am: Add -DSTATIC_BUILD so
        that no __declspec() is used in function
        delarations. This fixes the build under VC++.
        * src/Makefile.in: Regen.

22 years ago2002-02-24 Daniel Jacobowitz <drow@mvista.com>
drow [Mon, 25 Feb 2002 02:47:23 +0000 (02:47 +0000)]
2002-02-24  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/configure.srv: New file.
        * gdbserver/configure.in: Use configure.srv instead
        of the host/target makefile fragments.  Set GDBSERVER_DEPFILES
        from it.
        * gdbserver/configure: Regenerated.
        * gdbserver/terminal.h: New file.
        * gdbserver/Makefile.in: Update for configure changes.  Remove
        more unneeded include paths.

22 years agoFix PR gdb/287. From wiz at danbala. Then->than and typos.
cagney [Mon, 25 Feb 2002 02:13:07 +0000 (02:13 +0000)]
Fix PR gdb/287.  From wiz at danbala.  Then->than and typos.