exec

Daniel Jacobowitz drow@false.org
Sun Jan 2 03:47:00 GMT 2005


On Sun, Jan 02, 2005 at 02:44:55PM +1100, Russell Shaw wrote:
> Hi,
> When i step into:
> 
>   (*func) (program, argv);
> 
> gdb exits.
> 
> func is execv, and program is "/usr/local/libexec/gcc/avr/3.4.3/cc1"
> 
> How do i get into cc1 so i can set breakpoints there?

Run it by hand - gcc -v will show you the command line.  GDB has very
limited support for debugging across exec, depending on your platform.

-- 
Daniel Jacobowitz



More information about the Gdb mailing list