binutils-gdb.git
19 years ago * elf.c (assign_file_positions_for_segments): Use maximum of
Alan Modra [Thu, 19 May 2005 06:51:01 +0000 (06:51 +0000)]
* elf.c (assign_file_positions_for_segments): Use maximum of
maxpagesize and section alignment when adjusting initial
segment offset and section offsets.

19 years agogas/
Jan Beulich [Thu, 19 May 2005 06:32:01 +0000 (06:32 +0000)]
gas/
2005-05-19  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (dot_endp): Don't use global symbol for unwind
relocations in unwind section.

gas/testsuite/
2005-05-19  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/reloc-uw.s: New.
* gas/ia64/reloc-uw.d: New.
* gas/ia64/reloc-uw-ilp32.d: New.
* gas/ia64/ia64.exp: Run new test.

19 years ago2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
Kelley Cook [Thu, 19 May 2005 03:50:19 +0000 (03:50 +0000)]
2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>

* accross.m4: Delete file.

19 years ago2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
Kelley Cook [Thu, 19 May 2005 03:18:04 +0000 (03:18 +0000)]
2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>

* Makefile.in:  Regenerate.

19 years ago*** empty log message ***
gdbadmin [Thu, 19 May 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Thu, 19 May 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years agobinutils/ChangeLog
Ben Elliston [Wed, 18 May 2005 22:42:09 +0000 (22:42 +0000)]
binutils/ChangeLog
* readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding
value of DW_ATE_GNU_decimal_float.

include/elf/ChangeLog
* dwarf2.h (enum dwarf_type): Assign DW_ATE_GNU_decimal_float from
the user-defined encoding space pending inclusion in the standard.

19 years ago * bfd/elf32-arm.c: Make all #ifndef OLD_ARM_ABI blocks
Zack Weinberg [Wed, 18 May 2005 16:48:15 +0000 (16:48 +0000)]
* bfd/elf32-arm.c: Make all #ifndef OLD_ARM_ABI blocks
unconditional.
* include/elf/arm.h: Make all #ifndef OLD_ARM_ABI blocks
unconditional, delete all #ifdef OLD_ARM_ABI blocks.

19 years ago2005-05-18 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 18 May 2005 13:41:59 +0000 (13:41 +0000)]
2005-05-18  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (group_signature): Check if the symbol table section is
correct.

19 years ago(md_apply_fix3): Only use the insertion routine if one exists.
Nick Clifton [Wed, 18 May 2005 09:42:13 +0000 (09:42 +0000)]
(md_apply_fix3): Only use the insertion routine if one exists.
Ignore any error messages it may produce, just allow it to perform the insertion.

19 years ago * MAINTAINERS: Undelete v850.
Corinna Vinschen [Wed, 18 May 2005 08:52:21 +0000 (08:52 +0000)]
* MAINTAINERS: Undelete v850.
* Makefile.in: Re-add v850-tdep.o dependencies.
* configure.tgt: Re-add v850.
* v850-tdep.c: Reorder code slightly.  Add register number enumerator.
(struct v850_frame_cache): New structure.
(v850_processor_type_table): Remove. Move functionality into
v850_register_name, v850e_register_name and v850_gdbarch_init.
(v850_register_name): New function.
(v850e_register_name): New function.
(struct prologue_info): Remove definition.
(v850_register_type): New function.
(v850_type_is_scalar): New function.
(v850_use_struct_convention): Align to gcc behaviour.
(v850_handle_prepare): Renamed from handle_prepare. Change third
parameter to struct v850_frame_cache *.
(v850_handle_pushm): Renamed from handle_pushm. Change third parameter
to struct v850_frame_cache *.
(v850_is_save_register): New function to evaluate if a register is
caller-save.
(v850_analyze_prologue): Replace v850_scan_prologue.  Change to support
new frame code.
(v850_init_extra_frame_info): Remove.
(v850_frame_chain): Remove.
(v850_find_callers_reg): Remove.
(v850_skip_prologue): Make static.
(v850_pop_frame): Remove.
(v850_frame_align): New function.
(v850_push_dummy_call): Replace v850_push_arguments.
(v850_push_return_address): Remove.
(v850_extract_return_value): New function.
(v850_store_return_value): New function.
(v850_return_value): New function.
(v850_frame_saved_pc): Remove.
(v850_breakpoint_from_pc): New function.
(v850_alloc_frame_cache): New function.
(v850_fix_call_dummy): Remove.
(v850_frame_cache): New function.
(v850_target_architecture_hook): Remove.
(v850_frame_prev_register): New function.
(v850_frame_this_id): New function.
(v850_frame_unwind): New structure.
(v850_frame_sniffer): New function.
(v850_unwind_sp): New function.
(v850_unwind_pc): New function.
(v850_unwind_dummy_id): New function.
(v850_frame_base_address): New function.
(v850_frame_base): New structure.
(v850_gdbarch_init): New function.
* config/v850/v850.mt: Undelete.  Drop TM_FILE.

19 years agogas/testsuite/
Jan Beulich [Wed, 18 May 2005 06:12:08 +0000 (06:12 +0000)]
gas/testsuite/
2005-05-18  Jan Beulich  <jbeulich@novell.com>

* gas/all/altmacro.s: Parenthesize operand of %.

19 years agoinclude/elf:
Zack Weinberg [Wed, 18 May 2005 05:40:12 +0000 (05:40 +0000)]
include/elf:
* arm.h: Import complete list of official relocation names
and numbers from AAELF.  Define FAKE_RELOCs for old names.
Remove a few old names no longer used anywhere.

bfd:
* elf32-arm.c: Wherever possible, use official reloc names
from AAELF.
(elf32_arm_howto_table, elf32_arm_tls_gd32_howto)
(elf32_arm_tls_ldo32_howto, elf32_arm_tls_ldm32_howto)
(elf32_arm_tls_le32_howto, elf32_arm_tls_ie32_howto)
(elf32_arm_vtinherit_howto, elf32_arm_vtentry_howto)
(elf32_arm_pc11_howto, elf32_arm_thm_pc9_howto, elf32_arm_got_prel)
(elf32_arm_r_howto): Replace with elf32_arm_howto_table_1,
elf32_arm_howto_table_2, and elf32_arm_howto_table_3.
Add many new relocations from AAELF.
(elf32_arm_howto_from_type): Update to match.
(elf32_arm_reloc_map): Add entries for R_ARM_THM_JUMP24,
R_ARM_THM_JUMP11, R_ARM_THM_JUMP19, R_ARM_THM_JUMP8,
R_ARM_THM_JUMP6, R_ARM_GNU_VTINHERIT, and R_ARM_GNU_VTENTRY.
(elf32_arm_reloc_type_lookup): Use elf32_arm_howto_from_type.
(elf32_arm_final_link_relocate): Add support for
R_ARM_THM_JUMP24, R_ARM_THM_JUMP19, R_ARM_THM_JUMP6.  Remove
case entries redundant with default.

* reloc.c: Reorganize ARM relocations.  Add Thumb
assembler-internal relocations BFD_RELOC_ARM_T32_OFFSET_U8,
BFD_RELOC_ARM_T32_OFFSET_IMM, BFD_RELOC_ARM_T32_IMMEDIATE.
Add visible relocations BFD_RELOC_THUMB_PCREL_BRANCH7,
BFD_RELOC_THUMB_BRANCH20, BFD_RELOC_THUMB_BRANCH25.
Delete unused relocations BFD_RELOC_ARM_GOT12, BFD_RELOC_ARM_COPY.
* bfd-in2.h, libbfd.h: Regenerate.

opcodes:
* arm-dis.c (thumb_opcodes): Add disassembly for V6T2 16-bit
instructions.  Adjust disassembly of some opcodes to match
unified syntax.
(thumb32_opcodes): New table.
(print_insn_thumb): Rename print_insn_thumb16; don't handle
two-halfword branches here.
(print_insn_thumb32): New function.
(print_insn): Choose among print_insn_arm, print_insn_thumb16,
and print_insn_thumb32.  Be consistent about order of
halfwords when printing 32-bit instructions.

gas:
* hash.c (hash_lookup): Add len parameter.  All callers changed.
(hash_find_n): New interface.
* hash.h: Prototype hash_find_n.
* sb.c: Include as.h.
(scrub_from_sb, sb_to_scrub, scrub_position): New statics.
(sb_scrub_and_add_sb): New interface.
* sb.h: Prototype sb_scrub_and_add_sb.
* input-scrub.c (input_scrub_include_sb): Use sb_scrub_and_add_sb.

* config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Remove
reference to BFD_RELOC_ARM_GOT12 which is never generated.
* config/tc-arm.c: Rewrite, adding Thumb-2 support.

gas/testsuite:
* gas/arm/arm.exp: Convert all existing "gas_test" tests to
"run_dump_test" tests.  Run more tests unconditionally.  Run new tests.
* gas/arm/arch4t.s, gas/arm/arch6zk.s, gas/arm/arm3.s, gas/arm/arm6.s
* gas/arm/arm7dm.s, gas/arm/bignum1.s, gas/arm/float.s
* gas/arm/immed.s, gas/arm/iwmmxt.s, gas/arm/offset.s, gas/arm/thumb.s:
Adjust to work as a dump test.
* gas/arm/arch4t.d, gas/arm/arch6zk.d, gas/arm/arm3.d, gas/arm/arm6.d
* gas/arm/arm7dm.d, gas/arm/bignum1.d, gas/arm/float.d
* gas/arm/immed.d, gas/arm/iwmmxt.d, gas/arm/offset.d, gas/arm/thumb.d:
New files.

* gas/arm/armv1-bad.l, gas/arm/armv1-bad.s: Remove tests for
diagnostics that don't happen in the first pass anymore.

* gas/arm/iwmmxt-bad.l, gas/arm/r15-bad.l, gas/arm/req.l
* gas/arm/vfp-bad.l:
Update expected diagnostics.
* gas/arm/pic.d: Update expected reloc name.
* gas/arm/thumbv6.d: CPY no longer appears in disassembly.
* gas/arm/r15-bad.s: Avoid two-argument mul.
* gas/arm/req.s: Adjust comments.
* gas/arm/maverick.d, gas/arm/maverick.s: Avoid inappropriate
use of PC.

* gas/arm/macro-1.d, gas/arm/macro1.s
* gas/arm/t16-bad.l, gas/arm/t16-bad.s
* gas/arm/tcompat.d, gas/arm/tcompat.s
* gas/arm/tcompat2.d, gas/arm/tcompat2.s
* gas/arm/thumb32.d, gas/arm/thumb32.s
New test pair.

ld/testsuite:
* ld-arm/mixed-app.d: Adjust expected disassembly a little.

19 years ago2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
Daniel Jacobowitz [Wed, 18 May 2005 03:41:59 +0000 (03:41 +0000)]
2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
    Dennis Brueni  <dennis@slickedit.com>

gdb/
* stack.c (print_frame): In MI mode, output a fullname attribute
with the stack frame.
gdb/doc/
* gdb.texinfo (GDB/MI Breakpoint Table Commands)
(GDB/MI Data Manipulation, GDB/MI Program Control)
(GDB/MI Stack Manipulation): Update examples to include the fullname
attribute in stack frames.
gdb/testsuite/
* gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
* lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.

19 years agoUpdate copyright years for last commit.
Daniel Jacobowitz [Wed, 18 May 2005 01:55:46 +0000 (01:55 +0000)]
Update copyright years for last commit.

19 years ago * Make-common.in (install-common, installdirs): Honor $DESTDIR.
Daniel Jacobowitz [Wed, 18 May 2005 01:54:39 +0000 (01:54 +0000)]
* Make-common.in (install-common, installdirs): Honor $DESTDIR.

19 years ago * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
Daniel Jacobowitz [Wed, 18 May 2005 01:38:46 +0000 (01:38 +0000)]
* gdb.base/shreloc.exp: Use gdb_compile_shlib.  Add support for
IBM's xlc compiler.
* gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
* gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.

19 years agodaily update
Alan Modra [Wed, 18 May 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Wed, 18 May 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * elf.c (_bfd_elf_write_object_contents): Check for non-NULL
Daniel Jacobowitz [Tue, 17 May 2005 19:44:55 +0000 (19:44 +0000)]
* elf.c (_bfd_elf_write_object_contents): Check for non-NULL
elf_shstrtab.
* format.c (bfd_check_format_matches): Set output_has_begun
for both_direction.
* section.c (bfd_set_section_contents): Use bfd_write_p.  Remove
special case for both_direction.

19 years agobinutils/
Daniel Jacobowitz [Tue, 17 May 2005 19:43:52 +0000 (19:43 +0000)]
binutils/
* doc/Makefile.am (config.texi): Don't use $<.
* doc/Makefile.in: Regenerated.
ld/
* Makefile.am (ldver.texi): Don't use $<.
* Makefile.in: Regenerated.
gas/
* doc/Makefile.am (gasver.texi): Don't use $<.
* doc/Makefile.in: Regenerated.

19 years ago * Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Explicitly include
Daniel Jacobowitz [Tue, 17 May 2005 19:41:29 +0000 (19:41 +0000)]
* Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Explicitly include
$(srcdir) before $(BFDDIR)/doc.
* Makefile.in: Regenerated.

19 years ago(group_signature): Check for a group section which is actually a (corrupt)
Nick Clifton [Tue, 17 May 2005 18:08:08 +0000 (18:08 +0000)]
(group_signature): Check for a group section which is actually a (corrupt)
symbol table section in disguise and prevent an infinite loop from occurring.

19 years ago2005-05-17 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 17 May 2005 17:26:27 +0000 (17:26 +0000)]
2005-05-17  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_relax_brl): Undo the change made on
2005-02-16.

