* parse.c (write_dollar_variable): New function.
[deliverable/binutils-gdb.git] / gdb / solib.h
CommitLineData
7919c3ed
JG
1/* Shared library declarations for GDB, the GNU Debugger.
2 Copyright (C) 1992 Free Software Foundation, Inc.
3
4This file is part of GDB.
5
6This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2 of the License, or
9(at your option) any later version.
10
11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with this program; if not, write to the Free Software
6c9638b4 18Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
7919c3ed
JG
19
20#ifdef __STDC__ /* Forward decl's for prototypes */
21struct target_ops;
22#endif
23
24/* Called when we free all symtabs, to free the shared library information
25 as well. */
26
27#define CLEAR_SOLIB clear_solib
28
29extern void
30clear_solib PARAMS ((void));
31
32/* Called to add symbols from a shared library to gdb's symbol table. */
33
34#define SOLIB_ADD(filename, from_tty, targ) \
35 solib_add (filename, from_tty, targ)
36
37extern void
38solib_add PARAMS ((char *, int, struct target_ops *));
39
40/* Function to be called when the inferior starts up, to discover the names
41 of shared libraries that are dynamically linked, the base addresses to
42 which they are linked, and sufficient information to read in their symbols
43 at a later time. */
44
6730b139 45#define SOLIB_CREATE_INFERIOR_HOOK(PID) solib_create_inferior_hook()
7919c3ed
JG
46
47extern void
48solib_create_inferior_hook PARAMS((void)); /* solib.c */
49
50/* If we can't set a breakpoint, and it's in a shared library, just
51 disable it. */
52
53#define DISABLE_UNSETTABLE_BREAK(addr) solib_address(addr)
54
55extern int
56solib_address PARAMS ((CORE_ADDR)); /* solib.c */
This page took 0.228865 seconds and 4 git commands to generate.