1 ;; Scheme side of the gdb module.
3 ;; Copyright (C) 2014-2015 Free Software Foundation, Inc.
5 ;; This file is part of GDB.
7 ;; This program is free software; you can redistribute it and/or modify
8 ;; it under the terms of the GNU General Public License as published by
9 ;; the Free Software Foundation; either version 3 of the License, or
10 ;; (at your option) any later version.
12 ;; This program is distributed in the hope that it will be useful,
13 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ;; GNU General Public License for more details.
17 ;; You should have received a copy of the GNU General Public License
18 ;; along with this program. If not, see <http://www.gnu.org/licenses/>.
20 ;; This file is loaded with scm_c_primitive_load, which is ok, but files
21 ;; loaded with it are not compiled. So we do very little here, and do
22 ;; most of the initialization in init.scm.
25 ;; The version of the (gdb) module as (major minor).
26 ;; Incompatible changes bump the major version.
27 ;; Other changes bump the minor version.
28 ;; It's not clear whether we need a patch-level as well, but this can
29 ;; be added later if necessary.
30 ;; This is not the GDB version on purpose. This version tracks the Scheme
31 ;; gdb module version.
32 ;; TODO: Change to (1 0) when ready.
35 ;; Export the bits provided by the C side.
36 ;; This is so that the compiler can see the exports when
37 ;; other code uses this module.
38 ;; TODO: Generating this list would be nice, but it would require an addition
39 ;; to the GDB build system. Still, I think it's worth it.
99 make-block-symbols-iterator
100 block-symbols-progress?
108 BP_HARDWARE_WATCHPOINT
126 breakpoint-expression
128 set-breakpoint-enabled!
130 set-breakpoint-silent!
131 breakpoint-ignore-count
132 set-breakpoint-ignore-count!
134 set-breakpoint-hit-count!
136 set-breakpoint-thread!
140 set-breakpoint-condition!
194 FRAME_UNWIND_NO_REASON
196 FRAME_UNWIND_OUTERMOST
197 FRAME_UNWIND_UNAVAILABLE
198 FRAME_UNWIND_INNER_ID
200 FRAME_UNWIND_NO_SAVED_PC
201 FRAME_UNWIND_MEMORY_ERROR
208 frame-unwind-stop-reason
219 unwind-stop-reason-string
227 set-iterator-progress!
233 ;; FIXME: Where's the constructor?
275 objfile-pretty-printers
276 set-objfile-pretty-printers!
287 PARAM_ZUINTEGER_UNLIMITED
289 PARAM_STRING_NOESCAPE
290 PARAM_OPTIONAL_FILENAME
309 memory-port-read-buffer-size
310 set-memory-port-read-buffer-size!
311 memory-port-write-buffer-size
312 set-memory-port-write-buffer-size!
313 ;; with-gdb-output-to-port, with-gdb-error-to-port are in experimental.scm.
315 ;; scm-pretty-print.c
319 pretty-printer-enabled?
320 set-pretty-printer-enabled!
321 make-pretty-printer-worker
322 pretty-printer-worker?
332 progspace-pretty-printers
333 set-progspace-pretty-printers!
357 SYMBOL_LOC_CONST_BYTES
358 SYMBOL_LOC_UNRESOLVED
359 SYMBOL_LOC_OPTIMIZED_OUT
361 SYMBOL_LOC_REGPARM_ADDR
367 SYMBOL_VARIABLES_DOMAIN
368 SYMBOL_FUNCTIONS_DOMAIN
433 TYPE_CODE_INTERNAL_FUNCTION
476 value-reinterpret-cast
478 value-referenced-value
496 ;; Load the rest of the Scheme side.
498 (include "gdb/init.scm")
500 ;; These come from other files, but they're really part of this module.