19 years ago2005-05-17 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 17 May 2005 17:23:37 +0000 (17:23 +0000)]
2005-05-17  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_relax_br): Keep the original
predicate on slot 0 only if slot 0 isn't br.

19 years agobfd/
H.J. Lu [Tue, 17 May 2005 16:43:02 +0000 (16:43 +0000)]
bfd/

2005-05-17  H.J. Lu  <hongjiu.lu@intel.com>

PR 797
* elf32-i386.c (elf_i386_size_dynamic_sections): Also remove
empty sdynbss section.
* elf64-x86-64.c (elf64_x86_64_size_dynamic_sections): Likewise.

ld/

2005-05-17  H.J. Lu  <hongjiu.lu@intel.com>

PR 797
* ldexp.c (exp_fold_tree_1): Renamed from exp_fold_tree and
take take a bfd_boolean, mark_used. Ignore assert failure if
mark_used is TRUE.
(exp_fold_tree) Call exp_fold_tree_1 with mark_used == FALSE.
(exp_fold_tree_no_dot): Updated to take a bfd_boolean,
mark_used and pass down.
(fold_unary): Likewise.
(fold_binary): Likewise.
(fold_trinary): Likewise.
(exp_binop): Add FALSE to call to exp_fold_tree_no_dot.
(exp_trinop): Likewise.
(exp_unop): Likewise.
(exp_nameop): Likewise.
(exp_get_vma): Likewise.
(exp_get_fill): Likewise.
(exp_get_abs_int): Likewise.
(fold_name): Likewise. Set SEC_KEEP in output section flags.
(exp_mark_used_section): New.

* ldexp.h (exp_mark_used_section): New.

* ldlang.c (lang_output_section_statement_lookup_1): Set the
ignored field to FALSE.
(lang_mark_used_section_1): New.
(lang_mark_used_section): Call lang_mark_used_section_1.
(strip_excluded_output_sections): Call lang_mark_used_section
and check for unused sections.
(lang_size_sections_1): Skip an output section if it should
be ignored.
(lang_do_assignments_1): Likewise.
(lang_process): Don't call lang_mark_used_section here.

* ldlang.h (lang_output_section_statement_type): Change
all_input_readonly to bitfield. Add ignored.

ld/testsuite/

2005-05-17  H.J. Lu  <hongjiu.lu@intel.com>

PR 797
* empty-aligned.d: New file.
* empty-aligned.exp: Likewise.
* empty-aligned.s: Likewise.
* empty-aligned.t: Likewise.

19 years ago(bfd_section_from_shdr): Add sanity check when parsing dynamic sections.
Nick Clifton [Tue, 17 May 2005 16:23:26 +0000 (16:23 +0000)]
(bfd_section_from_shdr): Add sanity check when parsing dynamic sections.

19 years agoIgnore CRs
Nick Clifton [Tue, 17 May 2005 16:08:54 +0000 (16:08 +0000)]
Ignore CRs

19 years agoAdfd entry for patch to symbols.c that was accidentally omitted.
Nick Clifton [Tue, 17 May 2005 15:59:38 +0000 (15:59 +0000)]
Adfd entry for patch to symbols.c that was accidentally omitted.

19 years ago(GENERATE_PIE_SCRIPT): Define as "yes".
Nick Clifton [Tue, 17 May 2005 15:16:55 +0000 (15:16 +0000)]
(GENERATE_PIE_SCRIPT): Define as "yes".

19 years agoldlang.c (print_assignment): Do not rely upon a valid result having a section
Nick Clifton [Tue, 17 May 2005 14:39:18 +0000 (14:39 +0000)]
ldlang.c (print_assignment): Do not rely upon a valid result having a section
  associated with it.
elf32-arm.c (elf32_arm_final_link_relocate): Gracefully handle the situation
  where a symbols's section is not known but a section relative R_ARM_RELATIVE
  reloc has to be generated for the Symbian OS.

19 years ago* ldlang.c (Scan_for_self_assignment): Check an assignment tree to
Nick Clifton [Tue, 17 May 2005 14:35:21 +0000 (14:35 +0000)]
* ldlang.c (Scan_for_self_assignment): Check an assignment tree to
see if the same value is being used on the rhs as on the lhs.
(print_assignment): Call scan_for_self_assignment and if it
returns true, do no display the result of the computation but
instead just the final value of the symbol on the lhs.
* ld.texinfo: Document this behaviour and provide an example of
when it will happen.

19 years ago * configure.ac: Add igen to v850 build.
Corinna Vinschen [Tue, 17 May 2005 14:11:24 +0000 (14:11 +0000)]
* configure.ac: Add igen to v850 build.
* configure: Regenerate.

19 years agogas/
Jan Beulich [Tue, 17 May 2005 14:02:30 +0000 (14:02 +0000)]
gas/
2005-05-17  Jan Beulich  <jbeulich@novell.com>

* read.c (_find_end_of_line): New.
(find_end_of_line): New.
(HANDLE_CONDITIONAL_ASSEMBLY): Use it.
(read_a_source_file): Use it.
(s_globl): Use it.
(s_macro): Use it.
(get_line_sb): Use it.
(s_errwarn): Replace discard_rest_of_line by ignore_rest_of_line.
(s_comm_internal): Likewise.
(s_lsym): Likewise.
(s_macro): Likewise.
(s_ignore): Use ignore_rest_of_line.
* read.h (find_end_of_line): Prototype.
(discard_rest_of_line): Remove prototype. #define to
ignore_rest_of_line.

gas/testsuite/
2005-05-17  Jan Beulich  <jbeulich@novell.com>

* gas/mmix/err-byte1.s: Adjust expected error text on line 10.

