Really delete frame_args_address from
authorAndrew Cagney <cagney@redhat.com>
Mon, 9 Jun 2003 03:21:07 +0000 (03:21 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 9 Jun 2003 03:21:07 +0000 (03:21 +0000)
* vax-tdep.c (vax_frame_args_address_correct): Delete.
(vax_frame_args_address): Merge in vax_frame_args_address_correct.

gdb/vax-tdep.c

index bccbd506227137a5c9759b520cafc13fd4cf9340..eda740fe71a9aeea07f3c6af7ef8856ab5a57703 100644 (file)
@@ -162,15 +162,6 @@ vax_frame_saved_pc (struct frame_info *frame)
   return (read_memory_integer (get_frame_base (frame) + 16, 4));
 }
 
-CORE_ADDR
-vax_frame_args_address_correct (struct frame_info *frame)
-{
-  if (get_next_frame (frame))
-    return (read_memory_integer (get_frame_base (get_next_frame (frame)) + 8, 4));
-
-  return (0);
-}
-
 static CORE_ADDR
 vax_frame_args_address (struct frame_info *frame)
 {