Re: exec

Daniel Jacobowitz
2005-01-02T03:47:45Z

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