Variables & kind of memory

Salih Dincer salihdb at hotmail.com
Sat Apr 23 18:09:49 UTC 2022


On Saturday, 23 April 2022 at 17:14:22 UTC, Alain De Vos wrote:
>
> Maybe i can use gdb to see more info.
> This is not a gdb forum but if someone knows the commands to 
> verify the segments/heap/stack ?

Maybe it'll be helpful.  The following output is from another 
compiler:

```
GLV:address :14eb4a177730:AAA
GLF:address :14eb4a177740:AAA
GSLV:address:14eb4a177748:AAA
GSLF:address:14eb4a177758:AAA
GLV:ptr     :      4a5488:BBB
GLF:ptr     :14eb4a177740:AAA
GSLV:ptr    :      4a5490:BBB
GSLF:ptr    :14eb4a177758:AAA
------------
.LV:address :7ffeb7c3f228:stack
.LF:address :7ffeb7c3f220:stack
.SLV:address:14eb4a177760:AAA
.SLF:address:14eb4a177770:AAA
.LV:ptr     :14eb4a077000:heap
.LF:ptr     :7ffeb7c3f220:stack
.SLV:ptr    :      4a5498:BBB
.SLF:ptr    :14eb4a177770:AAA
```

SDB at 79


More information about the Digitalmars-d-learn mailing list