[patch rfc, rfa:doco] Working on-stack generic dummy frames

Andrew Cagney ac131313@redhat.com
Sat May 3 19:24:00 GMT 2003


>> Date: Thu, 01 May 2003 17:11:16 -0400
>> From: Andrew Cagney <ac131313@redhat.com>
>> 
>> This patch makes all the changes necessary to get breakpoint on-stack
>> call dummys working.  Until the ``set call breakpoint-location'' command
>> is added, a target will need to explicitly set the call dummy location
>> to on stack.
> 
> 
> Okay for the docs patch.

I'm just checking this in ...

	Andrew


> Index: doc/ChangeLog
> 2003-05-01  Andrew Cagney  <cagney@redhat.com>
> 
> 	* gdbint.texinfo (Target Architecture Definition): Document
> 	push_dummy_code.  Add cross references.
> 
> Index: ChangeLog
> 2003-05-01  Andrew Cagney  <cagney@redhat.com>
> 
> 	* gdbarch.sh (PUSH_DUMMY_CODE): New architecture method, add
> 	comments noteing that it replaces the old FIX_CALL_DUMMY code.
> 	* gdbarch.h, gdbarch.c: Re-generate.
> 	* d10v-tdep.c (d10v_push_dummy_code): New function.
> 	(d10v_gdbarch_init): Set push_dummy_code.
> 	* infcall.c (legacy_push_dummy_code): New function.
> 	(generic_push_dummy_code): New function.
> 	(push_dummy_code): New function.
> 	(call_function_by_hand): Call push_dummy_code.  Pass bp_addr,
> 	instead of dummy_addr, to push_dummy_call.  Move call to
> 	generic_save_call_dummy_addr to outside of CALL_DUMMY_LOCATION
> 	switch.
> 	* sparc-tdep.c (sparc_gdbarch_init): Mention push_dummy_code.
> 
> Index: d10v-tdep.c





More information about the Gdb-patches mailing list