OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
19 years ago * lib/comctl32.def (ImageList_Copy, ImageList_DrawIndirect,
dannysmith [Thu, 2 Dec 2004 05:55:44 +0000 (05:55 +0000)]
* lib/comctl32.def (ImageList_Copy, ImageList_DrawIndirect,
ImageList_Duplicate): Add stubs.

19 years ago * lib/directx/strmiids.c (MEDIASUBTYPE_YV12): Correct GUID.
dannysmith [Thu, 2 Dec 2004 05:36:21 +0000 (05:36 +0000)]
* lib/directx/strmiids.c (MEDIASUBTYPE_YV12): Correct GUID.
Thanks to "Pete" <pross@xvid.org>

19 years ago*** empty log message ***
gdbadmin [Thu, 2 Dec 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2004-12-01 Paul Brook <paul@codesourcery.com>
pbrook [Wed, 1 Dec 2004 23:23:08 +0000 (23:23 +0000)]
2004-12-01  Paul Brook  <paul@codesourcery.com>

bfd/
* elflink.c (elf_link_add_object_symbols): Make symbols from discarded
sections undefined.
ld/testsuite/
* ld-elf/group1.d: New test.
* ld-elf/group.ld, ld-elf/group1a.s, ld-elf/group1b.s: New test.

19 years agodaily update
amodra [Wed, 1 Dec 2004 23:00:09 +0000 (23:00 +0000)]
daily update

19 years ago * ld-selective/selective.exp: Use -print-libgcc-file-name for
drow [Wed, 1 Dec 2004 21:12:38 +0000 (21:12 +0000)]
* ld-selective/selective.exp: Use -print-libgcc-file-name for
ARM and v850 also.

19 years ago * alpha-tdep.c (alpha_register_name): Add comment.
brobecke [Wed, 1 Dec 2004 17:13:44 +0000 (17:13 +0000)]
    * alpha-tdep.c (alpha_register_name): Add comment.
        (alpha_cannot_fetch_register): Exclude registers numbers which
        are no longer used from the list of registers that can be fetched.
        (alpha_cannot_store_register): Exclude registers numbers which
        are no longer used from the list of registers that can be stored.
        * alpha-nat.c (fetch_osf_core_registers): Add missing value in
        core_reg_mapping array.

19 years ago* include/features.h: Include sys/cdefs.h, like linux.
cgf [Wed, 1 Dec 2004 17:07:03 +0000 (17:07 +0000)]
* include/features.h: Include sys/cdefs.h, like linux.

19 years ago * alpha-tdep.c (alpha_heuristic_frame_prev_register): Fetch
brobecke [Wed, 1 Dec 2004 17:05:44 +0000 (17:05 +0000)]
    * alpha-tdep.c (alpha_heuristic_frame_prev_register): Fetch
        the register value from the correct frame.

19 years agoDelete h8500 simulator, gdb droped h8500 in 6.1.
cagney [Wed, 1 Dec 2004 15:41:26 +0000 (15:41 +0000)]
Delete h8500 simulator, gdb droped h8500 in 6.1.

19 years agoDelete i960; deleted from GDB long long ago.
cagney [Wed, 1 Dec 2004 15:27:17 +0000 (15:27 +0000)]
Delete i960; deleted from GDB long long ago.

19 years agoAdd missing changelog entry.
cgf [Wed, 1 Dec 2004 15:07:20 +0000 (15:07 +0000)]
Add missing changelog entry.

19 years ago* syscalls.cc (truncate64): Don't second-guess errno if open fails.
cgf [Wed, 1 Dec 2004 15:00:39 +0000 (15:00 +0000)]
* syscalls.cc (truncate64): Don't second-guess errno if open fails.

19 years agoOops, forgot to save ChangeLog before committing
hp [Wed, 1 Dec 2004 13:53:28 +0000 (13:53 +0000)]
Oops, forgot to save ChangeLog before committing

19 years ago2004-11-30 Randolph Chung <tausq@debian.org>
tausq [Wed, 1 Dec 2004 06:58:55 +0000 (06:58 +0000)]
2004-11-30  Randolph Chung  <tausq@debian.org>

* hppa-linux-tdep.c (insns_match_pattern_relaxed): New function.
(hppa_linux_in_dyncall): Check that we are inside the range of
$$dyncall, not necessarily at the first insn.
(hppa_linux_in_solib_call_trampoline): Identify a trampoline
even if the pc does not point to the first insn of the trampoline.

19 years ago2004-11-30 Randolph Chung <tausq@debian.org>
tausq [Wed, 1 Dec 2004 06:56:20 +0000 (06:56 +0000)]
2004-11-30  Randolph Chung  <tausq@debian.org>

* gdb.threads/thread_check.exp: Use ${srcfile} for test program name
instead of "tbug".  Fix regexp to work properly with gdb_test.

19 years ago2004-11-30 Randolph Chung <tausq@debian.org>
tausq [Wed, 1 Dec 2004 06:54:53 +0000 (06:54 +0000)]
2004-11-30  Randolph Chung  <tausq@debian.org>

* breakpoint.c (break_at_finish_command): Delete.
(break_at_finish_command_1): Delete.
(break_at_finish_at_depth_command): Delete.
(break_at_finish_at_depth_command_1): Delete.
(tbreak_at_finish_command): Delete.
* hppa-tdep.c (_initialize_hppa_tdep): Remove deprecated xbreak, tbreak
and bx commands.

19 years agoUpdate copyright year
hp [Wed, 1 Dec 2004 02:32:08 +0000 (02:32 +0000)]
Update copyright year

19 years ago * Makefile.in (stamp-desc): Specify opcfile.
hp [Wed, 1 Dec 2004 02:30:49 +0000 (02:30 +0000)]
* Makefile.in (stamp-desc): Specify opcfile.

19 years ago * cgen.sh: New thirteenth parameter opcfile, defaulting to
hp [Wed, 1 Dec 2004 02:29:30 +0000 (02:29 +0000)]
* cgen.sh: New thirteenth parameter opcfile, defaulting to
/dev/null.
<case desc>: Pass -OPC opcfile.
* Make-common.in (cgen-desc): Pass $(opcfile) as thirteenth
parameter to cgen.sh.

19 years ago*** empty log message ***
gdbadmin [Wed, 1 Dec 2004 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * scripttempl/pe.sc (.data): Add .jcr subsection.
dannysmith [Tue, 30 Nov 2004 23:54:52 +0000 (23:54 +0000)]
* scripttempl/pe.sc (.data): Add .jcr subsection.

19 years agodaily update
amodra [Tue, 30 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2004-11-30 Paul Brook <paul@codesourcery.com>
pbrook [Tue, 30 Nov 2004 17:45:52 +0000 (17:45 +0000)]
2004-11-30  Paul Brook  <paul@codesourcery.com>

bfd/
* elf32-arm.c (struct elf32_arm_link_hash_table): Remove
no_pipeline_knowledge
(elf32_arm_link_hash_table_create): Ditto.
(bfd_elf32_arm_process_before_allocation): Ditto.
(elf32_arm_final_link_relocate): Ditto.  Remove oabi relocation
handling.
* bfd-in.h (bfd_elf32_arm_process_before_allocation): Update
prototype.
* bfd-in2.h: Regenerate.
ld/
* emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge.

19 years agoChange LOCALEDIR to $(datadir)/share.
nickc [Tue, 30 Nov 2004 17:20:37 +0000 (17:20 +0000)]
Change LOCALEDIR to $(datadir)/share.

19 years ago2004-11-30 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 30 Nov 2004 15:15:27 +0000 (15:15 +0000)]
2004-11-30  Andrew Cagney  <cagney@gnu.org>

* config/nm-gnu.h: Delete file.
* config/i386/nm-i386gnu.h: Inline "config/nm-gnu.h".

19 years ago2004-11-30 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 30 Nov 2004 15:15:11 +0000 (15:15 +0000)]
2004-11-30  Andrew Cagney  <cagney@gnu.org>

* config/nm-gnu.h: Delete file.
* config/i386/nm-i386gnu.h: Inline "config/nm-gnu.h".

19 years ago2004-11-30 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 30 Nov 2004 15:05:18 +0000 (15:05 +0000)]
2004-11-30  Andrew Cagney  <cagney@gnu.org>

* config/nm-sysv4.h: Delete file.
* config/i386/nm-i386v4.h: Inline "config/nm-sysv4.h".
* config/i386/nm-i386v42mp.h: Inline "config/nm-sysv4.h".
* config/i386/nm-i386sol2.h: Inline "config/nm-sysv4.h".
* config/ia64/nm-aix.h: Inline "config/nm-sysv4.h".
* config/mips/nm-irix5.h: Inline "config/nm-sysv4.h".

19 years ago2004-11-30 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 30 Nov 2004 15:05:06 +0000 (15:05 +0000)]
2004-11-30  Andrew Cagney  <cagney@gnu.org>

