1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

gdb: Use <stdint.h> types.

* libguile/libguile-3.0-gdb.scm (vm-frame): Look up stdint.h types
instead of now-deprecated "scm_t_" types.
This commit is contained in:
Ludovic Courtès 2020-03-17 22:31:26 +01:00
parent 40f9a44c1b
commit 62d1335a61

View file

@ -182,8 +182,8 @@ if the information is not available."
;; See libguile/frames.h.
(define* (vm-frame ip sp fp #:optional (backend %gdb-memory-backend))
"Return the components of the stack frame at FP."
(define ip-type (type-pointer (lookup-type "scm_t_uint32")))
(define uint-type (type-pointer (lookup-type "scm_t_uintptr")))
(define ip-type (type-pointer (lookup-type "uint32_t")))
(define uint-type (type-pointer (lookup-type "uintptr_t")))
(make-vm-frame ip
sp