xref: /dflybsd-src/contrib/gdb-7/gdb/skip.h (revision de8e141f24382815c10a4012d209bbbf7abf1112)
1a45ae5f8SJohn Marino /* Header for skipping over uninteresting files and functions when debugging.
2a45ae5f8SJohn Marino 
3*ef5ccd6cSJohn Marino    Copyright (C) 2011-2013 Free Software Foundation, Inc.
4a45ae5f8SJohn Marino 
5a45ae5f8SJohn Marino    This program is free software; you can redistribute it and/or modify
6a45ae5f8SJohn Marino    it under the terms of the GNU General Public License as published by
7a45ae5f8SJohn Marino    the Free Software Foundation; either version 3 of the License, or
8a45ae5f8SJohn Marino    (at your option) any later version.
9a45ae5f8SJohn Marino 
10a45ae5f8SJohn Marino    This program is distributed in the hope that it will be useful,
11a45ae5f8SJohn Marino    but WITHOUT ANY WARRANTY; without even the implied warranty of
12a45ae5f8SJohn Marino    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13a45ae5f8SJohn Marino    GNU General Public License for more details.
14a45ae5f8SJohn Marino 
15a45ae5f8SJohn Marino    You should have received a copy of the GNU General Public License
16a45ae5f8SJohn Marino    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
17a45ae5f8SJohn Marino 
18a45ae5f8SJohn Marino #if !defined (SKIP_H)
19a45ae5f8SJohn Marino #define SKIP_H
20a45ae5f8SJohn Marino 
21*ef5ccd6cSJohn Marino struct symtab_and_line;
22a45ae5f8SJohn Marino 
23*ef5ccd6cSJohn Marino /* Returns 1 if the given FUNCTION_NAME is marked for skip and shouldn't be
24*ef5ccd6cSJohn Marino    stepped into.  Otherwise, returns 0.  */
25*ef5ccd6cSJohn Marino int function_name_is_marked_for_skip (const char *function_name,
26*ef5ccd6cSJohn Marino 				    const struct symtab_and_line *function_sal);
27a45ae5f8SJohn Marino 
28a45ae5f8SJohn Marino #endif /* !defined (SKIP_H) */
29