aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-05-07 * ldlang.h (lang_output_section_statement_type): Add update_dot_tree.Richard Sandiford4-78/+87
(lang_enter_overlay): Remove the last two parameters. (lang_leave_overlay): Take them here instead. * ldgram.y (memspec_at_opt): Set $$ to null if no region is given. (section): Pass LMA and crossref flag to lang_leave_overlay rather than lang_enter_overlay. * ldlang.c (lang_memory_region_lookup): Return null for null names. (lang_output_section_statement_lookup): Initialize update_dot_tree. (lang_size_sections_1): Evaluate it. (lang_leave_output_section_statement): Rework LMA lookup. (overlay_lma, overlay_nocrossrefs): Remove. (lang_enter_overlay): Remove LMA and corssref arguments. (lang_enter_overlay_section): Don't set the LMA here. (lang_leave_overlay): Take LMA and crossref arguments. Move the '.' assignment to the last section's update_dot_tree. Unconditionally use the load and run-time regions specified in the OVERLAY statement. Likewise the first section's LMA. Only set the other sections' LMAs when no load region is given.
2002-05-07* solib.h: Protect against multiple inclusion.Jason Thorpe2-0/+9
2002-05-072002-05-06 Michael Snyder <msnyder@redhat.com>Michael Snyder3-17/+45
* lib/gdb.exp (gdb_test): Add case to allow for status wrapper. (gdb_continue_to_end): Accept output from status wrapper. * gdb.base/ending-run.exp: Add case for output from status wrapper. Clean up fail messages to match pass messages.
2002-05-072002-05-06 Michael Snyder <msnyder@redhat.com>Michael Snyder4-3/+58
Enable the "needs_status_wrapper" testsuite feature. * lib/gdb.exp (gdb_wrapper_init): New procedure. (gdb_compile): Conditionally call gdb_wrapper_init. * gdb.base/a2-run.exp: Recognize output from status wrapper. * gdb.c++/method.exp: Recognize output from status wrapper.
2002-05-07 * elf-bfd.h (struct elf_backend_data): Add rela_normal.Alan Modra21-358/+157
* elfxx-target.h (elf_backend_rela_normal): Define. (elfNN_bed): Init rela_normal. * elflink.h (elf_link_input_bfd <emit_relocs>): Handle adjustment for section symbols here if rela_normal. Simplify abs section test. * elf-m10200.c (mn10200_elf_relocate_section): If relocatable, return immediately. Remove code handling relocatable linking. * elf-m10300.c (mn10300_elf_relocate_section): Likewise. * elf32-fr30.c (fr30_elf_relocate_section): Likewise. * elf32-i370.c (i370_elf_relocate_section): Likewise. * elf32-i860.c (elf32_i860_relocate_section): Likewise. * elf32-m68k.c (elf_m68k_relocate_section): Likewise. * elf32-mcore.c (mcore_elf_relocate_section): Likewise. * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. * elf32-ppc.c (ppc_elf_relocate_section): Likewise. * elf32-s390.c (elf_s390_relocate_section): Likewise. * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. * elf64-s390.c (elf_s390_relocate_section): Likewise. * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. * elf32-arm.h (elf32_arm_relocate_section): Likewise #ifndef USE_REL. * elf32-m32r.c (m32r_elf_relocate_section): Likewise. * elf-m10200.c (elf_backend_rela_normal): Define. * elf-m10300.c (elf_backend_rela_normal): Define. * elf32-fr30.c (elf_backend_rela_normal): Define. * elf32-i370.c (elf_backend_rela_normal): Define. * elf32-i860.c (elf_backend_rela_normal): Define. * elf32-m68k.c (elf_backend_rela_normal): Define. * elf32-mcore.c (elf_backend_rela_normal): Define. * elf32-openrisc.c (elf_backend_rela_normal): Define. * elf32-ppc.c (elf_backend_rela_normal): Define. * elf32-s390.c (elf_backend_rela_normal): Define. * elf32-xstormy16.c (elf_backend_rela_normal): Define. * elf64-ppc.c (elf_backend_rela_normal): Define. * elf64-s390.c (elf_backend_rela_normal): Define. * elf64-x86-64.c (elf_backend_rela_normal): Define. * elfxx-ia64.c (elf_backend_rela_normal): Define. * elf32-arm.h (elf_backend_rela_normal): Define #ifndef USE_REL. * elf32-m32r.c (elf_backend_rela_normal): Likewise.
2002-05-07daily updateAlan Modra1-1/+1
2002-05-07*** empty log message ***gdbadmin1-1/+1
2002-05-06Separate the job of reading the line number info statement programJim Blandy2-179/+336
header (...expialidocious) out into its own function. * dwarf2read.c (struct line_head, struct filenames, struct directories): Replace with... (struct line_header): New structure, containing the full contents of the statement program header, including the include directory and file name tables. (read_file_scope): If we have line number info, instead of just calling dwarf_decode_lines to do all the work, call dwarf_decode_line_header first to get a `struct line_header' containing the data in the statement program header, and then pass that to dwarf_decode_lines, which will pick up where that left off. Be sure to clean up the `struct line_header' object. (dwarf_decode_line_header, free_line_header, add_include_dir, add_file_name): New functions. (dwarf_decode_lines): Move all the code to read the statement program header into dwarf_decode_line_header. Take the line header it built as the first argument, instead of the offset to the compilation unit's line number info. Use the new `struct line_header' type instead of the old structures. No need to do cleanups here now, since we don't allocate anything. (dwarf2_statement_list_fits_in_line_number_section, dwarf2_line_header_too_long): New complaints.
2002-05-062002-05-06 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-12/+63
* gdbtypes.c (init_vector_type): New function. (build_builtin_type_vec128): Simplify the representation of SIMD registers. (build_gdbtypes): Initialize new builtin vector types. (_initialize_gdbtypes): Register new vector types with gdbarch. (builtin_type_v4_float, builtin_type_v4_int32, builtin_type_v8_int16, builtin_type_v16_int8, builtin_type_v2_int32, builtin_type_v4_int16, builtin_type_v8_int8): New (renamed) SIMD types.
2002-05-06Fix check for overflow of relocation for the Thumb BL instruction.Nick Clifton2-1/+6
2002-05-06 * elflink.h (elf_link_input_bfd <emit_relocs>): Adjust r_offsetAlan Modra1-0/+5
when not relocatable. Fix reloc_emitter call for K&R.
2002-05-062002-05-06 Ben Elliston <bje@redhat.com>Ben Elliston2-0/+9
From Graydon Hoare <graydon@redhat.com> * config/sid.exp: Include support for "rawsid" protocol.
2002-05-06 * config/tc-ia64.c: Fix formatting.Kazu Hirata3-61/+67
* config/tc-ia64.h: Likewise.
2002-05-06* i387-nat.c (i387_fill_fsave): Use regcache_collect.Mark Kettenis2-10/+20
(i387_fill_fxsave): Likewise.
2002-05-06New Swedish translationNick Clifton2-447/+603
2002-05-06 * elflink.h (elf_link_input_bfd <emit_relocs>): Adjust r_offsetAlan Modra1-2/+3
when not relocatable. Fix reloc_emitter call for K&R.
2002-05-06oops, missing changelog entryAlan Modra1-1/+14
* dlltool.c (process_def_file): Add missing prototype. (new_directive, assemble_file, main): Likewise. (process_def_file, new_directive): Make static. (inform): Rewrite using VA_FIXEDARG. * dllwrap.c (mybasename): Add missing prototype. (strhash, main): Likewise. (inform): Rewrite using VA_FIXEDARG. (warn): Likewise. (cleanup_and_exit): Use old style function definition. (strhash): Likewise. * windres.c (define_resource): Use one memset to clear all of struct res_resource.
2002-05-06*** empty log message ***gdbadmin1-1/+1
2002-05-06daily updateAlan Modra1-1/+1
2002-05-05 * dlltool.c (process_def_file): Add missing prototype.Alan Modra3-63/+33
(new_directive, assemble_file, main): Likewise. (process_def_file, new_directive): Make static. (inform): Rewrite using VA_FIXEDARG. * dllwrap.c (mybasename): Add missing prototype. (strhash, main): Likewise. (inform): Rewrite using VA_FIXEDARG. (warn): Likewise. (cleanup_and_exit): Use old style function definition. (strhash): Likewise. * windres.c (define_resource): Use one memset to clear all of struct res_resource.
2002-05-05 * rcparse.y: Remove newcmd rule. Move rcparse_discard_stringsAlan Modra4-23/+78
call to rules that need no lookahead. Check for no lookahead. * rclex.l (get_string): Correct "strings" list handling. * resrc.c (read_rc_file): Discard strings.
2002-05-05* configure.in (noconfigdirs): Don't disable libgcj onAlexandre Oliva2-1/+6
sparc64-*-solaris* and sparcv9-*-solaris*.
2002-05-05* alpha-tdep.c (alpha_extract_return_value): Don't useAlexandre Oliva2-1/+6
non-constant array size in prototype.
2002-05-05From Brian Taylor <briant at model dot com>:Andrew Cagney2-2/+16
* ui-out.c (ui_out_field_core_addr): Use the function longest_local_hex_string_custom'to format addresses > 32 bits wide. * ui-out.c (ui_out_field_core_addr): Update comment.
2002-05-05* stack.c (select_and_print_frame): Make static. Delete theAndrew Cagney3-20/+12
parameter `level'. (func_command): Update call. (select_frame_command): Delete code computing the frame level. * frame.h (select_and_print_frame): Delete declaration.
2002-05-05* sparc-tdep.c (sparc_get_saved_register): Comment whyAndrew Cagney2-0/+15
get_prev_frame call is safe.
2002-05-05* frame.h (select_frame): Delete level parameter.Andrew Cagney17-74/+77
* stack.c (select_frame): Update. Use frame_relative_level to obtain the frame's level. (select_and_print_frame): Update call. (select_frame_command): Ditto. (up_silently_base): Ditto. (down_silently_base): Ditto. * ocd.c (ocd_start_remote): Ditto. * remote-rdp.c (remote_rdp_open): Ditto. * remote-mips.c (mips_initialize): Ditto. (common_open): Ditto. * remote-e7000.c (e7000_start_remote): Ditto. * m3-nat.c (select_thread): Ditto. * hppa-tdep.c (child_get_current_exception_event): Ditto. (child_get_current_exception_event): Ditto. * varobj.c (varobj_create): Ditto. (varobj_update): Ditto. (c_value_of_root): Ditto. * tracepoint.c (finish_tfind_command): Ditto. * corelow.c (core_open): Ditto. * arch-utils.c (generic_prepare_to_proceed): Ditto. * thread.c (info_threads_command): Ditto. (switch_to_thread): Ditto. * infrun.c (normal_stop): Ditto. (restore_selected_frame): Ditto. (restore_inferior_status): Ditto. * breakpoint.c (insert_breakpoints): Ditto. (watchpoint_check): Ditto. (bpstat_stop_status): Ditto. (do_enable_breakpoint): Ditto. * blockframe.c (flush_cached_frames): Ditto. (reinit_frame_cache): Ditto.
2002-05-05daily updateAlan Modra1-1/+1
2002-05-05*** empty log message ***gdbadmin1-1/+1
2002-05-04Jason Thorpe as NetBSD maintainer.Andrew Cagney2-0/+6
2002-05-04* gdbtypes.c (replace_type): Doc fix.Jim Blandy2-4/+14
2002-05-04* valprint.c (strcat_longest): Delete commented out function.Andrew Cagney2-106/+9
Update copyright.
2002-05-04* gdb.c++/hang.exp: Check for corruption of the cv_type chain.Jim Blandy3-4/+28
* gdb.c++/hang3.C: New file.
2002-05-04* gdbint.texinfo (Releasing GDB): Revise `Create a Release'.Andrew Cagney2-113/+264
2002-05-04 * config/tc-mips.c: Fix formatting.Kazu Hirata4-199/+207
* config/tc-s390.c: Likewise. * config/tc-s390.h: Likewise.
2002-05-04* gdb.texinfo: Delete obsolete references to a29k.Andrew Cagney2-252/+4
2002-05-04* MAINTAINERS: Mark a29k as deleted.Andrew Cagney35-8248/+58
* NEWS: Mention that a29k was removed. Add OBSOLETE section. Move new configurations to the top. * configure.tgt: Remove a29k. * config/a29k/tm-vx29k.h: Delete. * config/a29k/vx29k.mt: Delete. * config/a29k/tm-a29k.h: Delete. * config/a29k/a29k-udi.mt: Delete. * config/a29k/a29k.mt: Delete. * a29k-tdep.c: Delete. * remote-udi.c: Delete. * remote-mm.c: Delete. * remote-eb.c: Delete. * remote-adapt.c: Delete. * Makefile.in: Remove obsolete code. * gdbserver/Makefile.in: Ditto. * config/s390/s390x.mt: Ditto. * config/s390/s390.mt: Ditto. * config/sparc/sparclynx.mh: Ditto. * config/sparc/linux.mh: Ditto. * config/pa/hppaosf.mh: Ditto. * config/pa/hppabsd.mh: Ditto. * config/ns32k/nbsd.mt: Ditto. * config/mips/vr5000.mt: Ditto. * config/m68k/sun3os4.mh: Ditto. * config/m68k/nbsd.mt: Ditto. * config/m68k/m68klynx.mh: Ditto. * config/m32r/m32r.mt: Ditto. * config/i386/x86-64linux.mt: Ditto. * config/i386/nbsdelf.mt: Ditto. * config/i386/nbsd.mt: Ditto. * config/i386/i386lynx.mh: Ditto.
2002-05-04* gdb.base/default.exp: Remove obsolete code.Andrew Cagney17-767/+34
* gdb.c++/misc.exp: Ditto. Update copyright. * gdb.c++/cplusfuncs.exp: Ditto. Update copyright. * gdb.base/whatis.exp: Ditto. Update copyright. * gdb.base/scope.exp: Ditto. Update copyright. * gdb.base/ptype.exp: Ditto. Update copyright. * gdb.base/printcmds.exp: Ditto. Update copyright. * gdb.base/opaque.exp: Ditto. Update copyright. * gdb.base/list.exp: Ditto. * gdb.base/funcargs.exp: Ditto. Update copyright. * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete. * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete. * gdb.hp/gdb.threads-hp/usrthcore.c: Delete. * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete. * gdb.hp/gdb.threads-hp/usrthfork.c: Delete. * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2002-05-04* target.c (debug_print_register): New function. Handle oversizeAndrew Cagney2-16/+39
registers. (debug_to_fetch_registers): Call. (debug_to_store_registers): Call.
2002-05-04 * elf64-ppc.c (ppc64_elf_relocate_section): Reinstate codeAlan Modra3-17/+36
reloading local sym addend mistakenly removed in 2002-05-01 change. * dwarf2.c (struct line_head): Make prologue_length a bfd_vma. (read_abbrevs): Change "offset" param to bfd_vma. (parse_comp_unit): Change "version" and addr_size to unsigned ints. Change "abbrev_offset" to bfd_vma. (read_indirect_string): Use correct conversion chars in error message format string, cast bfd_vma's to unsigned long. (read_abbrevs): Likewise. (read_attribute_value): Likewise. (decode_line_info): Likewise. (scan_unit_for_functions): Likewise. (parse_comp_unit): Likewise.
2002-05-04Fix problem with objdump and 16 bit R_BA.Tom Rix4-85/+202
2002-05-04 * emultempl/hppaelf.em (build_section_lists): New function.Alan Modra2-10/+46
(gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists and build_section_lists.
2002-05-04 * elf32-hppa.c (struct elf32_hppa_link_hash_table): AddAlan Modra3-123/+224
bfd_count top_index, input_list, all_local_syms. (elf32_hppa_setup_section_lists): New function, split from elf32_hppa_size_stubs. (elf32_hppa_next_input_section): Likewise. (group_sections): Likewise. (get_local_syms): Likewise. (elf32_hppa_size_stubs): Adjust for split out functions. Look for stubs on undefined syms too. (elf32_hppa_set_gp): Use bfd_link_hash* instead of elf_link_hash*. Only access htab elf fields when we have and elf hash table. * elf32-hppa.h (elf32_hppa_setup_section_lists): Declare. (elf32_hppa_next_input_section): Declare.
2002-05-04 * ar.c (replace_members): Remove unused var. Formatting fix.Alan Modra3-3/+6
* binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
2002-05-04 * MAINTAINERS: Sort port maintainers by CPU.Alan Modra2-5/+9
2002-05-04 * size.c (display_archive): Add last_arfile and code to close archives.Alan Modra2-1/+12
2002-05-04 * opncls.c (_bfd_new_bfd_contained_in): Check return value ofAlan Modra2-0/+7
_bfd_new_bfd.
2002-05-04* stabsread.c (cleanup_undefined_types): Use replace_type, not memcpy.Jim Blandy3-9/+27
(read_type): Doc fix. * gdbtypes.c (replace_type): Doc fix.
2002-05-04* stabsread.c (multiply_defined_struct): New complaint.Jim Blandy2-13/+92
(read_struct_type): If the type we were passed isn't empty, or incomplete, don't read the new struct type into it; complain, and return the original type unchanged. Take a new `type_code' argument, which is the type code for the new type. (read_type): Rather than storing the type's type code here, pass it as an argument to read_struct_type, and let that take care of storing it. That way, we don't overwrite the original type code, so read_struct_type can use it to decide whether we're overwriting something we shouldn't. (complain_about_struct_wipeout): New function.
2002-05-04daily updateAlan Modra1-1/+1