1 /* Stack manipulation commands, for GDB the GNU Debugger.
3 Copyright (C) 2003, 2007, 2008, 2009, 2010, 2011
4 Free Software Foundation, Inc.
6 This file is part of GDB.
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.
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.
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/>. */
24 void select_frame_command (char *level_exp
, int from_tty
);
26 void find_frame_funname (struct frame_info
*frame
, char **funname
,
27 enum language
*funlang
, struct symbol
**funcp
);
29 typedef void (*iterate_over_block_arg_local_vars_cb
) (const char *print_name
,
33 void iterate_over_block_arg_vars (struct block
*block
,
34 iterate_over_block_arg_local_vars_cb cb
,
37 void iterate_over_block_local_vars (struct block
*block
,
38 iterate_over_block_arg_local_vars_cb cb
,
41 /* Get or set the last displayed symtab and line, which is, e.g. where we set a
42 * breakpoint when `break' is supplied with no arguments. */
43 void clear_last_displayed_sal (void);
44 int last_displayed_sal_is_valid (void);
45 struct program_space
* get_last_displayed_pspace (void);
46 CORE_ADDR
get_last_displayed_addr (void);
47 struct symtab
* get_last_displayed_symtab (void);
48 int get_last_displayed_line (void);
49 void get_last_displayed_sal (struct symtab_and_line
*sal
);
51 #endif /* #ifndef STACK_H */