Assembly mapping works correctly now. However, it seems that now I can't
access the local variable information:

```bash
tcc -gdwarf -o main.exe main.c
gdb main
(gdb) b main
Breakpoint 1 at 0x40100b: file main.c, line 3.
(gdb) r
Thread 1 hit Breakpoint 1, main () at main.c:3
3               int test = 255;
(gdb) info locals
test = <error reading variable test (Cannot access memory at address
0x10014fefc)>
(gdb) p test
Cannot access memory at address 0x10014fefc
```

On Wed, Aug 27, 2025 at 11:07 AM Nikita Smirnov <n.smirnov1...@gmail.com>
wrote:

> Oh, that's my bad. I visited this download page:
> https://download.savannah.gnu.org/releases/tinycc/ and got the last
> version available here.
>
> On Wed, Aug 27, 2025 at 10:50 AM noneofyourbusiness <
> noneofyourbusin...@danwin1210.de> wrote:
>
>> Nikita Smirnov <n.smirnov1...@gmail.com> wrote:
>> > It seems that for some reason, debugging information is not complete.
>> I'm
>> > using tcc-0.9.27 (x86_64 windows) that I built from the source code
>> using
>>
>> Do you mean that you're using an old version from 2017? We are now on
>> 0.9.28rc
>> There have been some changes to tcc's debug output since then.
>> Can you try again with the latest commit?
>> git://repo.or.cz/tinycc.git
>>
>
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to