* config/nm-sysv4.h: Delete file.
* config/i386/nm-i386v4.h: Inline "config/nm-sysv4.h".
* config/i386/nm-i386v42mp.h: Inline "config/nm-sysv4.h".
* config/i386/nm-i386sol2.h: Inline "config/nm-sysv4.h".
* config/ia64/nm-aix.h: Inline "config/nm-sysv4.h".
* config/mips/nm-irix5.h: Inline "config/nm-sysv4.h".

19 years ago* Make-common.in (sim-basics_h): Correct dependencies on
rearnsha [Tue, 30 Nov 2004 13:44:13 +0000 (13:44 +0000)]
* Make-common.in (sim-basics_h): Correct dependencies on
cconfig.h and tconfig.h
(sim-load.o): Correct typo in sim-basics_h dependency.

19 years agomerge from gcc
dj [Tue, 30 Nov 2004 03:01:36 +0000 (03:01 +0000)]
merge from gcc

19 years ago * elf32-hppa.c (elf32_hppa_grok_prstatus): New function.
amodra [Tue, 30 Nov 2004 00:50:35 +0000 (00:50 +0000)]
* elf32-hppa.c (elf32_hppa_grok_prstatus): New function.
(elf32_hppa_grok_psinfo): New function.
(elf_backend_grok_prstatus): Define.
(elf_backend_grok_psinfo): Define.

