2011-02-21 Hui Zhu <teawater@gmail.com>
[deliverable/binutils-gdb.git] / gdb / stack.h
CommitLineData
b9362cc7
AC
1/* Stack manipulation commands, for GDB the GNU Debugger.
2
7b6bb8da
JB
3 Copyright (C) 2003, 2007, 2008, 2009, 2010, 2011
4 Free Software Foundation, Inc.
b9362cc7
AC
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
a9762ec7 10 the Free Software Foundation; either version 3 of the License, or
b9362cc7
AC
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
a9762ec7 19 along with this program. If not, see <http://www.gnu.org/licenses/>. */
b9362cc7
AC
20
21#ifndef STACK_H
22#define STACK_H
23
24void select_frame_command (char *level_exp, int from_tty);
25
f8f6f20b 26void find_frame_funname (struct frame_info *frame, char **funname,
e9e07ba6 27 enum language *funlang, struct symbol **funcp);
f8f6f20b 28
3e43a32a 29typedef void (*iterate_over_block_arg_local_vars_cb) (const char *print_name,
2c58c0a9
PA
30 struct symbol *sym,
31 void *cb_data);
32
33void iterate_over_block_arg_vars (struct block *block,
34 iterate_over_block_arg_local_vars_cb cb,
35 void *cb_data);
36
37void iterate_over_block_local_vars (struct block *block,
38 iterate_over_block_arg_local_vars_cb cb,
39 void *cb_data);
40
b9362cc7 41#endif /* #ifndef STACK_H */
This page took 0.74482 seconds and 4 git commands to generate.