aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-06-13 * gdb.base/bigcore.exp: Correct checks for systems which canDaniel Jacobowitz2-2/+15
not dump a large core file.
2005-06-13* depstand.m4, lead-dot.m4: New files.DJ Delorie3-0/+172
2005-06-13* depcomp: Update from automake CVS. Add 'ia64hp' stanza.DJ Delorie2-26/+62
In 'cpp' stanza, support '#line' as well as '# '.
2005-06-13gdb/Daniel Jacobowitz8-7/+168
* Makefile.in (symfile.o): Add $(exec_h). * exec.h (exec_set_section_address): Add prototype. * exec.c (exec_set_section_address): New function. * symfile.c: Include "exec.h". (struct place_section_arg, place_section): New. (default_symfile_offsets): Call place_section for each section of a relocatable file. gdb/testsuite/ * gdb.base/relocate.c: Add a copyright notice. (dummy): Remove. * gdb.base/relocate.exp: Test printing the values of variables from a relocatable file.
2005-06-13gas:Zack Weinberg7-106/+83
* config/tc-arm.c (find_real_start): Check S_IS_LOCAL on symbolP as well as for names with a leading dot. Use ACONCAT. (md_apply_fix): For branch relocations, only replace value with fixP->fx_offset (under #ifdef OBJ_ELF) when !fixP->fx_done. (arm_force_relocation): Remove #ifdef OBJ_ELF case. * config/tc-arm.h (LOCAL_LABEL): Remove unnecessary parentheses. (LOCAL_LABEL_PREFIX): Don't define. gas/testsuite: * gas/arm/thumb.s: Only branch to labels defined in this file. * gas/arm/thumb.d, gas/arm/thumb32.d: Adjust expected output.
2005-06-13 * hppa-tdep.c (hppa_pc_requires_run_before_use): Really test allJoel Brobecker2-1/+6
bits of top byte in address.
2005-06-13 * eval.c (evaluate_subexp_standard): Add code to check the targetWu Zhou2-0/+25
type of a TYPE_CODE_PTR value when we encounter a f77 undetermined arglist. If it is array, string or function, work on the target value instead.
2005-06-13gdb/Daniel Jacobowitz5-9/+22
* mi/mi-main.c (register_changed_p, get_register): Use get_selected_frame. (mi_execute_command): Call mi_out_rewind after an error. testsuite/ * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect excess MI output after an error.
2005-06-13 * acconfig.h: Remove.Daniel Jacobowitz28-135/+284
* configure.ac: Add a test for socklen_t. Use three-argument AC_DEFINE throughout. * config.in: Regenerated using autoheader 2.59. * configure: Regenerated. * gdbreplay.c (socklen_t): Provide a default. (remote_open): Use socklen_t. * remote-utils.c (socklen_t): Provide a default. (remote_open): Use socklen_t. (convert_int_to_ascii, convert_ascii_to_int, decode_M_packet): Use unsigned char. * i387-fp.c (struct i387_fsave, struct i387_fxsave): Use unsigned char for buffers. * linux-low.c (linux_read_memory, linux_write_memory) (linux_read_auxv): Likewise. * mem-break.c (breakpoint_data, set_breakpoint_data, check_mem_read) (check_mem_write): Likewise. * mem-break.h (set_breakpoint_data, check_mem_read, check_mem_write): Likewise. * regcache.c (struct inferior_rgcache_data, registers_to_string) (registers_from_string, register_data): Likewise. * server.c (handle_query, main): Likewise. * server.h (convert_ascii_to_int, convert_int_to_ascii) (decode_M_packet): Likewise. * target.c (read_inferior_memory, write_inferior_memory): Likewise. * target.h (struct target_ops): Update read_memory, write_memory, and read_auxv. (read_inferior_memory, write_inferior_memory): Update. * linux-low.h (struct linux_target_ops): Change type of breakpoint to unsigned char *. * linux-arm-low.c, linux-cris-low.c, linux-crisv32-low.c, linux-i386-low.c, linux-m32r-low.c, linux-m68k-low.c, linux-mips-low.c, linux-ppc-low.c, linux-ppc64-low.c, linux-s390-low.c, linux-sh-low.c: Update for changes in read_inferior_memory and the_low_target->breakpoint.
2005-06-13daily updateAlan Modra1-1/+1
2005-06-13*** empty log message ***gdbadmin1-1/+1
2005-06-12* hppa-tdep.c (hppa_frame_prev_register)Mark Kettenis2-19/+28
(hppa_fallback_frame_prev_register) (hppa_stub_frame_prev_register): Change type of last argument to `gdb_byte *'. (hppa_fetch_pointer_argument): Tweak comment. Use get_frame_register_unsigned instead of get_frame_register. (hppa32_return_value, hppa64_return_value): Change type of readbuf and writebuf arguments to `gdb_byte *'. Remove unecessary casts and local variables. (hppa_pseudo_register_read): Change type of last argument to `gdb_byte *'.
2005-06-12 * ld.texinfo (Command Line Options): Add @item for --hash-size.Daniel Jacobowitz2-0/+5
2005-06-12* m68k-tdep.c (m68k_frame_prev_register): Change type of lastMark Kettenis2-1/+4
argument to `gdb_byte *'.
2005-06-12* arm-tdep.c (set_disassembly_style, _initialize_arm_tdep):Mark Kettenis2-2/+5
Consitify regnames.
2005-06-12* alpha-tdep.c (alpha_sigtramp_frame_prev_register)Mark Kettenis3-7/+14
(alpha_heuristic_frame_prev_register): Change type of last argument to `gdb_byte *'. (alpha_register_to_value, alpha_value_to_register) (alpha_extract_return_value, alpha_store_return_value): Likewise. * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise.
2005-06-12* arm-tdep.c (arm_prologue_prev_register)Mark Kettenis2-2/+6
(arm_sigtramp_prev_register): Change type of last argument to `gdb_byte *'.
2005-06-12* m88k-tdep.c (m88k_frame_prev_register): Change type of lastMark Kettenis2-1/+4
argument to `gdb_byte *'.
2005-06-12* vax-tdep.c (vax_frame_prev_register): Change type of lastMark Kettenis2-1/+4
argument to `gdb_byte *'.
2005-06-12* sparc-tdep.c (sparc32_frame_prev_register): Change type of lastMark Kettenis10-9/+25
argument to `gdb_byte *'. * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_prev_register): Likewise. * sparcobsd-tdep.c (sparc32obsd_frame_prev_register): Likewise. * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_prev_register): Likewise. * sparc64-tdep.c (sparc64_frame_prev_register): Likewise. * sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_prev_register): Likewise. * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_prev_register): Likewise. * sparc64obsd-tdep.c (sparc64obsd_frame_prev_register): Likewise. * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_unwind): Likewise.
2005-06-12* amd64-tdep.c (amd64_frame_prev_register)Mark Kettenis2-2/+8
(amd64_sigtramp_frame_prev_register): Change type of last argument to `gdb_byte *'.
2005-06-12*** empty log message ***gdbadmin1-1/+1
2005-06-12daily updateAlan Modra1-1/+1
2005-06-11* i386-tdep.c (i386_register_type): ReturnMark Kettenis2-3/+11
builtin_type_void_func_ptr for %eip and builtin_type_void_data_ptr for %ebp and %esp.
2005-06-11 * hppa.h (pa_opcodes): Use cM and cX instead of cm and cx,Dave Anglin2-12/+17
respectively, in various floating-point load and store patterns.
2005-06-11*** empty log message ***gdbadmin1-1/+1
2005-06-11daily updateAlan Modra1-1/+1
2005-06-10 * elfcode.h (elf_write_relocs): Do nothing if there are noDaniel Jacobowitz2-0/+11
relocations.
2005-06-10Fix 2005-06-09 entry to use proper format.Jeff Johnston1-8/+8
2005-06-10 * dwarf2.c (decode_line_info): Revert last change. Instead setAlan Modra2-17/+13
initial low_pc to -1 to avoid need to test whether loc_pc has been set.
2005-06-10 * ld-cris/libdso-10.d: Adjust for elf.sc .bss change.Alan Modra4-20/+21
* ld-cris/libdso-2.d: Likewise. * ld-mmix/loc6.d: Likewise.
2005-06-10 * valprint.c (print_floating): Fix comment typo.Ben Elliston2-1/+5
2005-06-10 * config/tc-hppa.c (pa_block): Allocate just one byte for theAlan Modra2-19/+11
fill pattern.
2005-06-102005-06-09 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-9/+24
* ia64-tdep.c (ia64_pseudo_register_read): Use gdb_byte and protect libunwind references with HAVE_LIBUNWIND_IA64_H flag. * (ia64_pseudo_register_write): Use gdb_byte to remove warning. * (ia64_register_to_value, ia64_value_to_register): Ditto. * (ia64_frame_prev_register): Ditto. * (ia64_libunwind_frame_prev_register): Ditto. * (ia64_sigtramp_frame_prev_register): Ditto. * (ia64_libunwind_sigtramp_frame_prev_register): Ditto. * (ia64_store_return_value): Ditto. 2
2005-06-10 * ld-scripts/empty-aligned.t: Adjust alignment expressions soAlan Modra3-6/+25
that no .text? section is kept. Also check setting vma and lma. * ld-scripts/empty-aligned.d: Update.
2005-06-10remove conflict indicatorAlan Modra1-1/+0
2005-06-10 * scripttempt/elf.sc (.bss): Align tail in a way that allowsAlan Modra2-1/+6
empty section pruning.
2005-06-10*** empty log message ***gdbadmin1-1/+1
2005-06-10daily updateAlan Modra1-1/+1
2005-06-09* coffcode.h (sec_to_styp_flags): Set appropriate section flags when eitherChristopher Faylor2-1/+6
SEC_ALLOC OR SEC_LOAD.
2005-06-09configure clean up patch from Steve Ellcey.Jim Wilson6-263/+260
* configure.in (AM_BINUTILS_WARNINGS): Add. (BFD_NEED_DECLARATION) Replace with AC_CHECK_DECLS. * config.in: Regenerate. * configure: Regenerate. * sysdep.h (NEED_DECLARATION_*): Replace with HAVE_DECL_* * ldmain.c: Ditto.
2005-06-09 * objdump.c (disassemble_bytes): Don't crash if q->howto == NULL.Jakub Jelinek2-13/+21
If q->howto->name == NULL, print q->howto->type as number instead. (dump_reloc_set): Likewise.
2005-06-09* coffcode.h (sec_to_styp_flags): Remove read/write flags from noload sectionChristopher Faylor2-16/+20
header. Do not add STYP_NOLOAD since it does not appear to be a valid PE flag.
2005-06-092005-06-09 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+11
PR 1000 * dwarf2.c (lookup_address_in_line_info_table): Restore code handling NULL function info, removed with 2005-04-03 change.
2005-06-09 * opncls.c (bfd_fopen): Mark returned BFD as cacheable if FD == -1.Mark Mitchell2-0/+12
2005-06-09 * ldexp.c (fold_unary <ALIGN_K>): Revert last change.Alan Modra2-4/+5
2005-06-09 * ld-scripts/empty-aligned.d: Adjust.Alan Modra2-1/+7
2005-06-09 * ld.h (lang_phase_type): Move to..Alan Modra10-910/+694
* ldexp.h: ..here. Add lang_mark_phase_enum. (node_type): Remove etree_undef and etree_unspec. (exp_data_seg): Delete. (struct ldexp_control, expld): New. (invalid, exp_mark_used_section): Delete. (exp_fold_tree, exp_get_vma, exp_get_value_int, exp_get_fill, exp_get_abs_int): Update prototypes. * ldexp.c (assigning_to_dot): Delete. (expld): Define. (make_abs): Operate directly on expld.result. Update all callers. (new_abs): Likewise. Return void. (new_rel_from_abs): Rename from new_rel_from_section. (new_rel, new_rel_from_abs): Operate on expld.result and return void. Update all callers. (fold_unary): Operate on expld.result and return void. Remove "current_section", "allocation_done", "dot", "dotp" and "mark_used" params. Update all callers. (fold_binary, fold_trinary, fold_name, exp_fold_tree_1): Likewise. (fold_unary <ALIGN_K>): Ensure alignment is absolute. (fold_unary <ABSOLUTE>): Use make_abs. (fold_unary <DATA_SEGMENT_END>): Evaluate mark_phase as for allocating_phase. (fold_binary <DATA_SEGMENT_ALIGN, DATA_SEGMENT_RELRO_END, >): Ditto. (fold_binary <'%','/'>): Don't error if marking. (fold_name <SIZEOF_HEADERS>): Don't call bfd_sizeof_headers when marking. (fold_name <NAME>): Remove FIXME; -R is handled correctly. Don't error when marking. (fold_name <ADDR, LOADADDR, SIZEOF>): Don't set SEC_KEEP. (exp_fold_tree_1): Don't error when marking. (exp_fold_tree_1 <etree_rel>): Evaluate in all phases except first. (exp_fold_tree_1 <etree_assign to dot>): Don't check for NULL current section, instead check for NULL dotp. (exp_fold_tree_1 <etree_provide>): Don't evaluate the assignment source unless the symbol is referenced and undefined. (exp_fold_tree): Remove "allocation_done" and "dot" params. Save params to expld. (exp_fold_tree_no_dot): Remove "current_section", "allocation_done and "mark_used" params. Save params to expld. Update all callers. (exp_assop): Do without temp var. (exp_print_tree <etree_undef>): Delete code. (exp_get_vma): Remove "allocation_done" param. Correct error return. (exp_get_fill, exp_get_abs_int): Likewise. (exp_get_value_int): Remove "allocation_done" param. (exp_mark_used_section): Delete. * ldgram.y (fill_exp): Update exp_get_fill call. (origin_spec, length_spec): Update exp_get_vma call. * ldlang.c (lang_init): Don't bother clearing lang_statement_iteration. (lang_mark_used_section_1, lang_mark_used_section): Delete. (strip_excluded_output_sections): Call one_lang_size_sections_pass in marking mode. Merge old lang_mark_used_section code. Correct handling of output sections with excluded input sections and data statements. Don't drop non-zero sized sections. Don't zap os->bfd_section. Do set SEC_EXCLUDE when appropriate. (print_output_section_statement): Update for changed ldexp.c interface. (print_assignment, lang_size_sections_1): Likewise. (lang_do_assignments_1, lang_enter_output_section_statement): Likewise. (lang_new_phdr, lang_record_phdrs): Likewise. (lang_size_sections): Likewise. (insert_pad): Use following statement if it is a pad, rather than creating a new one. (lang_size_sections_1 <lang_output_section_statement_enum>): Do process ignored output section to set vma and lma, but don't update dot for these sections. Don't error if marking. (lang_size_sections_1 <lang_assignment_statement_enum>): Don't update dot for ignored sections. (lang_size_sections_1 <lang_data_statement_enum>): Don't mark absolute section with SEC_ALLOC. (one_lang_size_sections_pass): New function. (lang_size_sections): Remove first five params. Set expld.phase on entry and exit. Use one_lang_size_sections_pass. (lang_do_assignments): Remove all params. Update all callers. (lang_reset_memory_regions): Clear os->processed for all output section statements. * ldlang.h (lang_do_assignments): Update prototype. (lang_size_sections): Likewise. (one_lang_size_sections_pass): Declare. * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update lang_size_sections and lang_do_assignments calls. * emultempl/elf32.em (layout_sections_again): Likewise. * emultempl/ppc64elf.em (ppc_before_allocation): Use one_lang_size_sections_pass.
2005-06-09 * elflink.c (elf_mark_used_section): Delete.Alan Modra3-32/+36
(bfd_elf_gc_sections): Call bfd_generic_gc_sections. * reloc.c (bfd_mark_used_section): New function. (bfd_generic_gc_sections): Call bfd_mark_used_section.
2005-06-09daily updateAlan Modra1-1/+1