coreutils
[Top][All Lists]
Advanced

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

Noob question: mv is hard to debug with GDB


From: Stéphane Archer
Subject: Noob question: mv is hard to debug with GDB
Date: Mon, 26 Dec 2022 20:11:58 -0300

Dear Coreutils community,

I have a hard debugging the mv binary using GDB.
I modify the Makefile at the root with the following flag hopping it help:
CFLAGS = -g -ggdb -Og -O0
But many of the variables have been optimized out and it's a bit hard to
step into the code.
I think it's probably because I'm stepping in gnulib witch is maybe not
using the same CFLAGS.

Is there anything I should do to make my life easier?

-- 
Best Regards,

Stephane Archer


reply via email to

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