OSDN Git Service
neroden [Fri, 29 Nov 2002 21:38:33 +0000 (21:38 +0000)]
2002-11-29 Nathanael Nerode <neroden@gcc.gnu.org>
(Continuing slow-motion replay)
* configure.in (v810*): Remove special setting of tools.
* configure: Add support for extra required flags for ar or nm.
* configure.in (aix4.3+): Use above support for target-specific
issues, rather than using config/mt-aix43.
neroden [Fri, 29 Nov 2002 21:33:10 +0000 (21:33 +0000)]
2002-11-29 Nathanael Nerode <neroden@gcc.gnu.org>
(Starting slow-motion replay merge from gcc 3.4 b-i-b branch)
* configure: Remove 'removing', which doesn't work. Replace $subdir
with . everywhere. Replace $subdirs with ''. Replace $makesrcdir
with $srcdir. Reformat indentation. Substitute some variables
formerly hard-coded in the Makefile for build=host.
* Makefile.tpl: Autogenerate more; make more autoconf-friendly.
* Makefile.def: Autogenerate more.
* Makefile.in: Regenerate.
nickc [Fri, 29 Nov 2002 21:00:49 +0000 (21:00 +0000)]
Allow BKPT instruction to be specified without an operand. Add a test for this.
ciceron [Fri, 29 Nov 2002 20:42:14 +0000 (20:42 +0000)]
* m68hc11-tdep.c (m68hc11_register_raw_size): Remove.
(m68hc11_register_byte): Remove.
(m68hc11_gdbarch_init): Don't set the above.
cagney [Fri, 29 Nov 2002 19:40:29 +0000 (19:40 +0000)]
2002-11-29 Andrew Cagney <cagney@redhat.com>
* remote-mips.c (mips_initialize): Force a selected frame rebuild
by calling get_selected_frame.
* ocd.c (ocd_start_remote): Use get_selected frame instead of
set_current_frame, create_new_frame, select_frame and
get_current_frame.
* remote-e7000.c (e7000_start_remote): Ditto.
* remote-mips.c (common_open): Ditto
* remote-rdp.c (remote_rdp_open): Ditto.
schwab [Fri, 29 Nov 2002 19:33:16 +0000 (19:33 +0000)]
* m68k-tdep.c (m68k_frame_chain, m68k_frame_saved_pc)
(altos_skip_prologue, delta68_frame_saved_pc, isi_frame_num_args)
(delta68_frame_num_args, news_frame_num_args, m68k_skip_prologue)
(m68k_frame_init_saved_regs, m68k_saved_pc_after_call): Use
read_memory_unsigned_integer instead of read_memory_integer when
dealing with addresses and instruction opcodes.
* m68klinux-tdep.c (m68k_linux_sigtramp_saved_pc)
(m68k_linux_frame_saved_pc): Likewise.
cagney [Fri, 29 Nov 2002 19:15:13 +0000 (19:15 +0000)]
2002-11-29 Andrew Cagney <
ac131313@redhat.com>
* stack.c (selected_frame, select_frame): Move from here ...
* frame.c (selected_frame, select_frame): ... to here. Include
"language.h".
* Makefile.in (frame.o): Update dependencies.
* frame.c (get_selected_frame): New function.
* frame.h (get_selected_frame): Declare.
(deprecated_selected_frame): Rename selected_frame.
* ada-lang.c, ada-tasks.c, breakpoint.c, corelow.c: Update.
* eval.c, f-valprint.c, findvar.c, frame.c, frame.h: Update.
* h8300-tdep.c, h8500-tdep.c, hppa-tdep.c, infcmd.c: Update.
* inflow.c, infrun.c, macroscope.c, mips-tdep.c: Update.
* mn10300-tdep.c, ocd.c, regcache.h, remote-e7000.c: Update.
* remote-mips.c, remote-rdp.c, sh-tdep.c, sparc-tdep.c: Update.
* stack.c, thread.c, tracepoint.c, valops.c, varobj.c: Update.
* z8k-tdep.c, cli/cli-cmds.c: Update.
Index: mi/ChangeLog
2002-11-29 Andrew Cagney <
ac131313@redhat.com>
* mi/mi-cmd-stack.c, mi/mi-main.c: Update to use
deprecated_selected_frame.
Index: tui/ChangeLog
2002-11-29 Andrew Cagney <
ac131313@redhat.com>
* tui/tui-hooks.c: Update to use deprecated_selected_frame.
* tui/tui.c, tui/tuiDisassem.c, tui/tuiRegs.c: Ditto.
* tui/tuiSource.c, tui/tuiSourceWin.c, tui/tuiWin.c: Ditto.
cagney [Fri, 29 Nov 2002 15:39:50 +0000 (15:39 +0000)]
2002-11-29 Andrew Cagney <
ac131313@redhat.com>
* frame.h (get_selected_block): Add comments.
cgf [Fri, 29 Nov 2002 07:05:25 +0000 (07:05 +0000)]
* pinfo.h (winpids::set): Renamed from init.
(winpids::init): New declaration.
(winpids::cs): Ditto.
(winpids::winpids): Use set rather than init.
* external.cc (fillout_pinfo): Ditto.
* dcrt0.cc (dll_crt0_1): Call winpids::init.
* pinfo.cc (winpids::set): Renamed from init. Wrap calls in critical section.
(winpids::init): New function.
(winpids::cs): Define.
bje [Fri, 29 Nov 2002 06:05:57 +0000 (06:05 +0000)]
2002-11-29 Ben Elliston <bje@redhat.com>
* common-xml/interface.xml (print-insn-summary!): New pin.
* common-xml/behavior.xml (tracing): Mention print-insn-summary!.
bje [Fri, 29 Nov 2002 05:52:42 +0000 (05:52 +0000)]
2002-11-29 Ben Elliston <bje@redhat.com>
* sidcpuutil.h (basic_cpu::print_insn_summary_pin): New pin.
(basic_cpu::print_insn_summary): New virtual method.
(basic_cpu::basic_cpu): Construct print_insn_summary_pin and
instantiate it with add_pin().
bje [Fri, 29 Nov 2002 05:33:13 +0000 (05:33 +0000)]
2002-11-26 Ben Elliston <bje@redhat.com>
* lib/cpudefs.exp (run-sid-tests-raw): Process all configline
directives (not just the last), appending to conf-line.
cagney [Fri, 29 Nov 2002 01:59:08 +0000 (01:59 +0000)]
Fix tipo in changelog.
cagney [Fri, 29 Nov 2002 01:52:01 +0000 (01:52 +0000)]
2002-11-28 Andrew Cagney <
ac131313@redhat.com>
* frame.c (pc_notcurrent): New function.
(find_frame_sal): New function.
* frame.h (find_frame_sal): Declare.
(struct symtab_and_line): Add opaque declaration.
* stack.c (print_frame_info_base): Use find_pc_line instead of
find_frame_sal.
(frame_info): Ditto.
* ada-lang.c (find_printable_frame): Ditto.
Index: tui/ChangeLog
2002-11-28 Andrew Cagney <
ac131313@redhat.com>
* tuiStack.c (tuiShowFrameInfo): Use find_frame_sal instead of
find_pc_line.
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.