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:
parent
40f9a44c1b
commit
62d1335a61
1 changed files with 2 additions and 2 deletions
|
@ -182,8 +182,8 @@ if the information is not available."
|
||||||
;; See libguile/frames.h.
|
;; See libguile/frames.h.
|
||||||
(define* (vm-frame ip sp fp #:optional (backend %gdb-memory-backend))
|
(define* (vm-frame ip sp fp #:optional (backend %gdb-memory-backend))
|
||||||
"Return the components of the stack frame at FP."
|
"Return the components of the stack frame at FP."
|
||||||
(define ip-type (type-pointer (lookup-type "scm_t_uint32")))
|
(define ip-type (type-pointer (lookup-type "uint32_t")))
|
||||||
(define uint-type (type-pointer (lookup-type "scm_t_uintptr")))
|
(define uint-type (type-pointer (lookup-type "uintptr_t")))
|
||||||
|
|
||||||
(make-vm-frame ip
|
(make-vm-frame ip
|
||||||
sp
|
sp
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue