This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb command line option -e or -exec usage
- From: Michael Snyder <msnyder at vmware dot com>
- To: "Paragi, Ajeykumar B" <ajeykumar dot paragi at hp dot com>
- Cc: "gdb at gnu dot org" <gdb at gnu dot org>, "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Fri, 12 Feb 2010 10:45:01 -0800
- Subject: Re: gdb command line option -e or -exec usage
- References: <RT-Ticket-550483@rt.gnu.org> <E2E3C92B1E0AB4468F79FC237074B248274A4CFFE8@GVW1116EXC.americas.hpqcorp.net> <rt-3.4.5-8088-1265718123-322.550483-5-0@rt.gnu.org> <E2E3C92B1E0AB4468F79FC237074B248274A4D096D@GVW1116EXC.americas.hpqcorp.net>
Paragi, Ajeykumar B wrote:
Hi,
I have invoked gdb with '-e' command line option on an executable,
The gdb manual says '-e' is used to set the executable to run.
But I could not see the symbols read in by gdb when I use -e and could
not insert breakpoints.
What is the intent of having the command line option "-e" or "-exec"?
Hmmm, it does seem to be broken.
You can get the same effect, though, by just leaving out the -e flag.
% gdb my-executable