Hi,
I'm a newbie on GCC debugging and I need to modify some of the source
codes (the part for manipulating control flow graph - cfg) for my
project. I was wondering if there's a way to set break points on GCC
internals using GDB.
For instance, I'm able to add some lines in the method init_flow() in
file "cfg.c" to just create a new file to see when I'm reaching to this
method at run-time; and it creates the file when executing gcc. But I'm
not able to set a breakpoint at any point of this file when running gcc
with GDB!! I guess this code is dynamically linked and when setting any
breakpoint gdb suggests (after "No source file named cfg.c") "Make
breakpoint pending on future shared library load? (y or [n])".
Thanks in advance
-- Hadi