This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [commit] infcall.c cleanup - explict bp_addr variable
- From: Andreas Schwab <schwab at suse dot de>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sat, 28 Jun 2003 01:05:19 +0200
- Subject: Re: [commit] infcall.c cleanup - explict bp_addr variable
- References: <3EA6AE7F.7060708@redhat.com> <jey8znkzi3.fsf@sykes.suse.de><3EFCBF6F.2050805@redhat.com>
Andrew Cagney <ac131313@redhat.com> writes:
|> Does, instead, a s/push_arguments/push_dummy_call/ and move the above code
|> to push_dummy_call (PC -> FUNC_ADDR, CALL_DUMMY_ADDRESS -> BP_ADDR) work?
Yes, that seems to work. I'll prepare a patch that also replaces the
deprecated read/write_register calls with the regcache functions.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."