19 years ago*** empty log message ***
gdbadmin [Tue, 30 Nov 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Mon, 29 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2004-11-29 Andrew Cagney <cagney@gnu.org>
cagney [Mon, 29 Nov 2004 22:29:40 +0000 (22:29 +0000)]
2004-11-29  Andrew Cagney  <cagney@gnu.org>

* MAINTAINERS: Add Randolph Chung (pa), Jeff Johnston (ia64), Kei
Sakamoto (m32r), Joel Brobecker (mips), and Ulrich Weigand (s390)
as can-commit architecture developers.

19 years ago* sparc-tdep.c (X_RS1, X_SIMM13): New macros.
kettenis [Mon, 29 Nov 2004 19:52:40 +0000 (19:52 +0000)]
* sparc-tdep.c (X_RS1, X_SIMM13): New macros.
(sparc32_skip_prologue): Skip instructions that store arguments in
registers into their corresponding stack slots.

19 years ago2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [Mon, 29 Nov 2004 16:36:50 +0000 (16:36 +0000)]
2004-11-29  Tomer Levi  <Tomer.Levi@nsc.com>

* opcode/crx.h (enum operand_type): Rename rbase_cst4 to rbase_dispu4.
Remove redundant instruction types.
(struct argument): X_op - new field.
(struct cst4_entry): Remove.
(no_op_insn): Declare.

19 years ago2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [Mon, 29 Nov 2004 16:36:28 +0000 (16:36 +0000)]
2004-11-29  Tomer Levi  <Tomer.Levi@nsc.com>

* opcode/crx.h (enum operand_type): Rename rbase_cst4 to rbase_dispu4.
Remove redundant instruction types.
(struct argument): X_op - new field.
(struct cst4_entry): Remove.
(no_op_insn): Declare.

19 years ago2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [Mon, 29 Nov 2004 16:34:35 +0000 (16:34 +0000)]
2004-11-29  Tomer Levi  <Tomer.Levi@nsc.com>

* crx-opc.c (crx_optab): Mark all rbase_disps* operands as signed.
(no_op_insn): Initialize array with instructions that have no
operands.
* crx-dis.c (make_instruction): Get rid of COP_BRANCH_INS operand swapping.

19 years ago2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [Mon, 29 Nov 2004 16:33:54 +0000 (16:33 +0000)]
2004-11-29  Tomer Levi  <Tomer.Levi@nsc.com>

* crx-opc.c (crx_optab): Mark all rbase_disps* operands as signed.
(no_op_insn): Initialize array with instructions that have no
operands.
* crx-dis.c (make_instruction): Get rid of COP_BRANCH_INS operand swapping.

19 years ago2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [Mon, 29 Nov 2004 16:31:22 +0000 (16:31 +0000)]
2004-11-29  Tomer Levi  <Tomer.Levi@nsc.com>

* gas/crx/br_insn.d: Fix error in expected disassembly.

19 years ago2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [Mon, 29 Nov 2004 16:24:58 +0000 (16:24 +0000)]
2004-11-29  Tomer Levi  <Tomer.Levi@nsc.com>

* gas/crx/br_insn.d: Fix error in expected disassembly.

19 years ago2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [Mon, 29 Nov 2004 16:23:10 +0000 (16:23 +0000)]
2004-11-29  Tomer Levi  <Tomer.Levi@nsc.com>

config/tc-crx.c: Major code cleanup. Remove unused variables and functions,
give functions a meaningful name, add comments.
(check_range): New function - Replace operand size calculation
with range checking.
(assemble_insn): Update Algorithm, improve error issuing.
(enum op_err): New - Operand error (for issuing operand error messages).
(process_label_constant): Bug fix regarding COP_BRANCH_INS relocation handling.

19 years ago2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [Mon, 29 Nov 2004 16:21:50 +0000 (16:21 +0000)]
2004-11-29  Tomer Levi  <Tomer.Levi@nsc.com>

* config/tc-crx.c: Major code cleanup. Remove unused variables and functions,
give functions a meaningful name, add comments.
(check_range): New function - Replace operand size calculation
with range checking.
(assemble_insn): Update Algorithm, improve error issuing.
(enum op_err): New - Operand error (for issuing operand error messages).
(process_label_constant): Bug fix regarding COP_BRANCH_INS relocation
handling.

19 years ago* config/m68k/nbsdaout.mh (NAT_FILE): Set to solib.h instead of
kettenis [Mon, 29 Nov 2004 15:53:06 +0000 (15:53 +0000)]
* config/m68k/nbsdaout.mh (NAT_FILE): Set to solib.h instead of
tm-solib.h.
* config/m68k/obsd.mh (NAT_FILE): Likewise.

19 years ago* sparc-tdep.h (sparc32nbsd_elf_init_abi): New prototype.
kettenis [Mon, 29 Nov 2004 15:20:22 +0000 (15:20 +0000)]
* sparc-tdep.h (sparc32nbsd_elf_init_abi): New prototype.
* sparcnbsd-tdep.c (sparc32nbsd_elf_init_abi): Make global.
* sparcobsd-tdep.c (sparc32obsd_init_abi): Call
sparc32nbsd_elf_init_abi.  Remove duplicate code.

19 years agoFixed a pcrel relocte miss between different section in the same module.
nickc [Mon, 29 Nov 2004 15:09:24 +0000 (15:09 +0000)]
Fixed a pcrel relocte miss between different section in the same module.

19 years ago * cris.cpu: New file.
hp [Mon, 29 Nov 2004 11:52:11 +0000 (11:52 +0000)]
* cris.cpu: New file.

19 years ago* config/sparc/nbsdaout.mh (NAT_FILE): Set to solib.h.
kettenis [Mon, 29 Nov 2004 11:20:03 +0000 (11:20 +0000)]
* config/sparc/nbsdaout.mh (NAT_FILE): Set to solib.h.
* config/sparc/nbsdelf.mh (NAT_FILE): Remove variable.
* config/sparc/nm-nbsd.h: Remove file.
* config/sparc/nm-nbsdaout.h: Remove file.

19 years ago* arm-dis.c: Correct top-level comment.
rearnsha [Mon, 29 Nov 2004 10:12:56 +0000 (10:12 +0000)]
* arm-dis.c: Correct top-level comment.

19 years ago* gdb.base/bitfields2.exp: New test.
hilfingr [Mon, 29 Nov 2004 09:11:19 +0000 (09:11 +0000)]
* gdb.base/bitfields2.exp: New test.
* gdb.base/bitfields2.c: New file.

19 years ago* sparc-nat.c (inf_ptrace_xfer_partial): New variable.
kettenis [Mon, 29 Nov 2004 08:41:48 +0000 (08:41 +0000)]
* sparc-nat.c (inf_ptrace_xfer_partial): New variable.
(sparc_xfer_partial): New function.
(sparc_target): Save value of to_xfer_partial from ptrace vector.
Set to_xfer_partial.

19 years ago* fork-child.c (fork_inferior): Fork instead of vfork if
kettenis [Mon, 29 Nov 2004 08:37:06 +0000 (08:37 +0000)]
* fork-child.c (fork_inferior): Fork instead of vfork if
PRE_TRACE_FUN is non-null.

19 years ago*** empty log message ***
gdbadmin [Mon, 29 Nov 2004 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
rearnsha [Sun, 28 Nov 2004 23:17:33 +0000 (23:17 +0000)]
* config/sim.exp (gdb_load): Return 0 on success, -1 on failure.

19 years agodaily update
amodra [Sun, 28 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sun, 28 Nov 2004 00:00:39 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Sat, 27 Nov 2004 23:00:45 +0000 (23:00 +0000)]
daily update

19 years agoTweak last entry.
rearnsha [Sat, 27 Nov 2004 11:18:29 +0000 (11:18 +0000)]
Tweak last entry.

19 years ago* gas/testsuite/arm/thumbv6.d (setend): Remove stray tab at end
rearnsha [Sat, 27 Nov 2004 11:12:17 +0000 (11:12 +0000)]
* gas/testsuite/arm/thumbv6.d (setend): Remove stray tab at end
of dump pattern.

19 years ago* arm-opc.h (arm_opcode, thumb_opcode): Add extra field for the
rearnsha [Sat, 27 Nov 2004 11:09:20 +0000 (11:09 +0000)]
* arm-opc.h (arm_opcode, thumb_opcode): Add extra field for the
architecuture defining the insn.
(arm_opcodes, thumb_opcodes): Delete.  Move to ...
* arm-dis.c (arm_opcodes, thumb_opcodes): Here.
Also include opcode/arm.h.
* Makefile.am (arm-dis.lo): Update dependency list.
* Makefile.in: Regenerate.

19 years ago*** empty log message ***
gdbadmin [Sat, 27 Nov 2004 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * configure.in (hppa*-*-linux*): Don't add libgcj to noconfigdirs.
danglin [Fri, 26 Nov 2004 23:57:58 +0000 (23:57 +0000)]
* configure.in (hppa*-*-linux*): Don't add libgcj to noconfigdirs.
(hppa*64*-*-*): Delete incorrect comment.
* configure: Rebuilt.

19 years agodaily update
amodra [Fri, 26 Nov 2004 23:00:09 +0000 (23:00 +0000)]
daily update

19 years ago2004-11-26 Paul Brook <paul@codesourcery.com>
jjohnstn [Fri, 26 Nov 2004 16:43:35 +0000 (16:43 +0000)]
2004-11-26  Paul Brook  <paul@codesourcery.com>

        * arm/crt0.S (_start): Add .cantunwind annotation.

19 years ago2004-11-26 Paul Brook <paul@codesourcery.com>
jjohnstn [Fri, 26 Nov 2004 16:42:09 +0000 (16:42 +0000)]
2004-11-26  Paul Brook  <paul@codesourcery.com>

        * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.

19 years agoAdd support for atmega165, atmega325, atmega3250, atmega645 and atmega6450.
nickc [Fri, 26 Nov 2004 16:23:02 +0000 (16:23 +0000)]
Add support for atmega165, atmega325, atmega3250, atmega645 and atmega6450.

19 years agoAdd support for --subsystem:xbox as well as --subsystem:<number>.
nickc [Fri, 26 Nov 2004 09:42:02 +0000 (09:42 +0000)]
Add support for --subsystem:xbox as well as --subsystem:<number>.

19 years ago* environ.cc (putenv): Accommodate recent newlib change in argument to putenv.
cgf [Fri, 26 Nov 2004 04:21:46 +0000 (04:21 +0000)]
* environ.cc (putenv): Accommodate recent newlib change in argument to putenv.

19 years ago* child_info.h (child_info_spawn::hexec_proc): Eliminate.
cgf [Fri, 26 Nov 2004 04:15:05 +0000 (04:15 +0000)]
* child_info.h (child_info_spawn::hexec_proc): Eliminate.
* dcrt0.cc (dll_crt0_0): Remove hexec_proc stuff.
* fork.cc (fork_child): Remove call to pinfo_fixup_after_fork.
* pinfo.cc (set_myself): Close and zero pid_handle if set.
(pinfo_fixup_after_fork): Delete.
(proc_waiter): Don't close vchild.hProcess here.  Do that when we are remove
the vchild from procs.  Save hProcess as pid_handle only on first reparent
operation.
(pinfo::wait): Don't set pid_handle here.
(pinfo::alert_parent): Always try to send signal.  If unsuccessful then close
and zero wr_proc_pipe.
* pinfo.h (pinfo::pinfo): Make sure that appropriate parts of the class are
zeroed on construction.
(pinfo::alert_parent): Take char argument.
(pinfo_fixup_after_fork): Delete declaration.
(hexec_proc): Ditto.
* sigproc.cc (remove_proc): Close pid_handle and hProcess if appropriate.
* spawn.cc (spawn_guts): Set cygheap->pid_handle on first exec.
* cygheap.h (init_cygheap::pid_handle): New element.
* pinfo.cc (set_myself): Clear previously existing cygheap->pid_handle when a
new process has been started.
(pinfo::wait): Make sure that a handle to the newly forked/spawned process is
kept around so that the pid will not be reused.
* pinfo.h (_pinfo::pid_handle): Move.
(pinfo::pid_handle): to here.
* spawn.cc (spawn_guts): Create a pid_handle in cygheap prior to spawning to
ensure that the pid does not get reused during the lifetime of the "cygwin
pid".
* pinfo.h (pinfo::alert_parent): New function.
* exceptions.cc (sig_handle_tty_stop): Use alert_parent to send "signals" to
parent.
* fork.cc (fork_parent): Don't close pi.hProcess.  Let the waiter thread do
that.
* pinfo.cc (proc_waiter): Detect case where process exits without setting the
exit code and use value from GetExitCodeProcess.  Reluctantly implement
__SIGREPARENT.
(pinfo::alert_parent): Define.
* sigproc.h (__SIGREPARENT): New enum.
* spawn.cc (spawn_guts): Send reparent signal to parent on exec.  Always create
process in suspended state to avoid races.  Remove cygthread.h in favor of
cygtls.h throughout since cygtls now includes cygthread.h.  Eliminate
ppid_handle usage throughout.
* child_info.h: Regenerate magic number
(child_info): Remove pppid_handle.
* cygthread.h (cygthread::release): New method.  Frees thread without waiting.
* cygthread.cc (cygthread::stub): Set _ctinfo in _mytls to point to information
for executing thread.  Don't call SetEvent if thread is no longer in use.
(cygthread::simplestub): Ditto.
* cygtls.h (_cygtls::_ctinfo): New element contains pointer to information
about executing cygthread, if any.
* dcrt0.cc: Remove last vestiges of per_thread stuff.
(dll_crt0_0): Ditto.  Remove accommodation for ppid_handle.
(do_exit): Remove obsolete reparenting test.
(_exit): Exit with a more SUSv3-like exit value.
* dtable.cc (dtable::stdio_init): Check for myself->cygstarted rather than
myself->ppid_handle to see if we were started by a cygwin process.
* exceptions.cc (open_stackdumpfile): Ditto.
(handle_exceptions): Ditto.
(ctrl_c_handler): Ditto.
(sig_handle_tty_stop): Ditto.  Let parent send signal to itself on STOP.
(sigpacket::process): Comment out vfork test.
(signal_exit): Use more SUSv3-like exit value on signal.
* external.cc (fillout_pinfo): Don't set hProcess.
* fork.cc: Remove VFORK cruft.
(per_thread::set): Delete.
(fork_child): Remove perthread stuff.
(fork_parent): Remove obsolete subproc_init.  Accommodate new method for
tracking subprocesses.
* pinfo.cc (set_myself): Accommodate new pinfo/_pinfo layout.  Set some things
here that used to be set in wait_sig.
(_pinfo::exit): Set exitcode here.  Close process pipe.
(_pinfo::commune_send): Accommodeate new pinfo/_pinfo layout.
(proc_waiter): New function.  Waits, in a thread for subprocess to go away.
(pinfo::wait): New function.  Initialization for proc_waiter.
* pinfo.h (_pinfo::exitcode): New element.
(_pinfo::cygstarted): Ditto.
(_pinfo::wr_proc_pipe): Ditto.
(_pinfo::ppid_handle): Delete.
(_pinfo::hProcess): Delete.
(_pinfo::lock): Delete.
(pinfo::hProcess): New element.
(pinfo::lock): Ditto.
(pinfo::wait): Declare new function.
(pinfo::preserve): Define new function.
* sigproc.cc: Remove old stuff from wait_subproc thread based method.
(zombies): Remove.
(procs): New.
(my_parent_is_alive): Just check that the parent pid exists.
(mychild): Just use pinfo methods to determine if child is mine.
(proc_subproc): Revamp PROC_ADDCHILD to use pinfo::wait.  Remove
PROC_CHILDTERMINATED logic.  Use different method to remove processes from list
when SIGCHLD == SIG_IGN.
(proc_terminate): Gut.
(subproc_init): Delete.
(init_child_info): Remove setting of pppid_handle.
(checkstate): Revamp to only scan procs array.
(remove_proc): Rename from remove_zombie.  Don't close hProcess or pid_handle.
Don't release memory if it's myself.
(stopped_or_terminated): Change logic to handle new consolidated proc/zombie
array.
(wait_subproc): Delete.
* sigproc.h: Remove obsolete EXIT_* defines.
(subproc_init): Remove declaration.
* spawn.cc (spawn_guts): Remove reparenting stuff.  Use standard wait logic to
wait for child if started from a non-cygwin process.
* tlsoffsets.h: Regenerate.
* tty.cc (tty_init): Check for myself->cygstarted rather than
myself->ppid_handle to see if we were started by a cygwin process.
* include/sys/signal.h (external_pinfo::exitcode): Replace hProcess.
* include/sys/wait.h (WCOREDUMP): Define.
* fhandler_tty.cc (fhandler_tty_slave::read): Add debugging output for timeout
case.
* signal.cc (abort): Flag that we are exiting with the ABORT signal.

19 years ago*** empty log message ***
gdbadmin [Fri, 26 Nov 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Thu, 25 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agoReally fix it.
hjl [Thu, 25 Nov 2004 20:15:00 +0000 (20:15 +0000)]
Really fix it.

19 years ago2004-11-25 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 25 Nov 2004 20:10:02 +0000 (20:10 +0000)]
2004-11-25  H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/group-1.d: Adjust expected secion ordering.

19 years agogas/
jbeulich [Thu, 25 Nov 2004 08:42:44 +0000 (08:42 +0000)]
gas/
2004-11-25 Jan Beulich <jbeulich@novell.com>

* config/tc-i386.c (optimize_imm): Adjust immediates to only those
permissible for the selected instruction suffix.
(process_suffix): For DefaultSize instructions, suppressing the
guessing of a 'q' suffix if the instruction doesn't support it is
pointless, because only an 'l' suffix can be guessed in this place.

gas/testsuite/
2004-11-25 Jan Beulich <jbeulich@novell.com>
* gas/i386/x86-64-inval.[sl]: Remove sahf/lahf.

include/opcode/
2004-11-25 Jan Beulich <jbeulich@novell.com>

* i386.h: CpuNo64 mov can't reasonably have a 'q' suffix. Moves
to/from test registers are illegal in 64-bit mode. Add missing
NoRex64 to sidt. fxsave/fxrstor now allow for a 'q' suffix
(previously one had to explicitly encode a rex64 prefix). Re-enable
lahf/sahf in 64-bit mode as at least some Athlon64/Opteron steppings
support it there. Add cmpxchg16b as per Intel's 64-bit documentation.

19 years agoApproved by Kevin Buettner <kevinb@redhat.com>
fnf [Thu, 25 Nov 2004 02:48:22 +0000 (02:48 +0000)]
Approved by Kevin Buettner <kevinb@redhat.com>

2004-11-24  Fred Fish  <fnf@specifixinc.com>
* rs6000-tdep.c (skip_prologue): Use line table info to skip over
compiler generated function calls made as part of a prologue.

19 years ago2004-11-24 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 25 Nov 2004 02:14:08 +0000 (02:14 +0000)]
2004-11-24  H.J. Lu  <hongjiu.lu@intel.com>

PR 574:
* elfcode.h (elf_slurp_symbol_table): Handle STT_TLS.

19 years ago2004-11-24 Paul Brook <paul@codesourcery.com>
pbrook [Thu, 25 Nov 2004 00:55:55 +0000 (00:55 +0000)]
2004-11-24  Paul Brook  <paul@codesourcery.com>

bfd/
* elf.c (assign_section_numbers): Number SHT_GROUP sections first.
gas/testsuite/
* gas/elf/group0a.d: Adjust expected secion ordering.
* gas/elf/group1a.d: Ditto.
* gas/elf/section4.d: Ditto.

19 years ago*** empty log message ***
gdbadmin [Thu, 25 Nov 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Wed, 24 Nov 2004 23:00:09 +0000 (23:00 +0000)]
daily update

19 years ago2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 24 Nov 2004 22:34:47 +0000 (22:34 +0000)]
2004-11-24  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
        const for value string parameter to match Single Unix and glibc.
        * libc/stdlib/putenv.c: Ditto.
        * libc/stdlib/putenv_r.c: Ditto.

19 years ago2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 24 Nov 2004 22:34:12 +0000 (22:34 +0000)]
2004-11-24  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
        const for value string parameter.
        * libc/stdlib/putenv.c: Ditto.
        * libc/stdlib/putenv_r.c: Ditto.

