From: Daniel Jacobowitz <drow@false.org>
To: Russell Shaw <rjshaw@netspace.net.au>
Cc: gdb@sources.redhat.com
Subject: Re: exec
Date: Sun, 02 Jan 2005 03:47:00 -0000 [thread overview]
Message-ID: <20050102034735.GA6823@nevyn.them.org> (raw)
In-Reply-To: <41D76E37.8050400@netspace.net.au>
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
next prev parent reply other threads:[~2005-01-02 3:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-02 3:40 exec Russell Shaw
2005-01-02 3:47 ` Daniel Jacobowitz [this message]
2005-01-02 7:12 ` exec Russell Shaw
2005-01-02 9:16 ` exec Russell Shaw
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050102034735.GA6823@nevyn.them.org \
--to=drow@false.org \
--cc=gdb@sources.redhat.com \
--cc=rjshaw@netspace.net.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox