linespec.h   [plain text]

/* Header for GDB line completion.
   Copyright 2000 Free Software Foundation, Inc.

   This program 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 2 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place - Suite 330,
   Boston, MA 02111-1307, USA.  */

#if !defined (LINESPEC_H)
#define LINESPEC_H 1

struct symtab;

/* APPLE LOCAL begin return multiple symbols: new parameter FIND_ALL_OCCURRENCES  */
extern struct symtabs_and_lines
	decode_line_1 (char **argptr, int funfirstline,
		       struct symtab *default_symtab, int default_line,
		       char ***canonical, int *not_found_ptr, int find_all_occurrences);
/* APPLE LOCAL end return multiple symbols  */

/* APPLE LOCAL begin selectors in line specs */
/* A flag to control whether decode_line_1* will look for ObjC
   selectors in the expression, and a function to reset that value
   (normally added to a cleanup chain). */
extern int allow_objc_selectors_flag;
extern void reset_allow_objc_selectors_flag (PTR dummy);
/* APPLE LOCAL end selectors in line specs */
#endif /* defined (LINESPEC_H) */