* config/irix3.mh (NATDEPFILES): nat-mips.o => mips-nat.o.
[deliverable/binutils-gdb.git] / gdb / frame.h
index bd5ce5d0b10dab453b91e12ee1d3c92d3259507c..5c98c9c7baf9c955269b06312a8255b326d0a71f 100644 (file)
@@ -1,24 +1,25 @@
 /* Definitions for dealing with stack frames, for GDB, the GNU debugger.
-   Copyright (C) 1986 Free Software Foundation, Inc.
+   Copyright (C) 1986, 1989 Free Software Foundation, Inc.
 
-GDB is distributed in the hope that it will be useful, but WITHOUT ANY
-WARRANTY.  No author or distributor accepts responsibility to anyone
-for the consequences of using it or for whether it serves any
-particular purpose or works at all, unless he says so in writing.
-Refer to the GDB General Public License for full details.
+This file is part of GDB.
 
-Everyone is granted permission to copy, modify and redistribute GDB,
-but only under the conditions described in the GDB General Public
-License.  A copy of this license is supposed to have been given to you
-along with GDB so you can know your rights and responsibilities.  It
-should be in a file named COPYING.  Among other things, the copyright
-notice and this notice must be preserved on all copies.
+GDB is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 1, or (at your option)
+any later version.
 
-In other words, go ahead and share GDB, but don't try to stop
-anyone else from sharing it farther.  Help stamp out software hoarding!
-*/
+GDB is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
 
-/* Note that frame.h requires param.h! */
+You should have received a copy of the GNU General Public License
+along with GDB; see the file COPYING.  If not, write to
+the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
+
+#if !defined (FRAME_H)
+#define FRAME_H 1
+#include "param.h"
 
 /*
  * FRAME is the type of the identifier of a specific stack frame.  It
@@ -96,18 +97,32 @@ extern struct frame_info *get_frame_info ();
 extern struct frame_info *get_prev_frame_info ();
 
 extern FRAME create_new_frame ();
+extern void  flush_cached_frames ();
 
 extern void get_frame_saved_regs ();
 
+extern void  set_current_frame ();
 extern FRAME get_prev_frame ();
 extern FRAME get_current_frame ();
+extern FRAME get_next_frame ();
 
 extern struct block *get_frame_block ();
 extern struct block *get_current_block ();
 extern struct block *get_selected_block ();
 extern struct symbol *get_frame_function ();
-extern struct symbol *get_pc_function ();
+extern CORE_ADDR get_frame_pc ();
+extern CORE_ADDR get_pc_function_start ();
+struct block *block_for_pc ();
+
+int frameless_look_for_prologue ();
+
+void print_frame_args ();
 
 /* In stack.c */
 extern FRAME find_relative_frame ();
+extern void print_selected_frame ();
+extern void print_sel_frame ();
+extern void select_frame ();
+extern void record_selected_frame ();
 
+#endif /* frame.h not already included.  */
This page took 0.025063 seconds and 4 git commands to generate.