OSDN Git Service
amodra [Fri, 11 Jun 2004 00:00:10 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 11 Jun 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
cagney [Thu, 10 Jun 2004 21:38:02 +0000 (21:38 +0000)]
2004-06-10 Andrew Cagney <cagney@gnu.org>
* lib/compiler.cc, lib/compiler.c: Append either
__GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
* gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
instead of gcc-3-3.
msnyder [Thu, 10 Jun 2004 20:22:17 +0000 (20:22 +0000)]
2004-06-10 Michael Snyder <msnyder@redhat.com>
Patch submitted by Nitin Yewale <NitinY@KPITCummins.com>.
* compile.c (sim_resume): Corrected ANDC operation on EXR for H8S.
bobbybrasko [Thu, 10 Jun 2004 20:08:22 +0000 (20:08 +0000)]
Sorry, date was wrong.
bobbybrasko [Thu, 10 Jun 2004 20:05:40 +0000 (20:05 +0000)]
Add the -file-list-exec-source-files command to MI.
cagney [Thu, 10 Jun 2004 18:25:48 +0000 (18:25 +0000)]
2004-06-10 Andrew Cagney <cagney@gnu.org>
* avr-tdep.c (avr_gdbarch_init): Do not set use_struct_convention
to generic_use_struct_convention, the default value.
cagney [Thu, 10 Jun 2004 17:49:47 +0000 (17:49 +0000)]
2004-06-10 Andrew Cagney <cagney@gnu.org>
* mn10300-tdep.c (mn10300_type_align): Call internal_error instead
of abort.
cagney [Thu, 10 Jun 2004 17:39:21 +0000 (17:39 +0000)]
2004-06-10 Andrew Cagney <cagney@gnu.org>
* ns32k-tdep.c (ns32k_push_arguments): New function.
(ns32k_gdbarch_init): Set deprecated_push_arguments.
* infcall.c (call_function_by_hand): Call error instead of
legacy_push_arguments.
* value.h (legacy_push_arguments): Delete declaration.
* valops.c (legacy_push_arguments): Delete function.
(value_push): Delete function.
ford [Thu, 10 Jun 2004 15:52:04 +0000 (15:52 +0000)]
* coffread.c (coff_symfile_read): Prevent mixed debugging formats
from corrupting/reinitializing the psymtab. Support DWARF 2 frame
info.
* dbxread.c (elfstab_build_psymtabs): Remove bogus comment.
cagney [Thu, 10 Jun 2004 13:22:03 +0000 (13:22 +0000)]
2004-06-10 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* frame.h (deprecated_pc_in_call_dummy): Delete "sp" and "fp"
parameters.
* dummy-frame.c (deprecated_pc_in_call_dummy): Update.
* arm-tdep.c (arm_pc_is_thumb_dummy): Call
deprecated_pc_in_call_dummy instead of
DEPRECATED_PC_IN_CALL_DUMMY.
(arm_skip_prologue): Ditto.
* xstormy16-tdep.c (xstormy16_pop_frame, xstormy16_scan_prologue)
(xstormy16_frame_saved_pc, xstormy16_frame_chain): Ditto.
* v850-tdep.c (v850_find_callers_reg, v850_frame_chain)
(v850_pop_frame, v850_frame_saved_pc, v850_frame_init_saved_regs):
Ditto.
* sh64-tdep.c (sh64_frame_chain, sh64_get_saved_pr)
(sh64_init_extra_frame_info, sh64_get_saved_register)
(sh64_pop_frame): Ditto.
* mips-tdep.c (non_heuristic_proc_desc): Ditto.
* mcore-tdep.c (mcore_find_callers_reg, mcore_frame_saved_pc)
(mcore_pop_frame, mcore_init_extra_frame_info): Ditto.
* h8300-tdep.c (h8300_frame_chain, h8300_frame_saved_pc)
(h8300_pop_frame): Ditto.
* blockframe.c (legacy_inside_entry_func)
(legacy_frame_chain_valid): Ditto.
* frame.c (frame_type_from_pc, legacy_get_prev_frame): Update call
to deprecated_pc_in_call_dummy.
gdbadmin [Thu, 10 Jun 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
bje [Wed, 9 Jun 2004 22:48:28 +0000 (22:48 +0000)]
Include Makefile.*, not just Makefile.in, in the top-level policy.
bje [Wed, 9 Jun 2004 22:14:10 +0000 (22:14 +0000)]
Update with respect to DejaGnu and Expect.
cagney [Wed, 9 Jun 2004 21:26:46 +0000 (21:26 +0000)]
2004-06-09 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (:REGISTER_TO_VALUE, VALUE_TO_REGISTER): Do not
provide a default value.
(CONVERT_REGISTER_P): Default to generic_convert_register_p.
* gdbarch.h, gdbarch.c: Re-generate.
* arch-utils.c (generic_convert_register_p): Rename
legacy_convert_register_p
(legacy_register_to_value, legacy_value_to_register): Delete
functions.
* arch-utils.h (generic_convert_register_p): Rename
legacy_convert_register_p.
(legacy_register_to_value, legacy_value_to_register): Delete
declarations.
jjohnstn [Wed, 9 Jun 2004 20:43:42 +0000 (20:43 +0000)]
2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/Makefile.am: Change siglist.inc to be generated
from /usr/include/asm/signal.h instead of kernel sources. Also
default max to 32 if not found in header file.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
systems where __syscall_return is not defined.
* libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
systems to use syscall() function instead of assembler interrupt.
cagney [Wed, 9 Jun 2004 20:42:27 +0000 (20:42 +0000)]
2004-06-09 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (DEPRECATED_REGISTER_CONVERT_TO_RAW)
(DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL)
(DEPRECATED_REGISTER_CONVERTIBLE): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* infcmd.c (default_print_registers_info): Simplify.
* findvar.c (value_of_register): Simplify.
* mi/mi-main.c (get_register): Simplify.
* arch-utils.c (legacy_convert_register_p): Always return 0.
(legacy_register_to_value, legacy_value_to_register): Always call
internal_error.
cagney [Wed, 9 Jun 2004 20:09:38 +0000 (20:09 +0000)]
2004-06-09 Andrew Cagney <cagney@gnu.org>
* infptrace.c (child_xfer_memory) [CLEAR_INSN_CACHE]: Delete
#ifdef CLEAR_INSN_CACHE code.
* target.c (generic_mourn_inferior) [CLEAR_DEFERRED_STORES]:
Delete #ifdef CLEAR_DEFERRED_STORES code.
cagney [Wed, 9 Jun 2004 20:03:28 +0000 (20:03 +0000)]
2004-06-09 Andrew Cagney <cagney@gnu.org>
* solib-svr4.c [HANDLE_SVR4_EXEC_EMULATORS]: Delete #ifdef code.
cagney [Wed, 9 Jun 2004 19:54:11 +0000 (19:54 +0000)]
2004-06-09 Andrew Cagney <cagney@gnu.org>
* config/ia64/tm-linux.h (TARGET_ELF64): Delete macro, Update
copyright.
* config/ia64/tm-aix.h (TARGET_ELF64): Ditto.
cagney [Wed, 9 Jun 2004 19:46:16 +0000 (19:46 +0000)]
2004-06-09 Andrew Cagney <cagney@gnu.org>
* config/mips/mipsv4.mh: Delete file.
cagney [Wed, 9 Jun 2004 19:39:14 +0000 (19:39 +0000)]
2004-06-09 Andrew Cagney <cagney@gnu.org>
* config/pa/tm-hppa64.h (HPREAD_ADJUST_STACK_ADDRESS): Delete
unreferenced macro.
(hpread_adjust_stack_address): Delete declaration.
jjohnstn [Wed, 9 Jun 2004 19:06:49 +0000 (19:06 +0000)]
2004-06-09 Toralf Lund <toralf@procaptura.com>
* arm/crt0.S: Copied from newlib and it now also sets up stacks for
FIQ and IRQ mode, plus calls hardware_init_hook() and
software_init_hook() if present.
* arm/libcfunc.c, arm/swi.h, arm/syscalls.c: Copied
from newlib.
* arm/Makefile.in: Build crt0.o, rdpmon-crt0.o, rdimon-crt0.o,
librdpmon.a, librdimon.a - support file for "bare" setup, as well
as "RDP" and "RDI" monitors.
* arm/coff-rdpmon.specs, arm/elf-rdpmon.specs,
arm/coff-rdimon.specs, arm/elf-rdimon.specs: gcc specs files to go
with above mentioned support libs and startfiles.
jjohnstn [Wed, 9 Jun 2004 19:05:07 +0000 (19:05 +0000)]
2004-06-09 Toralf Lund <toralf@procaptura.com>
* libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
files from libc/sys/arm to libc/machine/arm.
* libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
library build support for files moved from libc/sys/arm.
* libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
references to access and setjmp.
* configure.host: Add checks for newlib_may_supply_syscalls to
determine whether or not to use sys/arm directory and use
special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
cagney [Wed, 9 Jun 2004 17:27:57 +0000 (17:27 +0000)]
2004-06-09 Andrew Cagney <cagney@gnu.org>
* gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
gdb/1455, bug is specific to "long long" and "double".
cgf [Wed, 9 Jun 2004 16:03:51 +0000 (16:03 +0000)]
* include/cygwin/version.h: REALLY bump dll minor version to 11.
cagney [Wed, 9 Jun 2004 14:19:50 +0000 (14:19 +0000)]
2004-06-09 Andrew Cagney <cagney@gnu.org>
* gdb.base/structs.exp (test_struct_returns, test_struct_returns)
(test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
fixed.
aoliva [Wed, 9 Jun 2004 13:49:04 +0000 (13:49 +0000)]
* elflink.c (elf_sort_symbol): Compare section id, not pointers.
(elf_link_add_object_symbols): Likewise.
cagney [Wed, 9 Jun 2004 13:41:04 +0000 (13:41 +0000)]
2004-06-09 Andrew Cagney <cagney@gnu.org>
* gdb.base/structs.exp (test_struct_returns): Replace
"return_value_unknown" and "finish_value_unknown" by
"return_value_known" and "finish_value_known". Instead of
"return_value_unknown" iff "finish_value_unknown", check
"return_value_known" implies "finish_value_known".
cagney [Wed, 9 Jun 2004 13:33:54 +0000 (13:33 +0000)]
2004-06-09 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Native Debugging): Restore "@table @code"
deleted by previous patch.
bonzini [Wed, 9 Jun 2004 08:32:32 +0000 (08:32 +0000)]
2004-06-09 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (touch-stage[+id+]): New.
(restage[+prev+]): Depend on touch-stage[+id+].
* Makefile.tpl (RECURSE_FLAGS_TO_PASS): New.
Use it throughout.
* Makefile.def: Add profile and feedback bootstrap stages.
Remove next field from bootstrap stages.
* Makefile.tpl (LN, LN_S): Substitute.
(stageN-start, stageN-end): Use double-colon rules, to
provide a hook for additional setup commands.
(distclean-stageN-gcc, restageN): Create dependencies from
[+prev+], not from [+next+].
(stageN-bubble): Add commands for successive stages from
[+prev+], using double-colon rules.
(all-stageN-gcc): Fix typo.
(stagefeedback-start, profiledbootstrap): New.
* Makefile.in: Regenerate.
* configure.in: Call ACX_PROG_LN.
* configure: Regenerate.
config/ChangeLog:
2004-06-09 Paolo Bonzini <bonzini@gnu.org>
* acx.m4 (ACX_PROG_LN): From gcc, modified to
accept a parameter.
aoliva [Wed, 9 Jun 2004 08:31:27 +0000 (08:31 +0000)]
* elf-m10300.c (_bfd_mn10300_elf_reloc_type_class): New.
(elf_backend_reloc_type_class): New.
gdbadmin [Wed, 9 Jun 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
jakub [Tue, 8 Jun 2004 20:40:55 +0000 (20:40 +0000)]
opcodes/
* ia64-gen.c (in_iclass): Handle more postinc st
and ld variants.
* ia64-asmtab.c: Rebuilt.
gas/testsuite/
* gas/ia64/dv-raw-err.s: Add some new postinc tests.
* gas/ia64/dv-raw-err.l: Updated.
cagney [Tue, 8 Jun 2004 19:58:08 +0000 (19:58 +0000)]
2004-06-08 Andrew Cagney <cagney@gnu.org>
* infptrace.c [ATTACH_DETACH]: Remove #ifdef wrappers.
(attach, detach): When neither PT_ATTACH / PT_DETACH nor
PTRACE_ATTACH / PTRACE_DETACH available call error.
(PT_ATTACH, PT_DETACH): Move definition to attach / detach.
* infttrace.c (update_thread_state_after_attach, attach, detach):
Remove #ifdef wrappers.
* inftarg.c (child_attach, child_detach): Remove #ifdef wrappers.
* gnu-nat.c [ATTACH_DETACH]: Remove #ifdef wrappers.
* config/nm-bsd.h (ATTACH_DETACH): Delete.
* config/nm-sysv4.h (ATTACH_DETACH): Delete.
* config/nm-nbsd.h (ATTACH_DETACH): Delete.
* config/nm-linux.h (ATTACH_DETACH): Delete.
* config/rs6000/nm-rs6000.h (ATTACH_DETACH): Delete.
* config/pa/nm-hppah.h (ATTACH_DETACH): Delete.
* config/i386/nm-i386sco5.h (ATTACH_DETACH): Delete.
* config/i386/nm-i386sco4.h (ATTACH_DETACH): Delete.
* config/i386/nm-i386gnu.h (ATTACH_DETACH): Delete.
Index: doc/ChangeLog
2004-06-08 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Native Debugging): Delete documentation on
ATTACH_DETACH.
corinna [Tue, 8 Jun 2004 16:29:24 +0000 (16:29 +0000)]
* configure.in: Set $configdir to the right OS specific value.
Use value when setting $tcldir and $tkdir.
* configure: Regenerate.
hunt [Tue, 8 Jun 2004 15:50:56 +0000 (15:50 +0000)]
2004-06-08 Martin Hunt <hunt@redhat.com>
* gdb.base/float.exp: Add pattern for mips targets.
pbrook [Tue, 8 Jun 2004 13:34:48 +0000 (13:34 +0000)]
* gdb/dwarf2-frame.c (decode_frame_entry_1): Decode version 3 CIE
records.
corinna [Tue, 8 Jun 2004 10:53:37 +0000 (10:53 +0000)]
* include/cygwin/ipc.h: Make IPC_INFO visible only for ipc system
utilities, to make it consistent with declaration of struct seminfo.
hilfingr [Tue, 8 Jun 2004 08:42:03 +0000 (08:42 +0000)]
2004-06-08 Paul N. Hilfinger <Hilfinger@gnat.com>
* ada-lang.c (lookup_symbol_in_language): New function to allow
re-use of another language's symbol lookup code. (Placed here
temporarily while Ada support is being integrated into the public
tree).
(restore_language): New auxiliary function for
lookup_symbol_in_language.
* ada-lang.h (lookup_symbol_in_language): Declare (Placed here
temporarily while Ada support is being integrated into the public
tree).
hilfingr [Tue, 8 Jun 2004 08:41:44 +0000 (08:41 +0000)]
2004-06-08 Paul N. Hilfinger <Hilfinger@gnat.com>
* ada-lang.c (lookup_symbol_in_language): New function to allow
re-use of another language's symbol lookup code. (Placed here
temporarily while Ada support is being integrated into the public
tree).
(restore_language): New auxiliary function for
lookup_symbol_in_language.
* ada-lang.h (lookup_symbol_in_language): Declare (Placed here
temporarily while Ada support is being integrated into the public
tree).
kettenis [Tue, 8 Jun 2004 07:39:30 +0000 (07:39 +0000)]
* configure.in (hppa*-*-netbsd*, hppa*-*-openbsd): Set COREFILE to
netbsd-core.lo.
* configure: Regenerate.
corinna [Tue, 8 Jun 2004 07:19:56 +0000 (07:19 +0000)]
* path.cc (fchdir): Pass the Posix path to chdir.
aoliva [Tue, 8 Jun 2004 05:32:51 +0000 (05:32 +0000)]
* Makefile.in (check//%): New.
aoliva [Tue, 8 Jun 2004 05:32:31 +0000 (05:32 +0000)]
* Makefile.in (check//%): New.
aoliva [Tue, 8 Jun 2004 05:30:21 +0000 (05:30 +0000)]
* baseboards/mn10300-sim.exp: Set needs_status_wrapper and
noresults to zero.
aoliva [Tue, 8 Jun 2004 05:29:10 +0000 (05:29 +0000)]
* mn10300-tdep.c (mn10300_extract_return_value): Rewrite.
(mn10300_store_return_value): Rewrite.
(mn10300_type_align): New.
(mn10300_use_struct_convention): Rewrite.
(mn10300_return_value): New, using all of the above.
(mn10300_pop_frame_regular): Add saved_regs_size.
(mn10300_gdbarch_init): Remove deprecated rewritten entry points.
aoliva [Tue, 8 Jun 2004 05:29:01 +0000 (05:29 +0000)]
* mn10300-tdep.c (mn10300_extract_return_value): Rewrite.
(mn10300_store_return_value): Rewrite.
(mn10300_type_align): New.
(mn10300_use_struct_convention): Rewrite.
(mn10300_return_value): New, using all of the above.
(mn10300_pop_frame_regular): Add saved_regs_size.
(mn10300_gdbarch_init): Remove deprecated rewritten entry points.
aoliva [Tue, 8 Jun 2004 05:27:32 +0000 (05:27 +0000)]
* mn10300-tdep.c (mn10300_analyze_prologue): Don't compute saved
regs if PC is on movm.
aoliva [Tue, 8 Jun 2004 05:27:21 +0000 (05:27 +0000)]
* mn10300-tdep.c (mn10300_analyze_prologue): Don't compute saved
regs if PC is on movm.
tausq [Tue, 8 Jun 2004 05:15:17 +0000 (05:15 +0000)]
2004-06-08 Randolph Chung <tausq@debian.org>
* gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
message for unknown architectures more clear.
brobecke [Tue, 8 Jun 2004 05:05:33 +0000 (05:05 +0000)]
* gdb.ada/null_record.exp: Use "start" instead of "begin" to
start the execution of the program.
amodra [Tue, 8 Jun 2004 00:00:13 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 8 Jun 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
jimb [Mon, 7 Jun 2004 23:37:17 +0000 (23:37 +0000)]
Add native Linux support for the PowerPC E500.
* ppc-tdep.h (struct gdbarch_tdep): New member: 'ppc_gprs_pseudo_p'.
* rs6000-tdep.c (rs6000_gdbarch_init): Initialize it to false on
all architectures except the E500.
* ppc-linux-nat.c: (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): New
#definitions.
(struct gdb_evrregset_t): New type.
(have_ptrace_getsetevrregs): New variable.
(get_spe_registers, read_spliced_spe_reg, fetch_spe_register,
fetch_spe_registers): New functions.
(fetch_register): Call fetch_spe_register as appropriate.
Assert that we're only passed raw register numbers.
(fetch_ppc_registers): Call fetch_spe_registers as appropriate.
Don't fetch gprs if they're pseudoregisters.
(set_spe_registers, write_spliced_spe_reg, store_spe_register,
store_spe_registers): New functions.
(store_register): Call store_spe_register as appropriate.
Assert that we're only passed raw register numbers.
(store_ppc_registers): Call store_spe_registers as appropriate.
Don't store gprs if they're pseudoregisters.
jjohnstn [Mon, 7 Jun 2004 22:35:53 +0000 (22:35 +0000)]
2004-06-07 Jeff Johnston <jjohnstn@redhat.com>
* thread-db.c (thread_get_info_callback): Fill in the thread_info
struct if one exists, even if we are dealing with a zombie thread.
cagney [Mon, 7 Jun 2004 17:58:30 +0000 (17:58 +0000)]
2004-06-07 Andrew Cagney <cagney@gnu.org>
* target.h (PC_REQUIRES_RUN_BEFORE_USE): Delete definition.
* config/pa/tm-hppa.h (DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE):
Rename PC_REQUIRES_RUN_BEFORE_USE.
* breakpoint.c (breakpoint_sals_to_pc): Update. Wrap reference in
#ifdef.
jimb [Mon, 7 Jun 2004 15:38:51 +0000 (15:38 +0000)]
* gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
* gdb.arch/i386-cpuid.h: New helper file.
drow [Mon, 7 Jun 2004 15:29:53 +0000 (15:29 +0000)]
From: Albert Chin-A-Young <china@thewrittenword.com>
* bfd/elf-bfd.h (struct eh_cie_fde): Convert unsigned char bitfields
to unsigned int.
tausq [Mon, 7 Jun 2004 15:28:46 +0000 (15:28 +0000)]
2004-06-07 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_frame_cache): Handle the cases when we start
unwinding after sp has been saved to the stack but before the end
of the prologue, and after the fp has been modified but before it has
been saved to the stack.
(hppa_frame_base_address, hppa_frame_base, hppa_frame_base_sniffer):
Remove superfluous definitions.
(hppa_gdbarch_init): Remove superfluous frame base sniffer.
tausq [Mon, 7 Jun 2004 15:24:44 +0000 (15:24 +0000)]
2004-06-07 Randolph Chung <tausq@debian.org>
* gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
has started.
tausq [Mon, 7 Jun 2004 15:19:05 +0000 (15:19 +0000)]
2004-06-07 Guy Martin <gmsoft@gentoo.org>
Committed by Randolph Chung.
* hppa-linux-nat.c: Include the correct version of the header file
depending on the kernel version.
tausq [Mon, 7 Jun 2004 04:31:10 +0000 (04:31 +0000)]
2004-06-06 Randolph Chung <tausq@debian.org>
* gdb.texinfo (push_dummy_call): Use @code{struct value}.
cgf [Mon, 7 Jun 2004 04:26:32 +0000 (04:26 +0000)]
* dtable.cc (dtable::find_fifo): Release lock after fifo found (still racy).
* fhandler.h (fhandler_fifo::get_io_handle): New fifo-specific method.
* fhandler_fifo.cc (fhandler_fifo::close): Close output_handle only if it is
open.
(fhandler_fifo::open_not_mine): Reorganize slightly. Don't call _pinfo methods
when the fifo is owned by me or suffer dtable lock_cs deadlock.
(fhandler_fifo::open): Call open_not_mine first, otherwise open myself
(racy).
* pinfo.cc (_pinfo::commune_recv): Duplicate fifo handles here in requesting
processes arena to avoid one potential race (of many).
(_pinfo::commune_send): Move all PICOM_FIFO code under one case statement.
* thread.cc (pthread::init_mainthread) Use existing hMainProc handle rather
than calling GetCurrentProcess.
tausq [Mon, 7 Jun 2004 02:19:07 +0000 (02:19 +0000)]
2004-06-06 Randolph Chung <tausq@debian.org>
* infrun.c (trap_expected_after_continue): Remove HP_OS_BUG workaround.
(proceed, init_wait_for_inferior, handle_inferior_event): Likewise.
tausq [Mon, 7 Jun 2004 02:17:28 +0000 (02:17 +0000)]
2004-06-06 Randolph Chung <tausq@debian.org>
* hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline)
(hppa_hpux_skip_trampoline_code): Don't cache symbol values.
* hppa-linux-tdep.c (hppa_linux_in_dyncall): Likewise.
* hppa-tdep.c (hppa_symbol_address): New function definition.
* hppa-tdep.h (hppa_symbol_address): New function declaration.
tausq [Mon, 7 Jun 2004 02:12:58 +0000 (02:12 +0000)]
2004-06-06 Randolph Chung <tausq@debian.org>
* gdb.texinfo (push_dummy_call): Update argument list to match
the new push_dummy_call method signature. Describe the function
argument.
tausq [Mon, 7 Jun 2004 02:08:01 +0000 (02:08 +0000)]
2004-06-06 Randolph Chung <tausq@debian.org>
* hppa-tdep.h (struct value): Forward declaration.
(gdbarch_tdep): Define tdep find_global_pointer method.
* hppa-tdep.c (hppa32_push_dummy_call): Find the global pointer
associated with the function we are trying to call, and write it
to the gp register.
(hppa32_convert_from_funct_ptr_addr): New function.
(hppa_find_global_pointer): New function.
(hppa_gdbarch_init): Set default find_global_pointer method; set
convert_from_func_ptr_addr method.
* hppa-linux-tdep.c (hppa_linux_find_global_pointer): New function.
(hppa_linux_init_abi): Set find_global_pointer method.
* Makefile.in (hppa-linux-tdep.o): Add value.h dependency.
tausq [Mon, 7 Jun 2004 02:02:40 +0000 (02:02 +0000)]
2004-06-06 Randolph Chung <tausq@debian.org>
* gdbarch.sh (PUSH_DUMMY_CALL): Change CORE_ADDR func_addr argument
to struct value *function.
* gdbarch.c: Regenerate.
* gdbarch.h: Likewise.
* infcall.c (call_function_by_hand): Pass entire function value
to push_dummy_call.
* Makefile.in (alpha-tdep.o, frv-tdep.o, ia64-tdep.o, mips-tdep.o)
(ppc-sysv-tdep.o, rs6000-tdep.o): Update dependencies.
* alpha-tdep.c (alpha_push_dummy_call): Update call signature.
* amd64-tdep.c (amd64_push_dummy_call): Likewise.
* arm-tdep.c (arm_push_dummy_call): Likewise.
* avr-tdep.c (avr_push_dummy_call): Likewise.
* cris-tdep.c (cris_push_dummy_call): Likewise.
* d10v-tdep.c (d10v_push_dummy_call): Likewise.
* frv-tdep.c (frv_push_dummy_call): Likewise.
* h8300-tdep.c (h8300_push_dummy_call): Likewise.
* hppa-tdep.c (hppa32_push_dummy_call)
(hppa64_push_dummy_call): Likewise.
* i386-tdep.c (i386_push_dummy_call): Likewise.
* ia64-tdep.c (ia64_push_dummy_call): Likewise.
* m32r-tdep.c (m32r_push_dummy_call): Likewise.
* m68hc11-tdep.c (m68hc11_push_dummy_call): Likewise.
* m68k-tdep.c (m68k_push_dummy_call): Likewise.
* m88k-tdep.c (m88k_push_dummy_call): Likewise.
* mips-tdep.c (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
(mips_o32_push_dummy_call, mips_o64_push_dummy_call): Likewise.
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call)
(ppc64_sysv_abi_push_dummy_call): Likewise.
* ppc-tdep.h (ppc_sysv_abi_push_dummy_call)
(ppc64_sysv_abi_push_dummy_call): Likewise.
* rs6000-tdep.c (rs6000_push_dummy_call): Likewise.
* s390-tdep.c (s390_push_dummy_call): Likewise.
* sh-tdep.c (sh_push_dummy_call_fpu)
(sh_push_dummy_call_nofpu): Likewise.
* sparc-tdep.c (sparc32_push_dummy_call): Likewise.
* sparc64-tdep.c (sparc64_push_dummy_call): Likewise.
* vax-tdep.c (vax_push_dummy_call): Likewise.
gdbadmin [Mon, 7 Jun 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 7 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 6 Jun 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 6 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update
infidel [Sat, 5 Jun 2004 13:39:35 +0000 (13:39 +0000)]
2004-06-05 Luke Dunstan <infidel@users.sourceforge.net>
* include/winbase.h (GetWriteWatch): Correct prototype.
(WRITE_WATCH_FLAG_RESET): Define.
Thanks to Sergey Philippov <phis@users.sourceforge.net>.
infidel [Sat, 5 Jun 2004 13:01:07 +0000 (13:01 +0000)]
2004-06-02 Rocher Laurent <lrocher@users.sourceforge.net>
* include/commctrl.h (Animate_OpenEx): Define.
(DateTime_GetSystemTime, DateTime_SetSystemTime): Correct names.
(ListView_GetNumberOfWorkAreas): Correct macro.
(ListView_SetUnicodeFormat, ListView_GetUnicodeFormat,
ListView_SetItemCountEx, ListView_GetISearchString,
TreeView_GetLastVisible, Header_CreateDragImage,
Header_SetImageList, Header_GetImageList): Define.
(LVM_SETUNICODEFORMAT, LVM_GETUNICODEFORMAT,
MCM_GETUNICODEFORMAT, MCM_SETUNICODEFORMAT,
TBSTATE_ELLIPSES): Define.
(MonthCal_SetRange): Correct macro.
(ImageList_Duplicate): Declare.
jimb [Sat, 5 Jun 2004 03:25:18 +0000 (03:25 +0000)]
* ppc-linux-nat.c (fetch_register): Don't forget to pass the
gdbarch argument to register_size.
jimb [Sat, 5 Jun 2004 00:11:47 +0000 (00:11 +0000)]
* rs6000-tdep.c (rs6000_store_return_value): Use
regcache_cooked_write_part instead of
deprecated_write_register_bytes.
(rs6000_gdbarch_init): Register it for gdbarch_store_return_value,
not gdbarch_deprecated_store_return_value.
roland [Sat, 5 Jun 2004 00:11:06 +0000 (00:11 +0000)]
.
roland [Sat, 5 Jun 2004 00:09:26 +0000 (00:09 +0000)]
2004-06-04 Roland McGrath <roland@redhat.com>
* gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
differently to be robust to output buffering differences.
amodra [Sat, 5 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 5 Jun 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Fri, 4 Jun 2004 23:55:44 +0000 (23:55 +0000)]
* winbase.h (ilockincr): Add more neverending changes from the inexplicable
world of gcc asm constraint magic. Should stop random crashes.
(ilockdecr): Ditto.
chastain [Fri, 4 Jun 2004 23:27:49 +0000 (23:27 +0000)]
2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.threads/pthreads.exp: Update copyright years.
(check_control_c): Change asynchronous 'after' to synchronous.
jimb [Fri, 4 Jun 2004 23:07:24 +0000 (23:07 +0000)]
* ppc-linux-nat.c (store_register, fetch_register): Remove
incorrect assertions. Simplify and generalize handling of
transfers whose sizes are not multiples of, or less than, sizeof
(PTRACE_XFER_TYPE).
roland [Fri, 4 Jun 2004 21:36:23 +0000 (21:36 +0000)]
.
roland [Fri, 4 Jun 2004 21:36:06 +0000 (21:36 +0000)]
2004-06-04 Roland McGrath <roland@redhat.com>
* gdb.base/auxv.exp (fetch_auxv): Consume output fully through
next gdb prompt.
jjohnstn [Fri, 4 Jun 2004 21:28:13 +0000 (21:28 +0000)]
2004-06-04 Jeff Johnston <jjohnstn@redhat.com>
* infrun.c (handle_inferior_event): Don't treat an invalid ptid
as a new thread event.
* thread_db.c (thread_get_info_callback): If the thread is a
zombie, return TD_THR_ZOMBIE.
* (thread_from_lwp): If thread_get_info_callback returns
TD_THR_ZOMBIE, check if the thread is still on the thread list
and return a -1 ptid if not found.
(thread_db_wait): If thread_from_lwp returns a -1 ptid, then
change the status to TARGET_WAITKIND_SPURIOUS.
amodra [Fri, 4 Jun 2004 00:00:13 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 4 Jun 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Thu, 3 Jun 2004 22:27:25 +0000 (22:27 +0000)]
* autoload.cc (IsDosDeviceName_U): Define.
* ntdll.h (IsDosDeviceName_U): Declare.
* fhandler.cc (fhandler_base::open): Check to see if win32_name is a dos device
and just call the 9x open if so.
jjohnstn [Thu, 3 Jun 2004 22:23:10 +0000 (22:23 +0000)]
2004-06-03 Alexandre Oliva <aoliva@redhat.com>
* mn10300/sim.ld: Start at address 4, to avoid ambiguity with NULL
pointers.
chastain [Thu, 3 Jun 2004 22:10:50 +0000 (22:10 +0000)]
2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
Fix PR gdb/1636.
* gdb.threads/manythreads.exp: Change asynchronous 'after'
calls to synchronous.
cgf [Thu, 3 Jun 2004 21:33:29 +0000 (21:33 +0000)]
revert accidental checkin
cgf [Thu, 3 Jun 2004 21:29:41 +0000 (21:29 +0000)]
* winbase.h (ilockincr): More changes from the inexplicable world of gcc asm
magic.
(ilockdecr): Ditto.
cgf [Thu, 3 Jun 2004 20:48:01 +0000 (20:48 +0000)]
* winbase.h (ilockincr): YA correction to ensure correct operation with no
optimization.
(ilockdecr): Ditto.
corinna [Thu, 3 Jun 2004 19:52:12 +0000 (19:52 +0000)]
* cygserver.h (CYGWIN_SERVER_VERSION_API): Bump.
corinna [Thu, 3 Jun 2004 19:51:10 +0000 (19:51 +0000)]
* include/cygwin/ipc.h (IPC_KEY_IS_SHMID): Redefine to a more sensible
value.
corinna [Thu, 3 Jun 2004 19:49:54 +0000 (19:49 +0000)]
* shm.cc (shmget): Explicitely set td_retval[0] to -1 on error.
cgf [Thu, 3 Jun 2004 18:56:49 +0000 (18:56 +0000)]
remove erroneous ChangeLog entry
cgf [Thu, 3 Jun 2004 18:55:56 +0000 (18:55 +0000)]
* winbase.h: Fix all ilock defs as per cygwin 1.5.10 release.