19 years ago2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 24 Nov 2004 22:31:04 +0000 (22:31 +0000)]
2004-11-24  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/Makefile.am: Fix missing vfscanf.
        * libc/stdio/Makefile.in: Regenerated.

19 years ago2004-11-24 Paul Brook <paul@codesourcery.com>
pbrook [Wed, 24 Nov 2004 14:44:35 +0000 (14:44 +0000)]
2004-11-24  Paul Brook  <paul@codesourcery.com>

bfd/
* elf32-arm.c (elf32_arm_swap_symbol_in): New function.
(elf32_arm_swap_symbol_out): New function.
(elf32_arm_size_info): Add.
(elf_backend_size_info): Define.
ld/testsuite/
* ld-arm/mixed-lib.sym: Update for THUMB_FUNC change.

19 years agoRemove IQ10 support from IQ2000 port
nickc [Wed, 24 Nov 2004 13:23:36 +0000 (13:23 +0000)]
Remove IQ10 support from IQ2000 port

19 years ago Add checks for other variants of the sr and st instruction.
nickc [Wed, 24 Nov 2004 12:03:29 +0000 (12:03 +0000)]
 Add checks for other variants of the sr and st instruction.

19 years ago * ldexp.c (fold_name): Correct PR 338 fix.
amodra [Wed, 24 Nov 2004 11:30:15 +0000 (11:30 +0000)]
* ldexp.c (fold_name): Correct PR 338 fix.

19 years agomerge from gcc
dj [Wed, 24 Nov 2004 03:00:33 +0000 (03:00 +0000)]
merge from gcc

19 years ago2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 24 Nov 2004 00:45:40 +0000 (00:45 +0000)]
2004-11-23  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdio.h: Add new iprintf and iscanf variants.  Also
        do some reordering.
        * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
        * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
        family functions.
        * libc/stdio/Makefile.in: Regenerated.
        * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
        * libc/stdio/iprintf.c: Ditto.
        * libc/stdio/local.h (__svfiscanf_r): New prototype.
        * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
        * libc/stdio/sniprintf.c: Move docs to siprintf.c.
        * libc/stdio/stdio.tex: Add new functions.
        * libc/stdio/vfscanf.c: Split out __sccl function to separate
        file and add special name defines so this file can be used
        to build vfiscanf.o.
        * libc/stdio/asiprintf.c: New file.
        * libc/stdio/fiscanf.c: Ditto.
        * libc/stdio/iscanf.c: Ditto.
        * libc/stdio/sccl.c: Ditto.
        * libc/stdio/siscanf.c: Ditto.
        * libc/stdio/vasiprintf.c: Ditto.
        * libc/stdio/viprintf.c: Ditto.
        * libc/stdio/viscanf.c: Ditto.
        * libc/stdio/vsiprintf.c: Ditto.
        * libc/stdio/vsiscanf.c: Ditto.
        * libc/stdio/vsniprintf.c: Ditto.

