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.

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to