guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 02/05: gdb: Use <stdint.h> types.


From: Ludovic Courtès
Subject: [Guile-commits] 02/05: gdb: Use <stdint.h> types.
Date: Tue, 17 Mar 2020 19:18:19 -0400 (EDT)

civodul pushed a commit to branch master
in repository guile.

commit 62d1335a613dc140d3d147ee0bc83b1a6072d08d
Author: Ludovic Courtès <address@hidden>
AuthorDate: Tue Mar 17 22:31:26 2020 +0100

    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.
---
 libguile/libguile-3.0-gdb.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libguile/libguile-3.0-gdb.scm b/libguile/libguile-3.0-gdb.scm
index 9989c9f..d3c99f7 100644
--- a/libguile/libguile-3.0-gdb.scm
+++ b/libguile/libguile-3.0-gdb.scm
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]