OSDN Git Service
cgf [Fri, 29 Nov 2002 00:43:50 +0000 (00:43 +0000)]
* sigproc.cc (sig_dispatch_pending): Remove assertion.
brobecke [Fri, 29 Nov 2002 00:30:06 +0000 (00:30 +0000)]
* configure.in: Check that the pthdebug library is recent enough
before enabling thread support on native AiX.
* configure: Regenerate.
* config/powerpc/aix432.mh (NATDEPFILES): Remove aix-thread.o
from the list of object files as it is now appended by configure
if thread support is enabled.
(NAT_CLIBS): Removed as -lpthdebug is also appended by configure
if thread support is enabled.
brobecke [Fri, 29 Nov 2002 00:29:27 +0000 (00:29 +0000)]
* configure.in: Check that the pthdebug library is recent enough
before enabling thread support on native AiX.
* configure: Regenerate.
* config/powerpc/aix432.mh (NATDEPFILES): Remove aix-thread.o
from the list of object files as it is now appended by configure
if thread support is enabled.
(NAT_CLIBS): Removed as -lpthdebug is also appended by configure
if thread support is enabled.
cagney [Fri, 29 Nov 2002 00:15:47 +0000 (00:15 +0000)]
2002-11-28 Andrew Cagney <cagney@redhat.com>
* stack.c (get_selected_block): In-line get_current_block.
* frame.h (get_current_block): Delete declaration.
* blockframe.c (get_current_block): Delete function.
jakub [Fri, 29 Nov 2002 00:03:30 +0000 (00:03 +0000)]
* readelf.c Replace occurrences of Elf32_Internal_* and
Elf64_Internal_* with Elf_Internal_*.
(slurp_rel_relocs): Change Elf_Internal_Rel to Elf_Internal_Rela.
Zero r_addend fields.
(dump_relocations): Remove relas variable, change Elf_Internal_Rel to
Elf_Internal_Rela.
gdbadmin [Fri, 29 Nov 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
kkojima [Thu, 28 Nov 2002 23:57:58 +0000 (23:57 +0000)]
* config/tc-sh.c (md_apply_fix3): Call S_SET_THREAD_LOCAL
for TLS relocations.
jakub [Thu, 28 Nov 2002 23:32:59 +0000 (23:32 +0000)]
* config/tc-ia64.c (md_apply_fix3): Add default case.
amodra [Thu, 28 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update
cagney [Thu, 28 Nov 2002 21:38:42 +0000 (21:38 +0000)]
2002-11-28 Andrew Cagney <
ac131313@redhat.com>
* gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Rename
USE_GENERIC_DUMMY_FRAMES.
* gdbarch.h, gdbarch.c: Regenerate.
* valops.c, frame.c: Update.
* config/z8k/tm-z8k.h, config/mn10200/tm-mn10200.h: Update.
* config/m32r/tm-m32r.h, config/h8500/tm-h8500.h: Update.
* config/pa/tm-hppa.h, blockframe.c: Update.
* vax-tdep.c, sparc-tdep.c, ns32k-tdep.c: Ditto.
* m68k-tdep.c, alpha-tdep.c: Ditto.
* arm-tdep.c: Eliminate USE_GENERIC_DUMMY_FRAMES as always 1.
* mips-tdep.c: Ditto.
Index: doc/ChangeLog
2002-11-28 Andrew Cagney <
ac131313@redhat.com>
* gdbint.texinfo (Host Definition): Delete documentation on
USE_GENERIC_DUMMY_FRAMES.
cagney [Thu, 28 Nov 2002 18:15:55 +0000 (18:15 +0000)]
2002-11-27 Andrew Cagney <
ac131313@redhat.com>
* gdbarch.sh (CALL_DUMMY_LOCATION): Default to AT_ENTRY_POINT.
(USE_GENERIC_DUMMY_FRAMES): Default to true.
(PC_IN_CALL_DUMMY): Default to generic_pc_in_call_dummy.
* gdbarch.c, gdbarch.h: Re-generate.
* inferior.h (USE_GENERIC_DUMMY_FRAMES): Delete macro definition.
(CALL_DUMMY_LOCATION): Delete macro definition.
(PC_IN_CALL_DUMMY): Delete macro definitions.
* arm-tdep.c (arm_gdbarch_init): Do not set pc_in_call_dummy,
default is already generic_pc_in_call_dummy.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* arm-tdep.c (arm_gdbarch_init): Do not set
use_generic_dummy_frames, default is already 1.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
* x86-64-tdep.c (x86_64_gdbarch_init): Ditto.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
call_dummy_location, default is already AT_ENTRY_POINT.
* x86-64-tdep.c (x86_64_gdbarch_init): Ditto.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* sparc-tdep.c (sparc_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* arm-tdep.c (arm_gdbarch_init): Ditto.
* alpha-tdep.c (alpha_gdbarch_init): Ditto.
cagney [Thu, 28 Nov 2002 18:08:26 +0000 (18:08 +0000)]
2002-11-28 Andrew Cagney <cagney@redhat.com>
* sim-main.h: Only include "idecode.h" once.
* Makefile.in (SIM_EXTRA_DEPS): Define.
cagney [Thu, 28 Nov 2002 17:11:41 +0000 (17:11 +0000)]
2002-11-28 Andrew Cagney <cagney@redhat.com>
* frame.h: Update comments on set_current_frame, create_new_frame,
flush_cached_frames, reinit_frame_cache, select_frame and
selected_frame.
cagney [Thu, 28 Nov 2002 17:11:08 +0000 (17:11 +0000)]
2002-11-28 Andrew Cagney <cagney@redhat.com>
* frame.h: Update comments on set_current_frame, create_new_frame,
flush_cached_frames, reinit_frame_cache, select_frame and
selected_frame.
ezannoni [Thu, 28 Nov 2002 16:46:31 +0000 (16:46 +0000)]
2002-11-28 Elena Zannoni <ezannoni@redhat.com>
* Makefile.in (install): Move install-info to here...
(all): ...from here.
jakub [Thu, 28 Nov 2002 14:15:49 +0000 (14:15 +0000)]
* symbols.c (S_SET_THREAD_LOCAL): New function.
* symbols.h (S_SET_THREAD_LOCAL): New prototype.
* config/tc-i386.c (md_apply_fix3): Call S_SET_THREAD_LOCAL
for TLS relocations.
* config/tc-ia64.c (md_apply_fix3): Likewise.
* config/tc-alpha.c (md_apply_fix3): Likewise.
* ld-i386/tlsnopic.rd: Change NOTYPE to TLS for UND sg* symbols.
jakub [Thu, 28 Nov 2002 14:15:44 +0000 (14:15 +0000)]
* symbols.c (S_SET_THREAD_LOCAL): New function.
* symbols.h (S_SET_THREAD_LOCAL): New prototype.
* config/tc-i386.c (md_apply_fix3): Call S_SET_THREAD_LOCAL
for TLS relocations.
* config/tc-ia64.c (md_apply_fix3): Likewise.
* config/tc-alpha.c (md_apply_fix3): Likewise.
* ld-i386/tlsnopic.rd: Change NOTYPE to TLS for UND sg* symbols.
jakub [Thu, 28 Nov 2002 14:13:51 +0000 (14:13 +0000)]
* write.c (subsegs_finish): For SEC_MERGE sections pad last fragment
to entsize.
amodra [Thu, 28 Nov 2002 11:55:34 +0000 (11:55 +0000)]
include/elf/ChangeLog
* internal.h (elf32_internal_ehdr, Elf32_Internal_Ehdr,
elf64_internal_ehdr, Elf64_Internal_Ehdr, elf32_internal_phdr,
Elf32_Internal_Phdr, elf64_internal_phdr, Elf64_Internal_Phdr,
elf32_internal_shdr, Elf32_Internal_Shdr, elf64_internal_shdr,
Elf64_Internal_Shdr, elf32_internal_sym, elf64_internal_sym,
Elf32_Internal_Sym, Elf64_Internal_Sym, Elf32_Internal_Note,
elf32_internal_note, elf32_internal_rel, Elf32_Internal_Rel,
elf64_internal_rel, Elf64_Internal_Rel, elf32_internal_rela,
elf64_internal_rela, Elf32_Internal_Rela, Elf64_Internal_Rela,
elf32_internal_dyn, elf64_internal_dyn, Elf32_Internal_Dyn,
Elf64_Internal_Dyn, elf32_internal_verdef, elf64_internal_verdef,
elf32_internal_verdaux, elf64_internal_verdaux, elf32_internal_verneed,
elf64_internal_verneed, elf32_internal_vernaux, elf64_internal_vernaux,
elf32_internal_versym, elf64_internal_versym, Elf32_Internal_Verdef,
Elf64_Internal_Verdef, Elf32_Internal_Verdaux, Elf64_Internal_Verdaux,
Elf32_Internal_Verneed, Elf64_Internal_Verneed, Elf32_Internal_Vernaux,
Elf64_Internal_Vernaux, Elf32_Internal_Versym, Elf64_Internal_Versym,
Elf32_Internal_Syminfo, Elf64_Internal_Syminfo): Delete.
(Elf_Internal_Rel): Delete.
bfd/ChangeLog
* elf-bfd.h: Replace occurrences of Elf32_Internal_* and
Elf64_Internal_* with Elf_Internal_*. Replace Elf_Internal_Rel
with Elf_Internal_Rela.
* elf-hppa.h, elf-m10200.c, elf-m10300.c, elf32-arc.c, elf32-arm.h,
elf32-avr.c, elf32-cris.c, elf32-d10v.c, elf32-d30v.c, elf32-dlx.c,
elf32-fr30.c, elf32-frv.c, elf32-gen.c, elf32-h8300.c, elf32-hppa.c,
elf32-i370.c, elf32-i386.c, elf32-i860.c, elf32-i960.c, elf32-ip2k.c,
elf32-m32r.c, elf32-m68hc11.c, elf32-m68hc12.c, elf32-m68k.c,
elf32-mcore.c, elf32-mips.c, elf32-openrisc.c, elf32-or32.c,
elf32-ppc.c, elf32-s390.c, elf32-sh.c, elf32-v850.c, elf32-vax.c,
elf32-xstormy16.c, elf64-alpha.c, elf64-gen.c, elf64-hppa.c,
elf64-mips.c, elf64-mmix.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c,
elf64-sparc.c, elf64-x86-64.c, elfarm-nabi.c, elfarm-oabi.c,
elfcode.h, elflink.h, elfn32-mips.c, elfxx-ia64.c, elfxx-mips.c: Ditto.
* elf-hppa.h (elf_hppa_internal_shdr): Delete. Use Elf_Internal_Shdr
throughout instead.
* elf.c (_bfd_elf_no_info_to_howto_rel): Delete.
* elfcode.h (elf_swap_reloca_in): Pass source operand as a bfd_byte *.
Remove INLINE keyword.
(elf_swap_reloc_in): Likewise. Also clear r_addend.
(elf_swap_reloc_out, elf_swap_reloca_out): Pass destination operand
as a bfd_byte *.
(elf_write_relocs): Consolidate REL and RELA code.
(elf_slurp_reloc_table_from_section): Simplify REL code.
(NAME(_bfd_elf,size_info)): Populate reloc swap entries.
* elf-bfd.h (MAX_INT_RELS_PER_EXT_REL): Define.
* elflink.h (elf_link_read_relocs_from_section): Consolidate REL and
RELA code.
(elf_link_adjust_relocs): Likewise. Don't malloc space for temp
reloc array, use a fixed size of MAX_INT_RELS_PER_EXT_REL.
(elf_link_output_relocs): Likewise.
(elf_reloc_link_order): Likewise.
(elf_finish_pointer_linker_section): Likewise.
(struct elf_link_sort_rela): Remove union.
(elf_link_sort_cmp1): Update to suit.
(elf_link_sort_cmp2): Here too.
(elf_link_sort_relocs): Consolidate REL and RELA code. Fix memory
over-allocation for int_rels_per_ext_rel != 1 case.
* elf32-arm.h: Update all bfd_elf32_swap_reloc_out calls.
* elf32-i386.c: Likewise.
* elf32-cris.c: Likewise for bfd_elf32_swap_reloca_out.
* elf32-hppa.c, elf32-i370.c, elf32-m68k.c, elf32-ppc.c, elf32-s390.c,
elf32-sh.c, elf32-vax.c, elfxx-mips.c: Likewise.
* elf64-alpha.c: Likewise for bfd_elf64_swap_reloca_out.
* elf64-hppa.c, elf64-mips.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c,
elf64-sparc.c, elf64-x86-64.c: Likewise.
* elfxx-ia64.c: Likewise for bfd_elfNN_swap_reloca_out.
* elfxx-mips.c (sort_dynamic_relocs): Likewise for
bfd_elf32_swap_reloc_in.
* elf32-arm.h: Update elf32_arm_info_to_howto calls.
* elf32-mips.c: Likewise for mips_info_to_howto_rel.
(mips_elf64_swap_reloc_in): Zero r_addend.
(mips_elf64_be_swap_reloc_in): Likewise.
(mips_elf64_slurp_one_reloc_table): Simplify.
* elf64-alpha.c (alpha_elf_size_info): Populate reloc swap entries.
* elf64-hppa.c (hppa64_elf_size_info): Likewise.
* elf64-sparc.c (sparc64_elf_size_info): Likewise.
kkojima [Thu, 28 Nov 2002 08:37:13 +0000 (08:37 +0000)]
* elf32-sh.c (sh_elf_relocate_section): Don't complain about
unresolved debugging relocs in dynamic applications.
* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
* ld-sh/refdbg-0-dso.d: New test.
* ld-sh/refdbg-1.d: Likewise.
* ld-sh/refdbg.s: Likewise.
* ld-sh/refdbglib.s: Likewise.
brobecke [Thu, 28 Nov 2002 04:41:33 +0000 (04:41 +0000)]
* configure: Regenerate with the proper version of autoconf.
obrien [Thu, 28 Nov 2002 02:10:38 +0000 (02:10 +0000)]
2002-11-27 David O'Brien <obrien@FreeBSD.org>
* configure.host: Fix generic FreeBSD configuration entry.
cgd [Thu, 28 Nov 2002 01:32:03 +0000 (01:32 +0000)]
2002-11-27 Richard Sandiford <rsandifo@redhat.com>
* sim-fpu.c (sim_fpu_inv): Use sim_fpu_div.
cgf [Thu, 28 Nov 2002 00:41:02 +0000 (00:41 +0000)]
revert botched checkin
cgf [Thu, 28 Nov 2002 00:40:19 +0000 (00:40 +0000)]
* include/cygwin/version.h: Bump DLL minor number.
gdbadmin [Thu, 28 Nov 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Wed, 27 Nov 2002 23:44:13 +0000 (23:44 +0000)]
* fhandler_socket.cc (fhandler_socket::sendto): Fix potential unitialized value
return.
amodra [Wed, 27 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update
kevinb [Wed, 27 Nov 2002 21:28:31 +0000 (21:28 +0000)]
Add mips64-linux targets.
cagney [Wed, 27 Nov 2002 20:44:09 +0000 (20:44 +0000)]
2002-11-27 Andrew Cagney <cagney@redhat.com>
* config/z8k/tm-z8k.h (PC_IN_CALL_DUMMY): Update definition to use
deprecated pc_in_call_dummy function.
* config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Ditto.
* config/sparc/tm-sp64.h (PC_IN_CALL_DUMMY): Ditto.
* config/pa/tm-hppa.h (PC_IN_CALL_DUMMY): Ditto.
* config/mn10200/tm-mn10200.h (PC_IN_CALL_DUMMY): Ditto.
* config/h8500/tm-h8500.h (PC_IN_CALL_DUMMY): Ditto.
hjl [Wed, 27 Nov 2002 19:42:09 +0000 (19:42 +0000)]
2002-11-27 H.J. Lu <hjl@gnu.org>
* ld.texinfo: Add the missing `;' to sample version scripts.
hunt [Wed, 27 Nov 2002 19:13:07 +0000 (19:13 +0000)]
2002-11-26 Martin M. Hunt <hunt@redhat.com>
* Makefile.in: Remove Tix dependencies.
* acinclude.m4: Ditto.
* aclocal.m4: Ditto.
* configure.in: Ditto.
* configure: Regenerated.
hunt [Wed, 27 Nov 2002 19:09:17 +0000 (19:09 +0000)]
2002-11-27 Martin M. Hunt <hunt@redhat.com>
* generic/gdbtk.c (gdbtk_init): Don't call Tix_Init.
Don't include tix.h
* generic/gdbtk-hooks.c: Don't include tix.h.
* generic/gdbtkj-cmds.c: Don't include tix.h.
cgf [Wed, 27 Nov 2002 18:10:13 +0000 (18:10 +0000)]
* libc/string/memset.c (memset): Fix comment.
cgf [Wed, 27 Nov 2002 16:11:38 +0000 (16:11 +0000)]
* cygwin.din: Export pthread_getsequence_np.
* include/cygwin/version.h: Bump API minor version.
cagney [Wed, 27 Nov 2002 15:50:30 +0000 (15:50 +0000)]
2002-11-26 Andrew Cagney <
ac131313@redhat.com>
* gdbarch.sh (TARGET_FLOAT_FORMAT): Print the float format name.
(TARGET_DOUBLE_FORMAT, TARGET_LONG_DOUBLE_FORMAT): Ditto.
* gdbarch.c: Re-generate.
cagney [Wed, 27 Nov 2002 15:29:52 +0000 (15:29 +0000)]
2002-11-27 Andrew Cagney <cagney@redhat.com>
* generic/gdbtk-stack.c (get_frame_name): Use get_frame_type
instead of deprecated_frame_in_dummy.
* generic/gdbtk-cmds.c (gdb_loc): Ditto.
dannysmith [Wed, 27 Nov 2002 03:41:25 +0000 (03:41 +0000)]
* mingwex/math/lgamma.c: New file.
* mingwex/math/lgammaf.c: New file.
* mingwex/math/lgammal.c: New file.
* mingwex/math/tgamma.c: New file.
* mingwex/math/tgammaf.c: New file.
* mingwex/math/tgammal.c: New file.
* mingwex/math/cephes_mconf (polevlf): Add float version.
(p1evlf): Likewise.
Define _CEPHES_USE_ERRNO.
* mingwex/Makefile.in (MATH_DISTFILES): Add new files.
(MATH_OBJS): Add new objects.
* include/math.h (lgamma[fl]): Add prototypes.
(tgamma[fl]): Add prototypes.
hunt [Wed, 27 Nov 2002 02:45:06 +0000 (02:45 +0000)]
2002-11-26 Martin M. Hunt <hunt@redhat.com>
* Makefile.in: Remove Tix references.
* library/Makefile.in: Remove Tix references.
* src/Makefile.in: Remove Tix references.
cgf [Wed, 27 Nov 2002 02:26:44 +0000 (02:26 +0000)]
white space
cgf [Wed, 27 Nov 2002 02:12:50 +0000 (02:12 +0000)]
* cygwin.din: Export nl_langinfo().
* include/cygwin/version.h: Bump API minor version.
cagney [Wed, 27 Nov 2002 01:08:48 +0000 (01:08 +0000)]
2002-11-26 Andrew Cagney <
ac131313@redhat.com>
* config/h8500/tm-h8500.h (CALL_DUMMY_LOCATION): Define as ON_STACK.
(USE_GENERIC_DUMMY_FRAMES): Define as zero.
(PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack.
* config/mn10200/tm-mn10200.h (PC_IN_CALL_DUMMY): Define as
pc_in_call_dummy_at_entry_point.
* config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Define as ON_STACK.
(USE_GENERIC_DUMMY_FRAMES): Define as zero.
(PC_IN_CALL_DUMMY): Define as pc_in_call_dummy_on_stack.
* config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Delete undefine.
* config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Define as
pc_in_call_dummy_on_stack.
* config/sparc/tm-sp64.h (PC_IN_CALL_DUMMY): Redefine as
pc_in_call_dummy_at_entry_point and pc_in_call_dummy_on_stack.
* config/z8k/tm-z8k.h (CALL_DUMMY_LOCATION): Define as ON_STACK.
(USE_GENERIC_DUMMY_FRAMES): Define as zero.
(PC_IN_CALL_DUMMY): Defile as pc_in_call_dummy_on_stack.
gdbadmin [Wed, 27 Nov 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 26 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update
ezannoni [Tue, 26 Nov 2002 22:44:37 +0000 (22:44 +0000)]
2002-11-26 Elena Zannoni <ezannoni@redhat.com>
Fix PR gdb/723 and PR gdb/245.
* Makefile.in (install-info): Run the install-info command as part
of the post install steps only.
(uninstall-info): New target.
(uninstall): New target.
ezannoni [Tue, 26 Nov 2002 22:33:21 +0000 (22:33 +0000)]
2002-11-26 Elena Zannoni <ezannoni@redhat.com>
* Makefile.in (INFO_DEPS): Define.
(all): Add install-info to the rule.
(info): Unse INFO_DEPS.
(install-info): Rewrite.
(uninstall-info): New.
(uninstall): New.
dj [Tue, 26 Nov 2002 21:55:14 +0000 (21:55 +0000)]
* dwarf2dbg.c (scale_addr_delta): New.
(size_inc_line_addr): Use it.
(emit_inc_line_addr): Use it.
cgf [Tue, 26 Nov 2002 20:32:39 +0000 (20:32 +0000)]
* fhandler_tty.cc (fhandler_pty_master::accept_input): Just use a normal Sleep
or suffer amazing pauses when other tty apps are running.
(fhandler_pty_master::process_slave_output): Ditto.
hunt [Tue, 26 Nov 2002 20:01:35 +0000 (20:01 +0000)]
Initial revision
hunt [Tue, 26 Nov 2002 19:47:46 +0000 (19:47 +0000)]
touched all sources to ease next import
cagney [Tue, 26 Nov 2002 19:01:29 +0000 (19:01 +0000)]
2002-11-26 Andrew Cagney <
ac131313@redhat.com>
* inferior.h (deprecated_pc_in_call_dummy_before_text_end): Rename
pc_in_call_dummy_before_text_end
(deprecated_pc_in_call_dummy_after_text_end): Rename
pc_in_call_dummy_after_text_end.
(deprecated_pc_in_call_dummy_on_stack): Rename
pc_in_call_dummy_on_stack.
(deprecated_pc_in_call_dummy_at_entry_point): Rename
pc_in_call_dummy_at_entry_point.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_gdbarch_init): Update.
* vax-tdep.c (vax_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* i386-tdep.c (i386_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Update.
* blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
(deprecated_pc_in_call_dummy_after_text_end)
(deprecated_pc_in_call_dummy_on_stack)
(deprecated_pc_in_call_dummy_at_entry_point): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
cgf [Tue, 26 Nov 2002 18:11:50 +0000 (18:11 +0000)]
* libc/string/memset.c (memset): Move initialization of 'd' earlier in
function.
amodra [Tue, 26 Nov 2002 11:53:58 +0000 (11:53 +0000)]
* elf-eh-frame.c (ENSURE_NO_RELOCS): Disregard R_*_NONE relocs.
(_bfd_elf_discard_section_eh_frame): Don't discard duplicate CIEs
on a relocatable link. Comment typos.
* elf.c (_bfd_elf_link_hash_newfunc): Assign elements of structure
in the order they are declared. Clear elf_hash_value too.
(_bfd_elf_link_hash_table_init): Likewise assign in order. Clear
eh_info and tls_segment.
* elflink.h (elf_link_input_bfd <emit_relocs>): Keep reloc offsets
sorted when discarding relocs by turning them into R_*_NONE.
* libbfd.c (warn_deprecated): Comment spelling.
* po/SRC-POTFILES.in: Regenerate.
hp [Tue, 26 Nov 2002 08:21:34 +0000 (08:21 +0000)]
* config/tc-cris.c (cris_relax_frag): Fix typo in comment.
(md_assemble): Don't pass on branches to constants as relaxable.
Tweak comment.
hp [Tue, 26 Nov 2002 08:19:08 +0000 (08:19 +0000)]
* gas/cris/rd-bcnst.d, gas/cris/rd-bcnst.d: New test.
drow [Tue, 26 Nov 2002 01:23:45 +0000 (01:23 +0000)]
* acconfig.h (HAVE_PREAD64): Add.
* configure.in: Check for pread64.
* config.in: Regenerated.
* configure: Regenerated.
* lin-lwp.c (lin_lwp_xfer_memory): Call linux_proc_xfer_memory.
* linux-proc.c (linux_proc_xfer_memory): New function.
* config/nm-linux.h (linux_proc_xfer_memory): Add prototype.
dannysmith [Tue, 26 Nov 2002 00:11:05 +0000 (00:11 +0000)]
Add strtold and wcstold to libmingwex.a
* mingwex/strtold.c: New file.
* mingwex/wcstold.c: New file.
* mingwex/ldtoa.c: New file.
* mingwex/math/cephes_emath.h: New file.
* mingwex/math/cephes_emath.c: New file.
* mingwex/Makefile.in (DISTFILES): Add new files.
(MATH_DISTFILES): Ditto.
(STDLIB_OBJS): New. Define as strtold.c wcstold.c.
(MATH_OBJS): Add cephes_emath.o.
(LIB_OBJS): Add $(STDLIB_OBJS).
* include/stdlib.h (strtold, wcstold): Add prototypes.
* include/wchar.h (wcstold): Add prototype.
Add missing ChangeLog entry for 2002-11-09.
gdbadmin [Tue, 26 Nov 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 25 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update
carlton [Mon, 25 Nov 2002 22:01:38 +0000 (22:01 +0000)]
2002-11-25 David Carlton <carlton@math.stanford.edu>
* dwarf2read.c (scan_partial_symbols): Descend into namespace
pdi's with no name.
earnie [Mon, 25 Nov 2002 21:15:50 +0000 (21:15 +0000)]
* include/w32api.h: Increment to version 2.2
* Makefile.in: Ditto.
dj [Mon, 25 Nov 2002 21:15:40 +0000 (21:15 +0000)]
* gas/xstormy16/allinsn.d: Fix sdiv/sdivlh encodings.
dj [Mon, 25 Nov 2002 21:15:23 +0000 (21:15 +0000)]
* xstormy16-decode.cxx: Regenerate.
dj [Mon, 25 Nov 2002 21:15:04 +0000 (21:15 +0000)]
* xstormy16-opc.c: Regenerate.
dj [Mon, 25 Nov 2002 21:14:15 +0000 (21:14 +0000)]
* xstormy16.cpu (sdiv, divlh, sdivlh): Fix sdivlh/divlh encodings.
cgf [Mon, 25 Nov 2002 21:11:57 +0000 (21:11 +0000)]
* libc/string/memset.c (memset): Minor optimization: Use new 'd' variable,
introduced below, everywhere.
cagney [Mon, 25 Nov 2002 21:07:49 +0000 (21:07 +0000)]
2002-11-25 Andrew Cagney <
ac131313@redhat.com>
* MAINTAINERS: Mark h8500 as broken. Breakage occured Fri Nov 5
16:32:04 1999 Andrew Cagney <cagney@b1.cygnus.com>.
jimb [Mon, 25 Nov 2002 21:00:51 +0000 (21:00 +0000)]
* symfile.c (init_objfile_sect_indices): New function.
(default_symfile_offsets): Move the section-index-initializing
stuff into init_objfile_sect_indices, and call that.
kazu [Mon, 25 Nov 2002 20:56:16 +0000 (20:56 +0000)]
* libc/string/memset.c (memset): Make it safe even if
sizeof (int) = 2.
jimb [Mon, 25 Nov 2002 20:31:06 +0000 (20:31 +0000)]
* symtab.h (SIZEOF_N_SECTION_OFFSETS): New macro.
(SIZEOF_SECTION_OFFSETS): Use SIZEOF_N_SECTION_OFFSETS.
jimb [Mon, 25 Nov 2002 20:11:33 +0000 (20:11 +0000)]
* symfile.c (syms_from_objfile): Adjust indentation.
jimb [Mon, 25 Nov 2002 20:01:05 +0000 (20:01 +0000)]
* symfile.c (symbol_file_add): Flush gdb_stdout even if from_tty
|| info_verbose isn't true.
wilson [Mon, 25 Nov 2002 19:59:28 +0000 (19:59 +0000)]
Patch from Kenneth Chen to fix brl disassembly.
* ia64-dis.c (print_insn_ia64): Correct handling of IA64_OPND_TGT64.
jimb [Mon, 25 Nov 2002 19:54:08 +0000 (19:54 +0000)]
* lib/mi-support.exp (mi_delete_breakpoints): Change name of
function appearing in error message.
earnie [Mon, 25 Nov 2002 18:14:22 +0000 (18:14 +0000)]
* lib/Makefile.in (dist, install): Correct the install destinations.
* lib/ddk/Makefile.in (dist, install): Ditto.
corinna [Mon, 25 Nov 2002 15:12:50 +0000 (15:12 +0000)]
* mkpasswd.c (main): Set pw_passwd field to '*' on 9x/Me.
corinna [Mon, 25 Nov 2002 15:11:39 +0000 (15:11 +0000)]
* passwd.cc (read_etc_passwd): Never add an entry when starting
on Win95/98/ME if a default entry is present.
* uinfo.cc (internal_getlogin): Look for the default uid if needed.
Always call user.set_name ().
corinna [Mon, 25 Nov 2002 11:23:20 +0000 (11:23 +0000)]
* sec_acl.cc (getacl): Set errno to ENOSPC if command is GETACL and
nentries is less than the number of entries in the file's ACL.
sveinse [Mon, 25 Nov 2002 09:01:29 +0000 (09:01 +0000)]
* gas/config/tc-tic4x.c (c4x_operands_match): Bugfix in direct
mode
cagney [Mon, 25 Nov 2002 04:47:56 +0000 (04:47 +0000)]
2002-11-24 Andrew Cagney <
ac131313@redhat.com>
* gdbarch.sh (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Change
default to get_frame_base.
* gdbarch.h, gdbarch.c: Regenerate.
* arch-utils.c (default_frame_address): Delete function.
* arch-utils.h (default_frame_address): Delete declaration
gdbadmin [Mon, 25 Nov 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
muller [Sun, 24 Nov 2002 23:05:02 +0000 (23:05 +0000)]
2002-11-24 Pierre Muller <muller@ics.u-strasbg.fr>
* varobj.c (find_frame_addr_in_frame_chain):
Use get_frame_base instead of FRAME_FP,
obvious fix.
amodra [Sun, 24 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update
cagney [Sun, 24 Nov 2002 19:48:11 +0000 (19:48 +0000)]
2002-11-19 Andrew Cagney <
ac131313@redhat.com>
* frame.h (FRAME_FP): Delete macro.
(get_frame_base): New function declaration.
* frame.c (get_frame_base): New function.
(get_frame_id): Use ->frame.
(frame_find_by_id): Rewrite to use get_frame_id.
* blockframe.c: Use get_frame_base instead of FRAME_FP.
* cris-tdep.c, d10v-tdep.c, findvar.c, h8500-tdep.c: Ditto.
* hppa-tdep.c, i386-tdep.c, infcmd.c, infrun.c: Ditto.
* m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
* mn10200-tdep.c, mn10300-tdep.c, rs6000-tdep.c: Ditto.
* sh-tdep.c, sparc-tdep.c, stack.c, tracepoint.c: Ditto.
* v850-tdep.c, valops.c, z8k-tdep.c: Ditto.
corinna [Sun, 24 Nov 2002 18:58:47 +0000 (18:58 +0000)]
2002-11-24 Corinna Vinschen <corinna@vinschen.de>
* sec_acl.cc: Fix some formatting. Only set and check `other' bits in
a_perm throughout. Use ILLEGAL_GID id for all entries having no id.
(setacl): Fix inheritance condition.
(getacl): Set all permission bits in CLASS_OBJ and DEF_CLASS_OBJ
entries. Remove DENY bits before returning to calling function.
(acltomode): Fix usage of searchace(). If available, use CLASS_OBJ
to mask GROUP_OBJ permissions.
(aclfrommode): Fix usage of searchace(). If available, set CLASS_OBJ
permissions to same value as GROUP_OBJ permissions.
2002-11-24 Pierre Humblet <pierre.humblet@ieee.org>
* sec_acl.cc (getace): Fix the behavior when allow and
deny entries are present in arbitrary order.
(getacl): Report the actual number of entries when
aclbufp is NULL, even if nentries is zero. Fix the mask
reporting, handle the case where the owner and group sids
are equal and streamline the code.
(acl_worker): Take allow_ntsec into account.
cagney [Sun, 24 Nov 2002 18:44:36 +0000 (18:44 +0000)]
2002-11-19 Andrew Cagney <
ac131313@redhat.com>
* generic/gdbtk-stack.c (gdb_selected_frame): Use get_frame_base
instead of FRAME_FP. Mention that get_frame_id() should be used.
cagney [Sun, 24 Nov 2002 18:23:36 +0000 (18:23 +0000)]
2002-11-24 Andrew Cagney <
ac131313@redhat.com>
* arm-tdep.c (arm_gdbarch_init): Do not set get_saved_register.
corinna [Sun, 24 Nov 2002 18:07:30 +0000 (18:07 +0000)]
* setfacl.c (getperm): Set only `other' permission bits.
(getaclentry): Set a_id to -1 by default.
corinna [Sun, 24 Nov 2002 16:15:33 +0000 (16:15 +0000)]
* getfacl.c (permstr): Use `other' permission bits for requesting
ace permissions.
dj [Sun, 24 Nov 2002 15:59:22 +0000 (15:59 +0000)]
merge from gcc
cagney [Sun, 24 Nov 2002 15:41:59 +0000 (15:41 +0000)]
2002-11-24 Andrew Cagney <
ac131313@redhat.com>
* frame.c (set_unwind_by_pc): Revert change below, use
PC_IN_CALL_DUMMY.
(get_prev_frame): Ditto.
cagney [Sun, 24 Nov 2002 15:06:07 +0000 (15:06 +0000)]
2002-11-24 Andrew Cagney <
ac131313@redhat.com>
* dummy-frame.c (pc_in_dummy_frame): New function.
(generic_pc_in_call_dummy): Call pc_in_dummy_frame.
(find_dummy_frame): Update comment.
(generic_pop_current_frame): Use get_frame_type.
* dummy-frame.h (pc_in_dummy_frame): Declare.
* frame.c (set_unwind_by_pc): Use pc_in_dummy_frame.
(create_new_frame): Use pc_in_dummy_frame.
(get_prev_frame): Use pc_in_dummy_frame.
(frame_saved_regs_register_unwind): Use get_prev_frame.
(deprecated_generic_get_saved_register): Use get_prev_frame.
cagney [Sun, 24 Nov 2002 14:16:37 +0000 (14:16 +0000)]
2002-11-23 Andrew Cagney <
ac131313@redhat.com>
* blockframe.c (find_frame_addr_in_frame_chain): Move function
from here ...
* varobj.c (find_frame_addr_in_frame_chain): ... to here.
(varobj_create): Note that frame ID should be used.
* frame.h (find_frame_addr_in_frame_chain): Delete declaration.
rbcollins [Sun, 24 Nov 2002 13:54:14 +0000 (13:54 +0000)]
2002-11-05 Thomas Pfaff <tpfaff@gmx.net>
* dcrt0.cc (dll_crt0_1): Add call to pthread::initMainThread to
initialize mainthread when it is safe to call new.
* init.cc (dll_entry): Change call to store reents in tls key.
* thread.cc (_reent_clib) : Change call to get reents from tls
key.
(_reent_winsup): Ditto.
(MTinterface::Init): Key handling changed. Remove initialization
of member variables.
(MTinterface::fixup_after_fork): Reinitialize mainthread object
after fork. Reset threadount to 1.
(pthread::initMainThread): Create mainthread object dynamically.
and initialize with valid handles.
(pthread::self): Remove calls to create thread objects.
(pthread::setTlsSelfPointer): Change call to store thread self
handle in tls key.
(pthread::getTlsSelfPointer): New static method.
(pthread::exit): Remove setTlsSelfPointer call.
(pthread::initCurrentThread): New method.
(pthread::thread_init_wrapper): Change call to store thread self
handle in tls key.
(pthread::join): Check for a valid joiner.
(pthreadNull::pthreadNull): Mark Null object as detached.
(pthreadNull::exit): Terminate thread via ExitThread.
* thread.h (pthread::initMainThread): Change parameter in function
call.
(pthread::getTlsSelfPointer): New static method.
(pthread::initCurrentThread): New method.
(MTinterface::reent_key): Remove.
(MTinterface::thread_self_dwTlsIndex): Ditto..
(MTinterface::indexallocated): Ditto.
(MTinterface::mainthread): Ditto.
(MTinterface::reent_key): New member.
(MTinterface::thread_self_key): Ditto.
(MTinterface::MTinterface): Initialize all members.
rbcollins [Sun, 24 Nov 2002 13:41:35 +0000 (13:41 +0000)]
2002-11-25 Robert Collins <rbtcollins@hotmail.com>
* readme: Document running portions of the test suite (Thanks Egor!).
* winsup.api/pthread/mainthreadexits.c: New file, derived from
Thomas Pfaff's test cases.
* winsup.api/pthread/threadidafterfork.c: Ditto.
thorpej [Sun, 24 Nov 2002 06:58:20 +0000 (06:58 +0000)]
* libiberty.h (basename): Add NetBSD to the list.
cagney [Sun, 24 Nov 2002 03:20:08 +0000 (03:20 +0000)]
2002-11-23 Andrew Cagney <
ac131313@redhat.com>
* breakpoint.c: Include "gdb_assert.h".
(deprecated_frame_in_dummy): Assert that generic dummy frames are
not being used.
* Makefile.in (breakpoint.o): Update dependencies.
* ada-lang.c (find_printable_frame): Use get_frame_type instead of
deprecated_frame_in_dummy.
* stack.c (print_frame_info_base): Ditto.
(frame_info): Ditto.
(print_frame_info_base): Ditto. Delete dead code.
Index: tui/ChangeLog
2002-11-23 Andrew Cagney <
ac131313@redhat.com>
* tuiStack.c (tuiShowFrameInfo): Use get_frame_type instead of
deprecated_frame_in_dummy. Fix coding style.
gdbadmin [Sun, 24 Nov 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 23 Nov 2002 23:00:03 +0000 (23:00 +0000)]
daily update
cgf [Sat, 23 Nov 2002 20:24:08 +0000 (20:24 +0000)]
* wait.cc (wait4): Force pending signal delivery before waiting for process
completion.