19 years ago*** empty log message ***
gdbadmin [Wed, 24 Nov 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Tue, 23 Nov 2004 23:00:07 +0000 (23:00 +0000)]
daily update

19 years ago* inf-ttrace.c: New file.
kettenis [Tue, 23 Nov 2004 21:14:27 +0000 (21:14 +0000)]
* inf-ttrace.c: New file.
* inf-ttrace.h: New file.
* hppa-hpux-nat.c [HAVE_TTRACE]: Include <sys/ttrace>.
Include "inf-ttrace.h".
(ss_mpsfu_high): Define to ss_tlsp if necessary.
(hppa_hpux_fetch_register, hppa_hpux_store_register): Use
ptid_get_pid instead of PIDGET.  Modify to handle both ttrace and
ptrace systems.
(_initialize_hppa_hpux_nat) [HAVE_TTRACE]: Call inf_ttrace_traget
instead of inf_ptrace_target.
* config/pa/hpux.mh (NATDEPFILES): Add inf-ttrace.o.
* Makefile.in (inf_ttrace_h): New variable.
(hppa-hpux-nat.o): Update dependency.
(inf-ttrace.o): New dependency.
(ALLDEPFILES): Add inf-ptrace.c and inf-ttrace.c.

19 years ago2004-11-23 Randolph Chung <tausq@debian.org>
tausq [Tue, 23 Nov 2004 21:05:13 +0000 (21:05 +0000)]
2004-11-23  Randolph Chung  <tausq@debian.org>