19 years ago * elf32-ppc.c (LIS_11. LIS_12): Define.
Alan Modra [Tue, 17 May 2005 13:55:02 +0000 (13:55 +0000)]
* elf32-ppc.c (LIS_11. LIS_12): Define.
(LWZU_0_X_12, LWZ_0_X_12, LWZ_12_4_12, LWZ_12_X_12): Define.
(ppc_elf_finish_dynamic_sections): Provide non-pic plt call stub
for --data-plt when building non-pie executables.

19 years ago* config/tc-v850,h (TC_FIX_TYPE): Define. (TC_INIT_FIX_TYPE): Define.
Nick Clifton [Tue, 17 May 2005 11:56:13 +0000 (11:56 +0000)]
* config/tc-v850,h (TC_FIX_TYPE): Define. (TC_INIT_FIX_TYPE): Define.
* config/tc-v850.c (md_assemble): When creating a fix record the operand in the
    tc_fix_data field.
    (md_apply_fix3): When applying a resolved fix use the operand's insertion
    procedure to store the value, if the operand has been recorded.
* gas/v850/split-lo16.s: Add test for a lo() pseudo reloc corrupting an ld.w
    instruction.
* gas/v850/split-lo16.d: Add expected, correct (ie not corrupt) output.

19 years ago(v850_elf_relocate_section): Move code to test for the presence of a symbol
Nick Clifton [Tue, 17 May 2005 10:22:40 +0000 (10:22 +0000)]
(v850_elf_relocate_section): Move code to test for the presence of a symbol
table to just before the symbol table is actually used.

19 years ago*** empty log message ***
gdbadmin [Tue, 17 May 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Tue, 17 May 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years agomerge from gcc
DJ Delorie [Mon, 16 May 2005 18:02:47 +0000 (18:02 +0000)]
merge from gcc

19 years ago2005-05-16 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 16 May 2005 17:55:55 +0000 (17:55 +0000)]
2005-05-16  H.J. Lu  <hongjiu.lu@intel.com>

PR 834
* elfxx-ia64.c (elfNN_ia64_relax_br): New.
(elfNN_ia64_relax_section): Use it.

19 years agoOops.
Mark Kettenis [Mon, 16 May 2005 16:59:44 +0000 (16:59 +0000)]
Oops.

19 years ago* corelow.c (core_xfer_partial): Change type of readbuf and
Mark Kettenis [Mon, 16 May 2005 16:36:24 +0000 (16:36 +0000)]
* corelow.c (core_xfer_partial): Change type of readbuf and
writebuf to `gdb_byte *'.
* sparc-nat.c (sparc_xfer_wcookie, sparc_xfer_partial): Change
type of readbuf and writebuf to `gdb_byte *'.
* bsd-uthread.c (bsd_uthread_xfer_partial): Change type of readbuf
and writebuf to `gdb_byte *'.
* inf-ptrace.c (inf_ptrace_xfer_partial): Change type of readbuf
and writebuf to `gdb_byte *'.
* bsd-kvm.c (bsd_kvm_xfer_memory): Replace.
(bsd_kvm_xfer_partial): New function.
(bsd_kvm_add_target): Set to_xfer_partial instead of
to_xfer_memory.
* bfd-target.c (target_bfd_xfer_partial): Change type of readbuf
and writebuf to `gdb_byte *'.
* target.c (deprecated_debug_xfer_memory): Remove prototype.
(deprecated_debug_xfer_memory): Change type of second argument to
`gdb_byte *'.
* remote.c (remote_xfer_memory): Remove prototype.
(remote_xfer_memory): Change type of second argument to `gdb_byte
*'.
(remote_xfer_partial): Change type of readbuf and writebuf to
`gdb_byte *'.

19 years ago* config/sparc/fbsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.
Mark Kettenis [Mon, 16 May 2005 13:34:07 +0000 (13:34 +0000)]
* config/sparc/fbsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.
* config/sparc/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o
and solib-legacy.o.
(NAT_FILE): Remove.

19 years ago * s390-tdep.c (s390_return_value): Remove unnecessary casts.
Ulrich Weigand [Mon, 16 May 2005 12:38:09 +0000 (12:38 +0000)]
* s390-tdep.c (s390_return_value): Remove unnecessary casts.
(s390_breakpoint_from_pc): Change type of return value and
'breakpoint' to const gdb_byte *.

19 years ago * s390-tdep.c (s390_pseudo_register_read, s390_pseudo_register_write):
Ulrich Weigand [Mon, 16 May 2005 10:55:03 +0000 (10:55 +0000)]
* s390-tdep.c (s390_pseudo_register_read, s390_pseudo_register_write):
Change type of 'buf' argument to gdb_byte *.
(s390x_pseudo_register_read, s390x_pseudo_register_write): Likewise.
(s390_register_to_value): Change type of 'out' to gdb_byte *, change
type of 'in' to gdb_byte [].
(s390_value_to_register): Change type of 'in' to gdb_byte *, change
type of 'out' to gdb_byte [].
(s390_return_value): Change type of 'out' and 'in' to gdb_byte *.

19 years ago * linux-low.c (fetch_register): Ensure buffer size is a multiple
Ulrich Weigand [Mon, 16 May 2005 10:24:37 +0000 (10:24 +0000)]
* linux-low.c (fetch_register): Ensure buffer size is a multiple
of sizeof (PTRACE_XFER_TYPE).
(usr_store_inferior_registers): Likewise.  Zero out excess bytes.

19 years ago2005-05-16 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 16 May 2005 04:45:43 +0000 (04:45 +0000)]
2005-05-16  Andrew Cagney  <cagney@gnu.org>

* target.h (target_read_partial, target_write_partial)
(do_xfer_memory, xfer_memory, target_read, target_write)
(get_target_memory): For buffers, change "void*" to gdb_byte.
(struct target_ops): Ditto for to_xfer_partial and
deprecated_xfer_memory.
* dcache.h (dcache_xfer_memory): Ditto.
* target.c (default_xfer_partial, target_read_partial)
(target_write_partial, target_read, target_write)
(do_xfer_memory, update_current_target, get_target_memory): Update.
(target_read_string): Change buf to a gdb_byte.
* dcache.c (dcache_xfer_memory): Update.
* exec.c (xfer_memory): Make buffer type to gdb_byte.
* mem-break.c (default_memory_insert_breakpoint): Remove cast.
* disasm.c (dis_asm_read_memory): Remove cast, use gdb_byte.

