Hi, I coded a minimum program to demonstrate the problem: int main(void) { char buf[80]; strcpy(buf, "test1"); strcat(buf, "test2"); } After gdb breakpointed at "main()": >set debug remote on >set logging on gdb_log >n gdb seg faults after stepping "strcpy(buf, ...)". > No, but if you can capture a GDB remote serial protocol log, that might > help. Often we can reproduce the problem using only the log -- and the > executable image, so you'd need to post the ELF file here too. So as > not to spam everyone on the list with a big ELF file, you can send it > directly to me, but please post the log here. > > You can turn that logging on from within GDB, but I always forget > exactly which command to use to get exactly the right log, so I'll let > someone else comment.
Attachment:
gdb_log
Description: Binary data