1 ;; Scheme side of the gdb module.
3 ;; Copyright (C) 2014-2022 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
220 unwind-stop-reason-string
228 set-iterator-progress!
234 ;; FIXME: Where's the constructor?
276 objfile-pretty-printers
277 set-objfile-pretty-printers!
288 PARAM_ZUINTEGER_UNLIMITED
290 PARAM_STRING_NOESCAPE
291 PARAM_OPTIONAL_FILENAME
310 memory-port-read-buffer-size
311 set-memory-port-read-buffer-size!
312 memory-port-write-buffer-size
313 set-memory-port-write-buffer-size!
314 ;; with-gdb-output-to-port, with-gdb-error-to-port are in experimental.scm.
316 ;; scm-pretty-print.c
320 pretty-printer-enabled?
321 set-pretty-printer-enabled!
322 make-pretty-printer-worker
323 pretty-printer-worker?
333 progspace-pretty-printers
334 set-progspace-pretty-printers!
358 SYMBOL_LOC_CONST_BYTES
359 SYMBOL_LOC_UNRESOLVED
360 SYMBOL_LOC_OPTIMIZED_OUT
362 SYMBOL_LOC_REGPARM_ADDR
368 SYMBOL_VARIABLES_DOMAIN
369 SYMBOL_FUNCTIONS_DOMAIN
434 TYPE_CODE_INTERNAL_FUNCTION
477 value-reinterpret-cast
479 value-referenced-value
497 ;; Load the rest of the Scheme side.
499 (include "gdb/init.scm")
501 ;; These come from other files, but they're really part of this module.