OSDN Git Service
ironhead [Fri, 23 Sep 2005 10:50:11 +0000 (10:50 +0000)]
2005-09-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/shell32.def (SHILCreateFromPath): Add stub.
Thanks to: Michael Jung <mjung at iss dot tu-darmstadt dot de>
cgf [Fri, 23 Sep 2005 03:40:56 +0000 (03:40 +0000)]
* tlsoffsets.h: Regenerate.
cgf [Fri, 23 Sep 2005 03:35:41 +0000 (03:35 +0000)]
* cygheap.cc (cygheap_fixup_in_child): It's not just for exec.
* cygtls.h (struct _cygtls::thread_handle): New field.
* dcrt0.cc (exit_lock): Remove declaration.
* winsup.h (exit_lock): Add declaration.
* exceptions.cc (sigpacket::process): Properly return after signal_exit.
* pinfo.cc (pinfo::exit): Only exit the process if _my_tls.thread_handle has
not been filled out -- which should be an impossible event.
* sigproc.cc (sigproc_terminate): Fillout _my_tls.thread_handle to provide
something for wait_sig to wait for. Use the siginfo_t version of sig_send and
fill out the tls argument with _my_tls.
(wait_sig): Wait for the thread specified in pack.tls or (for now) complain
bitterly if it doesn't exit.
amodra [Fri, 23 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 23 Sep 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Thu, 22 Sep 2005 21:10:06 +0000 (21:10 +0000)]
* pinfo.cc (set_myself): Call strace.hello unconditionally when DEBUGGING.
(pinfo::init): Sleep and issue debugging output before looping when a
PID_EXITED is found.
wilson [Thu, 22 Sep 2005 19:50:24 +0000 (19:50 +0000)]
Fix addr2line -i problem; reports incorrect function nesting for inline funcs.
* dwarf2.c (struct funcinfo): Delete nesting_level field.
(lookup_address_in_function_table): Delete code to set funcinfo
caller_func field. Delete local curr_func.
(scan_unit_for_symbols): New locals nested_funcs, nested_funcs_size.
Delete code setting funcinfo nesting_level field. Add code to set
funcinfo caller_func field.
corinna [Thu, 22 Sep 2005 17:53:37 +0000 (17:53 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix copy/paste
bug.
cgf [Thu, 22 Sep 2005 17:06:46 +0000 (17:06 +0000)]
* strace.cc (strace::vsprntf): Avoid accessing myself->pid if !myself.
cgf [Thu, 22 Sep 2005 16:41:34 +0000 (16:41 +0000)]
* include/sys/strace.h (_STRACE_ON): Remove semicolon from definition.
(_STRACE_OFF): Remove semicolon from definition.
corinna [Thu, 22 Sep 2005 15:52:00 +0000 (15:52 +0000)]
* fhandler.h (fhandler_base::fstat_helper): Declare with additional
file attributes argument.
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Use
file attributes evaluated from NtQueryFileInformation or
FileInformationByHandle in call to fstat_helper.
Set pc.fileattr from just evaluated file attributes here.
(fhandler_base::fstat_by_name): Use file attributes evaluated from
FindFileFirst or default attribute in call to fstat_helper.
Set pc.fileattr from just evaluated file attributes here.
(fhandler_base::fstat_helper): Use file attributes given as argument,
not file attributes stored in this fhandler, since this information
is potentially wrong. Add comment to explain this.
* path.h (has_attribute): New global inline function.
(path_conv::set_attributes): New method to change fileattr.
amodra [Thu, 22 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 22 Sep 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
corinna [Wed, 21 Sep 2005 22:27:38 +0000 (22:27 +0000)]
Fix typo.
corinna [Wed, 21 Sep 2005 22:26:08 +0000 (22:26 +0000)]
Align error message handling to mkpasswd's error messages throughout.
* mkgroup.c (print_win_error): Create macro calling ...
(_print_win_error): ... this function created from former
print_win_error. Move up in source.
(PDOMAIN_CONTROLLER_INFOW): Define return type of DcGetDcNameW.
(dsgetdcname): New function pointer for DcGetDcNameW.
(load_netapi): Get DcGetDcNameW address.
(main): If DcGetDcNameW is available, use it.
* mkpasswd.c (PDOMAIN_CONTROLLER_INFOW): Define return type of
DcGetDcNameW.
(dsgetdcname): New function pointer for DcGetDcNameW.
(load_netapi): Get DcGetDcNameW address.
(main): If DcGetDcNameW is available, use it. Rename local variable
domain_name_specified to domain_specified as in mkgroup.c.
kettenis [Wed, 21 Sep 2005 20:45:38 +0000 (20:45 +0000)]
* mips-tdep.c (n32n64_floatformat_always_valid): Use 'const void
*' for second argument instead of 'const char *'.
cgf [Wed, 21 Sep 2005 19:29:45 +0000 (19:29 +0000)]
* cygthread.cc (cygthread::operator new): Just use getenv() to look for
CYGWIN_FREERANGE_NOCHECK since the Windows environment may be truncated by
being previously execed.
ironhead [Wed, 21 Sep 2005 19:20:44 +0000 (19:20 +0000)]
2005-09-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/winbase.h (RegisterWaitForSingleObject,
RegisterWaitForSingleObjectEx): Define.
* lib/kernel32.def (RegisterWaitForSingleObjectEx@20): Define.
(RegisterWaitForSingleObject@16): Changed to
RegisterWaitForSingleObject@24.
Thanks to: Brandon Sneed <nivenh at users dot sourceforge dot net>
amodra [Wed, 21 Sep 2005 06:55:48 +0000 (06:55 +0000)]
* gas/lns/lns.exp (lns-common-1): Don't run on targets without
a bare nop insn.
amodra [Wed, 21 Sep 2005 00:12:17 +0000 (00:12 +0000)]
* read.c (pseudo_set): Don't set undefined symbols to expr_section.
amodra [Wed, 21 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 21 Sep 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
pgilliam [Tue, 20 Sep 2005 23:40:48 +0000 (23:40 +0000)]
2005-09-20 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.arch/altivec-abi.exp: Elide the 'in' from what's expected
after a 'finish' command.
jjohnstn [Tue, 20 Sep 2005 22:36:04 +0000 (22:36 +0000)]
2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/include/stdint.h: Update to match functionality
of generic newlib stdint.h.
jjohnstn [Tue, 20 Sep 2005 21:21:50 +0000 (21:21 +0000)]
2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
and do not #undef the macro after it is used. Fix typos.
Also change 64-bit constants to use the __have_long64 and
__have_longlong64 flags to determine if long or long long
constants should be used.
* libc/include/inttypes.h: Include stddef.h to get wchar_t
type defined.
rth [Tue, 20 Sep 2005 21:00:13 +0000 (21:00 +0000)]
* dwarf2dbg.c (process_entries): Fix uninitialized variable warning.
jjohnstn [Tue, 20 Sep 2005 19:33:58 +0000 (19:33 +0000)]
2005-09-20 Shaun Jackman <sjackman@gmail.com>
* libc/include/stdint.h: Fix typo in names of
LEAST macros.
jjohnstn [Tue, 20 Sep 2005 19:25:56 +0000 (19:25 +0000)]
2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/rtems/include/inttypes.h: Moved to...
* libc/include/inttypes.h: ...here.
cgf [Tue, 20 Sep 2005 18:32:22 +0000 (18:32 +0000)]
* spawn.cc (av::fixup): Just blindly run any file if it has a .bat or .cmd
extension.
rth [Tue, 20 Sep 2005 18:24:41 +0000 (18:24 +0000)]
* dwarf2dbg.c (struct line_entry): Replace frag and frag_ofs
with label.
(dwarf2_loc_mark_labels): New.
(dwarf2_gen_line_info_1): Split out of ...
(dwarf2_gen_line_info): ... here. Create the temp symbol here.
(dwarf2_emit_label): New.
(dwarf2_directive_loc_mark_labels): New.
(out_set_addr): Take a symbol instead of frag+ofs.
(relax_inc_line_addr): Likewise.
(emit_inc_line_addr): Assert delta non-negative.
(process_entries): Remove dead code. Update to work with temp
symbols instead of frag+ofs.
* dwarf2dbg.h (dwarf2_directive_loc_mark_labels): Declare.
(dwarf2_emit_label, dwarf2_loc_mark_labels): Declare.
* config/obj-elf.c (elf_pseudo_tab): Add loc_mark_labels.
* config/obj-elf.h (obj_frob_label): New.
* config/tc-alpha.c (alpha_define_label): Call dwarf2_emit_label.
* config/tc-arm.c, config/tc-hppa.c, config/tc-m68k.c,
config/tc-mips.c, config/tc-ppc.c, config/tc-sh.c, config/tc-xtensa.c:
Similarly in the respective tc_frob_label implementation functions.
* config/tc-i386.c (md_pseudo_table): Move file and loc to
non-elf section; add loc_mark_labels.
* config/tc-ia64.c (struct label_fix): Add dw2_mark_labels.
(ia64_flush_insns): Check for marked labels; emit line entry if so.
(emit_one_bundle): Similarly.
(ia64_frob_label): Record marked labels.
* config/tc-m68hc11.h (tc_frob_label): Remove.
* config/tc-ms1.c (md_pseudo_table): Remove file and loc.
* config/tc-sh.h (tc_frob_label): Pass sym to sh_frob_label.
* config/tc-sh64.h (tc_frob_label): Likewise.
* doc/as.texinfo (LNS directives): Docuement .loc_mark_blocks.
wilson [Tue, 20 Sep 2005 18:13:31 +0000 (18:13 +0000)]
Add mangled names to addr2line -i output.
* dwarf2.c (find_abstract_instance_name): Don't early exit when name
set. For DW_AT_name case, only set name if not already set. Handle
DW_AT_MIPS_linkage_name.
rth [Tue, 20 Sep 2005 17:58:33 +0000 (17:58 +0000)]
* gas/cris/rd-dw2-1.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, 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/mips/mips16-dwarf2-n32.d, gas/mips/mips16-dwarf2.d: Add 0x
prefix in "Advance PC" lines.
rth [Tue, 20 Sep 2005 17:55:13 +0000 (17:55 +0000)]
* readelf.c (display_debug_lines): Use unsigned long for address
increments. Use 0x prefix for all hex numbers.
woodzltc [Tue, 20 Sep 2005 09:01:13 +0000 (09:01 +0000)]
* bfp-test.c: New file.
* bfp-test.exp: New testcase.
woodzltc [Tue, 20 Sep 2005 08:55:51 +0000 (08:55 +0000)]
* c-exp.y (parse-number): Modify the float parsing logic to let it
recognize a suffix.
woodzltc [Tue, 20 Sep 2005 06:37:02 +0000 (06:37 +0000)]
* gdb.fortran/subarray.exp: New testcase to test the evaluation
of subarray and substring variable.
* gdb.fortran/subarray.f: New source file for the test of subarray
and substring variable evaluation.
* gdb.fortran/exprs.exp: Add four tests for substring evaluation
of string constant.
woodzltc [Tue, 20 Sep 2005 06:31:51 +0000 (06:31 +0000)]
expression.h (enum exp_opcode): Fix a format error of a comment.
woodzltc [Tue, 20 Sep 2005 06:25:31 +0000 (06:25 +0000)]
* expression.h (enum exp_opcode): Add a new operator for F90
subrange.
* f-lang.h (enum f90_range_type): New enumeration type to identify
F90 subrange type.
* f-exp.y (yyparse): Add support for parsing F90 subrange and
change substring parsing to subrange parsing.
* parse.c (operator_length_standard): Set the operator length
and args number for OP_F90_RANGE.
* eval.c (evaluate_subexp_standard): Add code to evaluate F90
array section and substring.
(value_f90_subarray): New function to evaluate F90 array section.
(evaluate_subexp_standard): Delete label op_f77_substr and its code
because the logic is implemented by function value_f90_subarray now.
dje [Tue, 20 Sep 2005 03:13:02 +0000 (03:13 +0000)]
2005-09-19 David Edelsohn <edelsohn@gnu.org>
* configure.in (powerpc-*-aix*): Add target-libssp to noconfigdirs.
(rs6000-*-aix*): Same.
* configure: Regenerate.
2005-09-14 Francois-Xavier Coudert <coudert@clipper.ens.fr>
* configure.in: Recognize f95 in the --enable-languages option,
and substitute it for fortran, issuing a warning.
* configure: Regenerate.
amodra [Tue, 20 Sep 2005 03:06:12 +0000 (03:06 +0000)]
* read.c (pseudo_set): Set segment of expression syms to expr_section.
amodra [Tue, 20 Sep 2005 03:00:53 +0000 (03:00 +0000)]
* ldlang.h (lang_output_section_statement_struct): Change type of
"processed" to bfd_boolean.
* ldexp.c (fold_name): Update references to os->processed.
* ldlang.c (lang_output_section_statement_lookup_1): Likewise.
(lang_size_sections_1): Likewise.
(lang_reset_memory_regions): Likewise.
cgf [Tue, 20 Sep 2005 02:06:54 +0000 (02:06 +0000)]
* dcrt0.cc (do_exit): Only call sigproc_terminate from one location --
pinfo::exit.
* pinfo.cc (pinfo::exit): Move sigproc_terminate later so that signals can be
processed while waiting for hExeced child.
(pinfo::maybe_set_exit_code_from_windows): Set exit code from sigExeced if it
is non-zero. Set exit_state to ES_EXEC_EXIT prior to waiting for captive
process exit code.
* exceptions.cc (sigExeced): New global variable.
(signal_exit): Remove noreturn attribute from declaration.
(signal_exit): Just terminate captive process and return if hExeced on the
theory that the exit will be subsequently handled in the main thread.
* sigproc.cc (sigproc_terminate): Eliminate test for ES_SIGPROCTERMINATE and
use ES_FINAL instead.
(sig_send): Use no_signals_available instead of duplicate test.
* winsup.h (ES_EXEC_EXIT): New enum.
(ES_SIGPROCTERMINATE): Delete.
gdbadmin [Tue, 20 Sep 2005 00:00:37 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 20 Sep 2005 00:00:10 +0000 (00:00 +0000)]
daily update
amodra [Mon, 19 Sep 2005 23:30:03 +0000 (23:30 +0000)]
* elflink.c (_bfd_elf_merge_symbol): Simplify.
amodra [Mon, 19 Sep 2005 23:17:46 +0000 (23:17 +0000)]
PR ld/1353
* ldlang.c (lang_size_sections_1): Process addr_tree earlier,
so that unused output section statements affect dot.
jjohnstn [Mon, 19 Sep 2005 22:02:22 +0000 (22:02 +0000)]
2005-09-19 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/rtems/include/stdint.h: Moved to...
* libc/include/stdint.h: ...here.
drow [Mon, 19 Sep 2005 18:09:07 +0000 (18:09 +0000)]
* gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
copyright dates.
pgilliam [Mon, 19 Sep 2005 17:38:03 +0000 (17:38 +0000)]
* rs6000-tdep.c (_initialize_rs6000_tdep): Get rid of the unused
'info powerpc' command prefix.
* gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
powerpc altivec' test with an almost identical 'info vector' test.
pgilliam [Mon, 19 Sep 2005 17:37:54 +0000 (17:37 +0000)]
* rs6000-tdep.c (_initialize_rs6000_tdep): Get rid of the unused
'info powerpc' command prefix.
* gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
powerpc altivec' test with an almost identical 'info vector' test.
cgf [Mon, 19 Sep 2005 15:50:56 +0000 (15:50 +0000)]
white space changes to force new snapshot
pbrook [Mon, 19 Sep 2005 14:21:06 +0000 (14:21 +0000)]
2005-09-19 Paul Brook <paul@codesourcery.com>
* armdefs.h: Define ARMsword and ARMsdword. Use stdint.h when
available.
* armemu.c: Use them.
* armvirt.c (ARMul_MemoryInit): Use correct type for size.
* configure.ac: Check for stdint.h.
* config.in: Regenerate.
* configure: Regenerate.
cgf [Mon, 19 Sep 2005 14:15:05 +0000 (14:15 +0000)]
* sigproc.cc (talktome): Take siginfo_t argument. Don't scan all pids trying
to find one that's talking to me. Just use the pid from siginfo_t.
(wait_pid): Pass siginfo_t argument to talktome.
amylaar [Mon, 19 Sep 2005 11:29:30 +0000 (11:29 +0000)]
* interp.c (<sys/mman.h>): Include.
(mcalloc): New function / macro.
(mfree): New macro.
(sim_size): Use mcalloc and mfree.
dannysmith [Mon, 19 Sep 2005 10:32:50 +0000 (10:32 +0000)]
* include/winsock2.h (SO_EXCLUSIVEADDRUSE): Define.
Thanks to Gisle Vanem <giva at bgnett dot no>
dannysmith [Mon, 19 Sep 2005 09:48:08 +0000 (09:48 +0000)]
* include/stdlib.h (strtof): Add prototype. Uglify
parameter names in inline definition.
(wcstof): Likewise.
(_Exit): Uglify parameter names in inline definition.
(llabs): Add prototype.
(_set_error_mode): Add prototype and input defines.
amodra [Mon, 19 Sep 2005 09:35:23 +0000 (09:35 +0000)]
* elf64-ppc.c (ppc_build_one_stub): Replace assertion that long
branch offset is in range with an error. Print full stub name on
errors.
(ppc_size_one_stub): Print full stub name on errors.
(group_sections): Warn if section size exceeds group size.
(ppc64_elf_size_stubs): Continue relaxing when stub types change.
gdbadmin [Mon, 19 Sep 2005 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 19 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update
drow [Sun, 18 Sep 2005 03:28:18 +0000 (03:28 +0000)]
* gdb.texinfo (Contributors): Thank Andrew Cagney for releases
6.2 and 6.3.
gdbadmin [Sun, 18 Sep 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 18 Sep 2005 00:00:08 +0000 (00:00 +0000)]
daily update
drow [Sat, 17 Sep 2005 23:14:37 +0000 (23:14 +0000)]
* acinclude.m4: Correct quoting.
* aclocal.m4: Regenerated.
Suggested by SZOKOVACS Robert <szo@ies.hu>:
* thread-db.c (thread_db_err_str): Handle TD_VERSION.
(thread_db_init): Call thread_db_err_str.
* configure.ac: Check for TD_VERSION.
* config.in, configure: Regenerated.
cgf [Sat, 17 Sep 2005 20:36:33 +0000 (20:36 +0000)]
* pipe.cc (fhandler_pipe::open): Use 'cfree' to free buffer since it is now
allocated by cmalloc.
corinna [Sat, 17 Sep 2005 08:55:27 +0000 (08:55 +0000)]
* net.cc (cygwin_inet_ntop): Change len argument to socklen_t to
follow SUSv3.
* include/arpa/inet.h (inet_ntop): Ditto.
* include/cygwin/in.h: Include cygwin/socket.h to get socklen_t.
amodra [Sat, 17 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 17 Sep 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Fri, 16 Sep 2005 20:12:08 +0000 (20:12 +0000)]
* environ.cc (build_env): Use "kilo"bytes not "mega"bytes. Return immediately
on error.
* spawn.cc (spawn_guts): Set return value to -1 on error from build_env.
cgf [Fri, 16 Sep 2005 19:58:11 +0000 (19:58 +0000)]
* environ.cc (build_env): Clear envblock and return NULL on attempt to use env
var > 32K.
* spawn.cc (spawn_guts): Set E2BIG if build_env detects an error.
cgf [Fri, 16 Sep 2005 15:56:01 +0000 (15:56 +0000)]
* environ.cc (environ_init): Protect with a 'myfault' in case
GetEnvironmentStrings misbehaves.
* environ.cc (environ_init): Add debugging output with value returned from
GetEnvironmentStrings.
cgf [Fri, 16 Sep 2005 14:52:32 +0000 (14:52 +0000)]
* environ.cc (environ_init): Issue an error if GetEnvironmentStrings fails and
return.
cgf [Fri, 16 Sep 2005 03:16:16 +0000 (03:16 +0000)]
* pinfo.h (EXITCODE_SET): Move out of range of Windows error.
(EXITCODE_NOSET): Ditto.
* sigproc.cc (no_signals_available): Remove check for hwait_sig. Just rely on
my_sendsig. Pass in an argument controlling when it is appropriate to test
EXITCODE_SET.
(proc_can_be_signalled): Remove checks for myself since this function is never
called in that context.
(sigproc_init): Pre-initialize my_sendsig to non-zero so that
proc_can_be_signalled will know that we expect to be signalable soon.
(sig_send): Change debugging output.
cgf [Fri, 16 Sep 2005 01:47:07 +0000 (01:47 +0000)]
* sigproc.cc (no_signals_available): Return true if sending to self from the
signal thread.
(wait_sig): Correct so that WaitForSingleObject is called when hMainThread is
!= 0, rather than the reverse.
* cygheap.cc (cygheap_fixup_in_child): Clarify potential error message.
* fork.cc (fork_copy): Cosmetic change.
gdbadmin [Fri, 16 Sep 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 16 Sep 2005 00:00:16 +0000 (00:00 +0000)]
daily update
cgf [Thu, 15 Sep 2005 16:06:17 +0000 (16:06 +0000)]
* sigproc.cc (wait_sig): Reorganize exit case so that ExitProcess is always
called, since that is the intent of sending a __SIGEXIT. Wait forever for main
thread to go away since, presumably, the main thread told us it was going away.
corinna [Thu, 15 Sep 2005 08:24:46 +0000 (08:24 +0000)]
* cygwinenv.sgml (ntea): Add some wording to scare people away
from using this option.
dj [Thu, 15 Sep 2005 01:04:04 +0000 (01:04 +0000)]
merge from gcc
cgf [Thu, 15 Sep 2005 00:31:39 +0000 (00:31 +0000)]
* spawn.cc (av::fixup): Avoid breaking out of the wrong "loop".
cgf [Thu, 15 Sep 2005 00:02:51 +0000 (00:02 +0000)]
* hookapi.cc (hook_or_detect_cygwin): Simplify very slightly.
* spawn.cc (av::fixup): Guard against problems reading an executable which does
not match Microsoft's documentation about PE format.
amodra [Thu, 15 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 15 Sep 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Wed, 14 Sep 2005 23:03:41 +0000 (23:03 +0000)]
* spawn.cc (av::error): Eliminate.
(av::av): Remove reference to error.
(av::replace0_maybe): Ditto.
(av::dup_maybe): Ditto.
(av::dup_all): Ditto.
(av::unshift): Ditto.
(spawn_guts): On a fault, return E2BIG only if ENOMEM has been set. Otherwise
return EFAULT.
cgf [Wed, 14 Sep 2005 21:26:11 +0000 (21:26 +0000)]
* cygtls.h (san): New structure.
(cygtls::andreas): New element. Replaces _myfault and _myfault_errno.
(cygtls::fault_guarded): Use andreas.
(cygtls::return_from_fault): Ditto.
(cygtls::setup_fault): Add a parameter denoting where to store old fault
handler, if any and use it to "stack" faults.
(cygtls::reset_fault): Restore fault from parameter.
(myfault::sebastian): New variable.
(myfault::~myfault): Pass sebastian to reset_fault.
(myfault::myfault): Store old fault values in sebastian.
cgf [Wed, 14 Sep 2005 18:30:18 +0000 (18:30 +0000)]
* heap.cc (heap_init): Revert 2005-09-11 patch as it seems to inexplicably
cause problems with emacs.
cgf [Wed, 14 Sep 2005 14:27:51 +0000 (14:27 +0000)]
Remove some more unneeded 'return;'s throughout.
cgf [Wed, 14 Sep 2005 14:07:58 +0000 (14:07 +0000)]
* sigproc.h: Protect declaration so that it only happens when
__INSIDE_CYGWIN__.
cgf [Wed, 14 Sep 2005 14:02:17 +0000 (14:02 +0000)]
.
cgf [Wed, 14 Sep 2005 13:59:57 +0000 (13:59 +0000)]
* exceptions.cc (sigtid): Remove declaration.
(handle_exceptions): Use _sig_tls rather than sigtid to determine if this is
the signal thread.
(set_signal_mask): Ditto for conditionalized CGF code.
* pinfo.cc (pinfo::exit): Exit the thread if we forcefully terminated the main
thread
* sigproc.cc (sigtid): Delete.
(_sig_tls): Define.
(sig_clear): Use _sig_tls rather than sigtid to determine if this is the signal
thread.
(sig_dispatch_pending): Ditto.
(wait_sig): Set _sig_tls here.
* dcrt0.cc (do_exit): Move sigproc_terminate call later since signal handling
was still needed for subsequent stuff. Call sigproc_terminate with new
exit_state value.
* pinfo.cc (pinfo::exit): Call sigproc_terminate with new exit_state value.
* sigproc.cc (proc_terminate): Remove unnecessary (void) parameter.
(sigproc_terminate): Ditto. Add new argument to accept exit state to be set.
(wait_sig): Reorganize __SIGEXIT handling. Add more debugging output.
* winsup.h (sigproc_terminate): Declare with new exit_state argument.
(exit_states): Reorganize to reflect new exit ordering of sigproc_terminate.
jbeulich [Wed, 14 Sep 2005 06:33:23 +0000 (06:33 +0000)]
gas/
2005-09-14 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (tc_x86_regname_to_dw2regnum): Add selector
registers, floating point control and status words, and mxcsr as
well as (for 64-bit code) segment base registers and rflags.
amodra [Wed, 14 Sep 2005 00:00:16 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 14 Sep 2005 00:00:13 +0000 (00:00 +0000)]
*** empty log message ***
pgilliam [Tue, 13 Sep 2005 23:13:50 +0000 (23:13 +0000)]
2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
vscr" tests to match output.
pgilliam [Tue, 13 Sep 2005 23:13:41 +0000 (23:13 +0000)]
2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
vscr" tests to match output.
pgilliam [Tue, 13 Sep 2005 22:07:04 +0000 (22:07 +0000)]
2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
output.
cgf [Tue, 13 Sep 2005 17:08:50 +0000 (17:08 +0000)]
* dcrt0.cc (do_exit): Rely on sigproc_terminate to set exit_state
appropriately.
* pinfo.cc (pinfo::exit): Always call sigproc_terminate here. Rely on
sigproc_terminate to signal signal thread to handle eventual process exit.
* sigproc.cc (no_signals_available): Change criteria for determining if this
process can handle signals to itself.
(my_sendsig): New variable. Copy of my sendsig handle.
(proc_can_be_signalled): Don't send signals if exit code is set.
(sigproc_terminate): Use and set exit_state appropriately to determine when to
do anything. Send __SIGEXIT to self to control process exit.
(sig_send): Use my_sendsig for sending signals. Don't call
proc_can_be_signalled for myself since the criteria is now different for
sending signals to myself.
(wait_sig): Copy myself->sendsig to my_sendsig for future use. Exit signal
loop when __SIGEXIT is received. Wait for main thread to exit and use its exit
status to actually exit process.
* sigproc.h (__SIGEXIT): New enum.
* dcrt0.cc (alloc_stack): Eliminate superfluous "return;".
* debug.cc (add_handle): Ditto.
* devices.in (device::parse): Ditto.
* dtable.cc (dtable::vfork_parent_restore): Ditto.
(dtable::vfork_child_fixup): Ditto.
* environ.cc (parse_options): Ditto.
* errno.cc (seterrno_from_win_error): Ditto.
* exceptions.cc (sig_handle_tty_stop): Ditto.
(set_signal_mask): Ditto.
* fhandler.cc (fhandler_base::read): Ditto.
(fhandler_base::operator delete): Ditto.
(fhandler_base::seekdir): Ditto.
(fhandler_base::rewinddir): Ditto.
* fhandler_console.cc (fhandler_console::read): Ditto.
(fhandler_console::fixup_after_exec): Ditto.
* sigproc.cc (sigproc_init): Ditto.
(sigproc_terminate): Ditto.
* devices.cc: Regenerate.
cgf [Tue, 13 Sep 2005 15:05:51 +0000 (15:05 +0000)]
* sigproc.cc (wait_sig): Be more defensive about detecting when we're exiting.
gdbadmin [Tue, 13 Sep 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 13 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update
cgf [Mon, 12 Sep 2005 21:19:06 +0000 (21:19 +0000)]
* cygthread.cc (cygthread::cygthread): Add more info to fatal error.
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Temporarily remove
insertion of /dev into root directory.
* path.cc (path_conv::check): Ditto.