OSDN Git Service
brobecke [Thu, 14 Oct 2004 22:34:25 +0000 (22:34 +0000)]
* mips-tdep.c (mips32_scan_prologue): Merge code from
mips32_skip_prologue. Now return the address of the first
instruction past the function prologue.
(mips32_skip_prologue): Remove. No longer necessary.
(mips16_skip_prologue): Add parameter end_pc instead of
computing it.
(mips_skip_prologue): Compute the upper limit for the
prologue scanning. Update call to mips16_skip_prologue.
Replace call to mips32_skip_prologue by call to
mips32_scan_prologue.
kettenis [Thu, 14 Oct 2004 21:08:05 +0000 (21:08 +0000)]
* hppa-tdep.c (hppa_frame_cache): Add support for OpenBSD and
NetBSD system call stubs that store %rp in the ERP slot of the
stack frame.
cagney [Thu, 14 Oct 2004 19:15:24 +0000 (19:15 +0000)]
Fix changelog (but not mine :-)
cagney [Thu, 14 Oct 2004 19:13:23 +0000 (19:13 +0000)]
2004-10-14 Andrew Cagney <cagney@gnu.org>
* gdb.mi/gdb701.c (main): Return 0.
cgf [Thu, 14 Oct 2004 17:35:46 +0000 (17:35 +0000)]
* cygcheck.cc (pretty_id): Correct column calculations. Abort if id is acting
funny.
hjl [Thu, 14 Oct 2004 17:00:15 +0000 (17:00 +0000)]
2004-10-14 H.J. Lu <hongjiu.lu@intel.com>
PR 445
* emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set.
(SMALL_DATA_DTOR): Set.
* emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset.
(SMALL_DATA_DTOR): Unset.
* scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors
after .data. If SMALL_DATA_DTOR is set, move .dtors after
.data.
hjl [Thu, 14 Oct 2004 16:20:47 +0000 (16:20 +0000)]
2004-10-14 H.J. Lu <hongjiu.lu@intel.com>
* ld-scripts/sort.exp: Run for ELF targets only.
pbrook [Thu, 14 Oct 2004 16:04:07 +0000 (16:04 +0000)]
* gas/arm/mapping.d: Pass --special-syms to objdump.
kettenis [Thu, 14 Oct 2004 13:19:24 +0000 (13:19 +0000)]
* source.c: Always define O_BINARY to 0 if not defined already.
(openp): Unconditionally use O_BINARY.
amodra [Thu, 14 Oct 2004 12:54:42 +0000 (12:54 +0000)]
ld/
PR 63
* ldlang.h (lang_output_section_statement_type): Make "next" a
struct lang_output_section_statement_struct *.
(struct orphan_save): Move from elf32.em. Add "name" and "flags".
(lang_output_section_find_by_flags, lang_insert_orphan): Declare.
* ldlang.c (lang_output_section_find_1): Adjust for changed
output_section_statement "next".
(strip_excluded_output_sections): Likewise.
(lang_record_phdrs): Likewise.
(lang_output_section_find_by_flags): New function.
(output_prev_sec_find): Move from pe.em. Adjust iterator.
(lang_insert_orphan): New function. Tail end of elf32.em's
place_orphan merged with that from pe.em. Allow bfd_section to
be placed first. New heuristic for placing new output section
statement in existing script, and accompanying split of __start
symbol alignment into a separate assignment to dot.
(lang_add_section): Consistently use output->bfd_section rather than
an alias, section->output_section.
(map_input_to_output_sections): Rename overly long arg. Move
initialization of data_statement output section to here..
(lang_check_section_addresses): ..from here.
(print_assignment): Correct printing of etree_assert.
(print_all_symbols): Don't bomb if userdata is NULL.
(IGNORE_SECTION): Rearrange.
* emultempl/elf32.em (output_rel_find): Adjust interator.
(output_prev_sec_find): Delete.
(struct orphan_save): Delete.
(gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section
flags without creating a duplicate output section statement.
Revise code holding history of various orphan section placements.
Allow orphan sections to place before script specified output
sections. Call lang_output_section_find_by_flags when placement
by name fails. Use lang_insert_orphan.
* emultempl/mmo.em (output_prev_sec_find): Delete.
(struct orphan_save): Delete.
(mmo_place_orphan): Revise code holding history of orphan placement.
Allow orphans to place before existing output sections. Use
lang_insert_orphan.
* emultempl/pe.em (output_prev_sec_find): Delete.
(struct orphan_save): Delete.
(gld_${EMULATION_NAME}_place_orphan): Revise to suit use of
lang_insert_orphan.
ld/testsuite/
* ld-scripts/overlay-size.d: Update for changed orphan section
placement.
* ld-mmix/bpo-18.d: Likewise.
kettenis [Thu, 14 Oct 2004 12:44:19 +0000 (12:44 +0000)]
* top.c (gdb_readline): Always accept "rn" as a line-ending.
* event-top.c (gdb_readline2): Likewise.
orjanf [Thu, 14 Oct 2004 12:10:23 +0000 (12:10 +0000)]
2004-10-14 Orjan Friberg <orjanf@axis.com>
* cris-tdep.c (_initialize_cris_tdep): Re-add call to
deprecated_add_core_fns which was removed by mistake.
nickc [Thu, 14 Oct 2004 09:36:54 +0000 (09:36 +0000)]
(usage): Fix description of --special-syms switch.
dannysmith [Thu, 14 Oct 2004 07:44:10 +0000 (07:44 +0000)]
* include/sys/stat.h: Make S_ISLNK comment comply with ISO C90.
amodra [Thu, 14 Oct 2004 00:00:14 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 14 Oct 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
kevinb [Wed, 13 Oct 2004 21:40:37 +0000 (21:40 +0000)]
* ia64-linux-nat.c (fill_gregset, fill_fpregset): Replace
references to deprecated_registers[] with equivalent code.
drow [Wed, 13 Oct 2004 19:07:10 +0000 (19:07 +0000)]
* dw2-intercu.S, dw2-intercu.exp: New files.
hjl [Wed, 13 Oct 2004 18:14:39 +0000 (18:14 +0000)]
2004-10-13 H.J. Lu <hongjiu.lu@intel.com>
PR 440
* coffcode.h (coff_compute_section_file_positions): Cast to
bfd_vma when computing page alignment.
mmitchel [Wed, 13 Oct 2004 17:45:27 +0000 (17:45 +0000)]
* elf32-arm.h (elf32_arm_finish_dynamic_sections): Use file
offsets, not VMAs, for DT_VERSYM, DT_VERDEF, DT_VERNEED.
* scripttempl/armbpabi.sc: Do not put .gnu.version.* into a
loadable segment.
kevinb [Wed, 13 Oct 2004 16:38:22 +0000 (16:38 +0000)]
* rs6000-tdep.c (rs6000_push_dummy_call): Replace references to
``deprecated_registers'' with equivalent code. Use gdb_assert()
instead of explicit test and print statement.
kevinb [Wed, 13 Oct 2004 16:38:12 +0000 (16:38 +0000)]
* rs6000-tdep.c (rs6000_push_dummy_call): Replace references to
``deprecated_registers'' with equivalent code. Use gdb_assert()
instead of explicit test and print statement.
jakub [Wed, 13 Oct 2004 14:33:49 +0000 (14:33 +0000)]
* strings.c (statbuf): New typedef.
(file_stat): Define.
(strings_object_file): Avoid using get_file_size, instead do the
checks here, using file_stat.
* configure.in (HAVE_STAT64): New test.
* configure: Rebuilt.
* config.in: Rebuilt.
cgf [Wed, 13 Oct 2004 03:26:31 +0000 (03:26 +0000)]
* select.cc (start_thread_socket): Remove unused code.
mmitchel [Wed, 13 Oct 2004 03:09:27 +0000 (03:09 +0000)]
* elf32-arm.h (elf32_arm_finish_dynamic_symbol): Make .rel.plt
relocations use a virtual address, not a section offset.
amodra [Wed, 13 Oct 2004 02:28:01 +0000 (02:28 +0000)]
PR 44
* ldcref.c (check_section_sym_xref): Delete.
(check_local_sym_xref): New function.
(check_nocrossrefs): Adjust call.
amodra [Wed, 13 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 13 Oct 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 12 Oct 2004 23:44:56 +0000 (23:44 +0000)]
PR 44
* emultempl/pe.em (struct orphan_save): Add os_tail.
(place_orphan): Backport assorted fixes from elf32.em.
dj [Tue, 12 Oct 2004 23:40:02 +0000 (23:40 +0000)]
merge from gcc
2004-10-12 Kelley Cook <kcook@gcc.gnu.org>
* configure.in (*-*-cygwin*): Supress warning if newlib not present.
* configure: Regenerate.
bwilson [Tue, 12 Oct 2004 23:05:29 +0000 (23:05 +0000)]
bfd ChangeLog
* elf32-xtensa.c (elf_xtensa_get_private_bfd_flags): Delete.
(narrow_instruction, widen_instruction): Remove unnecessary calls to
xtensa_format_encode.
(ebb_propose_action): Inline call to ebb_add_proposed_action.
(ebb_add_proposed_action): Delete.
gas ChangeLog
* config/tc-xtensa.c (xtensa_frequency_pseudo): Use set_subseg_freq.
(is_entry_opcode, is_movi_opcode, is_the_loop_opcode, is_jx_opcode,
is_windowed_return_opcode): Delete.
(xtensa_frob_label): Use get_subseg_target_freq.
(md_assemble): Inline call to is_entry_opcode.
(xtensa_handle_align): Inline call to get_frag_is_literal.
(relaxation_requirements): Inline call to is_jx_opcode.
(emit_single_op): Inline call to is_movi_opcode.
(xg_assemble_vliw_tokens): Inline calls to get_frag_is_insn,
get_frag_is_no_transform, is_entry_opcode, and
set_frag_is_specific_opcode. Use get_subseg_total_freq.
(xtensa_fix_a0_b_retw_frags, xtensa_fix_b_j_loop_end_frags,
xtensa_fix_close_loop_end_frags, relax_frag_immed, convert_frag_immed):
Inline calls to get_frag_is_no_transform.
(next_instrs_are_b_retw): Inline call to is_windowed_return_opcode.
(xtensa_fix_short_loop_frags): Inline calls to is_the_loop_opcode and
get_frag_is_no_transform.
(convert_frag_immed_finish_loop): Inline calls to get_expression_value
and set_frag_is_no_transform.
(get_expression_value): Delete.
(subseg_map struct): Rename cur_total_freq to total_freq. Rename
cur_target_freq to target_freq.
(get_subseg_info): Split out code to create a new map entry into ...
(add_subseg_info): ... this new function.
(get_last_insn_flags): Check if get_subseg_info succeeded.
(set_last_insn_flags): Call add_subseg_info if needed.
(get_subseg_total_freq, get_subseg_target_freq, set_subseg_freq): New.
(xtensa_reorder_segments): Compute last_sec while counting sections.
Remove call to get_last_sec.
(get_last_sec): Delete.
(cache_literal_section): Inline call to retrieve_literal_seg and its
callees, seg_present and add_seg_list.
(retrieve_literal_seg, seg_present, add_seg_list): Delete.
(get_frag_is_insn, get_frag_is_no_transform,
set_frag_is_specific_opcode, set_frag_is_no_transform): Delete.
* config/tc-xtensa.h (MAX_SLOTS): Reduce from 31 to 15.
jjohnstn [Tue, 12 Oct 2004 22:49:16 +0000 (22:49 +0000)]
2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
* gdb.threads/schedlock.c: Add comment markers to use to find
line numbers.
* gdb.threads/schedlock.exp: Adjust regex to handle the new
comments.
* gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
breakpoint lines.
kettenis [Tue, 12 Oct 2004 22:18:51 +0000 (22:18 +0000)]
* sparc-nat.c: Include "inf-ptrace.h".
(sparc_target): New function.
* sparc-nat.h: Update copyright year.
(sparc_target): New prototype.
* sparcnbsd-nat.c: Don't include "gdbcore.h", include "target.h".
(_initialize_sparcnbsd_nat): Construct and add target vector.
* sparc64nbsd-nat.c: Include "target.h".
(_initialize_sparc64nbsd_nat): Construct and add target vector.
* Makefile.in (sparc-nat.o, sparcnbsd-nat.o, sparc64nbsd-nat.o):
Update dependencies.
* config/sparc/nbsd64.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o, add inf-ptrace.o.
* config/sparc/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o, add inf-ptrace.o and bsd-kvm.o.
(NAT_FILE): Set to nm-bsd.h.
(LOADLIBES): New variable.
* config/sparc/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and
infarg.o, add inf-ptrace.o.
* config/sparc/nm-nbsdaout.h: Remove file.
* config/sparc/fbsd.mh (NATDEPFILES): Add inf-ptrace.o.
* config/sparc/linux.mh (NATDEPFILES): Add inf-ptrace.o.
* config/sparc/linux64.mh (NATDEPFILES): Add inf-ptrace.o.
cagney [Tue, 12 Oct 2004 19:14:31 +0000 (19:14 +0000)]
2004-10-12 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Versions and Branches): New chapter.
(Releasing GDB): Delete "Versions and Branches" section.
(Top): Add "Versions and Branches".
bwilson [Tue, 12 Oct 2004 18:33:09 +0000 (18:33 +0000)]
bfd ChangeLog
* elf32-xtensa.c: Use ISO C90 formatting.
gas ChangeLog
* config/tc-xtensa.c: Use ISO C90 formatting.
* config/tc-xtensa.h: Likewise.
* config/xtensa-istack.h: Likewise.
* config/xtensa-relax.c: Likewise.
* config/xtensa-relax.h: Likewise.
ld ChangeLog
* emultempl/xtensaelf.em: Use ISO C90 formatting.
opcodes ChangeLog
* xtensa-dis.c: Use ISO C90 formatting.
rearnsha [Tue, 12 Oct 2004 16:13:00 +0000 (16:13 +0000)]
Fix date and paste errors.
drow [Tue, 12 Oct 2004 15:55:04 +0000 (15:55 +0000)]
* gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
pbrook [Tue, 12 Oct 2004 14:51:40 +0000 (14:51 +0000)]
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Rephrase error
message.
drow [Tue, 12 Oct 2004 14:41:42 +0000 (14:41 +0000)]
* configure.in: Add gdb.dwarf2.
* configure: Regenerated.
* Makefile.in: Add gdb.dwarf2.
* gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
gdb.dwarf2/file1.txt: New files.
pbrook [Tue, 12 Oct 2004 14:16:57 +0000 (14:16 +0000)]
2004-10-12 Paul Brook <paul@codesourcery.com>
bfd/
* elf32-arm.h: Support EABI version 4 objects.
binutils/
* readelf.c (decode_ARM_machine_flags): Support EABI version 4.
gas/
* config/tc-arm.c (md_begin): Change EF_ARM_EABI_VER3 to
EF_ARM_EABI_VER4.
(arm_eabis): Ditto.
* doc/c-arm.texi: Document that we actually support -meabi=4, not
-meabi=3.
include/
* elf/arm.h (EF_ARM_EABI_VER4): Define.
kettenis [Tue, 12 Oct 2004 10:06:08 +0000 (10:06 +0000)]
* defs.h [!FOPEN_RB]: Include "fopen-bin.h" instead of
"fopen-same.h". Update comment.
amodra [Tue, 12 Oct 2004 08:13:45 +0000 (08:13 +0000)]
PR 325
* cpu-i386.c (bfd_x86_64_arch_intel_syntax): Place last in chain.
Don't mark as default.
(bfd_x86_64_arch): Don't mark as default.
amodra [Tue, 12 Oct 2004 02:27:50 +0000 (02:27 +0000)]
* elflink.c (enum action_discarded): New.
(elf_section_complain_discarded): Delete.
(elf_action_discarded): New function subsuming the above and also
controlling reloc behaviour.
(elf_link_input_bfd): Use it.
amodra [Tue, 12 Oct 2004 00:00:18 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 12 Oct 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
kettenis [Mon, 11 Oct 2004 20:03:52 +0000 (20:03 +0000)]
* i386gnu-nat.c: Include "gdb_string.h".
(fetch_fpregs): Use i387_supply_fxsave to fill the floating-point
registers when the floating-point state isn't initialized.
* Makefile.in (i386gnu-nat.o): Update dependencies.
bwilson [Mon, 11 Oct 2004 16:39:33 +0000 (16:39 +0000)]
* doc/as.texinfo (VTableEntry, VTableInherit): Add "directive" to index
entries.
(Acknowledgements): Use "GAS" instead of AS variable.
davea [Mon, 11 Oct 2004 16:35:27 +0000 (16:35 +0000)]
2004-10-11 David Anderson <davea@sgi.com>
* regcache.c (regcache_raw_read): Comment was missing "to".
Extraneous ' removed.
* gdb_thread_db.h (struct td_thrinfo): ti_lid field
comment now describes use.
cgf [Mon, 11 Oct 2004 15:36:12 +0000 (15:36 +0000)]
* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Revert previous checkin.
orjanf [Mon, 11 Oct 2004 15:02:17 +0000 (15:02 +0000)]
2004-10-11 Orjan Friberg <orjanf@axis.com>
* cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start)
(cris_sigcontext_addr, cris_sigtramp_frame_unwind_cache)
(cris_sigtramp_frame_this_id, cris_sigtramp_frame_prev_register)
(cris_sigtramp_frame_sniffer): New functions.
(cris_gdbarch_init): Hook in signal trampoline unwinder.
(cris_dwarf2_reg_to_regnum, cris_dwarf2_frame_init_reg): New functions.
(cris_gdbarch_init): Hook in Dwarf-2 unwinder.
(struct gdbarch_tdep, set_cris_dwarf2_cfi, cris_dump_tdep)
(cris_gdbarch_init, _initialize_cris_tdep): Add CRIS Dwarf-2 CFI usage
command.
(cris_version_update): Remove, replace with ...
(set_cris_version): New function.
(struct gdbarch_tdep, cris_mode, cris_mode_update)
(cris_cannot_store_register, cris_dump_tdep, cris_gdbarch_init)
(_initialize_cris_tdep): Remove CRIS mode command.
(cris_fpless_backtrace, _initialize_cris_tdep): Remove CRIS command for
framepointer-less backtrace.
(cris_scan_prologue): Fix prologue scanning limit.
(cris_register_type): Update to reflect actual registers.
(cris_register_bytes_ok) Remove.
(cris_gdbarch_init): Remove support for CRIS v8 and v9. Remove
set_gdbarch_deprecated_register_size,
set_gdbarch_deprecated_register_byte, set_gdbarch_register_bytes_ok.
jakub [Mon, 11 Oct 2004 14:42:29 +0000 (14:42 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid
getline for portability.
jakub [Mon, 11 Oct 2004 14:12:08 +0000 (14:12 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure.
(gld${EMULATION_NAME}_parse_ld_so_conf,
gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions.
(gld${EMULATION_NAME}_check_ld_so_conf): Use them.
jakub [Mon, 11 Oct 2004 13:48:32 +0000 (13:48 +0000)]
* elf.c (bfd_section_from_shdr): Handle SHT_GNU_LIBLIST.
(special_sections): Add .gnu.liblist and .gnu.conflict.
(assign_section_numbers): Handle SHT_GNU_LIBLIST.
amodra [Mon, 11 Oct 2004 13:28:56 +0000 (13:28 +0000)]
PR 233
* elflink.c (elf_link_input_bfd): Try harder to support
relocations against symbols in removed linkonce sections.
orjanf [Mon, 11 Oct 2004 12:22:31 +0000 (12:22 +0000)]
2004-10-11 Orjan Friberg <orjanf@axis.com>
* gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
of "run", since the latter doesn't work with remote targets. Adjust
the breakpoint numbering accordingly.
* gdb.threads/pthread_cond_wait.exp: Ditto.
amodra [Mon, 11 Oct 2004 09:17:12 +0000 (09:17 +0000)]
* elflink.c (elf_link_input_bfd): Revert PR 354 change.
amodra [Mon, 11 Oct 2004 08:18:42 +0000 (08:18 +0000)]
* objdump.c (dump_symbols): Fix thinko last change. Improve error
messages.
dannysmith [Mon, 11 Oct 2004 07:20:25 +0000 (07:20 +0000)]
2004-10-11 Robert Wruck <wruck@tweerlei.de>
* include/ddk/winddk.h (IoReleaseRemoveLockAndWait): Fix
definition
(IoReleaseRemoveLock): Add definition.
cagney [Mon, 11 Oct 2004 05:26:24 +0000 (05:26 +0000)]
2004-10-10 Andrew Cagney <cagney@gnu.org>
* ada-lang.c (lim_warning): Add ATTR_FORMAT prototype and FIXME
comment.
amodra [Mon, 11 Oct 2004 04:54:26 +0000 (04:54 +0000)]
PR 354
* elflink.c (elf_link_input_bfd): Check that relocs in SEC_ALLOC
sections do not reference symbols in non-SEC_ALLOC sections.
amodra [Mon, 11 Oct 2004 02:40:47 +0000 (02:40 +0000)]
PR 423
* ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are
rejected when linking statically.
cgf [Mon, 11 Oct 2004 02:27:43 +0000 (02:27 +0000)]
minor change
brobecke [Mon, 11 Oct 2004 02:27:13 +0000 (02:27 +0000)]
* mips-tdep.c (mips16_scan_prologue): Remove redundant code.
cgf [Mon, 11 Oct 2004 02:21:30 +0000 (02:21 +0000)]
* cygtls.h (exitsock): New element.
(exitsock_sin): Ditto.
* cygtls.cc (_cygtls::init_thread): Initialize exitsock to invalid handle.
(_cygtls::call2): Close exitsock if it is valid.
* select.cc (struct socketinf): Remove sin element.
(start_thread_socket): Initialize one SOCK_DGRAM socket per thread instead of
(apparently) expensive opening and closing of socket with each select call.
(socket_cleanup): Send a byte to the exitsock socket as a way to potentially
signal a waiting-for-socket thread to exit.
* tlsoffsets.h: Regenerate.
brobecke [Mon, 11 Oct 2004 02:17:52 +0000 (02:17 +0000)]
* mips-tdep.c (mips16_scan_prologue): Renames
mips16_heuristic_proc_desc. Update comment.
(mips32_scan_prologue): Renames mips32_heuristic_proc_desc.
(heuristic_proc_desc): Update calls to the 2 functions above.
brobecke [Mon, 11 Oct 2004 02:04:22 +0000 (02:04 +0000)]
* mips-tdep.c (mips_insn16_frame_cache): Remove unused variables.
Update comments. Also immediately return empty cache when the start
address of our function could not be found.
(mips_insn32_frame_cache): Likewise.
amodra [Mon, 11 Oct 2004 01:13:10 +0000 (01:13 +0000)]
PR 437
* elflink.c (elf_link_sort_relocs): Don't bomb on unusual sections.
(_bfd_elf_link_omit_section_dynsym): Formatting.
brobecke [Mon, 11 Oct 2004 01:00:57 +0000 (01:00 +0000)]
* mips-tdep.c (mips16_decode_reg_save): Delete, no longer used.
(mips_insn16_frame_cache): Pass frame cache in call to
heuristic_proc_desc. Move some code to mips16_heuristic_proc_desc.
Remove code that became redundant as a consequence.
(mips32_heuristic_proc_desc): No longer compute a fake
procedure descriptor. Compute the full frame cache instead.
Some minor comment reformatting.
amodra [Mon, 11 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 11 Oct 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
jimb [Sun, 10 Oct 2004 22:15:37 +0000 (22:15 +0000)]
* MAINTAINERS (generic symtabs, dwarf readers, elf reader, stabs
reader, tracing bytecode stuff): Remove self.
kettenis [Sun, 10 Oct 2004 19:50:58 +0000 (19:50 +0000)]
* sparc64-linux-tdep.c: Update copyright year. Don't include
"solib-svr4.h".
(sparc64_linux_svr4_fetch_link_map_offsets): Remove function.
(sparc64_linux_init_abi): Don't set solib_svr4_link_map_offsets.
* Makefile.in (sparc64-linux-tdep.o): Update dependencies.
cgf [Sun, 10 Oct 2004 18:57:15 +0000 (18:57 +0000)]
Remove unneeded directory.
kettenis [Sun, 10 Oct 2004 17:56:11 +0000 (17:56 +0000)]
* sparc-linux-tdep.c: Update copyright year.
(sparc_linux_sigtramp_start): Change first argument from CORE_ADDR
to struct frame_info *. Use safe_frame_unwind_memory instead of
deprecated_read_memory_nobpt.
(sparc32_linux_sigtramp_start, sparc32_linux_rt_sigtramp_start):
Change argumen from CORE_ADDR to struct frame_info *. Adjust for
changed signature of sparc_linux_sigtramp_start.
(sparc32_linux_pc_in_sigtramp): Remove function.
(sparc32_linux_sigtramp_p): New function.
(sparc32_linux_sigtramp_frame_sniffer): Use
sparc32_linux_sigtramp_p instead of sparc32_linux_pc_in_sigtramp.
cgf [Sun, 10 Oct 2004 17:07:23 +0000 (17:07 +0000)]
* cygcheck.cc (add_path): Don't leak memory when path is already in ``paths''.
kettenis [Sun, 10 Oct 2004 16:25:15 +0000 (16:25 +0000)]
* sparc-linux-tdep.c (sparc32_linux_svr4_fetch_link_map_offsets):
Remove function.
(sparc32_linux_init_abi): Don't set solib_svr4_link_map_offsets.
kettenis [Sun, 10 Oct 2004 16:03:20 +0000 (16:03 +0000)]
* ada-lang.c (lim_warning): Re-implement as a varargs function.
(decode_packed_array_type, value_subscript_packed)
(ada_evaluate_subexp, to_fixed_range_type): Remove redundant
argument in call to lim_warning.
kettenis [Sun, 10 Oct 2004 15:55:47 +0000 (15:55 +0000)]
* configure.in: Really disable the TUI if an enhanced curses
library isn't found.
* configure: Regenerate.
amodra [Sun, 10 Oct 2004 13:58:04 +0000 (13:58 +0000)]
* libbfd-in.h (BFD_ASSERT, BFD_FAIL): Wrap macro body in do while.
* libbfd.h: Regnerate.
* elf32-cris.c: Add missing semicolon to BFD_ASSERTs.
* elf32-frv.c: Likewise.
* elf32-m32r.c: Likewise.
* elf32-ppc.c: Likewise.
* elf64-hppa.c: Likewise.
* elfxx-ia64.c: Likewise.
* opncls.c: Likewise.
amodra [Sun, 10 Oct 2004 13:01:56 +0000 (13:01 +0000)]
* elf-bfd.h (struct eh_frame_hdr_info): Add offsets_adjusted.
* elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Adjust
offsets stored in struct eh_cie_fde entries before doing other
work.
amodra [Sun, 10 Oct 2004 07:58:06 +0000 (07:58 +0000)]
* elf-bfd.h (struct eh_cie_fde): Add cie_inf, remove sec.
(struct eh_frame_hdr_info): Add last_cie_inf, remove last_cie_offset.
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Delete code
setting offsets for removed CIEs. Don't set "sec", instead set
cie_inf for FDEs. Keep a pointer to last struct eh_cie_fde for a
CIE in hdr_info. Only set make_relative and make_lsda_relative
for CIEs. Use pointers rather than array indices.
(_bfd_elf_eh_frame_section_offset): Test/set make_relative,
make_lsda_relative, need_* on cie_inf for FDEs.
(_bfd_elf_write_section_eh_frame): Adjust offset and new_offset for
section output_offset. Delete cie_offset, instead use cie_inf
pointer to CIE entry. Use need_relative and need_lsda_relative on
CIE entry for FDEs. Use pointers rather than array indices.
dannysmith [Sun, 10 Oct 2004 07:14:03 +0000 (07:14 +0000)]
* include/ddk/winnt4.h (Exi386InterlockedDecrementLong,
Exi386InterlockedExchangeUlong, Exi386InterlockedIncrementLong);
Add prototypes.
* include/winddk.h (ExInterlockedAddUlong,
ExInterlockedInsertHeadList, ExInterlockedInsertTailList,
ExInterlockedRemoveHeadList, ExInterlockedPopEntryList,
ExInterlockedPushEntryList): Change calling convention to
DDKAPI.
(ExfInterlockedAddUlong,ExInterlockedInsertHeadList,
ExInterlockedInsertTailList, ExInterlockedRemoveHeadList,
ExInterlockedPopEntryList, ExInterlockedPushEntryList):
Add prototypes for DDKFASTAPI versions.
Thanks to Vadim Yegor0v <zg at bmg dot lv> for report.
* lib/ntoskrnl.def (ExInterlockedAddUlong,
ExInterlockedInsertHeadList, ExInterlockedInsertTailList,
ExInterlockedRemoveHeadList, ExInterlockedPopEntryList,
ExInterlockedPushEntryList): Remove lead '@' from stubs.
(ExfInterlockedAddUlong,ExfInterlockedInsertHeadList,
ExfInterlockedInsertTailList, ExfInterlockedRemoveHeadList,
ExfInterlockedPopEntryList, ExfInterlockedPushEntryList):
Add fastcall stubs.
(Exi386InterlockedDecrementLong, Exi386InterlockedExchangeUlong,
Exi386InterlockedIncrementLong); Add stdcall stubs.
amodra [Sun, 10 Oct 2004 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 10 Oct 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Sat, 9 Oct 2004 23:19:38 +0000 (23:19 +0000)]
* cygcheck.cc (dump_sysinfo): Warn about trailing (back)slash on mount entries.
cgf [Sat, 9 Oct 2004 23:15:36 +0000 (23:15 +0000)]
* cygcheck.cc (dump_sysinfo): Don't warn about empty path components, just
display ``.''.
kettenis [Sat, 9 Oct 2004 09:45:47 +0000 (09:45 +0000)]
* config/i386/nbsdaout.mh (NAT_FILE): Set to solib.h.
* config/i386/nbsdelf.mh (NAT_FILE): Set to solib.h.
* config/i386/nm-nbsdaout.h: Remove file.
* config/i386/nm-fbsd.h (link_object, lo_name, lo_library)
(lo_unused, lo_major, lo_minor, lo_next, link_map, lm_addr)
(lm_name, lm_next, lm_lop, lm_lob, lm_rwt, lm_ld, lm_lpd)
(link_dynamic_2, ld_loaded, ld_need, ld_rules, ld_got, ld_plt)
(ld_rel, ld_hash, ld_stab, ld_stab_hash, ld_buckets, ld_symbols)
(ld_symb_size, ld_text, ld_plt_sz, rtc_symb, rtc_sp, rtc_next)
(ld_debug, ldd_version, ldd_in_debugger, ldd_sym_loaded)
(ldd_bp_addr, ldd_bp_inst, ldd_cp, link_dynamic, ld_version)
(ldd, ld_un, ld_2): Remove defines.
* config/i386/nm-obsd.h: Likewise.
hilfingr [Sat, 9 Oct 2004 04:56:47 +0000 (04:56 +0000)]
ada-lex.l: Remove useless rule whose right-context clause
causes unreferenced static function warning for yyrealloc.
(ada_flex_use): Remove the artificial reference to yyrealloc.
amodra [Sat, 9 Oct 2004 02:51:29 +0000 (02:51 +0000)]
* coff-rs6000.c (rs6000coff_vec): Add initializer for
bfd_is_target_special_symbol.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.
* som.c (som_bfd_is_target_special_symbol): Define.
amodra [Sat, 9 Oct 2004 01:21:02 +0000 (01:21 +0000)]
* ppc-opc.c: Revert 2004-09-09 change.
amodra [Sat, 9 Oct 2004 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 9 Oct 2004 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
cagney [Fri, 8 Oct 2004 20:29:38 +0000 (20:29 +0000)]
2004-10-08 Andrew Cagney <cagney@gnu.org>
* target.h (struct target_ops): Rename to_xfer_memory to
deprecated_xfer_memory.
* target.c: Update.
(deprecated_debug_xfer_memory): Rename debug_to_xfer_memory.
* wince.c: Update.
* win32-nat.c: Update.
* v850ice.c: Update.
* uw-thread.c: Update.
* thread-db.c: Update.
* sol-thread.c: Update.
* remote.c: Update.
* remote-vx.c: Update.
* remote-st.c: Update.
* remote-sim.c: Update.
* remote-sds.c: Update.
* remote-rdp.c: Update.
* remote-rdi.c: Update.
* remote-mips.c: Update.
* remote-m32r-sdi.c: Update.
* remote-e7000.c: Update.
* procfs.c: Update.
* ppc-bdm.c: Update.
* nto-procfs.c: Update.
* monitor.c: Update.
* linux-nat.c: Update.
* inftarg.c: Update.
* hpux-thread.c: Update.
* go32-nat.c: Update.
* gnu-nat.c: Update.
* exec.c: Update.
* corelow.c: Update.
* bsd-kvm.c: Update.
* aix-thread.c: Update.
cagney [Fri, 8 Oct 2004 19:51:13 +0000 (19:51 +0000)]
2004-10-08 Andrew Cagney <cagney@gnu.org>
* target.c (debug_target): Move to near start of file.
(target_stopped_data_address_p): Re-org logic, add casts.
kettenis [Fri, 8 Oct 2004 19:49:29 +0000 (19:49 +0000)]
* solib-sunos.c [HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS] (link_map)
(lm_addr, lm_name, lm_next, link_dynamic_2, ld_loaded, rtc_symb)
(rtc_sp, rtc_next, ld_debug, ldd_in_debugger, ldd_bp_addr)
(ldd_bp_inst, ldd_cp, link_dynamic, ld_version, ldd, ld_un, ld_2):
New defines.
bwilson [Fri, 8 Oct 2004 19:20:11 +0000 (19:20 +0000)]
Add David Heine and Sterling Augustine to previous ChangeLog entry.
eliz [Fri, 8 Oct 2004 19:19:03 +0000 (19:19 +0000)]
(Editing, History): Add cross-references to the
included Readline and History user documentation. Remove
references to the symbol have-readline-appendices which is unused
and undefined.
(History): Fix indexing.
chastain [Fri, 8 Oct 2004 18:19:15 +0000 (18:19 +0000)]
2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/overlays.exp: Update copyright years.
jjohnstn [Fri, 8 Oct 2004 17:40:57 +0000 (17:40 +0000)]
2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/signal.h: If <signal.h> didn't include
this header file, include <signal.h> to account for
applications that take advantage that the two header
files are the same in glibc.
jjohnstn [Fri, 8 Oct 2004 17:30:43 +0000 (17:30 +0000)]
2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
* target.h (to_stopped_data_address): Change prototype to
take a CORE_ADDR pointer and return an int.
* target.c (update_current_target): Change to_stopped_data_address
to match new prototype.
(debug_to_stopped_data_address): Change appropriately.
* breakpoint.c (bpstat_stop_status): Change call to
target_stopped_data_address to use new prototype.
* frv-tdep.c (frv_have_stopped_data_address): New function.
(frv_stopped_data_address): Change to new prototype and
functionality.
* ia64-linux-nat.c (ia64_stopped_data_address): Change to new
prototype and functionality.
(ia64_stopped_by_watchpoint): New function.
* i386-nat.c (i386_stopped_data_address): Change to new
prototype and functionality.
(i386_stopped_by_watchpoint): New function.
* remote.c (remote_stopped_data_address): Change to new prototype
and functionality.
* remote-m32r-sdi.c (m32r_stopped_data_address): Ditto.
* config/frv/tm-frv.h (frv_stopped_data_address): Change prototype.
(STOPPED_BY_WATCHPOINT): Change to use frv_have_stopped_data_address.
* config/i386/nm-i386.h (STOPPED_BY_WATCHPOINT): Change to use
new i386_stopped_by_watchpoint function.
(i386_stopped_by_watchpoint): New prototype.
(i386_stoppped_data_address): Change to new prototype.
* config/ia64/nm-linux.h (STOPPED_BY_WATCHPOINT): Change to use
new ia64_stopped_by_watchpoint function.
(ia64_stopped_by_watchpoint): New prototype.
(ia64_stopped_data_address): Ditto.