* [PATCH] gdbarch upkeep for FRV
@ 2003-08-13 22:00 Michael Snyder
2003-08-13 22:14 ` Doug Evans
0 siblings, 1 reply; 3+ messages in thread
From: Michael Snyder @ 2003-08-13 22:00 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 119 bytes --]
Just a few tweaks that have fallen thru the cracks.
BTW, this target needs some upkeep WRT the new frame_info model.
[-- Attachment #2: frv --]
[-- Type: text/plain, Size: 2930 bytes --]
2003-08-13 Michael Snyder <msnyder@redhat.com>
* frv-tdep.c (frv_push_arguments): Use deprecated ftype.
(frv_saved_pc_after_call): Use deprecated ftype.
(stupid_useless_init_extra_frame_info): Remove orphan prototype.
(frv_remote_translate_xfer_address): Remove.
(frv_gdbarch_init): Use generic_remote_translate_xfer_address.
Index: frv-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/frv-tdep.c,v
retrieving revision 1.46
diff -p -r1.46 frv-tdep.c
*** frv-tdep.c 13 Jun 2003 20:19:13 -0000 1.46
--- frv-tdep.c 13 Aug 2003 21:58:51 -0000
*************** static gdbarch_skip_prologue_ftype frv_s
*** 35,43 ****
static gdbarch_deprecated_extract_return_value_ftype frv_extract_return_value;
static gdbarch_deprecated_extract_struct_value_address_ftype frv_extract_struct_value_address;
static gdbarch_frameless_function_invocation_ftype frv_frameless_function_invocation;
! static gdbarch_init_extra_frame_info_ftype stupid_useless_init_extra_frame_info;
! static gdbarch_push_arguments_ftype frv_push_arguments;
! static gdbarch_saved_pc_after_call_ftype frv_saved_pc_after_call;
static void frv_pop_frame_regular (struct frame_info *frame);
--- 35,42 ----
static gdbarch_deprecated_extract_return_value_ftype frv_extract_return_value;
static gdbarch_deprecated_extract_struct_value_address_ftype frv_extract_struct_value_address;
static gdbarch_frameless_function_invocation_ftype frv_frameless_function_invocation;
! static gdbarch_deprecated_push_arguments_ftype frv_push_arguments;
! static gdbarch_deprecated_saved_pc_after_call_ftype frv_saved_pc_after_call;
static void frv_pop_frame_regular (struct frame_info *frame);
*************** frv_pop_frame_regular (struct frame_info
*** 920,935 ****
flush_cached_frames ();
}
-
- static void
- frv_remote_translate_xfer_address (CORE_ADDR memaddr, int nr_bytes,
- CORE_ADDR *targ_addr, int *targ_len)
- {
- *targ_addr = memaddr;
- *targ_len = nr_bytes;
- }
-
-
/* Hardware watchpoint / breakpoint support for the FR500
and FR400. */
--- 919,924 ----
*************** frv_gdbarch_init (struct gdbarch_info in
*** 1090,1096 ****
set_gdbarch_function_start_offset (gdbarch, 0);
set_gdbarch_remote_translate_xfer_address
! (gdbarch, frv_remote_translate_xfer_address);
/* Hardware watchpoint / breakpoint support. */
switch (info.bfd_arch_info->mach)
--- 1079,1085 ----
set_gdbarch_function_start_offset (gdbarch, 0);
set_gdbarch_remote_translate_xfer_address
! (gdbarch, generic_remote_translate_xfer_address);
/* Hardware watchpoint / breakpoint support. */
switch (info.bfd_arch_info->mach)
*************** _initialize_frv_tdep (void)
*** 1128,1131 ****
deprecated_tm_print_insn = print_insn_frv;
}
! \f
--- 1117,1120 ----
deprecated_tm_print_insn = print_insn_frv;
}
!
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] gdbarch upkeep for FRV
2003-08-13 22:00 [PATCH] gdbarch upkeep for FRV Michael Snyder
@ 2003-08-13 22:14 ` Doug Evans
2003-08-13 22:48 ` Michael Snyder
0 siblings, 1 reply; 3+ messages in thread
From: Doug Evans @ 2003-08-13 22:14 UTC (permalink / raw)
To: Michael Snyder; +Cc: gdb-patches
Michael Snyder writes:
> Just a few tweaks that have fallen thru the cracks.
> BTW, this target needs some upkeep WRT the new frame_info model.
>
>
> 2003-08-13 Michael Snyder <msnyder@redhat.com>
>
> * frv-tdep.c (frv_push_arguments): Use deprecated ftype.
> (frv_saved_pc_after_call): Use deprecated ftype.
> (stupid_useless_init_extra_frame_info): Remove orphan prototype.
> (frv_remote_translate_xfer_address): Remove.
> (frv_gdbarch_init): Use generic_remote_translate_xfer_address.
Does this bring frv-tdep.c up to date with what's in Redhat's internal tree?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] gdbarch upkeep for FRV
2003-08-13 22:14 ` Doug Evans
@ 2003-08-13 22:48 ` Michael Snyder
0 siblings, 0 replies; 3+ messages in thread
From: Michael Snyder @ 2003-08-13 22:48 UTC (permalink / raw)
To: Doug Evans; +Cc: gdb-patches
Doug Evans wrote:
>Michael Snyder writes:
> > Just a few tweaks that have fallen thru the cracks.
> > BTW, this target needs some upkeep WRT the new frame_info model.
> >
> >
> > 2003-08-13 Michael Snyder <msnyder@redhat.com>
> >
> > * frv-tdep.c (frv_push_arguments): Use deprecated ftype.
> > (frv_saved_pc_after_call): Use deprecated ftype.
> > (stupid_useless_init_extra_frame_info): Remove orphan prototype.
> > (frv_remote_translate_xfer_address): Remove.
> > (frv_gdbarch_init): Use generic_remote_translate_xfer_address.
>
>Does this bring frv-tdep.c up to date with what's in Redhat's internal tree?
>
>
They're already in sync -- our internal one doesn't build either,
unfortunately.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-08-13 22:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-13 22:00 [PATCH] gdbarch upkeep for FRV Michael Snyder
2003-08-13 22:14 ` Doug Evans
2003-08-13 22:48 ` Michael Snyder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox