summaryrefslogtreecommitdiff
path: root/gdb/blockframe.c
Commit message (Collapse)AuthorAgeFilesLines
* 2002-11-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney2002-11-291-11/+0
| | | | | | * stack.c (get_selected_block): In-line get_current_block. * frame.h (get_current_block): Delete declaration. * blockframe.c (get_current_block): Delete function.
* 2002-11-28 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-281-1/+1
| | | | | | | | | | | | | | | | | | | | | * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Rename USE_GENERIC_DUMMY_FRAMES. * gdbarch.h, gdbarch.c: Regenerate. * valops.c, frame.c: Update. * config/z8k/tm-z8k.h, config/mn10200/tm-mn10200.h: Update. * config/m32r/tm-m32r.h, config/h8500/tm-h8500.h: Update. * config/pa/tm-hppa.h, blockframe.c: Update. * vax-tdep.c, sparc-tdep.c, ns32k-tdep.c: Ditto. * m68k-tdep.c, alpha-tdep.c: Ditto. * arm-tdep.c: Eliminate USE_GENERIC_DUMMY_FRAMES as always 1. * mips-tdep.c: Ditto. Index: doc/ChangeLog 2002-11-28 Andrew Cagney <ac131313@redhat.com> * gdbint.texinfo (Host Definition): Delete documentation on USE_GENERIC_DUMMY_FRAMES.
* 2002-11-26 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-261-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | * inferior.h (deprecated_pc_in_call_dummy_before_text_end): Rename pc_in_call_dummy_before_text_end (deprecated_pc_in_call_dummy_after_text_end): Rename pc_in_call_dummy_after_text_end. (deprecated_pc_in_call_dummy_on_stack): Rename pc_in_call_dummy_on_stack. (deprecated_pc_in_call_dummy_at_entry_point): Rename pc_in_call_dummy_at_entry_point. * m68k-tdep.c (m68k_gdbarch_init): Update. * s390-tdep.c (s390_gdbarch_init): Update. * x86-64-tdep.c (x86_64_gdbarch_init): Update. * vax-tdep.c (vax_gdbarch_init): Update. * sparc-tdep.c (sparc_gdbarch_init): Update. * ns32k-tdep.c (ns32k_gdbarch_init): Update. * mn10300-tdep.c (mn10300_gdbarch_init): Update. * i386-tdep.c (i386_gdbarch_init): Update. * frv-tdep.c (frv_gdbarch_init): Update. * cris-tdep.c (cris_gdbarch_init): Update. * config/sparc/tm-sparc.h (PC_IN_CALL_DUMMY): Update. * blockframe.c (deprecated_pc_in_call_dummy_before_text_end) (deprecated_pc_in_call_dummy_after_text_end) (deprecated_pc_in_call_dummy_on_stack) (deprecated_pc_in_call_dummy_at_entry_point): Update. * alpha-tdep.c (alpha_gdbarch_init): Update.
* 2002-11-23 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-241-21/+0
| | | | | | | | * blockframe.c (find_frame_addr_in_frame_chain): Move function from here ... * varobj.c (find_frame_addr_in_frame_chain): ... to here. (varobj_create): Note that frame ID should be used. * frame.h (find_frame_addr_in_frame_chain): Delete declaration.
* 2002-11-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-181-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * frame.h (enum frame_type): Define. (get_frame_type): Declare. (struct frame_info): Add field `type'. Delete field signal_handler_caller. (deprecated_set_frame_signal_handler_caller): Declare. * frame.c (get_frame_type): New function. (deprecated_set_frame_type): New function. (create_new_frame): Set the frame's type. (get_prev_frame): Similar. * sparc-tdep.c: Use get_frame_type instead of signal_handler_caller. * s390-tdep.c: Ditto. * m68klinux-nat.c: Ditto. * ns32k-tdep.c: Ditto. * x86-64-linux-tdep.c: Ditto. * vax-tdep.c: Ditto. * rs6000-tdep.c: Ditto. * ppc-linux-tdep.c: Ditto. * i386-interix-tdep.c: Ditto. * mips-tdep.c: Ditto. * m68k-tdep.c: Ditto. * hppa-tdep.c: Ditto. * ia64-tdep.c: Ditto. * cris-tdep.c: Ditto. * arm-tdep.c: Ditto. * alpha-tdep.c: Ditto. * i386-tdep.c: Ditto. * stack.c: Ditto. * ada-lang.c: Ditto. * blockframe.c: Update. * i386-interix-tdep.c (i386_interix_back_one_frame): Use deprecated_set_frame_type instead of signal_handler_caller. * ppc-linux-tdep.c (ppc_linux_init_extra_frame_info): Ditto. * rs6000-tdep.c (rs6000_init_extra_frame_info): Ditto. * breakpoint.h: Delete FIXME suggesting get_frame_type. Index: tui/ChangeLog 2002-11-18 Andrew Cagney <ac131313@redhat.com> * tuiStack.c (tuiShowFrameInfo): Use get_frame_type instead of signal_handler_caller.
* 2002-11-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney2002-11-151-29/+0
| | | | | | | | | * frame.h (sigtramp_saved_pc): Delete declaration. * blockframe.c (sigtramp_saved_pc): Delete function. * ns32k-tdep.c (ns32k_sigtramp_saved_pc): New function. (ns32k_frame_saved_pc): Call ns32k_sigtramp_saved_pc. * vax-tdep.c (vax_sigtramp_saved_pc): New function. (vax_frame_saved_pc): Call vax_sigtramp_saved_pc.
* 2002-11-15 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-151-3/+3
| | | | | | | | | | | | | | | | | | | | | * frame.c (frame_pc_unwind): New function. (frame_saved_regs_pc_unwind): New function. (frame_register_unwind): Pass unwind_cache instead of register_unwind_cache. (set_unwind_by_pc): Add unwind_pc parameter, set. (create_new_frame): Pass frame->pc_unwind to set_unwind_by_pc. (get_prev_frame): Ditto. * frame.h (frame_pc_unwind_ftype): Declare. (struct frame_info): Add pc_unwind, pc_unwind_cache_p and pc_unwind_cache. Rename register_unwind_cache to unwind_cache. (frame_pc_unwind): Declare. * dummy-frame.c (dummy_frame_pc_unwind): New function. (struct dummy_frame): Add comment mentioning that values are for previous frame. * dummy-frame.h (dummy_frame_pc_unwind): Declare. * blockframe.c (file_frame_chain_valid): Use frame_pc_unwind. (generic_file_frame_chain_valid): Ditto. * stack.c (frame_info): Ditto.
* 2002-11-11 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-111-2/+2
| | | | | | * blockframe.c (sigtramp_saved_pc): Fix tipo. void_func_ptr instead of void_code_ptr. (sigtramp_saved_pc): Ditto.
* 2002-11-09 Klee Dienes <kdienes@apple.com>Klee Dienes2002-11-091-2/+2
| | | | | | | * blockframe.c (sigtramp_saved_pc): Use builtin_type_void_code_ptr, not builtin_type_void_data_ptr (we are extracting the PC). Use TYPE_LENGTH (builtin_type_void_code_ptr) instead of (TARGET_PTR_BIT / TARGET_CHAR_BIT).
* 2002-11-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-081-551/+0
| | | | | | | | | | | | | | | | | * Makefile.in (frame.o): Update dependencies. * blockframe.c (current_frame, frame_obstack_alloc) (frame_saved_regs_zalloc, get_current_frame) (set_current_frame, create_new_frame) (set_unwind_by_pc, get_next_frame) (flush_cached_frames, reinit_frame_cache) (frame_saved_regs_register_unwind) (deprecated_generic_get_saved_register) (get_prev_frame, get_frame_pc, get_frame_saved_regs) (_initialize_blockframe): Move frame code from here... * frame.c: ...to here. Include "gdb_obstack.h", "gdbcore.h", "annotate.h" and "dummy-frame.h". (_initialize_frame): New function.
* 2002-11-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-081-303/+1
| | | | | | | | | | | | | | | | | | | | | * blockframe.c: Include "dummy-frame.h". (struct dummy_frame, dummy_frame_stack) (generic_find_dummy_frame, deprecated_generic_find_dummy_frame) (generic_pc_in_call_dummy, deprecated_read_register_dummy) (generic_push_dummy_frame, generic_save_dummy_frame_tos) (generic_save_call_dummy_addr, generic_pop_current_frame) (generic_pop_dummy_frame, generic_fix_call_dummy) (generic_fix_call_dummy, generic_call_dummy_register_unwind): Move dummy frame code from here... * dummy-frame.c: ...to here. New file. * dummy-frame.h: New file. (generic_call_dummy_register_unwind): Declare. (generic_find_dummy_frame): Declare. * Makefile.in (SFILES): Add dummy-frame.c. (dummy-frame.o): Specify dependencies. (dummy_frame_h): Define. (COMMON_OBS): Add dummy-frame.o. (blockframe.o): Update dependencies.
* 2002-11-02 Andrew Cagney <cagney@redhat.com>Andrew Cagney2002-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * regcache.h (deprecated_read_register_gen): Rename read_register_gen. (deprecated_write_register_gen): Rename write_register_gen. * i387-tdep.c: Update. * x86-64-linux-nat.c: Update * wince.c: Update. * thread-db.c: Update. * win32-nat.c: Update. * mips-tdep.c: Update. * d10v-tdep.c: Update. * cris-tdep.c: Update. * remote-sim.c: Update. * remote-rdi.c: Update. * remote-rdp.c: Update. * frame.c: Update. * target.c: Update. * blockframe.c: Update. * x86-64-tdep.c: Update. * xstormy16-tdep.c: Update. * sh-tdep.c: Update. * s390-tdep.c: Update. * rs6000-tdep.c: Update. * sparc-tdep.c: Update. * i386-tdep.c: Update. * dwarf2cfi.c: Update. * regcache.c: Update.
* 2002-11-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney2002-11-011-3/+4
| | | | | | | | | | | | | | * frame.h (deprecated_generic_get_saved_register): Rename generic_get_saved_register. * blockframe.c (deprecated_generic_get_saved_register): Update. * xstormy16-tdep.c (xstormy16_get_saved_register): Update. (xstormy16_frame_saved_register): Update. * sh-tdep.c (sh_gdbarch_init): Update. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. * ia64-tdep.c (ia64_get_saved_register): Update. * cris-tdep.c (cris_gdbarch_init): Update. * config/m32r/tm-m32r.h (GET_SAVED_REGISTER): Update. * arm-tdep.c (arm_gdbarch_init): Update.
* 2002-10-11 Klee Dienes <kdienes@apple.com>Klee Dienes2002-10-121-8/+6
| | | | | | | | | * findvar.c (read_memory_typed_address): New function. * gdbcore.h (read_memory_typed_address): Add prototype. * blockframe.c (sigtramp_saved_pc): Use read_memory_typed_address to read a value destined for a CORE_ADDR, not read_memory_integer. * f-valprint.c (f77_get_dynamic_upperbound): Ditto. (f77_get_dynamic_lowerbound): Ditto.
* 2002-09-30 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-10-011-8/+33
| | | | | | * blockframe.c (generic_find_dummy_frame): Rewrite. Only test against TOP when TOP was explictly set. (generic_push_dummy_frame): Set TOP to zero.
* 2002-09-17 Andrew Cagney <cagney@redhat.com>Andrew Cagney2002-09-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * h8300-tdep.c (h8300_frame_chain): (h8300_frame_saved_pc): * blockframe.c (deprecated_read_register_dummy): Rename generic_read_register_dummy. * frame.c (frame_unwind_signed_register): New function. (frame_unwind_unsigned_register): New function. * frame.h (frame_unwind_signed_register): Declare. (frame_unwind_unsigned_register): Declare. (deprecated_read_register_dummy): Rename generic_read_register_dummy. * xstormy16-tdep.c (xstormy16_frame_saved_pc): Update. * rs6000-tdep.c (rs6000_frame_saved_pc): Update. * s390-tdep.c (s390_frame_saved_pc_nofix): Update. (s390_frame_chain): Update. * v850-tdep.c (v850_find_callers_reg): Update. (v850_frame_saved_pc): Update. * m32r-tdep.c (m32r_init_extra_frame_info): Update. (m32r_find_callers_reg): Update. (m32r_frame_saved_pc): Update. * sh-tdep.c (sh_find_callers_reg): Update. (sh64_get_saved_pr): Update. (sh_init_extra_frame_info): Update. (sh_init_extra_frame_info): Update. (sh64_init_extra_frame_info): Update. (sh64_init_extra_frame_info): Update. * mcore-tdep.c (mcore_find_callers_reg): Update. (mcore_frame_saved_pc): Update. (mcore_init_extra_frame_info): Update. * i386-tdep.c (i386_frame_saved_pc): Update. * ia64-tdep.c (ia64_frame_saved_pc): Update. (ia64_init_extra_frame_info): Update. (ia64_init_extra_frame_info): Update. * d10v-tdep.c (d10v_frame_saved_pc): Update. * cris-tdep.c (cris_init_extra_frame_info): Update. * avr-tdep.c (avr_frame_chain): Update. (avr_init_extra_frame_info): Update. (avr_frame_saved_pc): Update. * arm-tdep.c (arm_find_callers_reg): Update. (arm_init_extra_frame_info): Update. (arm_frame_saved_pc): Update.
* * gdbarch.sh (SIGTRAMP_START, SIGTRAMP_END): New methods.Mark Kettenis2002-09-061-3/+1
| | | | | | * gdbarch.h, gdbarch.c: Re-generate. * blockframe.c (find_pc_sect_partial_function): Convert to use SIGTRAMP_START_P predicate.
* 2002-08-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2002-08-221-3/+2
| | | | | | * blockframe.c (generic_call_dummy_register_unwind): Use regcache_cooked_read to catch cases in which the variable is stored in a pseudo register.
* * blockframe.c: Fix a few coding standard violations.Mark Kettenis2002-08-181-8/+8
|
* 2002-08-12 Andrew Cagney <cagney@redhat.com>Andrew Cagney2002-08-131-1/+14
| | | | | | | | | | | | | * regcache.c (regcache_raw_read_as_address): Delete function. (regcache_cooked_read_signed): New function. (regcache_cooked_read_unsigned): New function. * regcache.h (regcache_cooked_read_signed): Declare. (regcache_cooked_read_unsigned): Declare. (regcache_raw_read_as_address): Delete declaration. * blockframe.c (generic_read_register_dummy): Use regcache_cooked_read_unsigned. * i386-tdep.c (i386_extract_struct_value_address): Use regcache_cooked_read_unsigned.
* * blockframe.c (frame_saved_regs_register_unwind): ReviseKevin Buettner2002-08-091-1/+5
| | | | | PC_IN_CALL_DUMMY assertion to only apply when generic dummy frames are in use.
* 2002-07-24 Andrew Cagney <cagney@redhat.com>Andrew Cagney2002-07-241-4/+5
| | | | | | | | | | | | | | | | | | | | | | * regcache.h (regcache_raw_read, regcache_raw_write): Replace regcache_read and regcache_write. (regcache_raw_read_as_address): Replace regcache_read_as_address. * regcache.c: Update. * sh-tdep.c (sh64_push_arguments): Update comment. (sh_pseudo_register_read): Update. (sh_pseudo_register_write): Update. (sh4_register_read): Update. (sh4_register_write): Update. (sh64_pseudo_register_read): Update. (sh64_pseudo_register_write): Update. (sh64_register_read): Update. (sh64_register_write): Update. * i386-tdep.c (i386_extract_return_value): Update. (i386_extract_struct_value_address): Update. (i386_extract_return_value): Update. * blockframe.c (generic_read_register_dummy): Update. (generic_call_dummy_register_unwind): Update * infrun.c (write_inferior_status_register): Update.
* 2002-07-16 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller2002-07-161-0/+2
| | | | | * blockframe.c (get_pc_function_start): return 0 if the minimal symbol found is not inside a section.
* * frame.h (frame_address_in_block): New function.Joel Brobecker2002-07-021-12/+24
| | | | | | | | | | | * blockframe.c (frame_address_in_block): New function extracted from get_frame_block(). (get_frame_block): Use frame_address_in_block(). (block_innermost_frame): Use frame_address_in_block() to match the frame pc address against the block boundaries rather than the frame pc directly. This prevents a failure when a frame pc is actually a return-address pointing immediately after the end of the given block.
* * blockframe.c (generic_find_dummy_frame): Change return type toAndrew Cagney2002-06-281-19/+26
| | | | | | | | | | | | | | | | ``struct regcache''. (struct dummy_frame): Replace field ``registers'' with regcache, a struct regcache object. (generic_find_dummy_frame): Update. (generic_push_dummy_frame): Update. Use regcache_xfree, regcache_xmalloc and regcache_cpy. (generic_pop_dummy_frame): Update. Use regcache_cpy and regcache_xfree. (deprecated_generic_find_dummy_frame): Update. (generic_read_register_dummy): Update. Use regcache_read_as_address. (generic_call_dummy_register_unwind): Update. Use regcache_read. (generic_get_saved_register): Update. Use regcache_read.
* * frame.h (deprecated_generic_find_dummy_frame): RenameAndrew Cagney2002-06-261-1/+7
| | | | | | | | | | | | | generic_find_dummy_frame. * blockframe.c (generic_find_dummy_frame): Make static. (deprecated_generic_find_dummy_frame): New function. * sh-tdep.c (sh_nofp_frame_init_saved_regs): Replace generic_find_dummy_frame with deprecated_find_dummy_frame. (sh64_nofp_frame_init_saved_regs): Ditto. (sh_fp_frame_init_saved_regs): Ditto. * s390-tdep.c (s390_frame_saved_pc_nofix): Ditto. (s390_frame_chain): Ditto. * cris-tdep.c (cris_frame_init_saved_regs): Ditto.
* * gdbarch.sh (FRAME_CHAIN_VALID): Set default toAndrew Cagney2002-06-081-1/+11
| | | | | | | | | generic_func_frame_chain_valid. * gdbarch.h, gdbarch.c: Re-generate. * blockframe.c (generic_func_frame_chain_valid): Only check PC_IN_CALL_DUMMY when generic dummy frames. Don't worry about passing FP to PC_IN_CALL_DUMMY. Fix PR gdb/360.
* * stack.c (frame_info): Use frame_register_unwind instead ofAndrew Cagney2002-06-011-0/+184
| | | | | | | | | | | | | | | | saved_regs. Mention when the SP is on the stack or in a register. * frame.h (frame_register_unwind_ftype): Define. Document. (struct frame_info): Add field register_unwind and register_unwind_cache. (frame_register_unwind): Declare. (generic_unwind_get_saved_register): Declare. * frame.c (frame_register_unwind): New function. (generic_unwind_get_saved_register): New function. * blockframe.c (generic_call_dummy_register_unwind): New function. (frame_saved_regs_register_unwind): New function. (set_unwind_by_pc): New function. (create_new_frame): New function. (get_prev_frame): New function.
* * frame.h (select_frame): Delete level parameter.Andrew Cagney2002-05-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * valops.c (hand_function_call): CallAndrew Cagney2002-04-261-13/+39
| | | | | | | | | | | | generic_save_call_dummy_addr. * frame.h (generic_save_call_dummy_addr): Declare. * blockframe.c (struct dummy_frame): Add fields call_lo and call_hi. (generic_find_dummy_frame): Check for PC in range call_lo to call_hi instead of entry_point_address. (generic_pc_in_call_dummy): Search the dummy frames for a PC in the call_lo to call_hi range. Allow for DECR_PC_AFTER_BREAK. (generic_save_call_dummy_addr): New function.
* * arch-utils.h: Update copyright.Andrew Cagney2002-04-241-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | * gdbarch.sh (PC_IN_SIGTRAMP): Add. * gdbarch.h, gdbarch.c: Re-generate. * inferior.h (IN_SIGTRAMP): Delete definition. * arch-utils.c (legacy_pc_in_sigtramp): New function. * arch-utils.h (legacy_pc_in_sigtramp): Declare. * mips-tdep.c (mips_init_extra_frame_info): Use PC_IN_SIGTRAMP. (mips_dump_tdep): Do not print value of IN_SIGTRAMP. * hppa-tdep.c (pc_in_interrupt_handler): Use PC_IN_SIGTRAMP. (find_proc_framesize): Ditto. * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Ditto. (alpha_init_extra_frame_info): Ditto. * infrun.c (handle_inferior_event): Ditto. (handle_inferior_event): Ditto. (check_sigtramp2): Ditto. * blockframe.c (create_new_frame): Ditto. (get_prev_frame): Ditto. * ppc-linux-tdep.c: Update comments. * i386-linux-tdep.c: Update comments. * breakpoint.c (bpstat_what): Update comment. * gdbint.texinfo (Target Architecture Definition): Replace IN_SIGTRAMP with PC_IN_SIGTRAMP.
* * config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro.Andrew Cagney2002-04-141-7/+0
| | | | | | | * blockframe.c (FRAME_CHAIN_COMBINE): Delete macro. (get_prev_frame): Do not call FRAME_CHAIN_COMBINE. * gdbint.texinfo (Target Architecture Definition): Remove FRAME_CHAIN_COMBINE.
* * stack.c (select_frame): Check that selected_frame and theAndrew Cagney2002-04-101-4/+7
| | | | | | | | | specified level are as expected. * blockframe.c (get_prev_frame): Set the `level' from next_frame. Update copyright. * frame.h (struct frame_info): Add field `level'. Update copyright. Work-in-progress PR gdb/464.
* gdb/ChangeLog:Jim Blandy2002-04-051-5/+27
| | | | | | | | | | | | | | | * stack.c (get_selected_block): Add new argument `addr_in_block', used to return the exact code address we used to select the block, not just the block. * blockframe.c (get_frame_block, get_current_block): Same. * frame.h (get_frame_block, get_current_block, get_selected_block): Update declarations. * linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c, linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed. gdb/mi/ChangeLog: * mi-cmd-stack.c (list_args_or_locals): Pass new arg to get_frame_block. (See entry in gdb/ChangeLog.)
* 2002-02-27 Fred Fish <fnf@redhat.com>Fred Fish2002-02-271-1/+1
| | | | | * blockframe.c (generic_fix_call_dummy): Fix obvious typo in comment (dumy -> dummy).
* Zap another #ifdef INIT_EXTRA_FRAME_INFOAndrew Cagney2001-11-061-3/+2
|
* Change INIT_EXTRA_FRAME_INFO() to a function with predicate.Andrew Cagney2001-11-051-3/+2
|
* * symtab.c (main_name): New function.Andrew Cagney2001-07-071-1/+1
| | | | | | | | | | | | | | | | (set_main_name): New function. * symtab.h: Declare. * TODO: Update From 2000-03-05 Anthony Green <green@redhat.com>: * dbxread.c (process_one_symbol): Handle the N_MAIN stab by setting main_name. * blockframe.c (inside_main_func): Use main_name instead of "main". * symtab.c (find_main_psymtab): Ditto. * source.c (select_source_symtab): Ditto. * nlmread.c (nlm_symfile_read): Ditto. * rs6000-tdep.c (skip_prologue): Ditto.
* * arch-utils.c (init_frame_pc_default): New functionAndrew Cagney2001-06-161-6/+0
| | | | | | | | | | * arch-utils.h (init_frame_pc_default): Declare. * gdbarch.sh (INIT_FRAME_PC): Default to init_frame_pc_default and not init_frame_pc_noop. * gdbarch.h, gdbarch.c: Re-generate. * blockframe.c (INIT_FRAME_PC): Delete macro definition. * mips-tdep.c (mips_gdbarch_init): Set init_frame_pc to init_frame_pc_noop.
* Multi-arch INIT_FRAME_PC() and INIT_FRAME_PC_FIRST().Andrew Cagney2001-06-151-2/+0
|
* 2001-05-17 Michael Snyder <msnyder@redhat.com>Michael Snyder2001-05-171-4/+3
| | | | | * blockframe.c (create_new_frame): Zero all the fields via memset, rather than zeroing them one by one.
* Phase 1 of the ptid_t changes.gdb-post-ptid_t-2001-05-03Kevin Buettner2001-05-041-2/+2
|
* Update/correct copyright notices.Kevin Buettner2001-03-061-2/+2
|
* Create new file regcache.h. Update all uses.Andrew Cagney2001-03-011-2/+3
|
* * blockframe.c (generic_get_saved_register): Spelling fix.Nicholas Duffek2001-01-121-1/+1
| | | | * frame.h (FRAME_FP): Spelling fix.
* Replace free() with xfree().Kevin Buettner2000-12-151-4/+4
|
* 2000-12-11 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2000-12-111-1/+1
| | | | | | | | | * sh-tdep.c (sh_extract_struct_value_address): Protoize. 2000-12-11 Michael Snyder <msnyder@mvstp600e.cygnus.com> * blockframe.c (get_prev_frame): Add missing paren omitted in last check-in.
* 2000-12-11 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2000-12-111-3/+3
| | | | | * blockframe.c (get_prev_frame): Zero all fields of prev by default using memset (instead of one at a time).
* spelling correction: depdendant->dependentDavid Anderson2000-09-011-1/+1
|
* 2000-08-09 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2000-08-091-1/+2
| | | | | | | | | | | | | | * blockframe.c (sigtramp_saved_pc): Use dynamic allocation, since TARGET_PTR_BIT is no longer a constant (MULTI_ARCH). * irix4-nat.c (get_longjmp_target): Ditto. * irix5-nat.c (get_longjmp_target): Ditto. * jv-valprint.c (java_value_print): Ditto. * m3-nat.c (get_cprocs): Ditto. * m68k-tdep.c (get_longjmp_target): Ditto. * mips-nat.c (get_longjmp_target): Ditto. * mipsv4-nat.c(get_longjmp_target): Ditto. * pa64solib.c (read_dynamic_info): Ditto. * solib.c (elf_locate_base): Ditto.