How can i compile FAT driver with debug info?

I’am trying to investigate KDL in fat driver, i can track it down until “_dosfs_read_vnode + 0x66” but i am noob at assembly, so i want to enable debug info when compiling it, how can i do it?

I found it myself. I just need to specify HAIKU_CFLAGS_ to “-g” and the build the driver

1 Like

Usually, to build a component in debug mode, you edit build/jam/UserBuildConfig to add the line:

SetConfigVar DEBUG : HAIKU_TOP src add-ons kernel file_systems fat : 1 : global ;
1 Like