tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Bug using -g with line directive


From: Herman ten Brugge
Subject: Re: [Tinycc-devel] Bug using -g with line directive
Date: Mon, 16 Jan 2023 20:33:58 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0

On 1/16/23 16:14, Levo D wrote:
Using ee3fef2ce2a8c46452ff44b59d5175dc90bf4f4c I compiled and tested in 3 
places using make install before the test

1. Local machine, crashes using gdb 12.1
2. Debian box, works, using 10.1
3. Mac, doesn't work using lldb-1400.0.38.13.

Copying the binary I made on the debian box to my local computer upset gdb 
12.1. Using tcc -g -nostdlib (otherwise debian gdb complains about wrong glibc 
version) I am able to debug it using gdb 10.1 on my debian box

Should I write a debug report to gdb? The error it gives is 
"../../gdb/psymtab.c:1142: internal-error: expand_symtabs_matching: Assertion 
`symtab != nullptr' failed."
I See problem 1 when using stab format. This is deprecated in gcc and probably will be deprecated in gdb. Please use dwarf. I just pushed an update for macos. The DW_LNS_set_file dwarf has an offset of 1 on macos.



reply via email to

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