aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-04-01 * frame.c (get_prev_frame): Disable call to inside_entry_file().Corinna Vinschen2-0/+15
2003-04-012003-04-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney31-194/+92
* gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero. (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. * gdbarch.h, gdbarch.c: Re-generate. * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete. (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. * infcmd.c (run_stack_dummy): Simplify assuming CALL_DUMMY_BREAKPOINT_OFFSET_P. * infrun.c (handle_inferior_event): Ditto. * alpha-tdep.c (alpha_gdbarch_init): Do not set call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p. * arm-tdep.c (arm_gdbarch_init): Ditto. * avr-tdep.c (avr_gdbarch_init): Ditto. * cris-tdep.c (cris_gdbarch_init): Ditto. * d10v-tdep.c (d10v_gdbarch_init): Ditto. * frv-tdep.c (frv_gdbarch_init): Ditto. * h8300-tdep.c (h8300_gdbarch_init): Ditto. * i386-tdep.c (i386_gdbarch_init): Ditto. * ia64-tdep.c (ia64_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. * m68k-tdep.c (m68k_gdbarch_init): Ditto. * mcore-tdep.c (mcore_gdbarch_init): Ditto. * mips-tdep.c (mips_gdbarch_init): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. * s390-tdep.c (s390_gdbarch_init): Ditto. * sh-tdep.c (sh_gdbarch_init): Ditto. * sparc-tdep.c (sparc_gdbarch_init): Ditto. * v850-tdep.c (v850_gdbarch_init): Ditto. * vax-tdep.c (vax_gdbarch_init): Ditto. * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
2003-04-01 * symfile.c (symfile_relocate_debug_section): Update call toDaniel Jacobowitz2-1/+6
bfd_simple_get_relocated_section_contents.
2003-04-01 * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64Jakub Jelinek2-1/+8
targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath if --enable-64-bit-bfd.
2003-04-01fix spelling typoNick Clifton1-2/+2
2003-04-01Fixes for iWMMXt contribution.Nick Clifton19-371/+651
2003-04-01Add tests for ARM simulator.Nick Clifton175-0/+8600
2003-04-01Change "arm-pe*" to "arm-*-pe*". Similarly for thumb-pe*, mcore-pe andNick Clifton3-258/+276
mcore-*elf.
2003-04-01 * dwarf2.c (read_attribute_value): Correct typo in comment.Ben Elliston2-1/+5
2003-04-01Make add_line_info() take a copy of the filename.Nick Clifton2-1/+12
2003-04-01Remove use of concat() inside concat_filename()Nick Clifton2-18/+33
2003-04-01* ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms ofAlexandre Oliva2-5/+7
--section-start.
2003-04-01* objdump.c (dump_data): Don't truncate the address to long; makeAlexandre Oliva2-2/+44
the width large enough, and uniform for all entries in a section.
2003-04-01 * simple.c (bfd_simple_get_relocated_section_contents): AddDaniel Jacobowitz5-116/+130
parameter symbol_table. Optionally use it instead of the symbol table from the bfd. Save and restore output offsets and output sections around bfd_get_relocated_section_contents. Fix a memory leak. (simple_save_output_info, simple_restore_output_info): New functions. * bfd-in2.h: Regenerate. * dwarf2.c (read_abbrevs): Use bfd_simple_get_relocated_section_contents instead of bfd_get_section_contents. (decode_line_info): Likewise. (_bfd_dwarf2_find_nearest_line): Likewise. Don't call find_rela_addend. (find_rela_addend): Remove. * elfxx-ia64.c (elfNN_ia64_reloc): Weaken sanity check for debugging sections. (elfNN_ia64_hash_table_create): Create the hash table with malloc, not bfd_zalloc.
2003-04-01*** empty log message ***gdbadmin1-1/+1
2003-04-01daily updateAlan Modra1-1/+1
2003-03-312003-03-31 Andrew Cagney <cagney@redhat.com>Andrew Cagney23-44/+77
* gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate. * gdbarch.h, gdbarch.c: Regenerate. * inferior.h (FIX_CALL_DUMMY): Delete macro. * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when available. * frame.h (generic_fix_call_dummy): Delete declaration. * dummy-frame.h: Update comment. * dummy-frame.c (generic_fix_call_dummy): Delete function. * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set fix_call_dummy. * sh-tdep.c (sh_gdbarch_init): Ditto. * s390-tdep.c (s390_gdbarch_init): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. * mcore-tdep.c (mcore_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. * ia64-tdep.c (ia64_gdbarch_init): Ditto. * i386-tdep.c (i386_gdbarch_init): Ditto. * h8300-tdep.c (h8300_gdbarch_init): Ditto. * frv-tdep.c (frv_gdbarch_init): Ditto. * d10v-tdep.c (d10v_gdbarch_init): Ditto. * cris-tdep.c (cris_gdbarch_init): Ditto. * avr-tdep.c (avr_gdbarch_init): Ditto. * arm-tdep.c (arm_gdbarch_init): Ditto.
2003-03-31 * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful.Joel Brobecker2-8/+6
(INIT_FRAME_AP): Likewise. (EXTRA_FRAME_INFO): Likewise.
2003-03-312003-03-31 Andrew Cagney <cagney@redhat.com>Andrew Cagney20-26/+35
* gdbarch.sh: Include "symfile.h". (CALL_DUMMY_ADDRESS): Default to entry_point_address. * gdbarch.h, gdbarch.c: Re-generate. * inferior.h (CALL_DUMMY_ADDRESS): Delete macro. * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set call_dummy_address, the default is at entry_point_address. * v850-tdep.c (v850_gdbarch_init): Ditto. * sparc-tdep.c (sparc_gdbarch_init): Ditto. * sh-tdep.c (sh_gdbarch_init): Ditto. * s390-tdep.c (s390_gdbarch_init): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. * mcore-tdep.c (mcore_gdbarch_init): Ditto. * ia64-tdep.c (ia64_gdbarch_init): Ditto. * i386-tdep.c (i386_gdbarch_init): Ditto. * h8300-tdep.c (h8300_gdbarch_init): Ditto. * frv-tdep.c (frv_gdbarch_init): Ditto. * d10v-tdep.c (d10v_gdbarch_init): Ditto. * cris-tdep.c (cris_gdbarch_init): Ditto. * arm-tdep.c (arm_gdbarch_init): Ditto.
2003-03-312003-03-31 H.J. Lu <hjl@gnu.org>H.J. Lu2-39/+59
* readelf.c: Include "libiberty.h". (dynamic_relocations): New. (process_relocs): Properly handle dynamic relocation. (process_dynamic_segment): Fill relocation elements in dynamic_info.
2003-03-312003-03-31 Andrew Cagney <cagney@redhat.com>Andrew Cagney33-109/+49
* gdbarch.sh (CALL_DUMMY_P): Delete. * gdbarch.h, gdbarch.c: Re-generate. * inferior.h (CALL_DUMMY_P): Delete macro. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. * vax-tdep.c (vax_gdbarch_init): Update. * v850-tdep.c (v850_gdbarch_init): Update. * sparc-tdep.c (sparc_gdbarch_init): Update. * sh-tdep.c (sh_gdbarch_init): Update. * s390-tdep.c (s390_gdbarch_init): Update. * rs6000-tdep.c (rs6000_gdbarch_init): Update. * ns32k-tdep.c (ns32k_gdbarch_init): Update. * mn10300-tdep.c (mn10300_gdbarch_init): Update. * mips-tdep.c (mips_gdbarch_init): Update. * mcore-tdep.c (mcore_gdbarch_init): Update. * m68k-tdep.c (m68k_gdbarch_init): Update. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. * ia64-tdep.c (ia64_gdbarch_init): Update. * i386-tdep.c (i386_gdbarch_init): Update. * h8300-tdep.c (h8300_gdbarch_init): Update. * frv-tdep.c (frv_gdbarch_init): Update. * d10v-tdep.c (d10v_gdbarch_init): Update. * cris-tdep.c (cris_gdbarch_init): Update. * breakpoint.c (deprecated_frame_in_dummy): Update. * avr-tdep.c (avr_gdbarch_init): Update. * alpha-tdep.c (alpha_gdbarch_init): Update. * arm-tdep.c (arm_gdbarch_init): Update. * dummy-frame.c (dummy_frame_this_id): Update comments. * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto. * frame.c (legacy_get_prev_frame): Ditto. * valops.c (call_function_by_hand): Delete function. (hand_function_call): Rename to call_function_by_hand 2003-03-31 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Delete references to CALL_DUMMY_P.
2003-03-312003-03-31 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-70/+93
* gmon_io.c (enum gmon_ptr_size, enum gmon_ptr_signedness): New. (gmon_get_ptr_size, gmon_get_ptr_signedness): New. (gmon_io_read_vma, gmon_io_write_vma, gmon_read_raw_arc) (gmon_write_raw_arc, gmon_out_read, gmon_out_write): Adjust to use new functions and enums.
2003-03-31Fix memory leaksNick Clifton16-101/+187
2003-03-31Add some initial 64-bit DWARF supportNick Clifton2-79/+217
2003-03-31Allow resource IDs to be strings or numbers.Nick Clifton7-28/+72
Add a test for this.
2003-03-312003-03-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-3/+6
2002-11-10 Klee Dienes <kdienes@apple.com> * value.h (struct value): Update comment.
2003-03-312003-03-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-5/+8
* d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with D10V_FP_REGNUM. (d10v_gdbarch_init): Do not set fp_regnum.
2003-03-31daily updateAlan Modra1-1/+1
2003-03-31*** empty log message ***gdbadmin1-1/+1
2003-03-302003-03-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-29/+30
* frame.c (get_frame_base): Force ID initialization. (get_prev_frame): Move computation of the frame ID from here ... (get_frame_id): ... to here. (legacy_get_prev_frame): Mark the frame ID as valid. * frame.h (struct frame_info): Add field "id_p".
2003-03-30* i386-tdep.c (i386_store_struct_return): Removed.Mark Kettenis2-7/+5
(i386_gdbarch_init): Don't set deprecated_store_struct_return.
2003-03-302003-03-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney30-57/+164
* gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP. * gdbarch.h, gdbarch.c: Regenerate. * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp. * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. * mcore-tdep.c (mcore_gdbarch_init): Ditto. * m68k-tdep.c (m68k_gdbarch_init): Ditto. * i386-tdep.c (i386_gdbarch_init): Ditto. * h8300-tdep.c (h8300_gdbarch_init): Ditto. * cris-tdep.c (cris_gdbarch_init): Ditto. * vax-tdep.c (vax_gdbarch_init): Ditto. * s390-tdep.c (s390_gdbarch_init): Ditto. * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. * alpha-tdep.c (alpha_gdbarch_init): Ditto. * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update. * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update. * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define. * sparc-tdep.c (sparc_gdbarch_init): Update. * sh-tdep.c (sh_gdbarch_init): Update. * rs6000-tdep.c (rs6000_gdbarch_init): Update. * mips-tdep.c (mips_gdbarch_init): Update. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. * ia64-tdep.c (ia64_gdbarch_init): Update. * frv-tdep.c (frv_gdbarch_init): Update. * avr-tdep.c (avr_gdbarch_init): Update. * valops.c (hand_function_call): Replace TARGET_WRITE_SP with DEPRECATED_DUMMY_WRITE_SP. Call when the method is available, instead of when push_dummy_call is not available. 2003-03-30 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Remove reference to TARGET_WRITE_SP.
2003-03-302003-03-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-3/+11
* infttrace.c: Include "gdbthread.h". (parent_attach_all): Fix function signature. (call_ptrace): Update call. * Makefile.in (infttrace.o): Update dependencies.
2003-03-302003-03-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney23-77/+104
* gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace PUSH_RETURN_ADDRESS. * gdbarch.h, gdbarch.c: Regenerate. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. * x86-64-tdep.c (x86_64_init_abi): Update. * v850-tdep.c (v850_gdbarch_init): Update. * sparc-tdep.c (sparc_gdbarch_init): Update. * sh-tdep.c (sh_gdbarch_init): Update. * s390-tdep.c (s390_gdbarch_init): Update. * rs6000-tdep.c (rs6000_gdbarch_init): Update. * mn10300-tdep.c (mn10300_gdbarch_init): Update. * mips-tdep.c (mips_gdbarch_init): Update. * mcore-tdep.c (mcore_gdbarch_init): Update. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. * ia64-tdep.c (ia64_gdbarch_init): Update. * i386-tdep.c (i386_gdbarch_init): Update. * h8300-tdep.c (h8300_gdbarch_init): Update. * frv-tdep.c (frv_gdbarch_init): Update. * cris-tdep.c (cris_gdbarch_init): Update. * avr-tdep.c (avr_gdbarch_init): Update. * arm-tdep.c (arm_gdbarch_init): Update. * valops.c (hand_function_call): Update.
2003-03-30Remove use of __IWMMXT__.Nick Clifton7-43/+23
2003-03-302003-03-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-0/+8
* gdb.base/sizeof.c (main): Print the value of '\377'. * gdb.base/sizeof.exp: Check the sign of '\377'.
2003-03-302003-03-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-14/+14
* d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or sizeof_call_dummy_words. * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always define. * gdbarch.h: Regenerate.
2003-03-30*** empty log message ***gdbadmin1-1/+1
2003-03-30daily updateAlan Modra1-1/+1
2003-03-292003-03-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney12-20/+134
* infttrace.h: New file. * hpread.c: Include "gdb_assert.h" and "somsolib.h". (hpread_get_textlow): Detect an uninitialized dn_bufp. (hpread_read_doc_function_type): Detect an initialized type1. (hpread_quick_traverse): Initialize mod_name_string. * somsolib.h: Add #ifdef SOMSOLIB_H wrapper. (som_solib_get_solib_by_pc): Declare. (so_lib_thread_start_addr): Declare. (no_shared_libraries): Declare. * somread.c (init_import_symbols): Make static. Add forward declaration. * config/pa/nm-hppah.h: Include "infttrace.h" for parent_attach_all. (hppa_insert_hw_watchpoint): Declare. (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare. * hppah-nat.c: Include "gdb_string.h". (parent_attach_all): Delete extern declaration, moved to "infttrace.h". (hppa_can_use_hw_watchpoint): Change type of "type" parameter to int. (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto. * Makefile.in (infttrace_h): Define. (hpread.o): Update dependencies. (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto. * hppa-hpux-tdep.c: Include "gdb_string.h". * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc". * infrun.c (handle_inferior_event): Always initialize stepped_after_stopped_by_watchpoint. Add default and remove fallthrough in switch statement. * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type" parameter to int. (hppa_remove_hw_watchpoint): Ditto.
2003-03-292003-03-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+7
* ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint offset.
2003-03-29* arm-tdep.c (arm_push_arguments): Delete.Richard Earnshaw2-143/+165
(struct stack_item): New type. (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions. (arm_store_struct_return): Delte. (arm_gdbarch_init): Register arm_push_dummy_call. Don't register arm_push_arguments or arm_store_struct_return.
2003-03-292003-03-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-27/+40
* Makefile.in (d10v-tdep.o): Update dependencies. * remote.h (target_resume_hook, target_wait_loop_hook): Declare. * d10v-tdep.c: Include "remote.h". (target_resume_hook): Delete extern declaration. (target_wait_loop_hook): Ditto. (tdisassemble_command): Eliminate assignment in "if" conditional. (d10v_ts2_register_sim_regno): Eliminate call to legacy_register_sim_regno. (d10v_ts3_register_sim_regno): Ditto.
2003-03-292003-03-28 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+13
* elflink.h (elf_link_add_object_symbols): Correctly combine visibilities.
2003-03-29*** empty log message ***gdbadmin1-1/+1
2003-03-28daily updateAlan Modra1-1/+1
2003-03-282003-03-28 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston4-267/+239
* thread.c: Reindented. * lin-lwp.c: Ditto. * linux-proc.c: Ditto.
2003-03-28MAINTAINERS (write after approval): Add myself.Bob Rossi2-0/+5
2003-03-28* objc-exp.y: Add missing semi-colons.Theodore A. Roth2-0/+7
2003-03-28*** empty log message ***gdbadmin1-1/+1