[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] Bug using -g with line directive
From: |
Levo D |
Subject: |
[Tinycc-devel] Bug using -g with line directive |
Date: |
Mon, 16 Jan 2023 15:14:48 +0000 (UTC) |
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."