* arch-utils.c (generic_instruction_nullified): New.
* arch-utils.h (generic_instruction_nullified): New.
* gdbarch.sh (instruction_nullified): New method.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* infrun.c (INSTRUCTION_NULLIFIED): Delete.
(handle_inferior_event): Replace INSTRUCTION_NULLIFIED with calls to
new gdbarch method.
* config/pa/tm-hppa.h (INSTRUCTION_NULLIFIED): Delete definition.
* hppa-tdep.c (hppa_instruction_nullified): Remove prototype and make
static.  Rewrite to work directly off the passed regcache.
(hppa_gdbarch_init): Set instruction_nullified method.

19 years ago2004-11-16 Randolph Chung <tausq@debian.org>
tausq [Tue, 23 Nov 2004 19:51:32 +0000 (19:51 +0000)]
2004-11-16  Randolph Chung  <tausq@debian.org>

* gdb.base/unload.exp: Pass relative path to gdb_get_line_number.

19 years ago * sparc-tdep.c (sparc_is_unimp_insn): New function.
brobecke [Tue, 23 Nov 2004 18:59:13 +0000 (18:59 +0000)]
    * sparc-tdep.c (sparc_is_unimp_insn): New function.
        (sparc32_frame_cache): For functions where there is no debugging
        information to help us determine whether it's a struct-return
        function or not, fallback on checking whether the instruction
        at the return address is an "unimp" instruction or not.

