This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: exec


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]