19 years agoTypo fix.
Ben Elliston [Mon, 16 May 2005 01:03:40 +0000 (01:03 +0000)]
Typo fix.

19 years ago*** empty log message ***
gdbadmin [Mon, 16 May 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Mon, 16 May 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago* sol-thread.c (ignore): Change last argument to `gdb_byte.'
Mark Kettenis [Sun, 15 May 2005 22:13:53 +0000 (22:13 +0000)]
* sol-thread.c (ignore): Change last argument to `gdb_byte.'

19 years ago* config/i386/fbsd.mt (DEPRECATED_TM_FILE): Remove.
Mark Kettenis [Sun, 15 May 2005 22:08:45 +0000 (22:08 +0000)]
* config/i386/fbsd.mt (DEPRECATED_TM_FILE): Remove.
* config/i386/fbsd64.mt (DEPRECATED_TM_FILE): Remove.
* config/i386/nbsd.mt (DEPRECATED_TM_FILE): Remove.
* config/i386/nbsd64.mt (DEPRECATED_TM_FILE): Remove.
* config/sparc/nbsd.mt (DEPRECATED_TM_FILE): Remove.
* config/sparc/nbsd64.mt (DEPRECATED_TM_FILE): Remove.

19 years ago* observer.sh: Quote $DJGPP.
Mark Kettenis [Sun, 15 May 2005 22:05:35 +0000 (22:05 +0000)]
* observer.sh: Quote $DJGPP.

19 years agomerge from gcc
DJ Delorie [Sun, 15 May 2005 18:31:15 +0000 (18:31 +0000)]
merge from gcc

19 years ago./
Daniel Jacobowitz [Sun, 15 May 2005 18:19:45 +0000 (18:19 +0000)]
./
* ylwrap: Import from Automake 1.9.5.
binutils/
* acinclude.m4: Remove obsolete code.
* configure.in: Update AC_PREREQ.
* doc/Makefile.am (binutils_TEXINFOS): Define.
(config.texi): Depend on distributed files instead of built
files.
(binutils.dvi, binutils.info): Remove unnecessary rules.
(DISTCLEANFILES): Remove.
(install-data-local): Renamed from install.
(info-local): Renamed from info.
* Makefile.in, aclocal.m4, config.in, configure,
doc/Makefile.in: Regenerated.
gas/
* Makefile.am (m68k-parse.c, itbl-parse.c): Update ylwrap
invocation.
* Makefile.in: Regenerated.
ld/
* Makefile.am (AM_MAKEINFOFLAGS): Define.
(TEXI2DVI): Define.
(ldver.texi): Depend on distributed files instead of built files.
(ld.info): Include $(srcdir) in the rule target.  Remove actions.
(ld.dvi): Remove actions.
(MAINTAINERCLEANFILES): Add configdoc.texi.
(CONFIG_STATUS_DEPENDENCIES): Add bfd/configure.in.
(install-data-local): Renamed from install.
(Makefile): Remove explicit dependency.
* acinclude.m4: Remove obsolete code.
* configure.in: Update AC_PREREQ.  Remove extra $CONFIG_SHELL.
* Makefile.in, aclocal.m4, config.in, configure: Regenerated.
gdb/
* Makefile.in (.y.c): Update ylwrap invocation.

19 years agomerge from gcc
DJ Delorie [Sun, 15 May 2005 17:25:43 +0000 (17:25 +0000)]
merge from gcc

19 years ago * linux-nat.c (child_follow_fork, linux_handle_extended_wait)
Daniel Jacobowitz [Sun, 15 May 2005 17:00:37 +0000 (17:00 +0000)]
* linux-nat.c (child_follow_fork, linux_handle_extended_wait)
(lin_lwp_attach_lwp, linux_nat_attach, wait_lwp, child_wait)
(linux_nat_wait, kill_wait_callback): Use my_waitpid.
(_initialize_linux_nat, lin_thread_get_thread_signals): Use
SA_RESTART.

19 years agodaily update
Alan Modra [Sun, 15 May 2005 00:00:04 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sun, 15 May 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* configure.tgt (vax-*-openbsd*): Set gdb_target to obsd.
Mark Kettenis [Sat, 14 May 2005 20:21:03 +0000 (20:21 +0000)]
* configure.tgt (vax-*-openbsd*): Set gdb_target to obsd.
* config/vax/obsd.mt (TDEPFILES): New file.

19 years ago* i386-tdep.c (i386_supply_gregset, i386_collect_gregset): Use
Mark Kettenis [Sat, 14 May 2005 19:46:10 +0000 (19:46 +0000)]
* i386-tdep.c (i386_supply_gregset, i386_collect_gregset): Use
gdb_byte instead of bfd_byte.

19 years ago* mips-tdep.c (mips_pseudo_register_read)
Mark Kettenis [Sat, 14 May 2005 19:43:18 +0000 (19:43 +0000)]
* mips-tdep.c (mips_pseudo_register_read)
(mips_pseudo_register_write): Change type of last argument to
`gdb_byte *'.
(mips_register_to_value, mips_value_to_register): Change type of
last argument to `gdb_byte *'.  Remove casts that are no longer
needed.
(mips_fetch_instruction, fetch_mips_16): Use gdb_byte for buf.
(mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
(mips_o32_push_dummy_call, mips_o32_return_value): Use `const
gdb_byte *' for val and gdb_byte for valbuf.  Remove casts that
are no longer needed.
(mips_eabi_return_value, mips_n32n64_return_value)
(mips_o32_return_value, mips_o64_return_value): Change type of
readbuf and writebuf arguments to `gdb_byte *'.
(mips_read_fp_register_single): Change type of last argument to
`gdb_byte *'.  Use `gdb_byte *' for raw_buffer.
(mips_read_fp_register_double): Change type of last argument to
`gdb_byte *'.
(mips_print_fp_register): Use `gdb_byte *' for raw_buffer.  Remove
casts that are no longer needed.
(mips_print_register, print_gp_register_row): Use gdb_byte for
raw_buffer.  Remove casts that are no longer needed.
(mips_single_step_through_delay): Use gdb_byte for buf.
(mips_breakpoint_from_pc): Change return type to `const gdb_byte
*'.  Use gdb_byte for mips16_big_breakpoint, big_breakpoint,
pmon_big_breakpoint, idt_big_breakpoint, mips16_little_breakpoint,
little_breakpoint, pmon_little_breakpoint and
idt_little_breakpoint.
(mips_integer_to_address): Use `gdb_byte *' for tmp.

19 years ago* config/m68k/obsd.mt (DEPRECATED_TM_FILE): Remove.
Mark Kettenis [Sat, 14 May 2005 16:34:53 +0000 (16:34 +0000)]
* config/m68k/obsd.mt (DEPRECATED_TM_FILE): Remove.
* config/i386/obsd.mt (DEPRECATED_TM_FILE): Remove.
* config/i386/obsd64.mt (DEPRECATED_TM_FILE): Remove.
* config/pa/obsd.mt (DEPRECATED_TM_FILE): Remove.
* config/sparc/obsd.mt (DEPRECATED_TM_FILE): Remove.
* config/sparc/obsd64.mt (DEPRECATED_TM_FILE): Remove.

19 years ago* elflink.c (bfd_elf_size_dynamic_sections): Use lbasename instead
Mark Kettenis [Sat, 14 May 2005 13:49:42 +0000 (13:49 +0000)]
* elflink.c (bfd_elf_size_dynamic_sections): Use lbasename instead
of basename.

19 years ago* sparc-tdep.c (sparc_fetch_instruction, sparc_fetch_wcookie): Use
Mark Kettenis [Sat, 14 May 2005 13:45:22 +0000 (13:45 +0000)]
* sparc-tdep.c (sparc_fetch_instruction, sparc_fetch_wcookie): Use
gdb_byte for buf.
(sparc32_pseudo_register_read, sparc32_pseudo_register_write):
Change type of last argument to `gdb_byte *'.  Remove casts that
are no longer needed.
(sparc32_push_dummy_code, sparc32_store_arguments): Use gdb_byte
for buf.
(sparc_breakpoint_from_pc): Change return type to `const gdb_byte
*'.  Use gdb_byte for break_insn.
(sparc32_extract_return_value, sparc32_store_return_value): Change
type of last argument to `gdb_byte *'.  Use gdb_byte for buf.
(sparc32_return_value): Change type of readbuf and writebuf
arguments to `gdb_byte *'.
(sparc_software_single_step): Use gdb_byte for npc_save and
nnpc_save.
(sparc_supply_rwindow, sparc_collect_rwindow): Use gdb_byte for
buf.
(sparc32_supply_gregset, sparc32_collect_gregset)
(sparc32_supply_fpregset, sparc32_collect_fpregset): Use `gdb_byte
*' for regs.
* sparc64-tdep.c (sparc64_pseudo_register_read)
(sparc64_pseudo_register_write): Change type of last argument to
`gdb_byte *'.  Remove casts that are no longer needed.
(sparc64_store_floating_fields, sparc64_extract_floating_fields):
Change type of valbuf argument to `gfd_byte *'.
(sparc64_store_arguments): Use `gdb_byte *' for valbuf.  use
gdb_byte for buf.
(sparc64_extract_return_value, sparc64_store_return_value): Change
type of last argument to `gdb_byte *'.  Use gdb_byte for buf.
(sparc64_return_value): Change type of readbuf and writebuf
arguments to `gdb_byte *'.
(sparc64_supply_gregset, sparc64_collect_gregset)
(sparc64_supply_fpregset, sparc64_collect_fpregset): Use `gdb_byte
*' for regs.

19 years ago* m68k-tdep.c (m68k_local_breakpoint_from_pc): Change return type
Mark Kettenis [Sat, 14 May 2005 13:14:00 +0000 (13:14 +0000)]
* m68k-tdep.c (m68k_local_breakpoint_from_pc): Change return type
to `const gdb_byte *'.  Use gdb_byte for break_insn.
(m68k_register_to_value): Change type of last argument to
`gdb_byte *'.  Use gdb_byte for from.
(m68k_value_to_register): Change type of last argument to
`gdb_byte *'.  Use gdb_byte for to.
(m68k_extract_return_value): Change type of last argument to
`gdb_byte *'.  Use gdb_byte for buf.  Remove unnecessary cast.
(m68k_svr4_extract_return_value): Change type of last argument to
`gdb_byte *'.  Use gdb_byte for buf.
(m68k_store_return_value): Change type of last argument to
`gdb_byte *'.  Remove unnecessary cast.
(m68k_svr4_store_return_value): Change type of last argument to
`gdb_byte *'.  Use gdb_byte for buf.
(m68k_return_value, m68k_svr4_return_value): Change type of
readbuf and writebuf arguments to `gdb_byte *'.
(m68k_push_dummy_call, m68k_unwind_pc, m68k_frame_cache)
(m68k_unwind_dummy_id): Use gdb_byte for buf.
(m68k_get_longjmp_target): Use `gdb_byte *' for buf.
* m68kbsd-tdep.c (m68kbsd_supply_fpregset)
(m68kbsd_supply_gregset): Use `gdb_byte *' for regs.

19 years ago* m88k-tdep.c (m88k_breakpoint_from_pc): Change return type to
Mark Kettenis [Sat, 14 May 2005 11:50:36 +0000 (11:50 +0000)]
* m88k-tdep.c (m88k_breakpoint_from_pc): Change return type to
`const gdb_byte *'.  Use gdb_byte for break_insn.
(m88k_return_value): Change type of readbuf and
writebuf arguments to `gdb_byte *'.  Use gdb_byte for buf.
(m88k_supply_gregset): Use `gdb_byte *' for regs.

19 years ago* vax-tdep.c (vax_return_value): Change type of readbuf and
Mark Kettenis [Sat, 14 May 2005 11:34:43 +0000 (11:34 +0000)]
* vax-tdep.c (vax_return_value): Change type of readbuf and
writebuf arguments to `gdb_byte *'.

19 years ago* amd64-tdep.c (amd64_return_value): Change type of readbuf and
Mark Kettenis [Sat, 14 May 2005 11:27:03 +0000 (11:27 +0000)]
* amd64-tdep.c (amd64_return_value): Change type of readbuf and
writebuf arguments to `gdb_byte *'.  Remove now redundant casts.
* i386-tdep.c (i386_return_value): Change type of readbuf and
writebuf arguments to `gdb_byte *'.
(i386_pseudo_register_read, i386_pseudo_register_write): Change
type of last argument to `gdb_byte *'.
(i386_register_to_value, i386_value_to_register): Change type of
last argument to `gdb_byte *'.  Simplify function a bit.
* i387-tdep.h (i387_value_to_register, i387_register_to_value):
Change type of last argument to `gdb_byte *'.
* i387-tdep.c: Likewise.

19 years agoRemove XM_FILE.
Eli Zaretskii [Sat, 14 May 2005 10:13:23 +0000 (10:13 +0000)]
Remove XM_FILE.

19 years ago2005-05-13 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sat, 14 May 2005 06:07:42 +0000 (06:07 +0000)]
2005-05-13  Andrew Cagney  <cagney@gnu.org>

* gdbarch.sh (pseudo_register_read, pseudo_register_write)
(value_to_register, register_to_value, pointer_to_address)
(address_to_pointer, return_value, extract_return_value)
(store_return_value): Instead of a void pointer, use gdb_byte.
* gdbarch.h, gdbarch.c: Regenerate.
* inferior.h (unsigned_address_to_pointer)
(signed_pointer_to_address, address_to_signed_pointer)
(unsigned_pointer_to_address): Update.
* arch-utils.h (legacy_return_value):
* arch-utils.c (legacy_extract_return_value)
(legacy_return_value): Update.
* findvar.c (unsigned_pointer_to_address)
(signed_pointer_to_address, unsigned_address_to_pointer)
(address_to_signed_pointer): Update.

19 years agoinclude/elf/
Alan Modra [Sat, 14 May 2005 05:07:20 +0000 (05:07 +0000)]
include/elf/
* ppc.h (DT_PPC_GOT): Rename from DT_PPC_GLINK.
bfd/
* elf32-ppc.c (ppc_elf_size_dynamic_sections): Set DT_PPC_GOT,
not DT_PPC_GLINK.
(ppc_elf_finish_dynamic_sections): Likewise.
binutils/
* readelf.c (get_ppc_dynamic_type): Display DT_PPC_GOT, not
DT_PPC_GLINK.

19 years ago 2005-05-13 Fred Fish <fnf@specifixinc.com>
Fred Fish [Sat, 14 May 2005 01:38:14 +0000 (01:38 +0000)]
2005-05-13  Fred Fish  <fnf@specifixinc.com>
* readelf.c: Fix a couple of obvious comment typos,
'debug_str' -> 'debug_ranges' and proecess' -> 'process'.

19 years agoFix obvious typo in comment.
Fred Fish [Sat, 14 May 2005 01:31:32 +0000 (01:31 +0000)]
Fix obvious typo in comment.

2005-05-13  Fred Fish  <fnf@specifixinc.com>
* libbfd-in.h: Fix a comment typo, 'neaderst' -> 'nearest'
* libbfd.h: Rebuilt.

19 years ago * elf32-xtensa.c (xtensa_get_property_section_name): Add missing
Bob Wilson [Sat, 14 May 2005 00:26:06 +0000 (00:26 +0000)]
* elf32-xtensa.c (xtensa_get_property_section_name): Add missing
periods in linkonce_kind values.

19 years agodaily update
Alan Modra [Sat, 14 May 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sat, 14 May 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-05-13 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 13 May 2005 18:35:55 +0000 (18:35 +0000)]
2005-05-13  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (dump_ia64_unwind): Get stamp with proper size.

19 years agoRevert accidentally committed change.
Jim Blandy [Fri, 13 May 2005 17:37:43 +0000 (17:37 +0000)]
Revert accidentally committed change.

19 years ago* gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
Jim Blandy [Fri, 13 May 2005 17:36:43 +0000 (17:36 +0000)]
* gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
calling gdb_suppress_entire_file.
* gdb.base/charset.exp: Same.
* gdb.base/call-rt-st.exp: Same.

19 years ago * config/tc-xtensa.c (xtensa_insnbuf_set_operand): Clarify error
Bob Wilson [Fri, 13 May 2005 17:35:17 +0000 (17:35 +0000)]
* config/tc-xtensa.c (xtensa_insnbuf_set_operand): Clarify error
message.
(xtensa_mark_zcl_first_insns): Fix incorrect nesting of conditional
for handling RELAX_CHECK_ALIGN_NEXT_OPCODE.

19 years ago2005-05-13 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Fri, 13 May 2005 15:17:37 +0000 (15:17 +0000)]
2005-05-13  Orjan Friberg  <orjanf@axis.com>

* cris-tdep.c (_initialize_cris_tdep): Improve help strings for
cris-version, cris-mode, and cris-dwarf2-cfi settings.

19 years ago2005-05-13 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Fri, 13 May 2005 12:26:54 +0000 (12:26 +0000)]
2005-05-13  Orjan Friberg  <orjanf@axis.com>

* cris-tdep.c (usr_cmd_cris_version): Change type to int.
(cris_mode_normal, cris_mode_guru, cris_modes, usr_cmd_cris_mode): Add.
(struct gdbarch_tdep): Change type of cris_version to int.  Add
cris_mode.
(cris_mode, set_cris_mode): New functions.
(crisv32_single_step_through_delay): Read from NRP register instead
of ERP register in guru mode.
(cris_breakpoint_from_pc): Rename break_insn to break8_insn.
Add break15_insn, returned in guru mode.
(_initialize_cris_tdep): Add call to add_setshow_enum_cmd for new
cris-mode setting.
(cris_dump_tdep): Add dump of cris_mode.
(cris_gdbarch_init): Add cris_mode to search criteria for architecture.
Register the sigtramp frame sniffer only if not in guru mode.

19 years agoUpdate the address and telephone number of the FSF organization
Nick Clifton [Fri, 13 May 2005 08:04:31 +0000 (08:04 +0000)]
Update the address and telephone number of the FSF organization

19 years agodaily update
Alan Modra [Fri, 13 May 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Fri, 13 May 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Eli Zaretskii [Thu, 12 May 2005 21:38:38 +0000 (21:38 +0000)]
*** empty log message ***

19 years ago* sol-thread.c: Include "solib.h".
Mark Kettenis [Thu, 12 May 2005 21:36:08 +0000 (21:36 +0000)]
* sol-thread.c: Include "solib.h".
(sol_thread_attach): Use solib_add instead of SOLIB_ADD.
* Makefile.in (sol-thread.o): Update dependencies.

19 years ago * Makefile.in (go32-nat.o): Add $(top_h) to prerequisites.
Eli Zaretskii [Thu, 12 May 2005 21:23:17 +0000 (21:23 +0000)]
* Makefile.in (go32-nat.o): Add $(top_h) to prerequisites.

* go32-nat.c: Include top.h.  Update copyright years.
(init_go32_ops): Override the default value of gdbinit[] with
"gdb.ini".

* cli/cli-cmds.c (init_cli_cmds): Use gdbinit[] instead of a
compile-time literal string GDBINIT_FILENAME.

* top.c (PATH_MAX): Define if not defined.
(gdbinit): Declare with a constant size PATH_MAX.

* config/i386/go32.mh (XM_FILE): Remove.

* config/i386/xm-go32.h: Remove file.

19 years ago* NEWS: Mention OpenBSD/mips64 as a new native configuration.
Mark Kettenis [Thu, 12 May 2005 21:19:09 +0000 (21:19 +0000)]
* NEWS: Mention OpenBSD/mips64 as a new native configuration.

19 years ago2005-05-12 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 12 May 2005 21:01:42 +0000 (21:01 +0000)]
2005-05-12  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_relocate_section): Allow R_386_GOTOFF
against protected function when building executable.

