aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-05-08* NEWS: Note new sh*-*-netbsdelf* configuration.Jason Thorpe10-0/+428
* configure.host: Set gdb_host_cpu to sh for all sh*. (sh*-*-netbsdelf*): New host. * configure.tgt: Set gdb_target_cpu to sh for all sh*. (sh*-*-netbsdelf*): New target. * sh-nbsd-nat.c: New file. * sh-nbsd-tdep.c: New file. * sh-nbsd-tdep.h: New file. * config/sh/nbsd.mh: New file. * config/sh/nbsd.mt: New file. * config/sh/nm-nbsd.h: New file. * config/sh/tm-nbsd.h: New file.
2002-05-08* sh-tdep.c (sh_osabi_names): Declare.Jason Thorpe3-5/+279
(process_note_abi_tag_sections): New function. (get_elfosabi): Ditto. (sh_gdbarch_register_os_abi): Ditto. (sh_dump_tdep): Ditto. _initialize_sh_tdep): Use gdbarch_register to register sh_gdbarch_init and sh_dump_tdep. * config/sh/tm-sh.h (sh_osabi): Declare. (gdbarch_tdep): Add sh_osabi and osabi_name members.
2002-05-08 * configure: Regenerate.Alan Modra2-6973/+3118
2002-05-08* common.h (NT_GNU_ABI_TAG): Define.Jason Thorpe2-0/+24
(GNU_ABI_TAG_LINUX): Define. (GNU_ABI_TAG_HURD): Define. (GNU_ABI_TAG_SOLARIS): Define. (NT_NETBSD_IDENT): Define. (NT_FREEBSD_ABI_TAG): Define.
2002-05-08merge from gccDJ Delorie3-142/+160
2002-05-08 * elf32-ppc.c (ppc_elf_create_got): New function.Alan Modra2-7/+48
(ppc_elf_create_dynamic_sections): Call ppc_elf_create_got before _bfd_elf_create_dynamic_sections. Correct .plt flags. (ppc_elf_check_relocs): Use ppc_elf_create_got in place of _bfd_elf_create_got_section.
2002-05-08 * config/tc-m68k.c: Fix formatting.Kazu Hirata2-47/+54
2002-05-08* arm-tdep.c (arm_skip_prologue): Handle generic dummy frames.Andrew Cagney2-48/+123
(thumb_scan_prologue): Ditto. (arm_find_callers_reg): Ditto. (arm_frame_chain): Ditto. (arm_init_extra_frame_info): Ditto. (arm_frame_saved_pc): Ditto. (arm_pop_frame): Ditto. (arm_push_return_address): New function. (arm_gdbarch_init): Initialize use_generic_dummy_frames, call_dummy_location, call_dummy_breakpoint_offset_p, call_dummy_breakpoint_offset, call_dummy_p, call_dummy_stack_adjust_p, call_dummy_words, sizeof_call_dummy_words, call_dummy_start_offset, call_dummy_length, fix_call_dummy, pc_in_call_dummy, call_dummy_address, push_return_address and push_dummy_frame for generic dummy frames.
2002-05-08*** empty log message ***gdbadmin1-1/+1
2002-05-08daily updateAlan Modra1-1/+1
2002-05-07* sh-tdep.c (sh_nofp_frame_init_saved_regs): Fix error inJason Thorpe2-2/+8
size computation for alloca. (sh_fp_frame_init_saved_regs): Likewise.
2002-05-07merge from gccDJ Delorie5-110/+143
2002-05-072002-05-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+190
* COPYING.LIBGLOSS: New file.
2002-05-07Honour DESTDIRNick Clifton11-42/+61
2002-05-07* arm-tdep.h (ARM_MAX_REGISTER_RAW_SIZE): Define.Richard Earnshaw4-4/+18
(ARM_MAX_REGISTER_VIRTUAL_SIZE): Define. * arm-tdep.c (arm_store_return_value): Use them. Use FP_REGISTER_RAW_SIZE when setting the FPA return value. * remote-rdp.c (remote_rdp_fetch_register): Use ARM_MAX_REGISTER_RAW_SIZE. (remote_rdp_store_register): Likewise.
2002-05-072002-05-07 Michal Ludvig <mludvig@suse.cz>Michal Ludvig4-15/+21
* dwarf2cfi.c: Code cleanup, removed unused variables, added default labels to switch {} statements. * x86-64-tdep.c: Ditto. * x86-64-linux-nat.c: Ditto.
2002-05-07 * lib/ld-lib.exp (run_dump_test): Add -L$srcdir/$subdir.Richard Sandiford8-14/+203
(is_elf_format): New, extracted from... * ld-scripts/weak.exp: ...here. * ld-scripts/overlay-size.exp: New test. * ld-scripts/overlay-size.[tsd], * ld-scripts/overlay-size-map.d: New files for it.
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.