* [commit:avr] remove avr_frame_address
@ 2003-06-20 6:01 Theodore A. Roth
0 siblings, 0 replies; only message in thread
From: Theodore A. Roth @ 2003-06-20 6:01 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: TEXT/PLAIN, Size: 464 bytes --]
Hi,
Committed the attached.
This patch removes avr_frame_address. From my reading of frame-base.c, this
function was made useless by having the avr use 'struct frame_base'.
As a bonus, this takes care of one more item from the ARI (get_frame_base).
Ted Roth
2003-06-19 Theodore A. Roth <troth@openavr.org>
* avr-tdep.c (avr_frame_address): Delete function.
(avr_gdbarch_init): Don't call set_gdbarch_frame_args_address,
set_gdbarch_frame_args_address.
[-- Attachment #2: Type: TEXT/PLAIN, Size: 1417 bytes --]
2003-06-19 Theodore A. Roth <troth@openavr.org>
* avr-tdep.c (avr_frame_address): Delete function.
(avr_gdbarch_init): Don't call set_gdbarch_frame_args_address,
set_gdbarch_frame_args_address.
Index: avr-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/avr-tdep.c,v
retrieving revision 1.63
diff -u -p -r1.63 avr-tdep.c
--- avr-tdep.c 19 Jun 2003 21:14:59 -0000 1.63
+++ avr-tdep.c 20 Jun 2003 05:42:41 -0000
@@ -817,12 +817,6 @@ avr_skip_prologue (CORE_ADDR pc)
return prologue_end;
}
-static CORE_ADDR
-avr_frame_address (struct frame_info *fi)
-{
- return avr_make_saddr (get_frame_base (fi));
-}
-
/* Not all avr devices support the BREAK insn. Those that don't should treat
it as a NOP. Thus, it should be ok. Since the avr is currently a remote
only target, this shouldn't be a problem (I hope). TRoth/2003-05-14 */
@@ -1362,8 +1356,6 @@ avr_gdbarch_init (struct gdbarch_info in
set_gdbarch_frame_args_skip (gdbarch, 0);
set_gdbarch_frameless_function_invocation (gdbarch,
frameless_look_for_prologue);
- set_gdbarch_frame_args_address (gdbarch, avr_frame_address);
- set_gdbarch_frame_locals_address (gdbarch, avr_frame_address);
frame_unwind_append_predicate (gdbarch, avr_frame_p);
frame_base_set_default (gdbarch, &avr_frame_base);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-06-20 6:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-20 6:01 [commit:avr] remove avr_frame_address Theodore A. Roth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox