[patch rfc] Delete CALL_DUMMY_P
Andrew Cagney
ac131313@redhat.com
Mon Mar 31 19:04:00 GMT 2003
>> Date: Sat, 29 Mar 2003 15:05:08 -0500
>> From: Andrew Cagney <ac131313@redhat.com>
>>
>> All architectures (I think there was once one) that didn't support=20
>> inferior function calls have been either obsoleted or deleted. Hence=20
>> CALL_DUMMY_P is always one, and gdb always supports inferior function=20
>> calls. This deletes the architecture method that indicated the lack of=20
>> inferior function call support.
>
>
> Okay for the manual's patch.
>
I've checked this in.
Andrew
> Hello,
>
> All architectures (I think there was once one) that didn't support inferior function calls have been either obsoleted or deleted. Hence CALL_DUMMY_P is always one, and gdb always supports inferior function calls. This deletes the architecture method that indicated the lack of inferior function call support.
>
> As fallout, it also combines hand_function_call() and call_function_by_hand() into a single call_function_by_hand().
>
> I'll commit in a day or so,
>
> Andrew
>
>
>
> Index: doc/ChangeLog
> 2003-03-29 Andrew Cagney <cagney@redhat.com>
>
> * gdbint.texinfo (Target Architecture Definition): Delete
> references to CALL_DUMMY_P.
>
> 2003-03-29 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
>
More information about the Gdb-patches
mailing list