aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-04-22 * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't buildJakub Jelinek2-3/+13
search table if some FDE is DW_EH_PE_aligned encoded either. (_bfd_elf_write_section_eh_frame): Handle terminating FDE specially.
2002-04-22* vax-tdep.c (vax_frame_chain): New function.Jason Thorpe3-68/+77
(vax_push_dummy_frame): Ditto. (vax_pop_frame): Ditto. * config/vax/tm-vax.h (FRAME_CHAIN): vax_frame_chain. (FRAMELESS_FUNCTION_INVOCATION): Use generic_frameless_function_invocation_not. (PUSH_DUMMY_FRAME): Use vax_push_dummy_frame. (POP_FRAME): Use vax_pop_frame.
2002-04-222002-04-22 Eric Christopher <echristo@redhat.com>Eric Christopher2-3/+20
* config/tc-mips.c: Add warning if macro instructions are expanded into a branch delay slot.
2002-04-222002-04-22 Chris Demetriou <cgd@broadcom.com>Chris Demetriou4-4/+45
* lib/gas-defs.exp (run_dump_test): Support new attribute "stderr" which is a file used to regexp_diff the assembler's pruned stderr output. (write_file): New helper function to write a string into a file. * gas/mips/empic.l: New file which matches empic tests' warnings. * gas/mips/empic.d: Use empic.l.
2002-04-22* vax-tdep.c (vax_store_struct_return): New function.Jason Thorpe3-19/+45
(vax_extract_return_value): Ditto. (vax_store_return_value): Ditto. (vax_extract_struct_value_address): Ditto. * config/vax/tm-vax.h (STORE_STRUCT_RETURN): Use vax_store_struct_return. (EXTRACT_RETURN_VALUE): Use vax_extract_return_value. (STORE_RETURN_VALUE): Use vax_store_return_value. (EXTRACT_STRUCT_VALUE_ADDRESS): Use vax_extract_struct_value_address.
2002-04-22* vax-tdep.c (vax_frame_saved_pc): New function.Jason Thorpe3-40/+79
(vax_frame_args_address_correct): Ditto. (vax_frame_args_address): Ditto. (vax_frame_locals_address): Ditto. (vax_frame_num_args): Move code to be in proximity to other frame-related functions. * config/vax/tm-vax.h (INNER_THAN): Use core_addr_lessthan. (FRAME_SAVED_PC): Use vax_frame_saved_pc. (FRAME_ARGS_ADDRESS_CORRECT): Use vax_frame_args_address_correct. (FRAME_ARGS_ADDRESS): Use vax_frame_args_address. (FRAME_LOCALS_ADDRESS): Use vax_frame_locals_address.
2002-04-222002-04-22 H.J. Lu (hjl@gnu.org)H.J. Lu2-0/+9
* Makefile.in (FLAGS_TO_PASS): Add libdir, mandir, datadir and includedir.
2002-04-22* vax-tdep.c (vax_frame_init_saved_regs): New function.Jason Thorpe3-24/+42
* config/vax/tm-vax.h (FRAME_FIND_SAVED_REGS): Remove. (FRAME_INIT_SAVED_REGS): New macro.
2002-04-22* MAINTAINERS: Reflect that the Alpha target has been multi-arch'd.Jason Thorpe2-1/+4
2002-04-22* alpha-nat.c (get_longjmp_target): Use ALPHA_* constantsJason Thorpe2-4/+11
where needed. (fetch_osf_core_registers): Likewise. (supply_gregset): Likewise.
2002-04-22 * elf-eh-frame.c (struct eh_cie_fde): Add per_encoding_relative.Jakub Jelinek2-2/+29
(_bfd_elf_discard_section_eh_frame): Set it for CIEs with pcrel encoded personality. (_bfd_elf_write_section_eh_frame): Adjust pcrel encoded personality for CIE/FDE removal.
2002-04-22Document some changes to address internal-errors on Tru64 5.1.Joel Brobecker1-0/+13
Add missing blank line before one of the previous entries.
2002-04-22 * symfile.h (get_section_index): Define.Joel Brobecker2-1/+62
* symfile.c (get_section_index): New function. * mdebugread.c (SC_IS_SBSS): New macro. (SC_IS_BSS): Return true for the scBss storage class only, as the scSBss storage class refers to the .sbss section. (parse_partial_symbols): Discard the symbols which associated section does not exist. Make sure to use the .sbss section index for symbols which storage class is scBss, rather than using the .bss section index.
2002-04-22* symfile.h (get_section_index): Define.Joel Brobecker1-0/+2
* symfile.c (get_section_index): New function. * mdebugread.c (SC_IS_SBSS): New macro. (SC_IS_BSS): Return true for the scBss storage class only, as the scSBss storage class refers to the .sbss section. (parse_partial_symbols): Discard the symbols which associated section does not exist. Make sure to use the .sbss section index for symbols which storage class is scBss, rather than using the .bss section index.
2002-04-22* vax-tdep.c: Update copyright years.Jason Thorpe3-14/+70
(vax_register_name): New function. (vax_register_byte): Ditto. (vax_register_raw_size): Ditto. (vax_register_virtual_size): Ditto. (vax_register_virtual_type): Ditto. * config/vax/tm-vax.h: Update copyright years. (REGISTER_NAMES): Remove. (REGISTER_NAME): Define. (REGISTER_BYTE): Use vax_register_byte. (REGISTER_RAW_SIZE): Use vax_register_raw_size. (REGISTER_VIRTUAL_SIZE): Use vax_register_virtual_size. (REGISTER_VIRTUAL_TYPE): Use vax_register_virtual_type.
2002-04-22Revert Sparc OS abi changes.David S. Miller4-339/+78
2002-04-22* config/sparc/tm-sparc.h (sparc_skip_prologue): RestoreAndrew Cagney3-1/+8
declaration * arc-tdep.c (arc_prologue_frameless_p): Fix syntax error.
2002-04-222002-04-21 David S. Miller <davem@redhat.com>David S. Miller2-6/+4
* gdbint.texinfo (SKIP_PROLOGUE_FRAMELESS_P): Delete definition.
2002-04-222002-04-20 David S. Miller <davem@redhat.com>David S. Miller4-78/+338
* sparc-tdep.h: New file. * sparc-tdep.c (elf-bfd.h): Include. (SPARC_HAS_FPU, FP_REGISTER_BYTES, FP_MAX_REGNUM, SPARC_INTREG_SIZE, DUMMY_REG_SAVE_OFFSET, gdbarch_tdep, CALL_DUMMY_CALL_OFFSET): Move out to sparc-tdep.h (sparc_dump_tdep): New function. (_initialize_sparc_tdep): Use gdbarch_register instead of register_gdbarch_init which is deprecated. (process_note_abi_tag_sections, sparc_abi_handler, sparc_abi_handler_list, sparc_gdbarch_register_os_abi): New. (sparc_gdbarch_init): Determine elf os ident key based upon either the elf header or by using process_note_abi_tag_sections. Fix 'gdbarch already exists' test by comparing os_ident as well. As the last action, invoke OS abi_handler if installed.
2002-04-222002-04-21 David S. Miller <davem@redhat.com>David S. Miller6-26/+42
* arch-utils.c (generic_prologue_frameless_p): Kill SKIP_PROLOGUE_FRAMELESS_P code. * config/arc/tm-arc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete references. (PROLOGUE_FRAMELESS_P, arc_prologue_frameless_p): New. * arc-tdep.c (arc_prologue_frameless_p): Implement. * config/arc/tm-sparc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete references. (PROLOGUE_FRAMELESS_P, sparc_prologue_frameless_p): New. * sparc-tdep.c (sparc_prologue_frameless_p): Implement. (sparc_gdbarch_init): Pass it to set_gdbarch_prologue_frameless_p.
2002-04-22daily updateAlan Modra1-1/+1
2002-04-22*** empty log message ***gdbadmin1-1/+1
2002-04-21* Makefile.in (ALLDEPFILES): Add alphabsd-nat.c.Jason Thorpe2-2/+12
(alphabsd-nat.o): New dependency list.
2002-04-21* Makefile.in (ALLDEPFILES): Add alpha-linux-tdep.c andJason Thorpe2-3/+14
alphafbsd-tdep.c. (alpha-linux-tdep.o): New dependency list. (alphafbsd-tdep.o): Likewise.
2002-04-21* alpha-linux-tdep.c: New file. Move alpha_linux_sigtramp_offsetJason Thorpe4-71/+106
to here... * alpha-tdep.c: ...from here. * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-linux-tdep.o.
2002-04-21* config/alpha/tm-alpha.h: Move alpha_software_single_stepJason Thorpe3-3/+8
prototype from here... * alpha-tdep.h: ...to here.
2002-04-21* frame.h (selected_frame_level): Document as deprecated.Andrew Cagney11-22/+80
(frame_relative_level): Declare. * stack.c (frame_relative_level): New function. (selected_frame_level): Document as deprecated. (select_frame): Do not set the selected_frame_level. * stack.c (frame_info, record_selected_frame): Update. (frame_command, current_frame_command): Update. (up_silently_base, up_command, down_silently_base): Update. (down_command): Update. * inflow.c (kill_command): Update. * tracepoint.c (finish_tfind_command): Update. * corelow.c (core_open): Update. * thread.c (info_threads_command): Update. (do_captured_thread_select): Update. * infcmd.c (finish_command): Update. * breakpoint.c (insert_breakpoints, do_enable_breakpoint): Update.
2002-04-21* config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Remove.Jason Thorpe2-7/+4
2002-04-21* arm-tdep.c (arm_breakpoint_from_pc): Make static. Make returnAndrew Cagney2-1/+6
type const.
2002-04-21* alphafbsd-tdep.c: Update copyright years. IncludeJason Thorpe3-9/+30
alpha-tdep.h. (alphafbsd_use_struct_convention): Make static. (alphafbsd_init_abi): New function. (_initialize_alphafbsd_tdep): New function. * config/alpha/tm-fbsd.h: Update copyright years. (USE_STRUCT_CONVENTION): Remove.
2002-04-21* alpha-tdep.c (alpha_abi_handler): New structure to describeJason Thorpe3-0/+87
an Alpha ABI variant. (alpha_abi_handler_list): Declare. (alpha_gdbarch_register_os_abi): New function. (alpha_gdbarch_init): Give registered ABI variant handlers a chance to tweak the gdbarch once we have set up defaults. * alpha-tdep.h: Prototype alpha_gdbarch_register_os_abi.
2002-04-21* alpha-tdep.c (alpha_gdbarch_init): Set coerce_float_to_doubleJason Thorpe3-13/+10
to standard_coerce_float_to_double. * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Remove.
2002-04-21* alpha-tdep.h (gdbarch_tdep): Add vm_min_address member.Jason Thorpe4-8/+24
* alpha-tdep.c (heuristic_proc_start): Use vm_min_address from gdbarch_tdep rather than a constant. (alpha_gdbarch_init): Initialize tdep->vm_min_address to the default text address for all Alpha Unix ABIs. (alpha_dump_tdep): Report the value of tdep->vm_min_address. * config/alpha/tm-alpha.h (VM_MIN_ADDRESS): Delete.
2002-04-21* alpha-tdep.h: New file. Includes several Alpha target constantsJason Thorpe7-379/+606
taken from... * config/alpha/tm-alpha.h: ...here. Remove macros that we now let gdbarch deal with. (GDB_MULTI_ARCH): Define as GDB_MULTI_ARCH_PARTIAL. * Makefile.in (alpha-nat.o): Add alpha-tdep.h and $(BFD_SRC)/elf-bfd to dependency list. * alpha-nat.c: Include alpha-tdep.h. Update for adjusted Alpha target register names. * alphabsd-nat.c: Likewise. * alpha-tdep.c: Include alpha-tdep.h. Update for adjusted Alpha target register names. Make serveral routines static. (alpha_get_saved_register): New function. (alpha_abi_names): New. (process_note_abi_tag_sections): New function. (get_elfosabi): New function. (alpha_gdbarch_init): New function. (alpha_dump_tdep): New function. (_initialize_alpha_tdep): Register alpha_gdbarch_init.
2002-04-21* frame.c (find_saved_register): Delete #ifdefAndrew Cagney6-42/+14
HAVE_REGISTER_WINDOWS code. * config/sparc/tm-sparc.h: Update comments. * config/i960/tm-i960.h (HAVE_REGISTER_WINDOWS): Delete macro. * gdbint.texinfo (Target Architecture Definition): Delete definition of HAVE_REGISTER_WINDOWS.
2002-04-21* i960-tdep.c (i960_find_saved_register): New function.Andrew Cagney3-4/+159
(i960_get_saved_register): New function. * config/i960/tm-i960.h (GET_SAVED_REGISTER): Define. (i960_get_saved_register): Declare. * config/i960/tm-i960.h, i960-tdep.c: Update copyright.
2002-04-212002-04-20 David S. Miller <davem@redhat.com>David S. Miller2-14/+20
* sparc-nat.c (store-inferior_registers): Fix ambiguous else.
2002-04-21* arm-tdep.c (arm_gdbarch_init): Use gdbarch_num_pseudo_regsAndrew Cagney2-1/+7
instead of NUM_PSEUDO_REGS.
2002-04-212002-04-20 David S. Miller <davem@redhat.com>David S. Miller3-2/+9
* config/sparc/tm-linux.h (GDB_MULTI_ARCH): Define to GDB_MULTI_ARCH_PARTIAL * config/sparc/tm-sp64linux.h (GDB_MULTI_ARCH): Do not define, let tm-sp64.h do it.
2002-04-21*** empty log message ***gdbadmin1-1/+1
2002-04-21daily updateAlan Modra1-1/+1
2002-04-20* frame.c (find_saved_register): Avoid a NULL pointerJason Thorpe2-2/+8
dereference and actually walk the frame list.
2002-04-20* gdbarch.sh (gdbarch_update_p): Keep the list of architecturesAndrew Cagney4-54/+106
sorted in most most-recent-used order. Document. * gdbarch.h, gdbarch.c: Regenerate.
2002-04-202002-04-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz5-6/+91
* gdbserver/inferiors.c (struct inferior_info): Add regcache_data. (add_inferior): Call create_register_cache. (clear_inferiors): Call free_register_cache. (inferior_regcache_data, set_inferior_regcache_data): New functions. * gdbserver/regcache.c (struct inferior_regcache_data): New. (registers): Remove. (get_regcache): New function. (create_register_cache, free_register_cache): New functions. (set_register_cache): Don't initialize the register cache here. (registers_to_string, registers_from_string, register_data): Call get_regcache. * gdbserver/regcache.h: Add prototypes. * gdbserver/server.h: Likewise.
2002-04-202002-04-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz12-16/+548
* gdbserver/mem-break.c: New file. * gdbserver/mem-break.h: New file. * gdbserver/Makefile.in: Add mem-break.o rule; update server.h dependencies. * gdbserver/inferiors.c (struct inferior_info): Add target_data member. (clear_inferiors): Free target_data member if set. (inferior_target_data, set_inferior_target_data): New functions. * gdbserver/linux-i386-low.c (i386_breakpoint, i386_breakpoint_len) (i386_stop_pc, i386_set_pc): New. Add to the_low_target. * gdbserver/linux-low.c (linux_bp_reinsert): New variable. (struct inferior_linux_data): New. (linux_create_inferior): Use set_inferior_target_data. (linux_attach): Likewise. Call add_inferior. (linux_wait_for_one_inferior): New function. (linux_wait): Call it. (linux_write_memory): Add const. (initialize_low): Call set_breakpoint_data. * gdbserver/linux-low.h (struct linux_target_ops): Add breakpoint handling members. * gdbserver/server.c (attach_inferior): Remove extra add_inferior call. * gdbserver/server.h: Include mem-break.h. Update inferior.c prototypes. * gdbserver/target.c (read_inferior_memory) (write_inferior_memory): New functions. * gdbserver/target.h (read_inferior_memory) (write_inferior_memory): Change macros to prototypes. (struct target_ops): Update comments. Add const to write_memory definition.
2002-04-20Revert previous change.Andrew Cagney2-4/+4
2002-04-20Fix C_FILE auxent on xcoff64.Tom Rix2-1/+5
2002-04-20 * archures.c (bfd_lookup_arch): Move the list order comment..Alan Modra5-20/+89
(struct bfd_arch_info): ..to where it belongs.
2002-04-20Fix date.Andrew Cagney1-1/+1
2002-04-20* sparc-tdep.c (sparc_get_saved_register): Use get_prev_frameAndrew Cagney5-14/+20
instead of ->prev. * z8k-tdep.c (z8k_frame_chain): Do not use ->prev. * s390-tdep.c (s390_frame_chain): Do not use ->prev. * rs6000-tdep.c (frame_get_saved_regs): Use rs6000_frame_chain() instead of ->prev.