Andrew Cagney
e9a2674e1d
2003-03-31 Andrew Cagney <cagney@redhat.com>
...
* 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-31 21:58:23 +00:00
Andrew Cagney
e8a8712ae2
2003-03-31 Andrew Cagney <cagney@redhat.com>
...
* 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-31 19:01:21 +00:00
Andrew Cagney
6c0e89edf9
2003-03-30 Andrew Cagney <cagney@redhat.com>
...
* 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-30 14:59:02 +00:00
Andrew Cagney
28f617b332
2003-03-30 Andrew Cagney <cagney@redhat.com>
...
* 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-30 14:32:09 +00:00
Andrew Cagney
378bfd1b7a
2003-03-27 Andrew Cagney <cagney@redhat.com>
...
* regcache.c (write_sp): Delete function and references.
* inferior.h (write_sp): Delete declaration.
* valops.c (hand_function_call): Replace write_sp with
TARGET_WRITE_SP.
* sparc-tdep.c (sparc_push_dummy_frame): Ditto.
(sparc_pop_frame): Ditto.
Index: doc/ChangeLog
2003-03-27 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Remove
references to write_sp.
2003-03-27 15:29:45 +00:00
Andrew Cagney
b81774d89c
2003-03-26 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS.
(push_dummy_call): New pure multi-arch replacement with gdbarch,
regcache and dummy_addr parameters.
* gdbarch.h, gdbarch.c: Re-generate.
* valops.c (hand_function_call): Use gdbarch_push_dummy_call when
available; assume it will handle stack alignment and return
address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and
legacy_push_arguments.
(legacy_push_arguments): Rename default_push_arguments.
* value.h (legacy_push_arguments): Rename default_push_arguments.
* i386-tdep.c (i386_push_arguments): Call legacy_push_arguments.
* config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update.
* config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update.
* config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update.
* config/i386/tm-symmetry.h: Update.
* 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.
* hppa-tdep.c (hppa_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.
* avr-tdep.c (avr_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* arm-linux-tdep.c (arm_linux_init_abi): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
2003-03-26 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Replace
PUSH_ARGUMENTS with push_dummy_call, add gdbarch, regcache and
dummy_addr parameters.
2003-03-26 22:39:53 +00:00
Andrew Cagney
f933a9c585
2003-03-25 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace
EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1.
* gdbarch.h, gdbarch.c: Re-generate.
* config/sparc/tm-sparc.h
(DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define.
* sparc-tdep.c (sparc_gdbarch_init): Set
deprecated_extra_stack_alignment_needed.
* config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear
extra_stack_alignment_needed.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* hppa-tdep.c (hppa_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* m68k-tdep.c (m68k_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2003-03-25 22:56:41 +00:00
Andrew Cagney
4183d81204
2003-03-25 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace
STORE_STRUCT_RETURN.
* gdbarch.h, gdbarch.c: Regenerate.
* d10v-tdep.c (d10v_store_struct_return): Delete function.
(d10v_push_arguments): Set the struct return register.
(d10v_gdbarch_init): Update.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_init_abi): 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.
* hppa-tdep.c (hppa_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.
* alpha-tdep.c (alpha_gdbarch_init): Update.
2003-03-25 20:38:47 +00:00
Andrew Cagney
1bf6d5cced
2003-03-25 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete.
(DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace
CALL_DUMMY_STACK_ADJUST with a predicate variable.
* gdbarch.h, gdbarch.c: Regenerate.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
call_dummy_stack_adjust_p.
* vax-tdep.c (vax_gdbarch_init): Ditto.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* m68k-tdep.c (m68k_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.
* alpha-tdep.c (alpha_gdbarch_init): Ditto.
* config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
* config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update.
* config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update. Do not set
call_dummy_stack_adjust_p.
* inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro.
(CALL_DUMMY_STACK_ADJUST): Delete macro.
* sparc-tdep.c (sparc32_push_arguments): Update.
* valops.c (hand_function_call): Update.
2003-03-25 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
reference to CALL_DUMMY_STACK_ADJUST_P. Rename
CALL_DUMMY_STACK_ADJUST to DEPRECATED_CALL_DUMMY_STACK_ADJUST.
Add reference to PUSH_ARGUMENTS.
2003-03-25 18:54:16 +00:00
Andrew Cagney
618ce49fa2
Index: ChangeLog
...
2003-03-23 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN.
(DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID.
* gdbarch.h, gdbarch.c: Regenerate.
* valops.c (hand_function_call): Update.
* objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
* frame.c (legacy_saved_regs_this_id): Update.
(legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update.
* dummy-frame.h: Update.
* config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update.
* config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
* config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update.
* config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update.
* config/m68k/tm-sun3.h: Update.
* blockframe.c (inside_main_func, frame_chain_valid): Update.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_init_abi): Update.
* vax-tdep.c (vax_gdbarch_init): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_frame_saved_pc): Update.
(rs6000_gdbarch_init, rs6000_frame_saved_pc): Update.
(frame_get_saved_regs): Update.
* ppc-linux-tdep.c (ppc_linux_init_abi): 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_frame_num_args, i386_gdbarch_init): Update.
* i386-interix-tdep.c (i386_interix_init_abi): Update.
(i386_interix_back_one_frame): Update.
* hppa-tdep.c (hppa_gdbarch_init): Update.
(hppa_init_extra_frame_info): 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.
* alpha-tdep.c (alpha_gdbarch_init): Update.
Index: doc/ChangeLog
2003-03-23 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Algorithms, Target Architecture Definition):
Deprecate FRAME_CHAIN and FRAME_CHAIN_VALID.
2003-03-24 03:54:51 +00:00
Andrew Cagney
ac2adee56d
2003-03-12 Andrew Cagney <cagney@redhat.com>
...
* frame.c (get_saved_register): Delete function.
* xstormy16-tdep.c: Update comment.
* regcache.h: Update comments.
* sparc-tdep.c (sparc_init_extra_frame_info): Instead of
get_saved_register and extract_address, use
frame_read_unsigned_register.
(sparc_frame_saved_pc): Ditto.
(sparc_get_saved_register): Instead of get_saved_register, use
frame_register.
(sparc_pop_frame): Ditto.
* frame.h (get_saved_register): Delete declaration.
* findvar.c: Update comments.
(value_of_register): Call frame_register instead of
get_saved_register.
(value_from_register): Ditto.
* config/sparc/tm-sparc.h: Update comment.
* breakpoint.c: Update comment.
Index: doc/ChangeLog
2003-03-12 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
references to get_saved_register.
2003-03-14 17:07:01 +00:00
Andrew Cagney
129c1cd6c2
2003-03-14 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace
GET_SAVED_REGISTER.
* gdbarch.h, gdbarch.c: Re-generate.
* frame.h: Update comments.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_init_abi): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* frame.c (frame_register): Update.
(get_saved_register): Update.
* config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update.
2003-03-14 16:05:36 +00:00
Andrew Cagney
749b82f626
2003-03-13 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME.
* gdbarch.h, gdbarch.c: Regenerate.
* valops.c (hand_function_call): Update comment.
* stack.c (return_command): Update comment.
* config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update.
* config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_init_abi): 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.
* hppa-tdep.c (hppa_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.
* alpha-tdep.c (alpha_gdbarch_init): Update.
2003-03-13 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Replace
POP_FRAME with DEPRECATED_POP_FRAME. Update description.
2003-03-13 21:45:43 +00:00
Andrew Cagney
8bedc05091
2003-03-12 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
* gdbarch.h, gdbarch.c: Re-generate.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* x86-64-tdep.h: 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.
* ppc-linux-tdep.c (ppc_linux_init_abi): 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.
* i386-interix-tdep.c (i386_interix_init_abi): Update.
* hppa-tdep.c (hppa_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.
* alpha-tdep.c (alpha_gdbarch_init): Update.
* sh-tdep.c (sh_init_extra_frame_info): Update.
(sh64_init_extra_frame_info): Update.
* ns32knbsd-nat.c (frame_num_args): Update.
* m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
* xstormy16-tdep.c (xstormy16_pop_frame): Update.
(xstormy16_frame_chain_valid): Update.
* vax-tdep.c (vax_saved_pc_after_call): Update.
* v850-tdep.c (v850_frame_chain): Update.
(v850_pop_frame): Update.
(v850_init_extra_frame_info): Update.
* sparc-tdep.c (setup_arbitrary_frame): Update.
* ns32k-tdep.c (umax_frame_num_args): Update.
* s390-tdep.c (s390_pop_frame_regular): Update.
* mn10300-tdep.c (mn10300_frame_chain): Update.
(mn10300_pop_frame_regular): Update.
(mn10300_init_extra_frame_info): Update.
* mips-tdep.c (mips_init_frame_pc_first): Update.
(mips_frame_chain): Update.
(mips_pop_frame): Update.
* mcore-tdep.c (mcore_frame_chain): Update.
(mcore_pop_frame): Update.
(mcore_init_extra_frame_info): Update.
* arch-utils.c (init_frame_pc_default): Update.
* m68k-tdep.c (isi_frame_num_args): Update.
(delta68_frame_num_args): Update.
(news_frame_num_args): Update.
* ia64-tdep.c (ia64_pop_frame_regular): Update.
* alpha-tdep.c (alpha_init_frame_pc_first): Update.
(alpha_frame_chain): Update.
(alpha_pop_frame): Update.
* hppa-tdep.c (hppa_saved_pc_after_call): Update.
(hppa_init_extra_frame_info): Update.
(hppa_frame_chain): Update.
(hppa_frame_chain_valid): Update.
* cris-tdep.c (cris_init_extra_frame_info): Update.
* avr-tdep.c (avr_init_extra_frame_info): Update.
* arm-tdep.c (arm_frame_chain_valid): Update.
(arm_init_extra_frame_info): Update.
(arm_pop_frame): Update.
* frame.c (frame_pc_unwind): Update.
* config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
(DEPRECATED_INIT_FRAME_PC_FIRST): Update.
* config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
* config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
* config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
* config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
2003-03-12 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Rename
FRAME_SAVED_PC to DEPRECATED_FRAME_SAVED_PC.
2003-03-12 16:50:47 +00:00
Andrew Cagney
a0ed55327d
2003-03-03 Andrew Cagney <cagney@redhat.com>
...
Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional.
* gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with
predicate. Replace MAX_REGISTER_RAW_SIZE.
(DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for
MAX_REGISTER_VIRTUAL_SIZE.
* regcache.c (legacy_max_register_raw_size): New function.
(legacy_max_register_virtual_size): New function.
* defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define.
(MAX_REGISTER_RAW_SIZE): Define.
(legacy_max_register_raw_size): Declare.
(legacy_max_register_virtual_size): Declare.
* config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
(DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update.
* config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
(DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
* config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
(DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
* config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
* config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
* config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
* 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.
* hppa-tdep.c (hppa_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.
* alpha-tdep.c (alpha_gdbarch_init): Update.
* d10v-tdep.c (d10v_gdbarch_init): Do not set
max_register_raw_size or max_register_virtual_size.
2003-03-03 20:50:20 +00:00
Andrew Cagney
f30ee0bc4f
2003-03-01 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename
FRAME_INIT_SAVED_REGS.
* gdbarch.h, gdbarch.c: Regenerate.
* stack.c (frame_info): Update.
* sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update.
(sh_init_extra_frame_info, sh64_init_extra_frame_info): Update.
(sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update.
* ns32k-tdep.c (ns32k_pop_frame): Update.
* mips-tdep.c (mips_pop_frame): Update.
* m68hc11-tdep.c (m68hc11_pop_frame): Update.
* ia64-tdep.c (ia64_frame_chain): Update.
(ia64_frame_saved_pc, ia64_get_saved_register): Update.
(ia64_frameless_function_invocation): Update.
(ia64_init_extra_frame_info): Update.
(ia64_pop_frame_regular): Update.
* frame.h (struct frame_info): Update comment.
(DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro.
* frame.c (frame_saved_regs_register_unwind): Update.
(frame_saved_regs_register_unwind): Update.
(deprecated_generic_get_saved_register): Update.
* cris-tdep.c: Update comment.
* config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS):
Rename macro.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_init_abi): 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.
* ppc-linux-tdep.c (ppc_linux_init_abi): 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.
* frv-tdep.c (frv_gdbarch_init): Update.
* avr-tdep.c (avr_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
2003-03-01 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Rename
FRAME_INIT_SAVED_REGS to DEPRECATED_FRAME_INIT_SAVED_REGS.
2003-03-02 04:02:25 +00:00
Andrew Cagney
e9582e713d
2003-03-01 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename
INIT_EXTRA_FRAME_INFO.
* gdbarch.h, gdbarch.c: Regenerate.
* arm-tdep.c: Update comments.
* sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto.
* i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto.
* frame.h, avr-tdep.c: Ditto.
* frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO.
(create_new_frame, legacy_get_prev_frame): Ditto.
* config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
* config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize
deprecated_init_extra_frame_info instead of init_extra_frame_info.
* x86-64-tdep.c (x86_64_init_abi): Ditto.
* 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.
* ppc-linux-tdep.c (ppc_linux_init_abi): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mips-tdep.c (mips_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-interix-tdep.c (i386_interix_init_abi): Ditto.
* hppa-tdep.c (hppa_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* arm-tdep.c (arm_gdbarch_init): Ditto.
* alpha-tdep.c (alpha_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
Index: doc/ChangeLog
2003-02-26 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo: Rename INIT_EXTRA_FRAME_INFO to
DEPRECATED_INIT_EXTRA_FRAME_INFO.
2003-03-02 00:11:43 +00:00
Andrew Cagney
f3824013e0
2003-02-27 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with
predicate. Replaces PUSH_DUMMY_FRAME.
* gdbarch.h, gdbarch.c: Regnerate.
* valops.c (hand_function_call): Update. Call
generic_push_dummy_frame directly.
* vax-tdep.c (vax_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* hppa-tdep.c (hppa_gdbarch_init): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
* config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
* config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
* inferior.h (PUSH_DUMMY_FRAME): Delete definition.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set
push_dummy_frame to generic_push_dummy_frame.
* v850-tdep.c (v850_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.
* mips-tdep.c (mips_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-02-27 17:48:48 +00:00
Kevin Buettner
881324ebbd
Make Sparc/Solaris work again.
2003-02-18 22:46:16 +00:00
Andrew Cagney
867f3898e3
2003-01-15 Andrew Cagney <ac131313@redhat.com>
...
* sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
Index: doc/ChangeLog
2003-01-15 Andrew Cagney <ac131313@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
definition of PRINT_REGISTER_HOOK.
2003-01-15 19:35:28 +00:00
Andrew Cagney
da50a4b7b3
2003-01-08 Andrew Cagney <cagney@redhat.com>
...
* alpha-tdep.c: Use get_frame_extra_info.
* arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
* h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
* mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
* sparc-tdep.c, xstormy16-tdep.c: Ditto.
2003-01-08 17:21:30 +00:00
Andrew Cagney
11c02a10e2
2003-01-08 Andrew Cagney <cagney@redhat.com>
...
* alpha-tdep.c: Use get_next_frame.
* arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
* dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
* m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
* mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
* ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
* v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
* xstormy16-tdep.c: Ditto.
2003-01-08 15:56:38 +00:00
Andrew Cagney
1e2330ba1f
2003-01-07 Andrew Cagney <cagney@redhat.com>
...
* alpha-tdep.c: Use get_frame_base.
* arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
* h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
* m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
* mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
* sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
* x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
* config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
* config/sparc/tm-sparc.h: Ditto.
2003-01-08 01:53:38 +00:00
Andrew Cagney
a00a19e94c
2003-01-07 Andrew Cagney <cagney@redhat.com>
...
* xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
extra_info using frame_extra_info_zalloc.
* sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
* sh-tdep.c (sh_init_extra_frame_info): Ditto.
(sh64_init_extra_frame_info): Ditto.
* mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
* s390-tdep.c (s390_init_extra_frame_info): Ditto.
* mips-tdep.c (mips_init_extra_frame_info): Ditto.
* mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
* frv-tdep.c (frv_init_extra_frame_info): Ditto.
* m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
* ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
* h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
* d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
* cris-tdep.c (cris_init_extra_frame_info): Ditto.
* arm-tdep.c (arm_init_extra_frame_info): Ditto.
* alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
* mn10300-tdep.c (analyze_dummy_frame): Use
deprecated_set_frame_extra_info_hack.
* mcore-tdep.c (analyze_dummy_frame): Ditto.
2003-01-07 14:51:11 +00:00
Andrew Cagney
d995ff4bc0
2003-01-06 Andrew Cagney <cagney@redhat.com>
...
* sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
2003-01-06 20:04:11 +00:00
Daniel Jacobowitz
516034834f
* arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
...
* d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
* hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
* blockframe.c: Include "gdbcmd.h" and "command.h".
(backtrace_below_main): New variable.
(file_frame_chain_valid, func_frame_chain_valid)
(nonnull_frame_chain_valid, generic_file_frame_chain_valid)
(generic_func_frame_chain_valid): Remove functions.
(frame_chain_valid, do_flush_frames_sfunc): New functions.
(_initialize_blockframe): New function.
* Makefile.in (blockframe.o): Update dependencies.
* frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
comment. Call frame_chain_valid ().
* frame.h: Remove old prototypes. Add prototype for
frame_chain_valid and update comments to match.
* gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
Remove old comment.
* gdbarch.h: Regenerated.
* gdbarch.c: Regenerated.
Plus updates to all other targets not to provide a FRAME_CHAIN_VALID.
2003-01-05 01:39:56 +00:00
Daniel Jacobowitz
4be87837a2
* arch-utils.c (gdbarch_info_init): Set osabi to
...
GDB_OSABI_UNINITIALIZED.
* gdbarch.sh: Add osabi to struct gdbarch and to struct
gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
in gdbarch_list_lookup_by_info and in gdbarch_update_p.
* gdbarch.c: Regenerated.
* gdbarch.h: Regenerated.
* osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
there's no BFD.
(gdbarch_init_osabi): Remove osabi argument; use info.osabi.
* osabi.h (enum gdb_osabi): Move to defs.h.
(gdbarch_init_osabi): Update prototype.
* defs.h (enum gdb_osabi): Moved here.
* Makefile.in: Update dependencies.
Plus updates to alpha, arm, hppa, i386, mips, ns32k, ppc, sh, sparc, and vax
ports to match.
2003-01-04 23:38:46 +00:00
Daniel Jacobowitz
1e69823536
gdb/
...
* buildsym.h (processing_hp_compilation): Remove obsolete variable.
* gdbarch.sh Remove include of "value.h" in gdbarch.h.
(COERCE_FLOAT_TO_DOUBLE): Remove.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* Makefile.in: Remove value_h from gdbarch_h.
* valops.c (coerce_float_to_double): New variable.
(default_coerce_float_to_double): Remove.
(standard_coerce_float_to_double): Remove.
(value_arg_coerce): Use coerce_float_to_double.
(_initialize_valops): Add "set coerce-float-to-double".
* value.h (default_coerce_float_to_double): Remove prototype.
(standard_coerce_float_to_double): Remove prototype.
* hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
prototyped.
* mdebugread.c (parse_symbol): Likewise.
* stabsread.c (define_symbol): Mark all functions as prototyped.
* hppa-tdep.c (hppa_coerce_float_to_double): Remove.
* alpha-tdep.c (alpha_gdbarch_init): Remove call to
set_gdbarch_coerce_float_to_double.
* arm-tdep.c (arm_gdbarch_init): Likewise.
* frv-tdep.c (frv_gdbarch_init): Likewise.
* h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
* i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
* mips-tdep.c (mips_gdbarch_init): Likewise.
(mips_coerce_float_to_double): Remove.
* rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
(rs6000_coerce_float_to_double): Remove.
* s390-tdep.c (s390_gdbarch_init): Likewise.
* sh-tdep.c (sh_gdbarch_init): Likewise.
(sh_coerce_float_to_double): Remove.
* sparc-tdep.c (sparc_gdbarch_init): Likewise.
(sparc_coerce_float_to_double): Remove.
* v850-tdep.c (v850_gdbarch_init): Likewise.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
* config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
* config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
(hppa_coerce_float_to_double): Remove prototype.
* config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
doc/
* gdb.texinfo (Controlling GDB): Add ABI section. Document
"set coerce-float-to-double".
* gdbint.texinfo (COERCE_FLOAT_TO_DOUBLE): Remove documentation.
testsuite/
* gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
stabs.
* gdb.base/completion.exp: Allow marker1(void) as well as marker1().
* gdb.base/whatis.exp: Always allow (void) after function names.
2003-01-04 22:37:49 +00:00
Andrew Cagney
8ccd593be0
2003-01-03 Andrew Cagney <cagney@redhat.com>
...
* alpha-tdep.c: Use deprecated_update_frame_base_hack.
* avr-tdep.c, cris-tdep.c: Ditto.
* mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
* sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
2003-01-03 18:23:01 +00:00
Andrew Cagney
50abf9e57b
2003-01-02 Andrew Cagney <ac131313@redhat.com>
...
* arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
frame accessor methods.
* alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
* dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
* m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
* mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
* s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
* vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
* z8k-tdep.c: Ditto.
2003-01-02 22:20:47 +00:00
Andrew Cagney
95486978f3
2002-12-11 Andrew Cagney <cagney@redhat.com>
...
* frame.c (deprecated_get_frame_saved_regs): Rename
get_frame_saved_regs.
* frame.h (deprecated_get_frame_saved_regs): Update declaration.
* sparc-tdep.c: Update.
* hppa-tdep.c: Update.
* h8500-tdep.c: Update.
2002-12-11 20:35:43 +00:00
Andrew Cagney
ae45cd1682
2002-12-01 Andrew Cagney <ac131313@redhat.com>
...
* gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Rename
PC_IN_CALL_DUMMY. Change to predicate. Always allow call.
* gdbarch.h, gdbarch.c: Re-generate.
* config/sparc/tm-sparc.h, config/sparc/tm-sp64.h: Update.
* config/mn10200/tm-mn10200.h, config/h8500/tm-h8500.h: Update.
* config/pa/tm-hppa.h, frame.h: Update.
* x86-64-tdep.c, vax-tdep.c, sparc-tdep.c: Update.
* s390-tdep.c, ns32k-tdep.c, mn10300-tdep.c: Update.
* m68k-tdep.c, i386-tdep.c, frv-tdep.c: Update.
* cris-tdep.c, alpha-tdep.c: Update.
* frame.c (set_unwind_by_pc, create_new_frame): Use either
DEPRECATED_PC_IN_CALL_DUMMY or pc_in_dummy_frame.
(get_prev_frame): Ditto.
Index: doc/ChangeLog
2002-12-01 Andrew Cagney <ac131313@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
PC_IN_CALL_DUMMY.
2002-12-01 19:07:16 +00:00
Andrew Cagney
6e7f8b9cba
2002-11-29 Andrew Cagney <ac131313@redhat.com>
...
* stack.c (selected_frame, select_frame): Move from here ...
* frame.c (selected_frame, select_frame): ... to here. Include
"language.h".
* Makefile.in (frame.o): Update dependencies.
* frame.c (get_selected_frame): New function.
* frame.h (get_selected_frame): Declare.
(deprecated_selected_frame): Rename selected_frame.
* ada-lang.c, ada-tasks.c, breakpoint.c, corelow.c: Update.
* eval.c, f-valprint.c, findvar.c, frame.c, frame.h: Update.
* h8300-tdep.c, h8500-tdep.c, hppa-tdep.c, infcmd.c: Update.
* inflow.c, infrun.c, macroscope.c, mips-tdep.c: Update.
* mn10300-tdep.c, ocd.c, regcache.h, remote-e7000.c: Update.
* remote-mips.c, remote-rdp.c, sh-tdep.c, sparc-tdep.c: Update.
* stack.c, thread.c, tracepoint.c, valops.c, varobj.c: Update.
* z8k-tdep.c, cli/cli-cmds.c: Update.
Index: mi/ChangeLog
2002-11-29 Andrew Cagney <ac131313@redhat.com>
* mi/mi-cmd-stack.c, mi/mi-main.c: Update to use
deprecated_selected_frame.
Index: tui/ChangeLog
2002-11-29 Andrew Cagney <ac131313@redhat.com>
* tui/tui-hooks.c: Update to use deprecated_selected_frame.
* tui/tui.c, tui/tuiDisassem.c, tui/tuiRegs.c: Ditto.
* tui/tuiSource.c, tui/tuiSourceWin.c, tui/tuiWin.c: Ditto.
2002-11-29 19:15:16 +00:00
Andrew Cagney
07555a7286
2002-11-28 Andrew Cagney <ac131313@redhat.com>
...
* 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-28 21:38:44 +00:00
Andrew Cagney
b99fa2d295
2002-11-27 Andrew Cagney <ac131313@redhat.com>
...
* gdbarch.sh (CALL_DUMMY_LOCATION): Default to AT_ENTRY_POINT.
(USE_GENERIC_DUMMY_FRAMES): Default to true.
(PC_IN_CALL_DUMMY): Default to generic_pc_in_call_dummy.
* gdbarch.c, gdbarch.h: Re-generate.
* inferior.h (USE_GENERIC_DUMMY_FRAMES): Delete macro definition.
(CALL_DUMMY_LOCATION): Delete macro definition.
(PC_IN_CALL_DUMMY): Delete macro definitions.
* arm-tdep.c (arm_gdbarch_init): Do not set pc_in_call_dummy,
default is already generic_pc_in_call_dummy.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* arm-tdep.c (arm_gdbarch_init): Do not set
use_generic_dummy_frames, default is already 1.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
* x86-64-tdep.c (x86_64_gdbarch_init): Ditto.
* v850-tdep.c (v850_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.
* mips-tdep.c (mips_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.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
call_dummy_location, default is already AT_ENTRY_POINT.
* x86-64-tdep.c (x86_64_gdbarch_init): Ditto.
* 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.
* mips-tdep.c (mips_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.
* alpha-tdep.c (alpha_gdbarch_init): Ditto.
2002-11-28 18:15:59 +00:00
Andrew Cagney
b4b8817765
2002-11-26 Andrew Cagney <ac131313@redhat.com>
...
* 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-26 19:01:30 +00:00
Andrew Cagney
c193f6ac9c
2002-11-19 Andrew Cagney <ac131313@redhat.com>
...
* frame.h (FRAME_FP): Delete macro.
(get_frame_base): New function declaration.
* frame.c (get_frame_base): New function.
(get_frame_id): Use ->frame.
(frame_find_by_id): Rewrite to use get_frame_id.
* blockframe.c: Use get_frame_base instead of FRAME_FP.
* cris-tdep.c, d10v-tdep.c, findvar.c, h8500-tdep.c: Ditto.
* hppa-tdep.c, i386-tdep.c, infcmd.c, infrun.c: Ditto.
* m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
* mn10200-tdep.c, mn10300-tdep.c, rs6000-tdep.c: Ditto.
* sh-tdep.c, sparc-tdep.c, stack.c, tracepoint.c: Ditto.
* v850-tdep.c, valops.c, z8k-tdep.c: Ditto.
2002-11-24 19:48:13 +00:00
Andrew Cagney
f4ded5b121
2002-11-22 Andrew Cagney <ac131313@redhat.com>
...
* gdbarch.sh (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Default
to default_frame_address.
* gdbarch.h, gdbarch.c: Re-generate.
* d10v-tdep.c (d10v_gdbarch_init): Do not set frame_args_address
or frame_locals_address to default_frame_address.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* i386-tdep.c (i386_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_gdbarch_init): Update.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* cris-tdep.c (cris_frame_args_address): Delete function.
(cris_frame_locals_address): Delete function.
(cris_gdbarch_init): Do not set frame_args_address or
frame_locals_address.
2002-11-23 01:39:25 +00:00
Andrew Cagney
5a203e4405
2002-11-18 Andrew Cagney <ac131313@redhat.com>
...
* 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-18 22:19:33 +00:00
Andrew Cagney
524d7c188c
2002-11-14 Andrew Cagney <ac131313@redhat.com>
...
* regcache.h (deprecated_registers): Rename registers.
* a68v-nat.c, alpha-nat.c, arch-utils.c, core-sol2.c: Update.
* hp300ux-nat.c, hppab-nat.c, hppah-nat.c: Update.
* hppam3-nat.c, hpux-thread.c, i386gnu-nat.c: Update.
* ia64-aix-nat.c, ia64-linux-nat.c, ia64-tdep.c: Update.
* irix4-nat.c, irix5-nat.c, lynx-nat.c, m68k-tdep.c: Update.
* m68knbsd-nat.c, mips-linux-tdep.c, mipsm3-nat.c: Update.
* mipsv4-nat.c, ns32knbsd-nat.c, ppc-bdm.c: Update.
* ppc-sysv-tdep.c, ptx4-nat.c, regcache.c, remote-es.c: Update.
* remote-sds.c, remote-vx68.c, remote-vxmips.c: Update.
* remote-vxsparc.c, rs6000-tdep.c, sol-thread.c: Update.
* sparc-nat.c, sparc-tdep.c, sun3-nat.c, symm-nat.c: Update.
* v850ice.c: Update.
2002-11-14 20:37:29 +00:00
Andrew Cagney
73937e031a
2002-11-13 Andrew Cagney <cagney@redhat.com>
...
* regcache.h (deprecated_read_register_bytes): Rename
read_register_bytes.
(deprecated_write_register_bytes): Rename write_register_bytes.
* alpha-tdep.c, arm-tdep.c, cris-tdep.c, d10v-tdep.c: Update.
* dwarf2cfi.c, frv-tdep.c, hppa-tdep.c, ia64-tdep.c: Update.
* m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Update.
* ns32k-tdep.c, regcache.c, remote-sds.c, remote-vx.c: Update.
* remote.c, rs6000-tdep.c, s390-tdep.c, sh-tdep.c: Update.
* sparc-tdep.c, v850-tdep.c, vax-tdep.c, x86-64-tdep.c: Update.
* xstormy16-tdep.c, z8k-tdep.c, config/nm-gnu.h: Update.
* config/nm-m3.h, config/h8500/tm-h8500.h: Update.
* config/i386/nm-ptx4.h, config/i386/nm-symmetry.h: Update.
* config/m32r/tm-m32r.h, config/m68k/nm-sun3.h: Update.
* config/m68k/tm-delta68.h, config/m68k/tm-linux.h: Update.
* config/mn10200/tm-mn10200.h, config/pa/tm-hppa64.h: Update.
* config/sparc/nm-nbsd.h, config/sparc/nm-sun4os4.h: Update.
* config/sparc/nm-sun4sol2.h, config/sparc/tm-sparclet.h: Update.
2002-11-13 Andrew Cagney <ac131313@redhat.com>
* mi-main.c (mi_cmd_data_write_register_values): Use
deprecated_write_register_bytes instead of write_register_bytes.
2002-11-14 00:25:05 +00:00
Andrew Cagney
bf1e52be95
2002-11-10 Andrew Cagney <ac131313@redhat.com>
...
* breakpoint.h (deprecated_frame_in_dummy): Rename frame_in_dummy.
* stack.c (print_frame_info_base): Update.
(print_frame_info_base, frame_info): Update.
* sparc-tdep.c (sparc_init_extra_frame_info): Update.
(sparc_frame_saved_pc): Update.
* ada-lang.c (find_printable_frame): Update.
* breakpoint.c (deprecated_frame_in_dummy): Update.
2002-11-10 15:36:26 +00:00
Andrew Cagney
87647bb0c7
2002-11-05 Andrew Cagney <ac131313@redhat.com>
...
* sparc-tdep.c (sparc_print_register_hook): Make static.
(sparc_print_registers_info): New function.
(sparc_do_registers_info): New function.
(sparclet_print_registers_info): New function.
(sparclet_do_registers_info): New function.
(do_sparc_print_registers_info): New function.
(sparc_print_registers): New static function, clone of infcmd.c's
default_print_registers_info.
* config/sparc/tm-sparclet.h (PRINT_REGISTER_HOOK): Delete macro.
(sparclet_do_registers_info): Declare.
(DEPRECATED_DO_REGISTERS_INFO): Re-define.
* config/sparc/tm-sparc.h (DEPRECATED_DO_REGISTERS_INFO):
Re-define.
(sparc_do_registers_info): Declare.
(PRINT_REGISTER_HOOK): Delete macro.
(sparc_print_register_hook): Delete declaration.
2002-11-05 20:43:36 +00:00
Andrew Cagney
4caf0990c1
2002-11-02 Andrew Cagney <cagney@redhat.com>
...
* 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-02 14:59:10 +00:00
Andrew Cagney
ebba838619
Index: ChangeLog
...
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.3144
diff -u -r1.3144 ChangeLog
--- ChangeLog 23 Aug 2002 23:05:38 -0000 1.3144
+++ ChangeLog 23 Aug 2002 23:14:45 -0000
@@ -1,3 +1,53 @@
2002-08-23 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (STORE_RETURN_VALUE): Add regcache parameter.
(DEPRECATED_STORE_RETURN_VALUE): New method.
(EXTRACT_RETURN_VALUE): Make buffer parameter a void pointer.
* gdbarch.h, gdbarch.c: Re-generate.
* values.c (set_return_value): Pass current_regcache to
STORE_RETURN_VALUE.
* arch-utils.h (legacy_store_return_value): Declare.
* arch-utils.c (legacy_store_return_value): New function.
(legacy_extract_return_value): Update parameters.
* config/pa/tm-hppa.h (DEPRECATED_STORE_RETURN_VALUE): Rename
STORE_RETURN_VALUE.
* config/pa/tm-hppa64.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
* config/sparc/tm-sparc.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
* config/z8k/tm-z8k.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
* config/sparc/tm-sparclet.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
* config/mn10200/tm-mn10200.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
* config/m68k/tm-linux.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
* config/m68k/tm-delta68.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
* config/m32r/tm-m32r.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
* config/h8500/tm-h8500.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
* config/h8300/tm-h8300.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* i386-tdep.c (i386_extract_return_value): Update.
* arch-utils.c (legacy_extract_return_value): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* d10v-tdep.c (d10v_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_gdbarch_init): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* avr-tdep.c (avr_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
* vax-tdep.c (vax_gdbarch_init): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* i386-tdep.c (i386_gdbarch_init): Update.
Index: doc/ChangeLog
2002-08-21 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Update
STORE_RETURN_VALUE, mention regcache.
2002-08-24 00:21:37 +00:00
Andrew Cagney
460e6ec384
2002-07-26 Andrew Cagney <ac131313@redhat.com>
...
* z8k-tdep.c: Do not include "obstack.h".
* h8300-tdep.c, h8500-tdep.c: Ditto.
* m68hc11-tdep.c, sh-tdep.c: Ditto.
* valprint.c, v850-tdep.c: Ditto.
* d10v-tdep.c, mn10300-tdep.c: Ditto.
* mn10200-tdep.c: Ditto.
* Makefile.in (z8k-tdep.o): Update dependencies.
(m68hc11-tdep.o, valprint.o): Ditto.
(v850-tdep.o, d10v-tdep.o): Ditto.
(mn10300-tdep.o, sparc-tdep.o): Ditto.
(sh-tdep.o, h8500-tdep.o, h8300-tdep.o): Ditto.
(m32r-tdep.o, mn10200-tdep.o): Specify dependencies.
(sh_opc_h, gdb_sim_sh_h): Define.
(elf_sh_h, elf_bfd_h): Define.
(opcode_m68hc11_h): Define.
(OPCODES_SRC, OPCODES_DIR): define.
(OPCODES): Use $(OPCODES_DIR).
(gdb_sim_d10v_h): Rename sim_d10v_h.
(gdb_sim_arm_h): Rename sim_arm_h.
2002-07-29 16:34:07 +00:00
Andrew Cagney
fa88f6772d
* gdbarch.sh (REGISTER_NAME): Change return type a constant string
...
pointer.
* gdbarch.h, gdbarch.c: Regenerate.
* config/mips/tm-mips.h (mips_register_name): Update.
* i386-tdep.h (i386_register_name): Update.
* mips-tdep.c (mips_register_name): Update
* alpha-tdep.c (alpha_register_name): Update.
* arch-utils.c (legacy_register_name): Update.
* arch-utils.h (legacy_register_name): Update.
* avr-tdep.c (avr_register_name): Update.
* ia64-tdep.c (ia64_register_name): Update.
* i386-tdep.c (i386_register_name): Update.
* sparc-tdep.c (sparc32_register_name): Update.
(sparc64_register_name): Update.
(sparclite_register_name): Update.
(sparclet_register_name):
* sh-tdep.c (sh_generic_register_name): Update.
(sh_sh_register_name): Update.
(sh_sh3_register_name): Update.
(sh_sh3e_register_name): Update.
(sh_sh_dsp_register_name): Update.
(sh_sh3_dsp_register_name): Update.
(sh_sh4_register_name): Update.
(sh_sh64_register_name): Update.
* s390-tdep.c (s390_register_name): Update.
* rs6000-tdep.c (rs6000_register_name): Update.
* ns32k-tdep.c (ns32k_register_name_32082): Update.
(ns32k_register_name_32382): Update.
* d10v-tdep.c (d10v_ts2_register_name): Update.
(d10v_ts3_register_name): Update.
* xstormy16-tdep.c (xstormy16_register_name): Update.
* vax-tdep.c (vax_register_name): Update.
* v850-tdep.c (v850_register_name): Update.
* m68hc11-tdep.c (m68hc11_register_name): Update.
* mn10300-tdep.c (mn10300_generic_register_name): Update.
(am33_register_name): Update.
2002-06-17 23:32:36 +00:00
Andrew Cagney
26e9b323da
+ * gdbarch.sh (DEPRECATED_EXTRACT_RETURN_VALUE): Rename
...
+ EXTRACT_RETURN_VALUE.
+ (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Rename
+ EXTRACT_STRUCT_VALUE_ADDRESS.
+ * gdbarch.h, gdbarch.c: Regenerate.
+
+ * values.c (value_being_returned): Handle
+ DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS.
+ (EXTRACT_RETURN_VALUE): Define as DEPRECATED_EXTRACT_RETURN_VALUE.
+
+ * arm-linux-tdep.c (arm_linux_init_abi): Update.
+ * arm-tdep.c (arm_gdbarch_init): Update.
+ * avr-tdep.c (avr_gdbarch_init): Update.
+ * cris-tdep.c (cris_gdbarch_init): Update.
+ * d10v-tdep.c (d10v_gdbarch_init): Update.
+ * ia64-tdep.c (ia64_gdbarch_init): Update.
+ * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
+ * rs6000-tdep.c (rs6000_gdbarch_init): Update.
+ * s390-tdep.c (s390_gdbarch_init): Update.
+ * sh-tdep.c (sh_gdbarch_init): Update.
+ * s390-tdep.c (s390_gdbarch_init): Update.
+ * sparc-tdep.c (sparc_gdbarch_init): Update.
+ * ns32k-tdep.c (ns32k_gdbarch_init): Update.
+ * v850-tdep.c (v850_gdbarch_init): Update.
+ * vax-tdep.c (vax_gdbarch_init): Update.
+ * x86-64-tdep.c (x86_64_gdbarch_init): Update.
+ * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
+
+ * config/arc/tm-arc.h: Update.
+ * config/d30v/tm-d30v.h: Update.
+ * config/fr30/tm-fr30.h: Update.
+ * config/h8300/tm-h8300.h: Update.
* config/h8500/tm-h8500.h: Update.
* config/i386/tm-i386.h: Update.
* config/i386/tm-ptx.h: Update.
* config/i386/tm-symmetry.h: Update.
* config/i960/tm-i960.h: Update.
* config/m32r/tm-m32r.h: Update.
* config/m68k/tm-delta68.h: Update.
* config/m68k/tm-linux.h: Update.
* config/m68k/tm-m68k.h: Update.
* config/m88k/tm-m88k.h: Update.
* config/mcore/tm-mcore.h: Update.
* config/mips/tm-mips.h: Update.
* config/mn10200/tm-mn10200.h: Update.
* config/pa/tm-hppa.h: Update.
* config/pa/tm-hppa64.h: Update.
* config/sparc/tm-sp64.h: Update.
* config/sparc/tm-sparc.h: Update.
* config/sparc/tm-sparclet.h: Update.
* config/z8k/tm-z8k.h: Update.
2002-06-14 22:55:51 +00:00
Jason Thorpe
ef3cf0627a
* Makefile.in (sparc-tdep.o): Add osabi.h to dependency list.
...
* sparc-tdep.c: Include osabi.h.
(gdbarch_tdep): Add osabi member.
(_initialize_sparc_tdep): Use gdbarch_register.
(sparc_gdbarch_init): Use generic OS ABI framework.
(sparc_dump_tdep): New function.
2002-05-31 00:19:47 +00:00
Andrew Cagney
f621c63e01
* sparc-tdep.c (sparc_get_saved_register): Comment why
...
get_prev_frame call is safe.
2002-05-05 01:55:37 +00:00
Andrew Cagney
7e57f5f4a2
* sparc-tdep.c (sparc_gdbarch_init): Add comment explaining why
...
ON_STACK is needed.
2002-04-26 23:37:33 +00:00
David S. Miller
f510d44e69
2002-04-24 David S. Miller <davem@redhat.com>
...
* sparc-tdep.c (sparc_gdbarch_skip_prologue): Kill, duplicates
sparc_skip_prologue.
(sparc_skip_prologue): Kill frameless_p arg, and use line number
information to find prologue when possible.
(sparc_prologue_frameless_p): Call examine_prologue directly.
(sparc_gdbarch_init): Update set_gdbarch_skip_prologue call.
* config/sparc/tm-sparc.h (sparc_skip_prologue): Update for killed
second argument.
(SKIP_PROLOGUE): Likewise.
2002-04-26 01:56:04 +00:00
David S. Miller
69cdf6a234
2002-04-20 David S. Miller <davem@redhat.com>
...
* sparc-tdep.c (sparc_pop_frame): Only need to allocate
SPARC_INTREG_SIZE * 16 bytes for reg_temp.
2002-04-24 07:12:27 +00:00
David S. Miller
4eb8c7fc85
Revert Sparc OS abi changes.
2002-04-22 03:51:34 +00:00
David S. Miller
99633aa4f8
2002-04-20 David S. Miller <davem@redhat.com>
...
* 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-22 01:02:02 +00:00
David S. Miller
9319a2feca
2002-04-21 David S. Miller <davem@redhat.com>
...
* 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-22 00:27:39 +00:00
Andrew Cagney
bf75c8c166
* sparc-tdep.c (sparc_get_saved_register): Use get_prev_frame
...
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.
2002-04-20 03:09:28 +00:00
Andrew Cagney
cda5a58a3e
* defs.h (read_relative_register_raw_bytes): Delete declaration.
...
* frame.c (frame_register_read): New function. Return non-zero on
success.
(read_relative_register_raw_bytes_for_frame): Delete.
(read_relative_register_raw_bytes): Delete.
* frame.h (frame_register_read): Declare.
* d30v-tdep.c: Update Copyright. Use frame_register_read.
* sh-tdep.c: Ditto.
* infcmd.c (do_registers_info): Ditto.
* hppa-tdep.c: Ditto.
* rs6000-tdep.c: Ditto.
* h8500-tdep.c: Ditto.
* mips-tdep.c: Ditto.
* h8300-tdep.c: Ditto.
* z8k-tdep.c: Ditto.
2002-04-12 18:18:59 +00:00
Andrew Cagney
f32e7a74f7
* sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64
...
as test for 64 bit target.
2002-04-06 00:19:44 +00:00
Andrew Cagney
2757dd8645
* sparc-tdep.c (sparc64_write_fp): Delete.
...
(sparc_push_dummy_frame): Replace write_fp call with code to store
the FP directly.
(sparc_gdbarch_init): Do not initialize write_fp.
2002-04-05 23:38:07 +00:00
Richard Earnshaw
a48442a050
* arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC
...
is defined.
* sparc-tdep.c (get_longjmp_target): Likewise.
2002-02-20 10:42:59 +00:00
Andrew Cagney
3fd3d7d29c
Assume TARGET_BYTE_ORDER_SELECTABLE{,_P} is always true.
2002-01-20 19:26:50 +00:00
Andrew Cagney
c2f05ac92e
Eliminate IEEE_FLOAT.
2002-01-20 18:05:54 +00:00
Michael Snyder
902d0061c7
2001-12-30 Michael Snyder <msnyder@redhat.com>
...
* sparc-tdep.c (sparc-store-return-value): Whitespace fix-up.
2001-12-30 17:00:43 +00:00
Andrew Cagney
778eb05eac
LITTLE_ENDIAN -> BFD_ENDIAN_LITTLE
2001-12-15 16:53:24 +00:00
Andrew Cagney
ea7c478fe2
s/value_ptr/struct value */
2001-07-15 20:10:02 +00:00
Mark Kettenis
aca21d9a80
* sparc-tdep.c (sparc_gdbarch_init): Get the architecture from
...
info.bfd_arch_info.
2001-05-15 11:38:26 +00:00
Andrew Cagney
93d56215df
Gag -Wuninitialized warnings.
...
Add -Wuninitialized to default warning list.
2001-03-28 21:42:32 +00:00
Kevin Buettner
b6ba6518e9
Update/correct copyright notices.
2001-03-06 08:22:02 +00:00
Andrew Cagney
4e052eda91
Create new file regcache.h. Update all uses.
2001-03-01 01:39:22 +00:00
Andrew Cagney
8e65ff28b0
Add __FILE__ and __LINE__ parameter to internal_error() /
...
internal_verror().
2001-02-08 06:03:54 +00:00
Michael Snyder
72e22353b1
* sparc-tdep.c: update copyright notice.
2001-01-02 20:37:11 +00:00
Michael Snyder
8140e7acd1
2001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
...
* sparc-tdep.c (sparc-frame-chain): Fix typo in comment.
2001-01-02 20:32:50 +00:00
Michael Snyder
c347ee3e51
2000-12-20 Michael Snyder <msnyder@mvstp600e.cygnus.com>
...
* arch-utils.c (default_frame_address): New function. Default
implementation of frame_args_address and frame_locals_address.
* arch-utils.h (default_frame_address): Export.
* d10v-tdep.c (d10v_gdbarch_init): Use default_frame_address.
(d10v_frame_args_address, d10v_frame_locals_address): Delete.
* sh-tdep.c (sh_gdbarch_init): Use default_frame_address.
(sh_frame_args_address, sh_frame_locals_address): Delete.
* sparc-tdep.c (sparc_gdbarch_init): Use default_frame_address.
(sparc_frame_address): Delete.
2001-01-02 20:21:53 +00:00
Kevin Buettner
13437d4b4b
Reorganize solib.c.
2000-10-24 20:05:36 +00:00
Peter Schauer
9e36d949c4
* sparc-tdep.c (sparc_fix_call_dummy): Improve comments.
...
Adjust call_dummy_breakpoint_offset, so that `finish' after a stop
in a call dummy works.
(sparc_gdbarch_init): Fix setting of pc_in_call_dummy, it depends
on SPARC32/64_CALL_DUMMY_ON_STACK, not DO_CALL_DUMMY_ON_STACK.
2000-10-16 17:19:47 +00:00
Andrew Cagney
d0901120f6
* sparc-tdep.c (sparc_init_extra_frame_info): Fix number of
...
arguments to fetch_instruction.
2000-08-10 23:53:45 +00:00
Kevin Buettner
fba45db2fa
Protoization.
2000-07-30 01:48:28 +00:00
Michael Snyder
c60c0f5f88
2000-05-26 Michael Snyder <msnyder@seadog.cygnus.com>
...
* gregset.h: New file. Typedefs for gdb_gregset_t and
gdb_fpregset_t, prototypes for supply_gregset and friends.
* procfs.c: Include gregset.h. Delete local prototypes for
supply_gregset etc., and local typedef gdb_gregset_t etc.
* sol-thread.c: Include gregset.h, delete local prototypes,
add appropriate casts to gdb_gregset_t.
* uw-thread.c, lin-thread.c, core-sol2.c, core-regset.c,
sparc-tdep.c, ptx4-nat.c, ppc-linux-nat.c, mipsv4-nat.c,
m88k-nat.c, m68klinux-nat.c, m68k-tdep.c, irix5-nat.c,
irix4-nat.c, ia64-linux-nat.c, i386v4-nat.c, cxux-nat.c,
arm-linux-nat.c, alpha-nat.c: Include gregset.h.
* config/nm-linux.h: Define GDB_GREGSET_T, GDB_FPREGET_T.
* config/sparc/tm-sun4sol2.h: Ditto.
2000-05-26 23:22:41 +00:00
Michael Snyder
ab9d50c7a8
2000-05-17 Michael Snyder <msnyder@seadog.cygnus.com>
...
* config/sparc/tm-sun4sol2.h: Turn on multi-arch.
* sparc-tdep.c (gdb_print_insn_sparc): Remove temp. multi-arch hack.
2000-05-24 17:17:46 +00:00
Michael Snyder
5af923b0f0
2000-05-10 Michael Snyder <msnyder@seadog.cygnus.com>
...
Make Sparc a Multi-Arch target. Discard PARAMS macro (require ANSI).
* sparc-tdep.c: include arch-utils.h.
(SPARC_HAS_FPU, FP_REGISTER_BYTES, FP_MAX_REG NUM, SPARC_INTREG_SIZE,
DUMMY_REG_SAVE_OFFSET): provide multi-arch-compatible definitions.
(GDB_TARGET_IS_SPARC64): make into a runtime test.
(struct frame_extra_info): Define, use instead of the macro.
(Many places): Use alloca instead of statically allocated buffers
that depend on a multi-arch variable such as MAX_REGISTER_RAW_SIZE.
(sparc_extract_struct_value_address): Accept a pointer arg instead
of an array sized by REGISTER_BYTES.
(examine_prologue): Accept a pointer to an array of CORE_ADDR,
instead of the defunct struct frame_saved_regs. Recognize new
Sparc64 store instructions as part of the prologue. Ignore the
destination of a frame store when parsing the prologue (so long
as it's on the stack).
(sparc_push_dummy_frame): Fix incorrect buffer offset for PSTATE.
(sparc_frame_find_saved_regs): Accept a ptr to an array of CORE_ADDR
instead of the defunct struct frame_saved_regs.
(supply_gregset): Discard unnecessary 'zerobuf': just send NULL to
supply_register. Provide 4-byte offset to compensate for diff
between size of the prgreg_t elements on a 64-bit host and size
of the registers for a 32-bit target. Fill all inaccessible regs
with zero so they won't keep being requested again and again.
(fill_gregset): Handle 32/64 size difference between registers
and prgreg_t. Handle as many new 64-bit regs as possible.
(supply_fpregset, fill_fpregset): Attempt to handle 64-bit world.
(sparc_push_arguments): Rename to sparc32_push_arguments.
Copy arguments into registers as well as onto stack, so that the
CALL_DUMMY (code pushed onto the target stack) is not required.
(sparc_extract_return_value): Rename to sparc32_extract_return_value.
(sparc_store_return_value): Use memset instead of bzero.
Use write_register_gen instead of write_register_bytes.
(sparclet_store_return_value): New function.
(_initialize_sparc_tdep): Call register_gdbarch_init to activate
the gdbarch multi-architecture system.
(sp64_push_arguments): Rename to sparc64_push_arguments.
Extend to store arguments in general registers as well as on stack.
(sparc64_extract_return_value): Rename to sp64_extract_return_value.
Use as a private function, to be called by the new external function
sparc64_extract_return_value.
(sparclet_extract_return_value): New function.
(sparc32_stack_align, sparc64_stack_align, sparc32_register_name,
sparc64_register_name, sparc_print_extra_frame_info,
sparclite_register_name, sparclet_register_name,
sparc_push_return_address, sparc64_use_struct_convention,
sparc32_store_struct_return, sparc64_store_struct_return,
sparc32_register_virtual_type, sparc64_register_virtual_type,
sparc32_register_size, sparc64_register_size,
sparc32_register_byte, sparc64_register_byte,
sparc_gdbarch_skip_prologue, sparc_convert_to_virtual,
sparc_convert_to_raw, sparc_frame_init_saved_regs,
sparc_frame_address, sparc_gdbarch_fix_call_dummy,
sparc_coerce_float_to_double, sparc_call_dummy_address,
sparc_y_regnum, sparc_reg_struct_has_addr, sparc_intreg_size,
sparc_return_value_on_stack): New functions supporting multi-arch.
(sparc_gdbarch_init): New function; initialize multi-arch.
(struct gdbarch_tdep): Define, use for private multi-arch data.
* config/sparc/tm-sparc.h: Move definitions around, enclose with
#ifdef GDB_MULTI_ARCH tests, provide some multi-arch alternate
definitions. Add enums for register names, to help debugging gdb.
This header file must work for non-multi-arch and for multi-arch.
* config/sparc/tm-sp64.h: Add GDB_MULTI_ARCH configuration. Also add
AT_ENTRY_POINT definitions for CALL_DUMMY, for non-multi-arch case.
Define GDB_MULTI_ARCH.
* config/sparc/tm-sparclet.h: Add GDB_MULTI_ARCH configuration.
Do not define GDB_MULTI_ARCH (bfd does not correctly identify target).
* config/sparc/tm-sparclite.h: Ditto.
* config/sparc/tm-sun4sol2.h: Define GDB_MULTI_ARCH.
* sparclet-rom.c (sparclet_regnames): Initialize explicitly, to
avoid using deprecated REGISTER_NAMES macro.
* Makefile.in: Let sparc-tdep.c depend on arch-utils.h.
2000-05-10 20:07:25 +00:00
Michael Snyder
6005439332
2000-05-08 Michael Snyder <msnyder@seadog.cygnus.com>
...
* gdbarch.sh: Add FP0_REGNUM to list of multi-arched register numbers.
* gdbarch.c, gdbarch.h: Regenerate.
* core-regset.c: Change FP0_REGNUM to a runtime test.
* procfs.c: Ditto.
* sun3-nat.c: Ditto.
* sparc-tdep.c: Ditto.
* i386mach-nat.c: Remove unnecessary ifdef for FP0_REGNUM.
* ptx4-nat.c: Ditto.
* sol-thread.c (sol_thread_create_inferior): only add the thread
to the thread list if it is not already in there.
(prototypes for thread_db func ptrs): pretty up formatting.
2000-05-10 17:38:16 +00:00
Jason Molenda
2acceee218
import gdb-1999-10-04 snapshot
1999-10-05 23:13:56 +00:00
Jason Molenda
96baa820df
import gdb-1999-08-09 snapshot
1999-08-09 21:36:23 +00:00
Jason Molenda
c5aa993b1f
import gdb-1999-07-07 post reformat
1999-07-07 20:19:36 +00:00
Jason Molenda
9846de1bb5
import gdb-1999-07-07 pre reformat
1999-07-07 17:31:57 +00:00
Stan Shebs
b83266a0e1
import gdb-19990504 snapshot
1999-05-05 14:45:51 +00:00
Stan Shebs
7a292a7adf
import gdb-19990422 snapshot
1999-04-26 18:34:20 +00:00
Stan Shebs
c906108c21
Initial creation of sourceware repository
1999-04-16 01:35:26 +00:00
Stan Shebs
071ea11e85
Initial creation of sourceware repository
1999-04-16 01:34:07 +00:00
Mark Alexander
cda8a2bb4f
* sparc-tdep.c (sparc_target_architecture_hook): Set target
...
byte order only when it's selectable.
1998-06-03 02:08:06 +00:00
Mark Alexander
33c65ba3b3
* sparc-tdep.c (sparc_target_architecture_hook): New function to
...
set endianness based on machine type.
(_initialize_sparc_tdep): Initialize target_architecture_hook.
(sparc_print_register_hook): Print PSR and FPSR in fancy format
on 32-bit machines.
* config/sparc/tm-sparc.h (PRINT_REGISTER_HOOK): Redefine to
call sparc_print_register_hook instead of using inline code.
* config/sparc/tm-sp64.h (PRINT_REGISTER_HOOK): Remove.
1998-06-02 09:19:54 +00:00
Mark Alexander
e50f526e68
* sparc-tdep.c (sparc_extract_struct_value_address): Make it
...
work correctly on little-endian hosts.
(sparc_push_arguments): New function.
(gdb_print_insn_sparc): New function.
(_initialize_sparc_tdep): Make gdb_print_insn_sparc the default
disassembler, so that SPARClite-specific instructions will
be recognized.
* sparcl-tdep.c (readchar): Print debugging information.
(debug_serial_write): New function, a replacement for SERIAL_WRITE
that prints debugging information.
* config/sparc/tm-sparc.h (PUSH_ARGUMENTS): Define.
(sparc_push_arguments): Declare.
1998-04-15 00:25:58 +00:00
Stu Grossman
91550191be
* defs.h printcmd.c: Create global disassemble_info structure
...
tm_print_insn_info.
* gdbtk.c (gdb_disassemble): Setup di.mach from
tm_print_insn_info.mach, and set endian from TARGET_BYTE_ORDER.
* i386-tdep.c (set_assembly_language_command): set
tm_print_insn_info.mach to the appropriate value for 386 or 8086
disassembly.
* printcmd.c (print_insn): Move init of disassembler_info to
_initialize_printcmd. Set endian for disassembler here.
* sparc-tdep.c: Set tm_print_insn_info.mach as appropriate to
select sparc/sparclite.
* config/sparc/{tm-sparc.h tm-sparclite.h}: Get rid of
TM_PRINT_INSN. Set TM_PRINT_INSN_MACH to
bfd_mach_sparc/bfd_mach_sparc_sparclite.
1996-07-15 23:54:39 +00:00
Stu Grossman
89e673a481
* sparcl-tdep.c (_initialize_sparc_tdep) config/sparc/tm-sparc.h,
...
config/sparc/tm-sparclite.h: Initialize tm_print_insn from
TM_PRINT_INSN, which comes from the tm file.
* Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure.
* configure configure.in: Only make sol-thread.o for native.
Also, switch to dlopened libthread_db.so.1.
* sol-thread.c: Switch to using dlopen to get the thread_db
library.
* configure, configure.in: Change test for libthread_db to only
work for configs where build/host/target are the same.
1996-07-04 00:49:25 +00:00
Dawn Perchik
012be3cec3
* configure,configure.in: Add target sparclet.
...
* monitor.h,monitor.c:
Added monitor flags MO_NO_ECHO_ON_SETMEM (don't expect echo on
setmem command), MO_RUN_FIRST_TIME (if command to start process
running on target is different from one to continue execution),
MO_HEX_PREFIX (if addresses from monitor have a "0x" prefix).
* monitor.c,parse.c,sparc-tdep.c:
Don't require strings in the registers array. This is to allow
NULLs to be place holders in the tm-*.h file so that only minor
changes are needed when a new processor is introduced (eg, one
without floating point).
* sparc-tdep.c: Conditionally remove dependancies on floating point.
* sparclet-rom.c,config/sparc/sparclet.mt,config/sparc/tm-sparclet.h:
New files for target sparclet.
* symfile.c: Add option for 2nd parameter on load command : a load
offset added to the vma of each section.
1996-06-28 14:03:13 +00:00
Peter Schauer
673e1bab44
* sparc-tdep.c (isbranch): Fix typo which caused wrong
...
target addresses for annulled branches.
1995-08-18 13:27:21 +00:00
Peter Schauer
e4dbd248df
* alpha-tdep.c: Move sigtramp handling of saved registers from
...
read_next_frame_reg to alpha_find_saved_regs, handle saved
floating point registers.
* mips-tdep.c: Move sigtramp handling of saved registers from
read_next_frame_reg to mips_find_saved_regs, handle saved
floating point registers.
* config/mips/tm-irix3.h, config/mips/tm-irix5.h,
config/mips/tm-mipsv4.h (SIGFRAME_FPREGSAVE_OFF): Define.
* sparc-tdep.c (sparc_pc_adjust): Fix check for `unimp'
instruction to handle functions returning structures with
large sizes properly.
1995-07-29 08:50:00 +00:00
Peter Schauer
b9e585030c
* buildsym.c (patch_subfile_name): Update last_source_file
...
with the real source file name.
* dbxread.c (end_psymtab): Handle static functions in the
SOFUN_ADDRESS_MAYBE_MISSING case by passing pst->filename
to lookup_minimal_symbol.
(process_one_symbol): Ignore extra outermost context from
SunPRO cc and acc.
* stabsread.c (define_symbol): Do not complain for SunPRO
static variable encoding if STATIC_TRANSFORM_NAME is defined.
* sparc-tdep.c, config/sparc/tm-sun4sol2.h
(sunpro_static_transform_name): Renamed from
solaris_static_transform_name.
* config/sparc/tm-sun4os4.h (STATIC_TRANSFORM_NAME):
Define to sunpro_static_transform_name for acc 3.0 compiled
executables.
* procfs.c, config/alpha/nm-osf2.h (PROCFS_DONT_TRACE_FAULTS):
Renamed from PROCFS_DONT_TRACE_IFAULT, don't trace any faults
if defined.
* procfs.c (info_proc_siginfo): Cast sip->si_addr to
`unsigned long' and use `lx' format for printing it.
1995-03-25 09:23:10 +00:00
David Edelsohn
8b0f5a9df9
* sparc-tdep.c (decode_asi): New function.
...
(sparc_print_register_hook): Pretty print more v9 registers.
1995-03-03 09:06:51 +00:00