OSDN Git Service

* script-sections.cc (Sort_output_sections::script_compare):
[pf3gnuchains/sourceware.git] / gdb / stack.h
1 /* Stack manipulation commands, for GDB the GNU Debugger.
2
3    Copyright (C) 2003, 2007, 2008, 2009, 2010, 2011
4    Free Software Foundation, Inc.
5
6    This file is part of GDB.
7
8    This program is free software; you can redistribute it and/or modify
9    it under the terms of the GNU General Public License as published by
10    the Free Software Foundation; either version 3 of the License, or
11    (at your option) any later version.
12
13    This program is distributed in the hope that it will be useful,
14    but WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16    GNU General Public License for more details.
17
18    You should have received a copy of the GNU General Public License
19    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
20
21 #ifndef STACK_H
22 #define STACK_H
23
24 void select_frame_command (char *level_exp, int from_tty);
25
26 void find_frame_funname (struct frame_info *frame, char **funname,
27                          enum language *funlang, struct symbol **funcp);
28
29 typedef void (*iterate_over_block_arg_local_vars_cb) (const char *print_name,
30                                                       struct symbol *sym,
31                                                       void *cb_data);
32
33 void iterate_over_block_arg_vars (struct block *block,
34                                   iterate_over_block_arg_local_vars_cb cb,
35                                   void *cb_data);
36
37 void iterate_over_block_local_vars (struct block *block,
38                                     iterate_over_block_arg_local_vars_cb cb,
39                                     void *cb_data);
40
41 #endif /* #ifndef STACK_H */