19 years ago * observer.sh (texi) [DJGPP]: If the file name includes a colon,
Eli Zaretskii [Thu, 12 May 2005 20:38:51 +0000 (20:38 +0000)]
* observer.sh (texi) [DJGPP]: If the file name includes a colon,
convert it to the /dev/x/ form.

19 years ago* solib.h (CLEAR_SOLIB, SOLIB_ADD)
Mark Kettenis [Thu, 12 May 2005 20:21:18 +0000 (20:21 +0000)]
* solib.h (CLEAR_SOLIB, SOLIB_ADD)
(SOLIB_CREATE_INFERIOR_HOOK, SOLIB_REMOVE_INFERIOR_HOOK)
(SOLIB_IN_DYNAMIC_LINKER, SOLIB_RESTART)
(DISABLE_UNSETTABLE_BREAK, PC_SOLIB)
(IN_SOLIB_DYNSYM_RESOLVE_CODE): Remove defines and orphaned
comments.
* breakpoint.c: Include "solib.h".
(insert_bp_location) [!DISABLE_UNSETTABLE_BREAK]: Call
solib_address.
(remove_solib_event_breakpoints, create_solib_event_breakpoint)
(disable_breakpoints_in_shlibs)
(disable_breakpoints_in_unloaded_shlib)
(re_enable_breakpoints_in_shlibs): Compile if SOLIB_ADD isn't
defined. If PC_SOLIB isn't defined, call solib_address.
(_initialize_breakpoint): Unconditionally install observer.
* corelow.c: Include "solib.h".
[SOLIB_ADD] (solib_add_stub): Remove prototype.
(core_close) [!CLEAR_SOLIB]: Call clear_solib.
(solib_add_stub) [!SOLIB_ADD] Call solib_add.
(core_open): Unconditionally call solib_add_stub.
* fork-child.c: Include "solib.h".
(fork_inferior) [!SOLIB_CREATE_INFERIOR_HOOK]: Call
solib_create_inferior_hook.
* infcmd.c: Include "solib.h".
(attach_command) [!SOLIB_ADD]: Call shlib_rescan.  Unconditionally
call re_enable_breakpoints_in_shlibs.
* infrun.c: Include "solib.h".
(SOLIB_IN_SYNSYM_RESOLVE_CODE): Don't define if not already
defined.
(stop_on_solib_events, show_stop_on_solib_events): Include
unconditionally.
(follow_exec) [!SOLIB_CREATE_INFERIOR_HOOK]: Call
solib_create_inferior_hook.
(handle_inferior_event) [!SOLIB_ADD]: Call shlib_add.
[!IN_SOLIB_DYNSYM_RESOLVE_CODE]: Call in_solib_dynsym_resolve_code.
(_initialize_infrun): Unconditionally add "stop_on_solib-events"
command.
* remote.c: Include "solib.h".
(remote_open_1): Unconditionally call no_shared_libraries.
[!SOLIB_CREATE_INFERIOR_HOOK] Call solib_create_inferior_hook.
* stack.c: Include "solib.h".
(print_frame) [!PC_SOLIB] Call shlib_for_pc.
* xcoffsolib.c (no_shared_libraries): Remove function.
* Makefile.in (SFILES): Add solib.c.
(ALLDEPFILES): Remove solib.c.
(COMMON_OBS): Add solib.o.
(breakpoint.o, corelow.o, fork-chiled.o, infcmd.o, infrun.o)
(remote.o, stack.o): Update dependencies.

19 years agomerge from gcc
DJ Delorie [Thu, 12 May 2005 20:00:35 +0000 (20:00 +0000)]
merge from gcc

19 years agoPR bootstrap/21230
DJ Delorie [Thu, 12 May 2005 16:35:35 +0000 (16:35 +0000)]
PR bootstrap/21230
* warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Add
double quotes around GCC variable.

19 years ago * cp-names.y: Renamed to ...
Daniel Jacobowitz [Thu, 12 May 2005 16:01:08 +0000 (16:01 +0000)]
* cp-names.y: Renamed to ...
* cp-name-parser.y: ... this.
* Makefile.in (SFILES, YYFILES, YYOBJ): Rename cp-names.y to
cp-name-parser.y.
(test-cp-names.o): Renamed to test-cp-name-parser.o.
(test-cp-names): Renamed to test-cp-name-parser.
(clean, local-maintainer-clean): Update.
(cp-names.o): Renamed to cp-name-parser.o.

19 years ago * observer.sh: Use observer.tmp instead of observer.inc-tmp which
Eli Zaretskii [Thu, 12 May 2005 15:44:19 +0000 (15:44 +0000)]
* observer.sh: Use observer.tmp instead of observer.inc-tmp which
on 8+3 filesystems overwrites observer.inc.  Update copyright year
of the resultant file.

19 years ago * gnu-v3-abi.c (init_gnuv3_ops): Cast is_gnu_v3_mangled_dtor and
Eli Zaretskii [Thu, 12 May 2005 15:28:31 +0000 (15:28 +0000)]
* gnu-v3-abi.c (init_gnuv3_ops): Cast is_gnu_v3_mangled_dtor and
is_gnu_v3_mangled_ctor to avoid compiler warnings.

19 years ago * elf32-ppc.c (LWZU_0_X_11): Delete.
Alan Modra [Thu, 12 May 2005 15:24:51 +0000 (15:24 +0000)]
* elf32-ppc.c (LWZU_0_X_11): Delete.
(B, LWZ_11_X_11, LWZ_11_X_30, MTCTR_11): Define.
(ppc_elf_select_plt_layout): Set .got flags too.  Formatting.
(ppc_elf_size_dynamic_sections): Allocate space for .glink branch
table.
(ppc_elf_finish_dynamic_symbol): Point .plt entries into the branch
table.
(ppc_elf_finish_dynamic_sections): Adjust DT_PPC_GLINK value.
Generate .glink branch table and updated stubs.