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.
This commit is contained in:
parent
9844bab202
commit
e8a8712ae2
33 changed files with 49 additions and 109 deletions
|
@ -192,7 +192,6 @@ struct gdbarch
|
|||
int call_dummy_breakpoint_offset_p;
|
||||
int call_dummy_length;
|
||||
gdbarch_deprecated_pc_in_call_dummy_ftype *deprecated_pc_in_call_dummy;
|
||||
int call_dummy_p;
|
||||
LONGEST * call_dummy_words;
|
||||
int sizeof_call_dummy_words;
|
||||
int deprecated_call_dummy_stack_adjust;
|
||||
|
@ -434,7 +433,6 @@ struct gdbarch startup_gdbarch =
|
|||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
generic_in_function_epilogue_p,
|
||||
construct_inferior_arguments,
|
||||
0,
|
||||
|
@ -534,7 +532,6 @@ gdbarch_alloc (const struct gdbarch_info *info,
|
|||
current_gdbarch->call_dummy_breakpoint_offset_p = -1;
|
||||
current_gdbarch->call_dummy_length = -1;
|
||||
current_gdbarch->deprecated_pc_in_call_dummy = generic_pc_in_call_dummy;
|
||||
current_gdbarch->call_dummy_p = -1;
|
||||
current_gdbarch->call_dummy_words = legacy_call_dummy_words;
|
||||
current_gdbarch->sizeof_call_dummy_words = legacy_sizeof_call_dummy_words;
|
||||
current_gdbarch->register_convertible = generic_register_convertible_not;
|
||||
|
@ -691,9 +688,6 @@ verify_gdbarch (struct gdbarch *gdbarch)
|
|||
&& (gdbarch->call_dummy_length == -1))
|
||||
fprintf_unfiltered (log, "\n\tcall_dummy_length");
|
||||
/* Skip verify of deprecated_pc_in_call_dummy, has predicate */
|
||||
if ((GDB_MULTI_ARCH >= GDB_MULTI_ARCH_PARTIAL)
|
||||
&& (gdbarch->call_dummy_p == -1))
|
||||
fprintf_unfiltered (log, "\n\tcall_dummy_p");
|
||||
/* Skip verify of call_dummy_words, invalid_p == 0 */
|
||||
/* Skip verify of sizeof_call_dummy_words, invalid_p == 0 */
|
||||
/* Skip verify of deprecated_call_dummy_stack_adjust, has predicate */
|
||||
|
@ -984,14 +978,6 @@ gdbarch_dump (struct gdbarch *gdbarch, struct ui_file *file)
|
|||
"gdbarch_dump: CALL_DUMMY_LOCATION = %d\n",
|
||||
CALL_DUMMY_LOCATION);
|
||||
#endif
|
||||
#ifdef CALL_DUMMY_P
|
||||
fprintf_unfiltered (file,
|
||||
"gdbarch_dump: CALL_DUMMY_P # %s\n",
|
||||
XSTRING (CALL_DUMMY_P));
|
||||
fprintf_unfiltered (file,
|
||||
"gdbarch_dump: CALL_DUMMY_P = %d\n",
|
||||
CALL_DUMMY_P);
|
||||
#endif
|
||||
#ifdef CALL_DUMMY_START_OFFSET
|
||||
fprintf_unfiltered (file,
|
||||
"gdbarch_dump: CALL_DUMMY_START_OFFSET # %s\n",
|
||||
|
@ -3850,25 +3836,6 @@ set_gdbarch_deprecated_pc_in_call_dummy (struct gdbarch *gdbarch,
|
|||
gdbarch->deprecated_pc_in_call_dummy = deprecated_pc_in_call_dummy;
|
||||
}
|
||||
|
||||
int
|
||||
gdbarch_call_dummy_p (struct gdbarch *gdbarch)
|
||||
{
|
||||
gdb_assert (gdbarch != NULL);
|
||||
if (gdbarch->call_dummy_p == -1)
|
||||
internal_error (__FILE__, __LINE__,
|
||||
"gdbarch: gdbarch_call_dummy_p invalid");
|
||||
if (gdbarch_debug >= 2)
|
||||
fprintf_unfiltered (gdb_stdlog, "gdbarch_call_dummy_p called\n");
|
||||
return gdbarch->call_dummy_p;
|
||||
}
|
||||
|
||||
void
|
||||
set_gdbarch_call_dummy_p (struct gdbarch *gdbarch,
|
||||
int call_dummy_p)
|
||||
{
|
||||
gdbarch->call_dummy_p = call_dummy_p;
|
||||
}
|
||||
|
||||
LONGEST *
|
||||
gdbarch_call_dummy_words (struct gdbarch *gdbarch)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue