OSDN Git Service
aj [Mon, 23 Apr 2001 08:00:13 +0000 (08:00 +0000)]
2001-04-23 Bo Thorsen <bo@suse.de>
* x86-64.h: Add vtable support.
2001-04-23 Bo Thorsen <bo@suse.de>
* elf64-x86-64.c: Add c++ vtable hack.
Small whitespace and comment changes.
cgf [Mon, 23 Apr 2001 02:56:19 +0000 (02:56 +0000)]
spacing changes.
cgf [Mon, 23 Apr 2001 00:48:23 +0000 (00:48 +0000)]
* include/cygwin/version.h: Bump Cygwin version and API version.
rbcollins [Sun, 22 Apr 2001 23:59:15 +0000 (23:59 +0000)]
Mon Apr 23 9:27:00 2001 Robert Collins <rbtcollins@hotmail.com>
* thread.cc (MTinterface::Init): Always initialise per process variables.
cgf [Sun, 22 Apr 2001 23:52:06 +0000 (23:52 +0000)]
* libc/include/sys/unistd.h [X_OK]: Use better protection against Cygwin X_OK
definitions in sys/file.h.
cgf [Sun, 22 Apr 2001 23:18:27 +0000 (23:18 +0000)]
* features.h: Reinstate as wrapper for sys/features.h.
corinna [Sun, 22 Apr 2001 22:12:12 +0000 (22:12 +0000)]
* security.cc (alloc_sd): Reformat comment.
* shared.cc: Drop function declarations already in security.h.
cgf [Sun, 22 Apr 2001 16:19:26 +0000 (16:19 +0000)]
* shortcut.c (check_shortcut): Close input file handle before returning.
* path.cc (check_sysfile): Ditto.
(symlink_info::check): Rely on opened file handle being closed by symlink
checking routines. Set ext_tacked_on when .lnk is detected.
cgf [Sat, 21 Apr 2001 23:26:13 +0000 (23:26 +0000)]
* thread.cc (MTinterface::Init): Remove accidentally checked in code.
cagney [Sat, 21 Apr 2001 22:50:54 +0000 (22:50 +0000)]
Revert call to bfd_cache_close().
rbcollins [Sat, 21 Apr 2001 14:23:47 +0000 (14:23 +0000)]
Sun Apr 22 20:22:00 2001 Robert Collins <rbtcollins@hotmail.com>
* passwd.cc (getpwuid): Check for thread cancellation.
(getpwuid_r): Ditto.
(getpwname): Ditto.
(getpwnam_r): Ditto.
* thread.h (pthread_mutex): New constructors for pshared operation.
(MTinterface): Associative array for pshared mutex's.
* thread.cc (MTinterface::Init): Initailize pshared mutex array.
(pthread_cond::BroadCast): Implementation notes.
(pthread_cond::TimedWait): Remove use of SignalObjectAndWait on non-NT systems.
(pthread_mutex::pthread_mutex(unsigned short)): New function.
(pthread_mutex::pthread_mutex (pthread_mutex_t *, pthread_mutexattr *)):New function.
(pthread_mutex::pthread_mutex(pthread_mutexattr *)): Fail on pshared mutex's.
(__pthread_mutex_getpshared): New function.
(__pthread_join): Check for thread cancellation.
(__pthread_cond_timedwait): Support pshared mutex's.
(__pthread_cond_wait): Ditto.
(__pthread_condattr_setpshared): Error on PROCESS_SHARED requests.
(__pthread_mutex_init): Support pshared mutex's.
(__pthread_mutex_getprioceiling): Ditto.
(__pthread_mutex_lock): Ditto.
(__pthread_mutex_trylock): Ditto.
(__pthread_mutex_unlock): Ditto.
(__pthread_mutex_destroy): Ditto.
(__pthread_mutex_setprioceiling): Ditto.
(__pthread_mutexattr_setpshared): Support PTHREAD_PROCESS_PSHARED requests.
cgf [Sat, 21 Apr 2001 03:22:46 +0000 (03:22 +0000)]
* libc/include/sys/time.h: Define timercmp and other macros for __CYGWIN__,
too.
jjohnstn [Sat, 21 Apr 2001 01:16:47 +0000 (01:16 +0000)]
2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
* acinclude.m4: Added --enable-malloc-debugging configure flag.
* configure.host: For Cygwin specify -DMALLOC_PROVIDED if
--enable-malloc-debugging selected.
* aclocal.m4 configure: Regenerated.
libm/aclocal.m4 libm/configure: Ditto.
* libc/aclocal.m4 libc/configure: Ditto.
* libc/machine/aclocal.m4 libc/machine/configure: Ditto.
* libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
* libc/sys/aclocal.m4 libc/sys/configure: Ditto.
* libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
* doc/aclocal.m4 doc/configure: Ditto.
cgf [Fri, 20 Apr 2001 23:38:42 +0000 (23:38 +0000)]
* cygwin.din: Add *scanf and *scan_r functions.
jle [Fri, 20 Apr 2001 23:38:37 +0000 (23:38 +0000)]
2000-04-20 Jason Eckhardt <jle@redhat.com>
* config/tc-d10v.h (tc_frob_label): Update the symbol's frag
since frag_now can change after d10v_cleanup is called.
jjohnstn [Fri, 20 Apr 2001 22:50:51 +0000 (22:50 +0000)]
2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
into one list.
[!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
(vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
function prototypes.
(_fscanf_r, _sscanf_r): Ditto.
* libc/include/stdlib.h: Added _strtod_r prototype.
* libc/stdio/Makefile.am: Add new v*scanf functions.
* libc/stdio/Makefile.in: Regenerate.
* libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r. * libc/stdio/scanf.c: Changed to call __svfscanf_r.
* libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
(sscanf): Changed to call __svfscanf_r with _REENT argument.
(_sscanf_r): New routine.
* libc/stdio/local.h: Removed __svfscanf prototype and replaced it
with __svfscanf_r prototype.
* libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
routines.
(__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
structure as argument as calls reentrant versions of helper functions
(e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
to _strtol_r and _strtod_r respectively.
* libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
* libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
_REENT argument.
* libc/stdio/vscanf.c: New file.
* libc/stdio/vsscanf.c: Ditto.
corinna [Fri, 20 Apr 2001 20:36:13 +0000 (20:36 +0000)]
* security.cc (set_process_privileges): Swap out.
* sec_helper.cc (set_process_privilege): Rename from
`set_process_privileges'. Takes the privilege to enable or disable
as parameter now.
* security.h: Add prototype for `set_process_privileges'.
kseitz [Fri, 20 Apr 2001 18:47:32 +0000 (18:47 +0000)]
Other half of SetVariableEvent:
* library/srctextwin.ith (handle_set_hook): Rename to set_variable.
* library/srctextwin.itb (set_variable): Handle SetVariableEvent.
(constructor): Remove gdb_set_hook.
(destructor): Ditto.
* library/srcbar.itcl: Inherit from GDBEventHandler.
(set_hook): Rename to set_variable and handle SetVariableEvent.
(constructor): Remove gdb_set_hook.
(destructor): Ditto.
* library/regwin.ith (handle_set_hook): Renamed to set_variable.
* library/regwin.itb (set_variable): Handle SetVariableEvent.
(constructor): Remove gdb_set_hook.
(destructor): Ditto.
* library/kod.ith (set_os): Renamed to "set_variable".
* library/kod.itb (set_variable): Handle SetVariableEvent.
(constructor): Remove gdb_set_hook.
(destructor): Ditto.
* library/tclIndex: Regenerated.
kseitz [Fri, 20 Apr 2001 17:20:02 +0000 (17:20 +0000)]
Event model revamp for "gdb_set_hook".
* library/interface.tcl (gdbtk_tcl_set_variable): New proc.
* library/gdbevent.ith (SetVariableEvent): New event.
* library/gdbevent.itb (SetVariableEvent::get): Override
GDBEvent::get.
* library/ehandler.ith (set_variable): New public method.
* generic/gdbtk-hooks.c (gdbtk_set_hook): Let inteface function
gdbtk_tcl_set_variable do all the work.
* tclIndex: Regenerated.
cgf [Fri, 20 Apr 2001 16:40:04 +0000 (16:40 +0000)]
* path.cc (path_conv::check): Always initialize member variables.
cgf [Fri, 20 Apr 2001 16:36:17 +0000 (16:36 +0000)]
* include/sys/file.h: More cleanup for X_OK.
cgf [Fri, 20 Apr 2001 15:50:03 +0000 (15:50 +0000)]
* include/sys/file.h: Move X_OK protection earlier.
* dtable.cc (dtable::vfork_child_fixup): Avoid closing already closed handles.
corinna [Fri, 20 Apr 2001 14:30:22 +0000 (14:30 +0000)]
* grp.cc (getgroups): Change so that SIDs get compared instead
of strings to SIDs.
kettenis [Fri, 20 Apr 2001 14:25:59 +0000 (14:25 +0000)]
* event-top.h: Fix formatting.
corinna [Fri, 20 Apr 2001 13:02:32 +0000 (13:02 +0000)]
* Makefile.in: Add object files `sec_helper.cc' and `sec_acl.cc'.
* security.cc: Swap out several functions.
* sec_acl.cc: New file. Move Sun compatibel ACL functions from
`security.cc' to here.
* sec_helper.cc: New file. Move security helper functions from
`security.cc' to here.
* security.h: Changed to accomodate the above changes.
* grp.cc: Replace `group_in_memory_p' by `group_state'.
Eliminate group_sem throughout.
(enum grp_state): New enumeration type.
(read_etc_group): Make race safe.
* security.cc: Eliminate group_sem throughout.
aoliva [Fri, 20 Apr 2001 09:28:04 +0000 (09:28 +0000)]
* ltconfig, ltmain.sh, ltcf-cxx.sh: Upgraded to libtool 1.4a
1.641.2.228.
cagney [Thu, 19 Apr 2001 23:56:12 +0000 (23:56 +0000)]
Obsolete MPW as host.
kseitz [Thu, 19 Apr 2001 22:55:26 +0000 (22:55 +0000)]
Whoops. Missed a file for the new event model check-in...
kseitz [Thu, 19 Apr 2001 22:51:02 +0000 (22:51 +0000)]
Breakpoint/tracepoint event notification using new event model...
* generic/gdbtk-cmds.c (gdb_set_bp): Use create_breakpoint_hook
to notify gui of changes.
(gdb_set_bp_addr): Ditto.
(gdb_get_breakpoint_info): Update comments to match reality.
* generic/gdbtk-hooks.c (breakpoint_notify): Only pass the
breakpoint number which generated the event.
(tracepoint_notify): Ditto for tracepoints.
* library/interface.tcl (gdb_breakpoint_change_hook): Mark
as deprecated and comment out definition.
(gdbtk_tcl_breakpoint): Use new GDBEvent event "breakpoint"
to notify rest of UI about breakpoint event.
(gdbtk_tcl_tracepoint): Ditto for "tracepoint" event.
* library/bpwin.ith (update): Renamed to "breakpoint".
(breakpoint): New public method.
(tracepoint): New public method.
(bp_add): Take event as argument instead of number.
(bp_modify): Ditto.
(bp_delete): Ditto.
* library/bpwin.itb (constructor): Remove
gdb_breakpoint_changed_hook.
(destructor): Ditto.
(build_win): Insert any existing breakpoints by
making BreakpointEvents for them.
(breakpoint): Renamed from "update" to handle
breakpoint events.
Remove code to deal with tracepoints.
(tracepoint): New method to handle tracepoint
events.
(bp_add): Deal with breakpoint events, not breakpoint
numbers.
(bp_modify): Ditto.
(bp_delete): Ditto.
* library/srctextwin.ith: Inherit from GDBWin.
(breakpoint): New public method.
(tracepoint): New public method.
* library/srctextwin.itb (constructor): Remove
gdb_breakpoint_changed_hook.
(destructor): Ditto.
(breakpoint): New method to handle breakpoint event.
(tracepoint): New method to handle tracepoint event.
(do_bp): Handle duplicate breakpoints for asm, too.
(remove_bp_at_line): Delete breakpoints by number, not
linespec. clear_command removes breakpoints from the
breakpoint_chain BEFORE deleting the breakpoint. delete_command
does this afterward (so we can call gdb_get_breakpoint_info on
an about-to-be-deleted breakpoint).
kseitz [Thu, 19 Apr 2001 22:48:46 +0000 (22:48 +0000)]
New event handling infrastructure.
* library/gdbevent.ith: New file. Defines new event model.
* library/gdbevent.itb: New file. Implements new event
model.
* library/ehandler.ith: New file. Defines new event model.
* library/ehandler.itb: New file. Implements new event
model.
* library/gdbwin.ith: Inherit from GDBEventHandler.
(update): Delete unused method.
(_state): Delete unused variable.
* library/tclIndex: Regenerated.
fche [Thu, 19 Apr 2001 20:59:30 +0000 (20:59 +0000)]
* bug fix
2001-04-19 Frank Ch. Eigler <fche@redhat.com>
* sim-utils.c (sim_analyze_program): Call bfd_cache_close after
we're finished with its immediate use.
* sim-load.c (sim_load_file): Ditto.
jjohnstn [Thu, 19 Apr 2001 15:54:47 +0000 (15:54 +0000)]
2001-04-19 Robert Collins <rbtcollins@hotmail.com>
* include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
Define daylight to _daylight if it is not defined
Prepare a variable export of timezone based on timezonevariable.
(Cannot be used with the timezone() function.)
duda [Thu, 19 Apr 2001 14:22:30 +0000 (14:22 +0000)]
* dumper.cc (dumper::init_core_dump): Set architecture field in dump
header.
kettenis [Thu, 19 Apr 2001 11:39:47 +0000 (11:39 +0000)]
* i386-tdep.c (i386_frameless_function_invocation): New function.
* config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION): Redefine
in terms of i386_frameless_function_invocation. Adjust comment.
(i386_frameless_function_invocation): New prototype.
aj [Thu, 19 Apr 2001 09:39:28 +0000 (09:39 +0000)]
2001-04-19 Andreas Jaeger <aj@suse.de>
* elf64-x86-64.c (elf64_x86_64_plt0_entry): Fix instructions.
(elf64_x86_64_plt_entry): Likewise.
(elf64_x86_64_finish_dynamic_sections): Fix PLT0 generation.
(elf64_x86_64_finish_dynamic_symbol): Fix PLT generation.
corinna [Thu, 19 Apr 2001 09:16:40 +0000 (09:16 +0000)]
* winsup.api/mmaptest02.c: New test.
* winsup.api/mmaptest03.c: Ditto.
* winsup.api/mmaptest04.c: Ditto.
corinna [Thu, 19 Apr 2001 07:44:34 +0000 (07:44 +0000)]
* mmap.cc (mmap): Drop usage of the same memory area if the same
region of the same file is mapped twice.
hunt [Thu, 19 Apr 2001 05:28:54 +0000 (05:28 +0000)]
2001-04-18 Martin M. Hunt <hunt@redhat.com>
* generic/gdbtk.c (gdbtk_init): Initialize uiout.
hunt [Thu, 19 Apr 2001 05:28:12 +0000 (05:28 +0000)]
2001-04-18 Martin M. Hunt <hunt@redhat.com>
* top.c (gdb_init): Don't call cli_out_new() to
create global uiout if init_ui_hook is set. uiout will
have to be initialized there.
cgf [Thu, 19 Apr 2001 03:55:02 +0000 (03:55 +0000)]
* Makefile.in: Add -U_WIN32 to CFLAGS compile line to avoid inappropriate
Windows-isms.
cagney [Thu, 19 Apr 2001 00:37:24 +0000 (00:37 +0000)]
#include "regcache.h".
cgf [Wed, 18 Apr 2001 22:45:27 +0000 (22:45 +0000)]
* configure.in: Add bz2lib.
ezannoni [Wed, 18 Apr 2001 22:43:56 +0000 (22:43 +0000)]
2001-04-18 Elena Zannoni <ezannoni@redhat.com>
* baseboards/sh-hms.exp: Enable inferior function calls testing.
* baseboards/sh-hms-sim.exp: Likewise.
cgf [Wed, 18 Apr 2001 21:10:11 +0000 (21:10 +0000)]
Throughout, change fdtab references to cygheap->fdtab.
* child_info.h (cygheap_exec_info): Eliminate special fdtab stuff.
* spawn.cc (spawn_guts): Ditto.
* cygheap.cc (cygheap_init): Initialize fdtab, if appropriate.
* cygheap.h (CYGHEAPSIZE): Include size of init_cygheap.
(_cmalloc_entry): Include fdtab here.
* dtable.h (dtable): Declare/define new methods.
* dtable.cc (dtable::vfork_child_fixup): New method.
(dtable::fixup_after_exec): Remove unneeded extra arguments.
* dcrt0.cc (dll_crt0_1): Ditto.
* environ.cc (getwinenv): Use case sensitive comparison.
(winenv): Make a copy of environment cache to avoid realloc problems when
duplicate environment variables exist in the environment. (From Egor Duda)
* net.cc (cygwin_socket): Revert Apr 14 change.
* include/sys/file.h: Protect against previous X_OK definition.
* passwd.cc: Eliminate passwd_sem throughout.
* security.cc: Ditto.
* cygwin.din: Export New functions.
* passwd.cc (read_etc_passwd): Make race safe.
(getpwuid_r): New function.
(getpwnam_r): New function.
cgf [Wed, 18 Apr 2001 20:00:33 +0000 (20:00 +0000)]
*** empty log message ***
jjohnstn [Wed, 18 Apr 2001 19:50:00 +0000 (19:50 +0000)]
2001-04-18 Jeff Johnston <jjohnstn@redhat.com>
* gloss.cxx (gloss32::reset): Move check for std streams into
hostops::close.
* hostops.cxx (hostops::close): Don't close host std streams.
tromey [Wed, 18 Apr 2001 17:43:59 +0000 (17:43 +0000)]
* library/interface.tcl (run_executable): Use
gdb_set_inferior_args.
* library/session.tcl (session_load): Use gdb_set_inferior_args.
* generic/gdbtk-cmds.c (Gdbtk_Init): Register
gdb_set_inferior_args.
(gdb_get_inferior_args): New function.
tromey [Wed, 18 Apr 2001 16:49:37 +0000 (16:49 +0000)]
* library/session.tcl (session_save): Use gdb_get_inferior_args.
* generic/gdbtk-cmds.c (inferior_args): Removed.
(Gdbtk_Init): Don't register gdb_inferior_args variable. Do
register gdb_get_inferior_args function.
(gdb_get_inferior_args): New function.
mrg [Wed, 18 Apr 2001 16:39:37 +0000 (16:39 +0000)]
* XScale coprocessor support.
2001-04-18 matthew green <mrg@redhat.com>
* armcopro.c (write_cp15_reg): Set CHANGEMODE if endianness changes.
(read_cp15_reg): Make non-static.
(XScale_cp15_LDC): Update for write_cp15_reg() change.
(XScale_cp15_MCR): Likewise.
(XScale_cp15_write_reg): Likewise.
(XScale_check_memacc): New function. Check for breakpoints being
activated by memory accesses. Does not support the Branch Target
Buffer.
(XScale_set_fsr_far): New function. Set FSR and FAR for XScale.
(XScale_debug_moe): New function. Set the debug Method Of Entry,
if configured.
(write_cp14_reg): Reset count counter if requested.
* armdefs.h (struct ARMul_State): New members `LastTime' and
`CP14R0_CCD' used for the timer/counters.
(ARMul_CP13_R0_FIQ, ARMul_CP13_R0_IRQ, ARMul_CP13_R8_PMUS,
ARMul_CP14_R0_ENABLE, ARMul_CP14_R0_CLKRST, ARMul_CP14_R0_CCD,
ARMul_CP14_R0_INTEN0, ARMul_CP14_R0_INTEN1, ARMul_CP14_R0_INTEN2,
ARMul_CP14_R0_FLAG0, ARMul_CP14_R0_FLAG1, ARMul_CP14_R0_FLAG2,
ARMul_CP14_R10_MOE_IB, ARMul_CP14_R10_MOE_DB, ARMul_CP14_R10_MOE_BT,
ARMul_CP15_R1_ENDIAN, ARMul_CP15_R1_ALIGN, ARMul_CP15_R5_X,
ARMul_CP15_R5_ST_ALIGN, ARMul_CP15_R5_IMPRE, ARMul_CP15_R5_MMU_EXCPT,
ARMul_CP15_DBCON_M, ARMul_CP15_DBCON_E1, ARMul_CP15_DBCON_E0): New
defines for XScale registers.
(XScale_check_memacc, XScale_set_fsr_far, XScale_debug_moe): Prototype.
(ARMul_Emulate32, ARMul_Emulate26): Clean up function definition.
(ARMul_Emulate32): Handle the clock counter and hardware instruction
breakpoints. Call XScale_set_fsr_far() for software breakpoints and
software interrupts.
(LoadMult): Call XScale_set_fsr_far() for data aborts.
(LoadSMult): Likewise.
(StoreMult): Likewise.
(StoreSMult): Likewise.
* armemu.h (write_cp15_reg): Update prototype.
* arminit.c (ARMul_NewState): Initialise CP14R0_CCD and LastTime.
(ARMul_Abort): If XScale, check for FIQ and IRQ being enabled in CP13
register 0.
* armvirt.c (GetWord): Call XScale_check_memacc().
(PutWord): Likewise.
corinna [Wed, 18 Apr 2001 14:52:06 +0000 (14:52 +0000)]
* grp.cc (getgroups): Avoid crash if passwd field if /etc/group is
empty.
msnyder [Wed, 18 Apr 2001 00:37:48 +0000 (00:37 +0000)]
2001-04-17 Michael Snyder <msnyder@redhat.com>
* i386-nat.c: Fix typo in comment.
dj [Tue, 17 Apr 2001 23:28:38 +0000 (23:28 +0000)]
* dlltool.c (do_default_excludes): Initialise to true.
msnyder [Tue, 17 Apr 2001 23:22:52 +0000 (23:22 +0000)]
Fix thinko.
msnyder [Tue, 17 Apr 2001 23:21:47 +0000 (23:21 +0000)]
2001-04-17 Michael Snyder <msnyder@redhat.com>
* solib.c (no_shared_libraries): New function. Discard all symbols
from shared libraries.
(_initialize_solib): Add command "nosharedlibrary" as complement
to the command "sharedlibrary". Unloads symbols for all solibs.
kettenis [Tue, 17 Apr 2001 23:20:54 +0000 (23:20 +0000)]
* i386-tdep.c (i386_saved_pc_after_call): New function.
* config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Redefine in terms
of i386_saved_pc_after_call.
(i386_saved_pc_after_call): New prototype.
cgf [Tue, 17 Apr 2001 23:12:10 +0000 (23:12 +0000)]
* path.h (path_conv::add_ext_from_sym): Declare.
* path.cc (path_conv::add_ext_from_sym): Convert to pure inline method.
cagney [Tue, 17 Apr 2001 21:20:48 +0000 (21:20 +0000)]
Obsolete NEWS and ISI systems (along with a few redundant m68k targets).
msnyder [Tue, 17 Apr 2001 20:30:59 +0000 (20:30 +0000)]
2001-04-17 Michael Snyder <msnyder@redhat.com>
* remote.c (remote_open_1): On opening the remote target, activate
the solib_create_inferior_hook, so that it can detect when the
target loads shared libraries.
(remote_async_open_1): Ditto.
msnyder [Tue, 17 Apr 2001 20:16:30 +0000 (20:16 +0000)]
2001-04-17 Michael Snyder <msnyder@redhat.com>
* breakpoint.c (print_one_breakpoint): Handle 64-bit addresses.
* tracepoint.c (tracepoints_info): Handle 64-bit addresses.
* testsuite/gdb.trace/deltrace.exp: Allow for 64-bit addresses.
* testsuite/gdb.trace/infotrace.exp: Ditto.
* testsuite/gdb.trace/passcount.exp: Ditto.
* testsuite/gdb.trace/while-stepping.exp: Ditto.
msnyder [Tue, 17 Apr 2001 19:14:53 +0000 (19:14 +0000)]
2001-04-17 Michael Snyder <msnyder@redhat.com>
* thread-db.c (check_thread_signals): When looping over all
signals, ignore signal zero.
(disable_thread_signals): Ditto.
msnyder [Tue, 17 Apr 2001 19:01:34 +0000 (19:01 +0000)]
2001-04-17 Eirik Fuller <eirik@netapp.com>
* thread.c (do_captured_thread_select): Allow the argument to the
thread command to be an expression rather than a literal integer.
jjohnstn [Tue, 17 Apr 2001 17:12:57 +0000 (17:12 +0000)]
2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
* newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
Correct the numerical values.
corinna [Tue, 17 Apr 2001 16:52:08 +0000 (16:52 +0000)]
* path.cc (windows_device_names): Add missing NULL element.
cgf [Tue, 17 Apr 2001 16:16:26 +0000 (16:16 +0000)]
* path.cc (windows_device_names): Move dsp to proper location.
fnasser [Tue, 17 Apr 2001 16:14:22 +0000 (16:14 +0000)]
2001-04-17 Fernando Nasser <fnasser@redhat.com>
* library/variables.tcl (update): Temporary fix to the detection of
"type_changed" condition. Proper fix will require that this condition
is properly reported by the underlying code.
earnie [Tue, 17 Apr 2001 12:58:04 +0000 (12:58 +0000)]
* include/windows.h: Define _ANONYMOUS_STRUCT and _ANONYMOUS_UNION
as __extenstion__ when appropriate.
* include/mmsystem.h: Mark anonymous structs and unions as
__extension__ to prevent compiler warning when invoked with
-pedantic
* include/oaidl.h: Ditto.
* include/objidl.h: Ditto.
* include/olectl.h: Ditto.
* include/prsht.h: Ditto.
* include/shlobj.h: Ditto.
* include/winbase.h: Ditto.
* include/winnt.h: Ditto.
* include/wtypes.h: Ditto.
hp [Tue, 17 Apr 2001 12:32:28 +0000 (12:32 +0000)]
* elf32-cris.c: Tweak comments related to dynamic linking.
(cris_elf_relocate_section): When not creating shared object, fill
in the .got table for any symbol not in the dynamic symbol table.
(elf_cris_finish_dynamic_symbol): When not creating shared object,
only emit a .got.rela reloc if the symbol is in the dynamic symbol
table.
(cris_elf_check_relocs): Use variable r_type in all places rather
than the original expression. Add default case in switch for
reloc types.
(elf_cris_size_dynamic_sections): Iterate over
elf_cris_discard_excess_program_dynamics when not creating shared
library.
(elf_cris_discard_excess_dso_dynamics): Renamed from
elf_cris_discard_copies. Correct typo, s/Rel/Rela/.
(elf_cris_discard_excess_program_dynamics): New.
corinna [Tue, 17 Apr 2001 11:49:19 +0000 (11:49 +0000)]
Forgot the ChangeLog...
corinna [Tue, 17 Apr 2001 11:47:37 +0000 (11:47 +0000)]
* path.cc (path_conv::check): Set case_clash even if pcheck_case
is set to PCHECK_ADJUST when a case clash is given for the last
component in path.
(symlink_info::case_check): Ditto.
* syscalls.cc (_rename): Avoid overwriting an already existing file
if a case clash is given even if pcheck_case is set to PCHECK_ADJUST.
fche [Tue, 17 Apr 2001 10:13:22 +0000 (10:13 +0000)]
* runtest robustness
2001-04-17 Frank Ch. Eigler <fche@redhat.com>
* unix.exp (sid_cmd): Bump up expect match_max size.
kettenis [Tue, 17 Apr 2001 09:38:52 +0000 (09:38 +0000)]
* i386-linux-tdep.c (i386_linux_saved_pc_after_call): Use
read_memory_unsigned_integer instead of read_memory_integer.
corinna [Tue, 17 Apr 2001 08:51:34 +0000 (08:51 +0000)]
Add missing ChangeLog entry.
cgf [Tue, 17 Apr 2001 06:07:07 +0000 (06:07 +0000)]
Turn NEWVFORK off.
cgf [Tue, 17 Apr 2001 03:52:08 +0000 (03:52 +0000)]
* path.h (cwdstuff): Move class.
* cygheap.h (cwdstuff): To here.
(init_cygheap): Add cwd field.
* child_info.h (cygheap_exec_info): Eliminate cwd stuff.
(child_info_spawn): Ditto.
* dcrt0.cc (dll_crt0_1): Remove cygcwd.fixup_after_exec call. Convert cygcwd
reference to cygheap->cwd.
* path.cc: Ditto, throughout.
(cwdstuff::copy): Eliminate.
(cwdstuff::fixup_after_exec): Ditto.
* spawn.cc (spawn_guts): Eliminate call to cygcwd.copy.
* fhandler.h (FH_OSS_DSP): Move into "fast" device category.
kevinb [Tue, 17 Apr 2001 02:29:23 +0000 (02:29 +0000)]
* solib-aix5.c (map_index_vs_section_name_okay): New function.
(aix5_relocate_main_executable): Don't use file offsets for
determining corresponding sections and map file entries. Call
map_index_vs_section_name_okay() to do this instead.
obrien [Tue, 17 Apr 2001 01:36:23 +0000 (01:36 +0000)]
2001-04-16 David O'Brien <obrien@FreeBSD.org>
* configure.in: Add the em type for FreeBSD targets.
* configure: Regenerate.
Approved by: Alan Modra <amodra@one.net.au>
<
20010414192409.C16364@squeak.one.net.au>
Philip Blundell <philb@gnu.org>
<E14o06W-0002IT-00@kings-cross.london.uk.eu.org>
kevinb [Tue, 17 Apr 2001 01:24:48 +0000 (01:24 +0000)]
Add code to retry certain open()s.
kevinb [Mon, 16 Apr 2001 21:40:48 +0000 (21:40 +0000)]
Fix date on previous commit.
kevinb [Mon, 16 Apr 2001 21:26:46 +0000 (21:26 +0000)]
Make hw watchpoints work with both the 2.4.2 kernel and the 2.4.3 kernel.
dj [Mon, 16 Apr 2001 18:42:41 +0000 (18:42 +0000)]
sync with egcs
corinna [Mon, 16 Apr 2001 17:26:04 +0000 (17:26 +0000)]
* mmap.cc: Move fh_paging_file from some functions to be
a global static variable.
(class mmap_record): Add `devtype_' member to remember
the device type of the file. Add declaration for methods
`get_device', `alloc_fh' and `free_fh'.
(mmap_record::mmap_record): Initialize `devtype_' correctly.
(mmap_record::alloc_fh): New method.
(mmap_record::free_fh): Ditto.
(munmap): Use new mmap_record::alloc_fh and mmap_record::free_fh
methods to create a correct fhandler.
(msync): Ditto.
(fixup_mmaps_after_fork): Ditto.
dberlin [Mon, 16 Apr 2001 14:36:16 +0000 (14:36 +0000)]
2001-04-16 Daniel Berlin <dan@cgsoftware.com>
* demangle.c (_initialize_demangler): Use xcalloc on the
demangling_style_names, and make it a null terminated array of
names, to avoid a crash.
dberlin [Mon, 16 Apr 2001 14:11:24 +0000 (14:11 +0000)]
Forgot the makefile portion
dberlin [Mon, 16 Apr 2001 14:10:13 +0000 (14:10 +0000)]
2001-04-15 Daniel Berlin <dan@cgsoftware.com>
* ternary.c: New file - Ternary search tree implementation.
2001-04-15 Daniel Berlin <dan@cgsoftware.com>
* ternary.h: New file - Ternary search tree header.
corinna [Mon, 16 Apr 2001 14:02:42 +0000 (14:02 +0000)]
* grp.cc (getgroups): If `allow_ntsec' is set, use the process token
information to evaluate the groups list.
corinna [Mon, 16 Apr 2001 13:19:27 +0000 (13:19 +0000)]
* mkgroup.c: Add function pointers `netlocalgroupgetmembers' and
`netgroupgetusers'.
(load_netapi): Load function pointers `netlocalgroupgetmembers'
and `netgroupgetusers'.
(enum_local_users): New function.
(enum_local_groups): Call `enum_local_users' for each group if
`print_users' is set.
(enum_users): New function.
(enum_groups): Call `enum_users' for each group if `print_users' is set.
(usage): Add usage text for `-u/--users'.
(longopts): Add option `--users'.
(opts): Add option character `u'.
(main): Set `print_users' according to option `-u/--users'.
Call `enum_local_groups' and `enum_groups' with additional parameter
`print_users'.
kettenis [Mon, 16 Apr 2001 13:03:13 +0000 (13:03 +0000)]
* i386-tdep.c (i386_frame_chain): New function.
* config/i386/tm-i386.h (FRAME_CHAIN): Redefine in terms of
i386_frame_chain.
(i386_frame_chain): New prototype.
cgf [Mon, 16 Apr 2001 04:08:05 +0000 (04:08 +0000)]
* features.h: Remove this file as it is now being supplied by newlib.
cgf [Mon, 16 Apr 2001 03:27:15 +0000 (03:27 +0000)]
* autoload.cc: Add winmm functions needed by fhandler_dsp.cc.
* fhandler_dsp.cc: New file. Implements OSS like /dev/dsp.
* include/sys/soundcard.h: New file. User land includes for OSS /dev/dsp.
* fhandler.h: Add new class fhandler_dev_dsp and a FH_OSS_DSP definition.
* dtable.cc (dtable::build_fhandler): Allow creation of the /dev/dsp device.
* path.cc (windows_device_names): Add /dev/dsp into list of device names.
* Makefile.in (DLL_OFILES): Add fhandler_dsp.o.
cgf [Mon, 16 Apr 2001 02:51:02 +0000 (02:51 +0000)]
* mount.cc (longopts): Add help to options list.
(opts): Add 'h' to options string.
* umount.cc (longopts): Add help to options list.
(opts): Add 'h' to options string and change 'R' to 'A'.
cgf [Sun, 15 Apr 2001 20:39:45 +0000 (20:39 +0000)]
* uname.c (uname): Default n in in86 to 6 if Windows returns > 6.
jtc [Sun, 15 Apr 2001 19:57:09 +0000 (19:57 +0000)]
* Makefile.in (simops.o): Add simops.h to dependency list.
corinna [Sun, 15 Apr 2001 14:09:33 +0000 (14:09 +0000)]
Patch by Kazuhiro Fujieda <fujieda@jaist.ac.jp>:
* mkgroup.c (enum_groups): Use RID + offset specified an additional
argument as ID.
(usage): Add description of -o option.
(longopts, opts): Add specifications of -o/--id-offset option.
(main): Add -o option. Invoke enum_groups with specified offset.
* mkpasswd.c (enum_users): Just like mkgroup.c.
(usage, longopts, opts): Ditto.
(main): Add -o option. Invoke enum_users with specified offset
only against domain accounts.
corinna [Sun, 15 Apr 2001 14:00:45 +0000 (14:00 +0000)]
* path.cc (add_ext_from_sym): Redefine to call `add_ext_from_sym_'.
(add_ext_from_sym_): New inline function.
dj [Sun, 15 Apr 2001 04:23:45 +0000 (04:23 +0000)]
* coffcode.h (coff_write_object_contents): Use
bfd_coff_swap_filehdr_out instead of coff_swap_filehdr_out.
hjl [Sun, 15 Apr 2001 01:02:54 +0000 (01:02 +0000)]
2001-04-14 H.J. Lu <hjl@gnu.org>
* bfd-in2.h: Regenerate.
cgf [Sat, 14 Apr 2001 23:24:06 +0000 (23:24 +0000)]
* config.h.in: Turn on VFORK by default.
fche [Sat, 14 Apr 2001 22:56:20 +0000 (22:56 +0000)]
* build fix
2001-04-14 Harri Porten <porten@kde.org>
* sidmiscutil.h (sidutil): added std:: prefixes for C++ ISO compliance.
cgf [Sat, 14 Apr 2001 22:11:02 +0000 (22:11 +0000)]
* net.cc (cygwin_socket): Set SO_LINGER to small value so closed UNIX domain
sockets will not stay around.
* select.cc (socket_cleanup): Set SO_LINGER to small value so closed dummy
sockets do not stay around. Use correct value for second argument to shutdown.
jtc [Sat, 14 Apr 2001 19:23:02 +0000 (19:23 +0000)]
* target.h (target_ops): Removed to_core_file_to_sym_file vector
function.
* corelow.c (core_ops): Updated for above change.
* gnu-nat.c (core_ops): Likewise.
* inftarg.c (child_ops): Likewise.
* monitor.c (monitor_ops): Likewise.
* ppc-bdm.c (bdm_ppc_ops): Likewise.
* remote-adapt.c (adapt_ops): Likewise.
* remote-bug.c (bug_ops): Likewise.
* remote-e7000.c (e7000_ops): Likewise.
* remote-eb.c (eb_ops): Likewise.
* remote-es.c (es1800_ops, es1800_child_ops): Likewise.
* remote-mm.c (mm_ops): Likewise.
* remote-nindy.c (nindy_ops): Likewise.
* remote-nrom.c (nrom_ops): Likewise.
* remote-os9k.c (rombug_ops): Likewise.
* remote-rdp.c (remote_rdp_ops): Likewise.
* remote-sim.c (gdbsim_ops): Likewise.
* remote-st.c (st2000_ops): Likewise.
* v850ice.c (v850ice_ops): Likewise.
* target.c (cleanup_target): Likewise
(update_current_target): Likewise.
(setup_target_debug): Likewise
(debug_to_core_file_to_sym_file): Removed.
* corefile.c (core_file_command) [HPUXHPPA]: Removed code that
sets symbol file from information obtained from the core file.
* corelow.c (core_file_to_sym_file): Removed.