19 years ago* config/tc-mn10300.c (md_relax_table): More fixes to the offsets in this table.
nickc [Tue, 23 Nov 2004 14:49:09 +0000 (14:49 +0000)]
* config/tc-mn10300.c (md_relax_table): More fixes to the offsets in this table.
  They should be correct now.
* gas/mn10300/relax.s: Add further tests of the relaxing of branch instructions.
* gas/mn10300/relax.d: Add expected relocations.

19 years agoFix last change.
eliz [Tue, 23 Nov 2004 12:12:15 +0000 (12:12 +0000)]
Fix last change.

19 years ago * gdb.texinfo (Files): Add cross-reference to description of
eliz [Tue, 23 Nov 2004 12:05:27 +0000 (12:05 +0000)]
* gdb.texinfo (Files): Add cross-reference to description of
-readnow command-line switch.

19 years agogas/
jbeulich [Tue, 23 Nov 2004 07:55:07 +0000 (07:55 +0000)]
gas/
2004-11-23 Jan Beulich <jbeulich@novell.com>

* config/tc-i386.h (CpuMMX2): Declare. Artificial classifier to
indicate the MMX extensions added by both SSE and 3DNow!A.
(Cpu3dnowA): Declare.
(CpuUnknownFlags): Update.
* config/tc-i386.c (cpu_sub_arch_name): Declare.
(cpu_arch): i586 and pentium do not imply MMX. i686 and pentiumpro do
neither imply SSE nor MMX. k6 implies MMX. k6_2 additionally implies
3DNow!. Athlon additionally implies 3DNow!A. Several new
entries (those starting with a dot are for sub-arch specification).
(set_cpu_arch): Handle sub-arch specifications.
(parse_insn): Distinguish between instructions not supported because
of insufficient CPU features and because of 64-bit mode.
* doc/c-i386.texi: Describe enhanced .arch directive.

include/opcode/
2004-11-23 Jan Beulich <jbeulich@novell.com>

* i386.h (i386_optab): paddq and psubq, even in their MMX form, are
available only with SSE2. Change the MMX additions introduced by SSE
and 3DNow!A to CpuMMX2 (rather than CpuMMX). Indicate the 3DNow!A
instructions by their now designated identifier (since combining i686
and 3DNow! does not really imply 3DNow!A).

19 years ago * MAINTAINERS: Add myself to write after approval section.
danglin [Tue, 23 Nov 2004 01:11:16 +0000 (01:11 +0000)]
* MAINTAINERS: Add myself to write after approval section.