OSDN Git Service
cgf [Fri, 30 Sep 2005 00:18:27 +0000 (00:18 +0000)]
* fork.cc (frok::parent): Simplify error messages. Don't issue an error when
child.remember fails.
(fork): When appropriate, build up an error message from grouped.error.
gdbadmin [Fri, 30 Sep 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 30 Sep 2005 00:00:09 +0000 (00:00 +0000)]
daily update
schwab [Thu, 29 Sep 2005 20:41:25 +0000 (20:41 +0000)]
PR threads/2015
* infrun.c (adjust_pc_after_break): Don't use the state from a
non-matching thread context.
corinna [Thu, 29 Sep 2005 16:57:08 +0000 (16:57 +0000)]
* fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Don't call
EX ioctls on floppy drives.
corinna [Thu, 29 Sep 2005 16:23:20 +0000 (16:23 +0000)]
* dir.cc (mkdir): Check for trailing /. or /.. component.
(rmdir): Ditto.
* path.cc (has_dot_last_component): New function.
* path.h (has_dot_last_component): Add declaration.
drow [Thu, 29 Sep 2005 15:37:39 +0000 (15:37 +0000)]
* rs6000-tdep.c (rs6000_frame_cache): Handle misdetected frameless
functions.
corinna [Thu, 29 Sep 2005 14:28:21 +0000 (14:28 +0000)]
* crt0.cc: Remove PPC considerations.
(WinMainCRTStartup): Add symbol as alias to mainCRTStartup.
jbeulich [Thu, 29 Sep 2005 07:00:48 +0000 (07:00 +0000)]
gas/
2005-09-29 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (parse_operands): Always parse first operand of
alloc.
gas/testsuite/
2005-09-29 Jan Beulich <jbeulich@novell.com>
* gas/ia64/alloc.[sl]: New.
* gas/ia64/ia64.exp: Run new test.
amodra [Thu, 29 Sep 2005 02:20:49 +0000 (02:20 +0000)]
* app.c (do_scrub_chars): Match open and close quote of strings.
Remove redundant EOF test in case 7.
geoffk [Thu, 29 Sep 2005 01:00:14 +0000 (01:00 +0000)]
Index: ChangeLog
2005-09-28 Geoffrey Keating <geoffk@apple.com>
* Makefile.tpl (BASE_TARGET_EXPORTS): Add LIPO, STRIP.
(LIPO_FOR_TARGET): New.
(CONFIGURED_LIPO_FOR_TARGET): New.
(USUAL_LIPO_FOR_TARGET): New.
(STRIP_FOR_TARGET): New.
(CONFIGURED_STRIP_FOR_TARGET): New.
(USUAL_STRIP_FOR_TARGET): New.
* Makefile.def (flags_to_pass): Add LIPO_FOR_TARGET and
STRIP_FOR_TARGET.
* configure.in: Set LIPO_FOR_TARGET, STRIP_FOR_TARGET,
CONFIGURED_LIPO_FOR_TARGET, CONFIGURED_STRIP_FOR_TARGET.
* Makefile.in: Regenerate.
* configure.in: Regenerate.
Index: gcc/ChangeLog
2005-09-28 Geoffrey Keating <geoffk@apple.com>
* Makefile.in: Export LIPO_FOR_TARGET, STRIP_FOR_TARGET.
(stage1-start): Delete old libgcc and libunwind before moving
anything into the stage directory.
(stage2-start): Likewise.
(stage3-start): Likewise.
(stage4-start): Likewise.
(stageprofile-start): Likewise.
(stagefeedback-start): Likewise.
* config.gcc (*-*-darwin*): Automatically use CPU-specific darwin.h
header in tm_file and CPU-specific t-darwin in tmake_file.
(i[34567]86-*-darwin*): Don't change tm_file.
(powerpc-*-darwin*): Don't change tm_file or tmake_file.
* config/darwin.h (REAL_LIBGCC_SPEC): Rewrite to use proper libgcc
shared library stub for target OS version.
* config/t-slibgcc-darwin (SHLIB_SOLINK): Delete.
(SHLIB_LINK): Don't make SHLIB_SOLINK.
(SHLIB_INSTALL): Don't install SHLIB_SOLINK.
(libgcc_s.%.dylib): New.
(LIBGCC): Define.
(install-darwin-libgcc-stubs): New.
(INSTALL_LIBGCC): New append.
* config/i386/darwin-libgcc.10.4.ver: New.
* config/i386/darwin-libgcc.10.5.ver: New.
* config/i386/t-darwin: New.
* config/rs6000/darwin-libgcc.10.4.ver: New.
* config/rs6000/darwin-libgcc.10.5.ver: New.
* config/rs6000/darwin.h (REAL_LIBGCC_SPEC): Delete.
* config/rs6000/t-darwin (SHLIB_VERPFX): Define.
gdbadmin [Thu, 29 Sep 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 29 Sep 2005 00:00:05 +0000 (00:00 +0000)]
daily update
nickrob [Wed, 28 Sep 2005 23:44:02 +0000 (23:44 +0000)]
* annotate.c (breakpoints_changed, annotate_frames_invalid)
(_initialize_annotate): Print breakpoints-invalid and
frames-invalid for level 2 annotations only.
* gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
frames-invalid and breakpoints-invalid are no longer generated
with level 3 so don't expect them in the output.
nickrob [Wed, 28 Sep 2005 23:32:43 +0000 (23:32 +0000)]
*** empty log message ***
nickrob [Wed, 28 Sep 2005 23:28:13 +0000 (23:28 +0000)]
*** empty log message ***
cgf [Wed, 28 Sep 2005 23:24:57 +0000 (23:24 +0000)]
Fix typo.
cgf [Wed, 28 Sep 2005 22:56:40 +0000 (22:56 +0000)]
Change name from commune_recv to commune_process throughout. Change name from
commune_send to commune_request throughout.
* pinfo.h (PICOM_EXTRASTR): New flag.
(PICOM_FIFO): Define with new flag.
(_pinfo::hello_pid): Delete.
(_pinfo::tothem): Delete.
(_pinfo::fromthem): Delete.
(_pinfo::commune_process): Rename from commune_recv. Add a siginfo_t argument
to declaration.
(_pinfo::commune_request): Rename from commune_send. Change DWORD to
__uint32_t in declaration.
* pinfo.cc (_pinfo::commune_process): Rename from commune_recv. Add siginfo_t
argument. Use information from argument rather than reading from another pipe.
Synchronize with other process's commune event.
(_pinfo::commune_request): Rename from commune_send. Change DWORD to __uint32
in argument. Fill out information in new siginfo_t element and rely on
extended operation of sig_send rather than trying to deal with synchronization
issues here. Use process handle and read pipe information filled out by
sig_send to gather information from the other process.
* sigproc.cc (sig_send): Take special action if "communing" to ensure
synchronization with the other process and to return information about the
other process to the caller.
(talktome): Accept a siginfo_t and handle arguments. Read additional
information from the signal pipe when _si_commune._si_code has the
PICOM_EXTRASTR flag set.
(wait_sig): Pass the transmitted siginfo_t struct and the pipe handle to
talktome. Close pipe read handle as soon as possible after we detect that
we're exiting.
cgf [Wed, 28 Sep 2005 20:20:57 +0000 (20:20 +0000)]
* hookapi.cc (hook_or_detect_cygwin): Correct inverted test for whether to
allocate a buffer by always allocating a buffer.
corinna [Wed, 28 Sep 2005 19:33:16 +0000 (19:33 +0000)]
* fhandler.h (class fhandler_dev_raw): Delete current_position and
eof_detected status flag. Delete is_eom and is_eof methods.
Move drive_size, bytes_per_sector, eom_detected status flag, as well
as the methods read_file, write_file, raw_read and raw_write to ...
(class fhandler_dev_floppy): ... here. Remove is_eom and is_eof
methods. Add dup method.
* fhandler_floppy.cc (IS_EOM): New macro.
(fhandler_dev_floppy::is_eom): Remove.
(fhandler_dev_floppy::is_eof): Remove.
(fhandler_dev_floppy::fhandler_dev_floppy): Initialize status flags.
(fhandler_dev_floppy::get_drive_info): Only call EX functions on
systems supporting them and stop suffering strange delays.
(fhandler_dev_floppy::read_file): Move here, drop setting
current_position.
(fhandler_dev_floppy::write_file): Move here, drop setting
current_position.
(fhandler_dev_floppy::open): Rearrange comment.
(fhandler_dev_floppy::dup): New method.
(fhandler_dev_floppy::get_current_position): New inline method. Use
instead of former current_position were appropriate.
(fhandler_dev_floppy::raw_read): Move here. Drop EOF handling.
(fhandler_dev_floppy::raw_write): Move here. Drop EOF handling.
(fhandler_dev_floppy::lseek): Remove useless conditions. Convert
sector_aligned_offset to LARGE_INTEGER to improve SetFilePointer call.
(fhandler_dev_floppy::ioctl): Move blocksize check in RDSETBLK case
to here.
* fhandler_raw.cc (fhandler_dev_raw::is_eom): Remove.
(fhandler_dev_raw::is_eof): Remove.
(fhandler_dev_raw::write_file): Remove.
(fhandler_dev_raw::read_file): Remove.
(fhandler_dev_raw::raw_read): Remove.
(fhandler_dev_raw::raw_write): Remove.
(fhandler_dev_raw::dup): Drop copying removed members.
(fhandler_dev_raw::ioctl): Drop blocksize testing.
* wincap.h: Implement has_disk_ex_ioctls throughout.
* wincap.cc: Ditto.
(wincap_vista): Preliminary wincaps for Windows Vista/Longhorn.
(wincapc::init): Add Vista/Longhorn handling.
aoliva [Wed, 28 Sep 2005 19:32:19 +0000 (19:32 +0000)]
* symtocbase-1.s, symtocbase-2.s, symtocbase.d: New test.
* powerpc.exp: Run it.
corinna [Wed, 28 Sep 2005 19:22:16 +0000 (19:22 +0000)]
Revert erroneous checkin.
corinna [Wed, 28 Sep 2005 19:02:44 +0000 (19:02 +0000)]
* fhandler.h (class fhandler_dev_raw): Delete current_position and
eof_detected status flag. Delete is_eom and is_eof methods.
Move drive_size, bytes_per_sector, eom_detected status flag, as well
as the methods read_file, write_file, raw_read and raw_write to ...
(class fhandler_dev_floppy): ... here. Remove is_eom and is_eof
methods. Add dup method.
* fhandler_floppy.cc (IS_EOM): New macro.
(fhandler_dev_floppy::is_eom): Remove.
(fhandler_dev_floppy::is_eof): Remove.
(fhandler_dev_floppy::fhandler_dev_floppy): Initialize status flags.
(fhandler_dev_floppy::get_drive_info): Only call EX functions on
systems supporting them and stop suffering strange delays.
(fhandler_dev_floppy::read_file): Move here, drop setting
current_position.
(fhandler_dev_floppy::write_file): Move here, drop setting
current_position.
(fhandler_dev_floppy::open): Rearrange comment.
(fhandler_dev_floppy::dup): New method.
(fhandler_dev_floppy::get_current_position): New inline method. Use
instead of former current_position were appropriate.
(fhandler_dev_floppy::raw_read): Move here. Drop EOF handling.
(fhandler_dev_floppy::raw_write): Move here. Drop EOF handling.
(fhandler_dev_floppy::lseek): Remove useless conditions. Convert
sector_aligned_offset to LARGE_INTEGER to improve SetFilePointer call.
(fhandler_dev_floppy::ioctl): Move blocksize check in RDSETBLK case
to here.
* fhandler_raw.cc (fhandler_dev_raw::is_eom): Remove.
(fhandler_dev_raw::is_eof): Remove.
(fhandler_dev_raw::write_file): Remove.
(fhandler_dev_raw::read_file): Remove.
(fhandler_dev_raw::raw_read): Remove.
(fhandler_dev_raw::raw_write): Remove.
(fhandler_dev_raw::dup): Drop copying removed members.
(fhandler_dev_raw::ioctl): Drop blocksize testing.
* wincap.h: Implement has_disk_ex_ioctls throughout.
* wincap.cc: Ditto.
(wincap_vista): Preliminary wincaps for Windows Vista/Longhorn.
(wincapc::init): Add Vista/Longhorn handling.
drow [Wed, 28 Sep 2005 16:17:06 +0000 (16:17 +0000)]
* infrun.c (init_execution_control_state): Initialize
ecs->another_trap.
drow [Wed, 28 Sep 2005 16:16:57 +0000 (16:16 +0000)]
* infrun.c (init_execution_control_state): Initialize
ecs->another_trap.
jbeulich [Wed, 28 Sep 2005 15:34:50 +0000 (15:34 +0000)]
gas/testsuite/
2005-09-28 Jan Beulich <jbeulich@novell.com>
* gas/i386/x86-64-stack.s, gas/i386/x86-64-stack.d,
gas/i386/x86-64-stack-suffix.d, gas/i386/x86-64-stack-intel.d: New.
* gas/i386/i386.exp: Run new tests.
ld/testsuite/
2005-09-28 Jan Beulich <jbeulich@novell.com>
* ld-x86-64/tlspic.dd: Adjust.
opcodes/
2005-09-28 Jan Beulich <jbeulich@novell.com>
* i386-dis.c (stack_v_mode): Renamed from branch_v_mode.
(indirEv): Use it.
(stackEv): New.
(Ob64, Ov64): Rename to Ob, Ov. Delete unused original definitions.
(dis386): Document and use new 'V' meta character. Use it for
single-byte push/pop opcode forms. Use stackEv for mod-r/m push/pop
opcode forms. Correct typo in 'pop ss'. Replace Ob64/Ov64 by Ob/Ov.
(putop): 'q' suffix for 'T' and 'U' meta depends on DFLAG. Mark
data prefix as used whenever DFLAG was examined. Handle 'V'.
(intel_operand_size): Use stack_v_mode.
(OP_E): Use stack_v_mode, but handle only the special case of
64-bit mode without operand size override here; fall through to
v_mode case otherwise.
(OP_REG): Special case rAX_reg ... rDI_reg only when 64-bit mode
and no operand size override is present.
(OP_J): Use get32s for obtaining the displacement also when rex64
is present.
jbeulich [Wed, 28 Sep 2005 15:31:20 +0000 (15:31 +0000)]
gas/
2005-09-28 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (reloc): Disable signedness check for 4-byte
relocations in 16- and 32-bit modes.
(i386_displacement): Make pc-relative branch handling dependent
upon operand (rather than address) size.
gas/testsuite/
2005-09-28 Jan Beulich <jbeulich@novell.com>
* gas/i386/mixed-mode-reloc.s: Enable all insns.
* gas/i386/mixed-mode-reloc32.d: Adjust.
* gas/i386/mixed-mode-reloc64.d: Adjust.
cgf [Wed, 28 Sep 2005 15:18:47 +0000 (15:18 +0000)]
* dcrt0.cc (getstack): New function.
(alloc_stack): Use tls stuff for stack info rather than calling VirtualQuery.
(dll_crt0_0): Initialize _impure_ptr stuff much earlier. Move
init_console_handler here.
* fork.cc (class frok): New class renamed from local fork() struct.
(stack_base): Change argument type. Use tls stuff to determine stack info
rather than calling VirtualQuery.
(frok::child): Rename from fork_child. Eliminate now unneeded arguments.
(frok::parent): Rename from fork_parent and ditto. Set error and errno as
appropriate. Fixup impersonation in cleanup, if needed. Try harder to set
errno appropriately.
(fork): Define "grouped" as a frok type. Deal with errors from fork_parent
here.
* init.cc (dll_entry): Remove init_console_handler call.
hjl [Wed, 28 Sep 2005 14:53:20 +0000 (14:53 +0000)]
2005-09-28 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/1321
* elf-bfd.h (_bfd_elf_setup_group_pointers): Renamed to ...
(_bfd_elf_setup_sections): This.
* elf.c: Likewise.
* elfcode.h (elf_object_p): Likewise.
* elf.c (_bfd_elf_setup_sections): Process SHF_LINK_ORDER.
(_bfd_elf_copy_private_section_data): Likewise.
hjl [Wed, 28 Sep 2005 14:52:02 +0000 (14:52 +0000)]
2005-09-28 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (elf_fixup_link_order): Report locations for mixed
ordered and unordered input sections.
hjl [Wed, 28 Sep 2005 14:51:53 +0000 (14:51 +0000)]
2005-09-28 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (elf_fixup_link_order): Report locations for mixed
ordered and unordered input sections.
jbeulich [Wed, 28 Sep 2005 14:50:59 +0000 (14:50 +0000)]
gas/
2005-09-28 Jan Beulich <jbeulich@novell.com>
* dw2gencfi.c (dot_cfi): Call ignore_rest_of_line when not fully
parsing the input.
(dot_cfi_startproc): Likewise.
(dot_cfi_endproc): Likewise. Also check no extra input was given.
(dot_cfi_escape): Likewise.
jbeulich [Wed, 28 Sep 2005 14:44:18 +0000 (14:44 +0000)]
gas/
2005-09-28 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.h (x86_cons_fix_new): Declare unconditionally.
(TC_CONS_FIX_NEW): Define unconditionally.
(x86_pe_cons_fix_new): Remove.
* config/tc-i386.c (signed_cons): New.
(md_pseudo_table): Add slong.
(x86_cons_fix_new): Declare unconditionally.
(x86_pe_cons_fix_new): Merge into x86_cons_fix_new.
(tc_gen_reloc): Also consider BFD_RELOC_X86_64_32S for gotpc
conversion.
gas/testsuite/
2005-09-28 Jan Beulich <jbeulich@novell.com>
* gas/i386/reloc64.s: Also test .slong.
* gas/i386/reloc64.l: Adjust.
* gas/i386/reloc64.d: Adjust.
cgf [Wed, 28 Sep 2005 13:54:57 +0000 (13:54 +0000)]
* pinfo.cc (_pinfo::dup_proc_pipe): Ignore error if the child process has just
gone away.
amodra [Wed, 28 Sep 2005 12:31:40 +0000 (12:31 +0000)]
* app.c (do_scrub_chars <LEX_IS_SYMBOL_COMPONENT>): Check for full
buffer after copying string.
aoliva [Wed, 28 Sep 2005 05:00:07 +0000 (05:00 +0000)]
s/waek/weak/ in 2005-05-05's entry.
nickrob [Wed, 28 Sep 2005 02:55:41 +0000 (02:55 +0000)]
(TAGS): Put DEPFILES back and add as a dependency.
nickrob [Wed, 28 Sep 2005 02:54:45 +0000 (02:54 +0000)]
*** empty log message ***
cgf [Wed, 28 Sep 2005 02:43:28 +0000 (02:43 +0000)]
* init.cc (prime_threads): Make this static, as it should be.
(dll_entry): Apply cosmetic changes to define closer to the way MSDN suggests.
hjl [Wed, 28 Sep 2005 00:34:20 +0000 (00:34 +0000)]
2005-09-27 H.J. Lu <hongjiu.lu@intel.com>
* ld.texinfo (ALIGN): Document it as forcing output section
alignment.
* ldgram.y (ALIGN): Support it for forcing output section
alignment.
amodra [Wed, 28 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 28 Sep 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
bobbybrasko [Tue, 27 Sep 2005 22:38:54 +0000 (22:38 +0000)]
2005-09-27 Bob Rossi <bob@brasko.net>
* gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
from test. Escape the | in mi_gdb_test call.
* gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
expected regex's in mi_gdb_test calls.
* lib/mi-support.exp: Remove arbitrary .* from tests.
(mi_gdb_test): Add string_regex variable. Add anchor to main -re.
Fully anchor GDB/MI expected results in mi_gdb_test.
* lib/gdb.exp (string_to_regexp): Escape the ] character.
* gdb.base/sizeof.exp: Remove escape character. Correct test.
jjohnstn [Tue, 27 Sep 2005 20:49:53 +0000 (20:49 +0000)]
2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
* libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
handling GCC >= 4.
corinna [Tue, 27 Sep 2005 20:34:17 +0000 (20:34 +0000)]
* pthread.cc (mangle_sem_name): Use cygheap->shared_prefix instead
of fiddling with wincap.has_terminal_services manually.
corinna [Tue, 27 Sep 2005 19:04:35 +0000 (19:04 +0000)]
* cygheap.cc (cygheap_init): Add GLOBAL_PRIV to hProcToken explicitely
since hProcImpToken isn't initialized here.
* shared.cc (open_shared): Always print mapname instead of name in
debug output.
cgf [Tue, 27 Sep 2005 18:54:32 +0000 (18:54 +0000)]
* strace.cc (strace::vsprntf): Avoid printing a zero pid.
corinna [Tue, 27 Sep 2005 17:44:26 +0000 (17:44 +0000)]
* init.cc (dll_entry): Call IsWow64Process with GetCurrentProcess
as process handle since hMainProc isn't initialized here.
corinna [Tue, 27 Sep 2005 15:33:00 +0000 (15:33 +0000)]
* fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Always
try IOCTL_DISK_GET_DRIVE_GEOMETRY_EX and
IOCTL_DISK_GET_PARTITION_INFO_EX ioctls first, to allow access to GPT
partitioned disks. Fall back to old non-EX ioctls otherwise.
Add comment to explain NT4 weirdness.
mmitchel [Tue, 27 Sep 2005 15:21:12 +0000 (15:21 +0000)]
* argv.c (expandargv): Do not use xmalloc_failed.
pbrook [Tue, 27 Sep 2005 13:23:34 +0000 (13:23 +0000)]
2005-09-27 Paul Brook <paul@codesourcery.com>
* config/arm.c (arm_cpus): Add more cpu names.
* doc/c-arm.texi: Document them.
amodra [Tue, 27 Sep 2005 00:00:08 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 27 Sep 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
brobecke [Mon, 26 Sep 2005 22:31:16 +0000 (22:31 +0000)]
Remove change description for a file that is actually part of the testsuite/
subdirectory. The description is included in testsuite/ChangeLog.
brobecke [Mon, 26 Sep 2005 22:09:41 +0000 (22:09 +0000)]
Fix name of directory in one ChangeLog entry.
nickrob [Mon, 26 Sep 2005 21:45:37 +0000 (21:45 +0000)]
(HFILES_NO_SRCDIR): Remove minimon.h, symfile-mem.h.
(ALLDEPFILES) Correct typo amdfbsd-nat.c -> amd64fbsd-nat.c.
Remove irix4-nat.c, m3-nat.c, mipsm3-nat.c, ns32k-tdep.c
symm-tdep.c and symm-nat.c.
(TAGFILES_NO_SRCDIR): Add CONFIG_SRCS.
(DEPFILES): Remove CONFIG_OBS and include it explicitly where
needed.
nickrob [Mon, 26 Sep 2005 21:40:33 +0000 (21:40 +0000)]
*** empty log message ***
mmitchel [Mon, 26 Sep 2005 21:09:03 +0000 (21:09 +0000)]
* BRANCHES: Mention binutils-csl-gxxpro-3_4-branch.
mmitchel [Mon, 26 Sep 2005 21:02:57 +0000 (21:02 +0000)]
* libiberty.h (expandargv): New function.
* argv.c (safe-ctype.h): Include it.
(ISBLANK): Remove.
(stdio.h): Include.
(buildargv): Use ISSPACE instead of ISBLANK.
(expandargv): New function.
* Makefile.in: Regenerated.
corinna [Mon, 26 Sep 2005 15:27:12 +0000 (15:27 +0000)]
* errno.cc (errmap): Map ERROR_SEEK and ERROR_SECTOR_NOT_FOUND.
cgf [Mon, 26 Sep 2005 14:58:12 +0000 (14:58 +0000)]
* exceptions.cc (_cygtls::call_signal_handler): Minor cleanup.
corinna [Mon, 26 Sep 2005 14:55:37 +0000 (14:55 +0000)]
* fhandler.h (class fhandler_dev_raw): Add drive information members
drive_size, current_position and bytes_per_sector.
(fhandler_dev_floppy::get_drive_info): Declare.
* fhandler_floppy.cc (fhandler_dev_floppy::is_eom): Define ERROR_SEEK
and ERROR_SECTOR_NOT_FOUND as end-of-medium conditions.
(fhandler_dev_floppy::get_drive_info): New method to have one function
retrieving drive info.
(fhandler_dev_floppy::open): Call get_drive_info to get drive
information right from the start.
(fhandler_dev_floppy::lseek): Use and set drive information members.
Especially keep track of current_position.
(fhandler_dev_floppy::ioctl): Ditto.
* fhandler_raw.cc (fhandler_dev_raw::write_file): Keep track of
current_position.
(fhandler_dev_raw::read_file): Ditto.
(fhandler_dev_raw::raw_read): Never try to read beyond end-of-medium.
(fhandler_dev_raw::dup): Handle new drive information members.
cgf [Mon, 26 Sep 2005 14:51:43 +0000 (14:51 +0000)]
* exceptions.cc (handle_exceptions): Just si_code to SI_KERNEL first and let it
be overridden.
* exceptions.cc (_cygtls::call_signal_handler): Call signal handler with extra
siginfo_t * and void * parameters when SA_SIGINFO flag is set.
* signal.cc (signal): Clear SA_SIGINFO flag.
(sigqueue): Fix incorrect setting of si_code.
* sigproc.cc (signal_fixup_after_exec): Clear SA_SIGINFO flag when setting
handler to SIG_DFL.
cgf [Mon, 26 Sep 2005 13:47:24 +0000 (13:47 +0000)]
* pinfo.cc (proc_waiter): Properly fill out si_code as according to SUSv3.
* exceptions.cc (handle_exceptions): Properly fill out si_code as according to
SUSv3.
cgf [Mon, 26 Sep 2005 13:23:42 +0000 (13:23 +0000)]
* exceptions.cc (handle_exceptions): Properly fill out si_code.
jbeulich [Mon, 26 Sep 2005 07:04:23 +0000 (07:04 +0000)]
gdb/
2005-09-26 Jan Beulich <jbeulich@novell.com>
* MAINTAINERS (Write After Approval): Add myself.
jbeulich [Mon, 26 Sep 2005 07:04:10 +0000 (07:04 +0000)]
gdb/
2005-09-26 Jan Beulich <jbeulich@novell.com>
* MAINTAINERS (Write After Approval): Add myself.
jbeulich [Mon, 26 Sep 2005 06:59:37 +0000 (06:59 +0000)]
gdb/
2005-09-26 Jan Beulich <jbeulich@novell.com>
* amd64-tdep.h (AMD64_FCTRL_REGNUM, AMD64_FSTAT_REGNUM,
AMD64_MXCSR_REGNUM): New.
* amd64-tdep.c (amd64_dwarf_regmap): Add eflags, selector regs,
mxcsr, fp control and status words.
* i386-tdep.c (): Add selector regs, mxcsr, fp control and status
words.
pbrook [Mon, 26 Sep 2005 02:17:23 +0000 (02:17 +0000)]
2005-09-26 Paul Brook <paul@codesourcery.com>
* arm-tdep.c (arm_type_align): New function.
(arm_push_dummy_call): Use it. Ensure proper argument alignment.
(arm_extract_struct_value_address): Remove.
(arm_use_struct_convention): Rename...
(arm_return_in_memory): ... To this. Return nonzero for all small
aggregates under the EABI.
(arm_return_value): New function.
(arm_gdbarch_init): Default for VFP float model for EABI binaries.
Use set_gdbarch_return_value instead of obsolete functions.
* testsuite/long_long.exp: Exclude eabi targets from arm FPA float
format test.
cgf [Mon, 26 Sep 2005 01:27:36 +0000 (01:27 +0000)]
* sigproc.cc (wait_sig): Cosmetic change.
* pinfo.cc (pinfo::exit): Don't explicitly remove myself since some other
thread may still be using it.
joshuadfranklin [Mon, 26 Sep 2005 00:29:51 +0000 (00:29 +0000)]
2005-09-25 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
* faq.xml: Remove copyright section, link to license.html
* faq-sections.xml: Remove copyright section, link to license.html
* faq-programming.xml: Remove confusing reference to Red Hat.
* faq-what.xml: Reword "supported" FAQ.
amodra [Mon, 26 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 26 Sep 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
danglin [Sun, 25 Sep 2005 02:33:54 +0000 (02:33 +0000)]
* hppa.h (pa_opcodes): Add new "fdc" and "fic" opcode entries.
gdbadmin [Sun, 25 Sep 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 25 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update
cgf [Sat, 24 Sep 2005 19:17:47 +0000 (19:17 +0000)]
* sigproc.cc (sigproc_terminate): More reversion of always-exit-from-sigthread
change.
dannysmith [Sat, 24 Sep 2005 01:26:24 +0000 (01:26 +0000)]
* include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN)
Avoid raising FP exceptions.
gdbadmin [Sat, 24 Sep 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 24 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update
cgf [Fri, 23 Sep 2005 23:56:16 +0000 (23:56 +0000)]
* shared.cc (open_shared): Add crucial bit of debugging info.
cgf [Fri, 23 Sep 2005 23:37:51 +0000 (23:37 +0000)]
Semi-reversion of always-exit-from-sigthread change of 2005-09-15.
* exceptions.cc (sigpacket::process): Eliminate return after call to reinstated
noreturn function.
(signal_exit): Allow function to exit when a captive process has been
terminated.
* pinfo.cc (pinfo::exit): Enter exit_lock here. Once again exit here under
control of exit_lock.
* sigproc.cc (sig_send): Don't wait for completion if process is exiting.
Remove special __SIGEXIT accommodations.
(wait_sig): Just exit the thread when a __SIGEXIT has been detected. Don't
exit the process.
cgf [Fri, 23 Sep 2005 23:25:24 +0000 (23:25 +0000)]
* net.cc (cygwin_gethostbyname): Remove debugging cruft.
ironhead [Fri, 23 Sep 2005 22:41:23 +0000 (22:41 +0000)]
2005-09-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* lib/ddk/newdev.def: Added.
Thanks to: Stephan Meyer <ste_meyer at users dot sourceforge dot net>
cgf [Fri, 23 Sep 2005 20:05:47 +0000 (20:05 +0000)]
* pinfo.cc (pinfo::exit): Call ExitProcess if called from signal thread.
ironhead [Fri, 23 Sep 2005 19:59:32 +0000 (19:59 +0000)]
2005-09-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/commdlg.h (OPENFILENAME): Added WINNT >= 0x0500
component.
Thanks to: Gennady Feldman <gena01 at users dot sourceforge dot net>
cgf [Fri, 23 Sep 2005 19:24:03 +0000 (19:24 +0000)]
* tlsoffsets.h: Regenerate.
cgf [Fri, 23 Sep 2005 19:23:24 +0000 (19:23 +0000)]
* pinfo.cc (pinfo::exit): Eliminate use of _my_tls.thread_handle.
tromey [Fri, 23 Sep 2005 17:28:30 +0000 (17:28 +0000)]
* enable.m4: New file.
* tls.m4: New file.
jjohnstn [Fri, 23 Sep 2005 15:51:10 +0000 (15:51 +0000)]
2005-09-23 James E Wilson <wilson@specifix.com>
* mips/array.ld, mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld,
mips/dve.ld, mips/idt.ld, mips/idt32.ld, mips/idt64.ld,
mips/idtecoff.ld, mips/jmr3904app-java.ld, mips/jmr3904app.ld,
jmr3904dram-java.ld, mips/jmr3904dram.ld, mips/lsi.ld, mips/nullmon.ld,
mips/pmon.ld: Change x* to x.* in existing linkonce lines. Add
support for .gnu.linkonce.b.*.
cgf [Fri, 23 Sep 2005 15:18:18 +0000 (15:18 +0000)]
* cygtls.h (struct _cygtls::thread_handle): Remove/revert.
* sigproc.h (struct sipacket::thread_handle): Put thread_handle here.
* sigproc.cc (sigproc_terminate): Move setting of thread_handle...
(sig_send): ...to here. Put it in packet being sent. Only close pack.wakeup
when we're waiting for completion.
(wait_sig): Use thread_handle directly from received packet.
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.