2001-08-31 10:42:19 +00:00
|
|
|
/* classes: h_files */
|
|
|
|
|
|
|
|
|
|
#ifndef GDB_INTERFACE_H
|
|
|
|
|
#define GDB_INTERFACE_H
|
1996-09-04 23:59:26 +00:00
|
|
|
/* Simple interpreter interface for GDB, the GNU debugger.
|
2006-04-17 00:05:42 +00:00
|
|
|
Copyright (C) 1996, 2000, 2001, 2006 Free Software Foundation
|
1996-09-04 23:59:26 +00:00
|
|
|
|
2009-06-17 00:22:09 +01:00
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
|
* modify it under the terms of the GNU Lesser General Public License
|
|
|
|
|
* as published by the Free Software Foundation; either version 3 of
|
|
|
|
|
* the License, or (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This library is distributed in the hope that it will be useful, but
|
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
|
|
|
* 02110-1301 USA
|
2001-06-03 23:32:27 +00:00
|
|
|
|
1996-09-04 23:59:26 +00:00
|
|
|
The author can be reached at djurfeldt@nada.kth.se
|
|
|
|
|
Mikael Djurfeldt, SANS/NADA KTH, 10044 STOCKHOLM, SWEDEN */
|
|
|
|
|
|
|
|
|
|
/* This is the header file for GDB's interpreter interface. The
|
|
|
|
|
interpreter must supply definitions of all symbols declared in this
|
|
|
|
|
file.
|
|
|
|
|
|
|
|
|
|
Before including this file, you must #define GDB_TYPE to be the
|
|
|
|
|
data type used for communication with the interpreter. */
|
|
|
|
|
|
|
|
|
|
/* The following macro can be used to anchor the symbols of the
|
|
|
|
|
interface in your main program. This is necessary if the interface
|
|
|
|
|
is defined in a library, such as Guile. */
|
|
|
|
|
|
* __scm.h, alist.h, arbiters.h, async.h, backtrace.h, boolean.h,
chars.h, continuations.h, coop-defs.h, coop-threads.h,
debug-malloc.h, debug.h, deprecation.h, dynl.h, dynwind.h,
environments.h, eq.h, error.h, eval.h, evalext.h, extensions.h,
feature.h, filesys.h, fluids.h, fports.h, gc.h, gdb_interface.h,
gdbint.h, gh.h, goops.h, gsubr.h, guardians.h, hash.h, hashtab.h,
hooks.h, init.h, ioext.h, iselect.h, keywords.h, lang.h, list.h,
load.h, macros.h, mallocs.h, modules.h, net_db.h, numbers.h,
objects.h, objprop.h, options.h, pairs.h, ports.h, posix.h, print.h,
procprop.h, procs.h, properties.h, ramap.h, random.h, rdelim.h,
read.h, regex-posix.h, root.h, rw.h, scmsigs.h, script.h, simpos.h,
smob.h, socket.h, sort.h, srcprop.h, stackchk.h, stacks.h, stime.h,
strings.h, strop.h, strorder.h, strports.h, struct.h, symbols.h,
tags.h, threads.h, throw.h, unif.h, values.h, variable.h, vectors.h,
vports.h, weaks.h:
Prefixed each each exported symbol with SCM_API.
* gdb_interface.h (GDB_INTERFACE): Also support __CYGWIN__.
2001-11-02 00:09:41 +00:00
|
|
|
#if !defined (__MINGW32__) && !defined (__CYGWIN__)
|
1996-09-04 23:59:26 +00:00
|
|
|
#define GDB_INTERFACE \
|
|
|
|
|
void *gdb_interface[] = { \
|
|
|
|
|
&gdb_options, \
|
|
|
|
|
&gdb_language, \
|
|
|
|
|
&gdb_result, \
|
|
|
|
|
&gdb_output, \
|
|
|
|
|
&gdb_output_length, \
|
1997-02-21 23:02:01 +00:00
|
|
|
(void *) gdb_maybe_valid_type_p, \
|
|
|
|
|
(void *) gdb_read, \
|
|
|
|
|
(void *) gdb_eval, \
|
|
|
|
|
(void *) gdb_print, \
|
|
|
|
|
(void *) gdb_binding \
|
1997-06-22 20:49:31 +00:00
|
|
|
}
|
* __scm.h, alist.h, arbiters.h, async.h, backtrace.h, boolean.h,
chars.h, continuations.h, coop-defs.h, coop-threads.h,
debug-malloc.h, debug.h, deprecation.h, dynl.h, dynwind.h,
environments.h, eq.h, error.h, eval.h, evalext.h, extensions.h,
feature.h, filesys.h, fluids.h, fports.h, gc.h, gdb_interface.h,
gdbint.h, gh.h, goops.h, gsubr.h, guardians.h, hash.h, hashtab.h,
hooks.h, init.h, ioext.h, iselect.h, keywords.h, lang.h, list.h,
load.h, macros.h, mallocs.h, modules.h, net_db.h, numbers.h,
objects.h, objprop.h, options.h, pairs.h, ports.h, posix.h, print.h,
procprop.h, procs.h, properties.h, ramap.h, random.h, rdelim.h,
read.h, regex-posix.h, root.h, rw.h, scmsigs.h, script.h, simpos.h,
smob.h, socket.h, sort.h, srcprop.h, stackchk.h, stacks.h, stime.h,
strings.h, strop.h, strorder.h, strports.h, struct.h, symbols.h,
tags.h, threads.h, throw.h, unif.h, values.h, variable.h, vectors.h,
vports.h, weaks.h:
Prefixed each each exported symbol with SCM_API.
* gdb_interface.h (GDB_INTERFACE): Also support __CYGWIN__.
2001-11-02 00:09:41 +00:00
|
|
|
#else /* __MINGW32__, __CYGWIN__ */
|
2001-06-26 17:53:09 +00:00
|
|
|
/* Because the following functions are imported from a DLL (some kind of
|
|
|
|
|
shared library) these are NO static initializers. That is why you need to
|
|
|
|
|
define them and assign the functions and data items at run time. */
|
|
|
|
|
#define GDB_INTERFACE \
|
|
|
|
|
void *gdb_interface[] = \
|
|
|
|
|
{ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL };
|
|
|
|
|
#define GDB_INTERFACE_INIT \
|
|
|
|
|
do { \
|
|
|
|
|
gdb_interface[0] = &gdb_options; \
|
|
|
|
|
gdb_interface[1] = &gdb_language; \
|
|
|
|
|
gdb_interface[2] = &gdb_result; \
|
|
|
|
|
gdb_interface[3] = &gdb_output; \
|
|
|
|
|
gdb_interface[4] = &gdb_output_length; \
|
|
|
|
|
gdb_interface[5] = (void *) gdb_maybe_valid_type_p; \
|
|
|
|
|
gdb_interface[6] = (void *) gdb_read; \
|
|
|
|
|
gdb_interface[7] = (void *) gdb_eval; \
|
|
|
|
|
gdb_interface[8] = (void *) gdb_print; \
|
|
|
|
|
gdb_interface[9] = (void *) gdb_binding; \
|
|
|
|
|
} while (0);
|
|
|
|
|
#endif /* __MINGW32__ */
|
1996-09-04 23:59:26 +00:00
|
|
|
|
|
|
|
|
/* GDB_OPTIONS is a set of flags informing gdb what features are present
|
|
|
|
|
in the interface. Currently only one option is supported: */
|
|
|
|
|
|
|
|
|
|
/* GDB_HAVE_BINDINGS: Set this bit if your interpreter can create new
|
|
|
|
|
top level bindings on demand (through gdb_top_level_binding) */
|
|
|
|
|
|
|
|
|
|
#define GDB_HAVE_BINDINGS 1
|
|
|
|
|
|
* __scm.h, alist.h, arbiters.h, async.h, backtrace.h, boolean.h,
chars.h, continuations.h, coop-defs.h, coop-threads.h,
debug-malloc.h, debug.h, deprecation.h, dynl.h, dynwind.h,
environments.h, eq.h, error.h, eval.h, evalext.h, extensions.h,
feature.h, filesys.h, fluids.h, fports.h, gc.h, gdb_interface.h,
gdbint.h, gh.h, goops.h, gsubr.h, guardians.h, hash.h, hashtab.h,
hooks.h, init.h, ioext.h, iselect.h, keywords.h, lang.h, list.h,
load.h, macros.h, mallocs.h, modules.h, net_db.h, numbers.h,
objects.h, objprop.h, options.h, pairs.h, ports.h, posix.h, print.h,
procprop.h, procs.h, properties.h, ramap.h, random.h, rdelim.h,
read.h, regex-posix.h, root.h, rw.h, scmsigs.h, script.h, simpos.h,
smob.h, socket.h, sort.h, srcprop.h, stackchk.h, stacks.h, stime.h,
strings.h, strop.h, strorder.h, strports.h, struct.h, symbols.h,
tags.h, threads.h, throw.h, unif.h, values.h, variable.h, vectors.h,
vports.h, weaks.h:
Prefixed each each exported symbol with SCM_API.
* gdb_interface.h (GDB_INTERFACE): Also support __CYGWIN__.
2001-11-02 00:09:41 +00:00
|
|
|
SCM_API unsigned short gdb_options;
|
1996-09-04 23:59:26 +00:00
|
|
|
|
|
|
|
|
/* GDB_LANGUAGE holds the name of the preferred language mode for this
|
|
|
|
|
interpreter. For lisp interpreters, the suggested mode is "lisp/c". */
|
|
|
|
|
|
* __scm.h, alist.h, arbiters.h, async.h, backtrace.h, boolean.h,
chars.h, continuations.h, coop-defs.h, coop-threads.h,
debug-malloc.h, debug.h, deprecation.h, dynl.h, dynwind.h,
environments.h, eq.h, error.h, eval.h, evalext.h, extensions.h,
feature.h, filesys.h, fluids.h, fports.h, gc.h, gdb_interface.h,
gdbint.h, gh.h, goops.h, gsubr.h, guardians.h, hash.h, hashtab.h,
hooks.h, init.h, ioext.h, iselect.h, keywords.h, lang.h, list.h,
load.h, macros.h, mallocs.h, modules.h, net_db.h, numbers.h,
objects.h, objprop.h, options.h, pairs.h, ports.h, posix.h, print.h,
procprop.h, procs.h, properties.h, ramap.h, random.h, rdelim.h,
read.h, regex-posix.h, root.h, rw.h, scmsigs.h, script.h, simpos.h,
smob.h, socket.h, sort.h, srcprop.h, stackchk.h, stacks.h, stime.h,
strings.h, strop.h, strorder.h, strports.h, struct.h, symbols.h,
tags.h, threads.h, throw.h, unif.h, values.h, variable.h, vectors.h,
vports.h, weaks.h:
Prefixed each each exported symbol with SCM_API.
* gdb_interface.h (GDB_INTERFACE): Also support __CYGWIN__.
2001-11-02 00:09:41 +00:00
|
|
|
SCM_API char *gdb_language;
|
1996-09-04 23:59:26 +00:00
|
|
|
|
|
|
|
|
/* GDB_RESULT is used for passing results from the interpreter to GDB */
|
|
|
|
|
|
* __scm.h, alist.h, arbiters.h, async.h, backtrace.h, boolean.h,
chars.h, continuations.h, coop-defs.h, coop-threads.h,
debug-malloc.h, debug.h, deprecation.h, dynl.h, dynwind.h,
environments.h, eq.h, error.h, eval.h, evalext.h, extensions.h,
feature.h, filesys.h, fluids.h, fports.h, gc.h, gdb_interface.h,
gdbint.h, gh.h, goops.h, gsubr.h, guardians.h, hash.h, hashtab.h,
hooks.h, init.h, ioext.h, iselect.h, keywords.h, lang.h, list.h,
load.h, macros.h, mallocs.h, modules.h, net_db.h, numbers.h,
objects.h, objprop.h, options.h, pairs.h, ports.h, posix.h, print.h,
procprop.h, procs.h, properties.h, ramap.h, random.h, rdelim.h,
read.h, regex-posix.h, root.h, rw.h, scmsigs.h, script.h, simpos.h,
smob.h, socket.h, sort.h, srcprop.h, stackchk.h, stacks.h, stime.h,
strings.h, strop.h, strorder.h, strports.h, struct.h, symbols.h,
tags.h, threads.h, throw.h, unif.h, values.h, variable.h, vectors.h,
vports.h, weaks.h:
Prefixed each each exported symbol with SCM_API.
* gdb_interface.h (GDB_INTERFACE): Also support __CYGWIN__.
2001-11-02 00:09:41 +00:00
|
|
|
SCM_API GDB_TYPE gdb_result;
|
1996-09-04 23:59:26 +00:00
|
|
|
|
|
|
|
|
/* The interpreter passes strings to GDB in GDB_OUTPUT and
|
|
|
|
|
GDB_OUTPUT_LENGTH. GDB_OUTPUT should hold the pointer to the
|
|
|
|
|
string. GDB_OUTPUT_LENGTH should hold its length. The string
|
|
|
|
|
doesn't need to be terminated by '\0'. */
|
|
|
|
|
|
* __scm.h, alist.h, arbiters.h, async.h, backtrace.h, boolean.h,
chars.h, continuations.h, coop-defs.h, coop-threads.h,
debug-malloc.h, debug.h, deprecation.h, dynl.h, dynwind.h,
environments.h, eq.h, error.h, eval.h, evalext.h, extensions.h,
feature.h, filesys.h, fluids.h, fports.h, gc.h, gdb_interface.h,
gdbint.h, gh.h, goops.h, gsubr.h, guardians.h, hash.h, hashtab.h,
hooks.h, init.h, ioext.h, iselect.h, keywords.h, lang.h, list.h,
load.h, macros.h, mallocs.h, modules.h, net_db.h, numbers.h,
objects.h, objprop.h, options.h, pairs.h, ports.h, posix.h, print.h,
procprop.h, procs.h, properties.h, ramap.h, random.h, rdelim.h,
read.h, regex-posix.h, root.h, rw.h, scmsigs.h, script.h, simpos.h,
smob.h, socket.h, sort.h, srcprop.h, stackchk.h, stacks.h, stime.h,
strings.h, strop.h, strorder.h, strports.h, struct.h, symbols.h,
tags.h, threads.h, throw.h, unif.h, values.h, variable.h, vectors.h,
vports.h, weaks.h:
Prefixed each each exported symbol with SCM_API.
* gdb_interface.h (GDB_INTERFACE): Also support __CYGWIN__.
2001-11-02 00:09:41 +00:00
|
|
|
SCM_API char *gdb_output;
|
1996-09-04 23:59:26 +00:00
|
|
|
|
* __scm.h, alist.h, arbiters.h, async.h, backtrace.h, boolean.h,
chars.h, continuations.h, coop-defs.h, coop-threads.h,
debug-malloc.h, debug.h, deprecation.h, dynl.h, dynwind.h,
environments.h, eq.h, error.h, eval.h, evalext.h, extensions.h,
feature.h, filesys.h, fluids.h, fports.h, gc.h, gdb_interface.h,
gdbint.h, gh.h, goops.h, gsubr.h, guardians.h, hash.h, hashtab.h,
hooks.h, init.h, ioext.h, iselect.h, keywords.h, lang.h, list.h,
load.h, macros.h, mallocs.h, modules.h, net_db.h, numbers.h,
objects.h, objprop.h, options.h, pairs.h, ports.h, posix.h, print.h,
procprop.h, procs.h, properties.h, ramap.h, random.h, rdelim.h,
read.h, regex-posix.h, root.h, rw.h, scmsigs.h, script.h, simpos.h,
smob.h, socket.h, sort.h, srcprop.h, stackchk.h, stacks.h, stime.h,
strings.h, strop.h, strorder.h, strports.h, struct.h, symbols.h,
tags.h, threads.h, throw.h, unif.h, values.h, variable.h, vectors.h,
vports.h, weaks.h:
Prefixed each each exported symbol with SCM_API.
* gdb_interface.h (GDB_INTERFACE): Also support __CYGWIN__.
2001-11-02 00:09:41 +00:00
|
|
|
SCM_API int gdb_output_length;
|
1996-09-04 23:59:26 +00:00
|
|
|
|
|
|
|
|
/* Return TRUE if the interpreter regards VALUE's type as valid. A
|
|
|
|
|
lazy implementation is allowed to pass TRUE always. FALSE should
|
|
|
|
|
only be returned when it is certain that VALUE is not valid.
|
|
|
|
|
|
|
|
|
|
In the "lisp/c" language mode, this is used to heuristically
|
|
|
|
|
discriminate lisp values from C values during printing. */
|
|
|
|
|
|
* __scm.h, alist.h, arbiters.h, async.h, backtrace.h, boolean.h,
chars.h, continuations.h, coop-defs.h, coop-threads.h,
debug-malloc.h, debug.h, deprecation.h, dynl.h, dynwind.h,
environments.h, eq.h, error.h, eval.h, evalext.h, extensions.h,
feature.h, filesys.h, fluids.h, fports.h, gc.h, gdb_interface.h,
gdbint.h, gh.h, goops.h, gsubr.h, guardians.h, hash.h, hashtab.h,
hooks.h, init.h, ioext.h, iselect.h, keywords.h, lang.h, list.h,
load.h, macros.h, mallocs.h, modules.h, net_db.h, numbers.h,
objects.h, objprop.h, options.h, pairs.h, ports.h, posix.h, print.h,
procprop.h, procs.h, properties.h, ramap.h, random.h, rdelim.h,
read.h, regex-posix.h, root.h, rw.h, scmsigs.h, script.h, simpos.h,
smob.h, socket.h, sort.h, srcprop.h, stackchk.h, stacks.h, stime.h,
strings.h, strop.h, strorder.h, strports.h, struct.h, symbols.h,
tags.h, threads.h, throw.h, unif.h, values.h, variable.h, vectors.h,
vports.h, weaks.h:
Prefixed each each exported symbol with SCM_API.
* gdb_interface.h (GDB_INTERFACE): Also support __CYGWIN__.
2001-11-02 00:09:41 +00:00
|
|
|
SCM_API int gdb_maybe_valid_type_p (GDB_TYPE value);
|
1996-09-04 23:59:26 +00:00
|
|
|
|
|
|
|
|
/* Parse expression in string STR. Store result in GDB_RESULT, then
|
|
|
|
|
return 0 to indicate success. On error, return -1 to indicate
|
|
|
|
|
failure. An error string can be passed in GDB_OUTPUT and
|
|
|
|
|
GDB_OUTPUT_LENGTH. Be careful to set GDB_OUTPUT_LENGTH to zero if
|
|
|
|
|
no message is passed. Please note that the resulting value should
|
|
|
|
|
be protected against garbage collection. */
|
|
|
|
|
|
* __scm.h, alist.h, arbiters.h, async.h, backtrace.h, boolean.h,
chars.h, continuations.h, coop-defs.h, coop-threads.h,
debug-malloc.h, debug.h, deprecation.h, dynl.h, dynwind.h,
environments.h, eq.h, error.h, eval.h, evalext.h, extensions.h,
feature.h, filesys.h, fluids.h, fports.h, gc.h, gdb_interface.h,
gdbint.h, gh.h, goops.h, gsubr.h, guardians.h, hash.h, hashtab.h,
hooks.h, init.h, ioext.h, iselect.h, keywords.h, lang.h, list.h,
load.h, macros.h, mallocs.h, modules.h, net_db.h, numbers.h,
objects.h, objprop.h, options.h, pairs.h, ports.h, posix.h, print.h,
procprop.h, procs.h, properties.h, ramap.h, random.h, rdelim.h,
read.h, regex-posix.h, root.h, rw.h, scmsigs.h, script.h, simpos.h,
smob.h, socket.h, sort.h, srcprop.h, stackchk.h, stacks.h, stime.h,
strings.h, strop.h, strorder.h, strports.h, struct.h, symbols.h,
tags.h, threads.h, throw.h, unif.h, values.h, variable.h, vectors.h,
vports.h, weaks.h:
Prefixed each each exported symbol with SCM_API.
* gdb_interface.h (GDB_INTERFACE): Also support __CYGWIN__.
2001-11-02 00:09:41 +00:00
|
|
|
SCM_API int gdb_read (char *str);
|
1996-09-04 23:59:26 +00:00
|
|
|
|
|
|
|
|
/* Evaluate expression EXP. Store result in GDB_RESULT, then return 0
|
|
|
|
|
to indicate success. On error, return -1 to indicate failure. Any
|
|
|
|
|
output (both on success and failure) can be passed in GDB_OUTPUT
|
|
|
|
|
and GDB_OUTPUT_LENGTH. Be careful to set GDB_OUTPUT_LENGTH to zero
|
|
|
|
|
if no output is passed. Please note that the resulting lisp object
|
|
|
|
|
should be protected against garbage collection. */
|
|
|
|
|
|
* __scm.h, alist.h, arbiters.h, async.h, backtrace.h, boolean.h,
chars.h, continuations.h, coop-defs.h, coop-threads.h,
debug-malloc.h, debug.h, deprecation.h, dynl.h, dynwind.h,
environments.h, eq.h, error.h, eval.h, evalext.h, extensions.h,
feature.h, filesys.h, fluids.h, fports.h, gc.h, gdb_interface.h,
gdbint.h, gh.h, goops.h, gsubr.h, guardians.h, hash.h, hashtab.h,
hooks.h, init.h, ioext.h, iselect.h, keywords.h, lang.h, list.h,
load.h, macros.h, mallocs.h, modules.h, net_db.h, numbers.h,
objects.h, objprop.h, options.h, pairs.h, ports.h, posix.h, print.h,
procprop.h, procs.h, properties.h, ramap.h, random.h, rdelim.h,
read.h, regex-posix.h, root.h, rw.h, scmsigs.h, script.h, simpos.h,
smob.h, socket.h, sort.h, srcprop.h, stackchk.h, stacks.h, stime.h,
strings.h, strop.h, strorder.h, strports.h, struct.h, symbols.h,
tags.h, threads.h, throw.h, unif.h, values.h, variable.h, vectors.h,
vports.h, weaks.h:
Prefixed each each exported symbol with SCM_API.
* gdb_interface.h (GDB_INTERFACE): Also support __CYGWIN__.
2001-11-02 00:09:41 +00:00
|
|
|
SCM_API int gdb_eval (GDB_TYPE exp);
|
1996-09-04 23:59:26 +00:00
|
|
|
|
|
|
|
|
/* Print VALUE. Store output in GDB_OUTPUT and GDB_OUTPUT_LENGTH.
|
|
|
|
|
Return 0 to indicate success. On error, return -1 to indicate
|
|
|
|
|
failure. GDB will not look at GDB_OUTPUT or GDB_OUTPUT_LENGTH on
|
|
|
|
|
failure. Note that this function should be robust against strange
|
|
|
|
|
values. It could in fact be passed any kind of value. */
|
|
|
|
|
|
* __scm.h, alist.h, arbiters.h, async.h, backtrace.h, boolean.h,
chars.h, continuations.h, coop-defs.h, coop-threads.h,
debug-malloc.h, debug.h, deprecation.h, dynl.h, dynwind.h,
environments.h, eq.h, error.h, eval.h, evalext.h, extensions.h,
feature.h, filesys.h, fluids.h, fports.h, gc.h, gdb_interface.h,
gdbint.h, gh.h, goops.h, gsubr.h, guardians.h, hash.h, hashtab.h,
hooks.h, init.h, ioext.h, iselect.h, keywords.h, lang.h, list.h,
load.h, macros.h, mallocs.h, modules.h, net_db.h, numbers.h,
objects.h, objprop.h, options.h, pairs.h, ports.h, posix.h, print.h,
procprop.h, procs.h, properties.h, ramap.h, random.h, rdelim.h,
read.h, regex-posix.h, root.h, rw.h, scmsigs.h, script.h, simpos.h,
smob.h, socket.h, sort.h, srcprop.h, stackchk.h, stacks.h, stime.h,
strings.h, strop.h, strorder.h, strports.h, struct.h, symbols.h,
tags.h, threads.h, throw.h, unif.h, values.h, variable.h, vectors.h,
vports.h, weaks.h:
Prefixed each each exported symbol with SCM_API.
* gdb_interface.h (GDB_INTERFACE): Also support __CYGWIN__.
2001-11-02 00:09:41 +00:00
|
|
|
SCM_API int gdb_print (GDB_TYPE value);
|
1996-09-04 23:59:26 +00:00
|
|
|
|
|
|
|
|
/* Bind NAME to VALUE in interpreter. (GDB has previously obtained
|
|
|
|
|
NAME by passing a string to gdb_read.) Return 0 to indicate
|
|
|
|
|
success or -1 to indicate failure. This feature is optional. GDB
|
|
|
|
|
will only call this function if the GDB_HAVE_BINDINGS flag is set
|
|
|
|
|
in gdb_options. Note that GDB may call this function many times
|
|
|
|
|
for the same name.
|
|
|
|
|
|
|
|
|
|
For scheme interpreters, this function should introduce top-level
|
|
|
|
|
bindings. */
|
|
|
|
|
|
* __scm.h, alist.h, arbiters.h, async.h, backtrace.h, boolean.h,
chars.h, continuations.h, coop-defs.h, coop-threads.h,
debug-malloc.h, debug.h, deprecation.h, dynl.h, dynwind.h,
environments.h, eq.h, error.h, eval.h, evalext.h, extensions.h,
feature.h, filesys.h, fluids.h, fports.h, gc.h, gdb_interface.h,
gdbint.h, gh.h, goops.h, gsubr.h, guardians.h, hash.h, hashtab.h,
hooks.h, init.h, ioext.h, iselect.h, keywords.h, lang.h, list.h,
load.h, macros.h, mallocs.h, modules.h, net_db.h, numbers.h,
objects.h, objprop.h, options.h, pairs.h, ports.h, posix.h, print.h,
procprop.h, procs.h, properties.h, ramap.h, random.h, rdelim.h,
read.h, regex-posix.h, root.h, rw.h, scmsigs.h, script.h, simpos.h,
smob.h, socket.h, sort.h, srcprop.h, stackchk.h, stacks.h, stime.h,
strings.h, strop.h, strorder.h, strports.h, struct.h, symbols.h,
tags.h, threads.h, throw.h, unif.h, values.h, variable.h, vectors.h,
vports.h, weaks.h:
Prefixed each each exported symbol with SCM_API.
* gdb_interface.h (GDB_INTERFACE): Also support __CYGWIN__.
2001-11-02 00:09:41 +00:00
|
|
|
SCM_API int gdb_binding (GDB_TYPE name, GDB_TYPE value);
|
1996-09-04 23:59:26 +00:00
|
|
|
|
2001-08-31 10:42:19 +00:00
|
|
|
#endif /* GDB_INTERFACE_H */
|
2000-03-19 19:01:16 +00:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
Local Variables:
|
|
|
|
|
c-file-style: "gnu"
|
|
|
|
|
End:
|
|
|
|
|
*/
|