Hi,

even if I am simple mortal I would like to understand or at least follow
what is going on with gcc.
Generally when I run gdb and try to breakpoint inside a function I get a
undefined symbol or something like that.
I suppose this is because gcc is not a simple static exe but depends on
other binaries (g++, cpp, ...).
So my question is how can I debug step by step gcc ?
Let's say for instance I want to breakpoint the function
init_exception_processing located in gcc/gcc/cp
and related to c++ exceptions

This GDB was configured as "i486-linux-gnu"...
(gdb) b init_exception_processing
Function "init_exception_processing" not defined.
Make breakpoint pending on future shared library load? (y or [n])

What is the magical trick to be able to follow what is going on.

Thanks

Reply via email to