From: Joel Brobecker <brobecker@gnat.com>
To: Andrew Cagney <cagney@gnu.org>
Cc: gdb@sources.redhat.com
Subject: Re: Proposal: New command "begin"
Date: Wed, 07 Apr 2004 07:40:00 -0000 [thread overview]
Message-ID: <20040407074018.GX871@gnat.com> (raw)
In-Reply-To: <407323E3.6010801@gnu.org>
> - I think GDB's current source-and-line, should be initialized to
> "main", as defined by the language. That way operations such as:
> $ gdb java-program
> (gdb) break
> Breakpoint 1 at foo.java:14 Foo::Main(...)
> (gdb) run
> Hit breakpoint 1 foo.java:14
> (gdb)
> work.
Hmmm, could be nice.
> - Perhaphs a GDB variable ($main?) that points to the program entry point.
(frown) I am not too keen on this one.
> - And yes, some sort of command to perform a "runto_main". It's a
> sufficiently standard GUI operation to justify its presence.
>
> I'm just not sure about "begin" as a good choice of command name -
> begin goes better with end, and that's a compound command terminator.
I like "begin", but I'm not that attached to this name. If we can agree
on a better command name, I'll take care of sending an implementation
plan on gdb-patches.
> Is this mainly for GUI, or the user?
Both, actually. We have a button for it in our GUI, but I use it all the
time, and never use a GUI.
--
Joel
next prev parent reply other threads:[~2004-04-07 7:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-01 20:37 Joel Brobecker
2004-04-06 21:40 ` Andrew Cagney
2004-04-07 7:40 ` Joel Brobecker [this message]
2004-04-16 3:44 ` Joel Brobecker
2004-04-07 2:23 Michael Elizabeth Chastain
2004-04-16 15:12 Michael Elizabeth Chastain
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=20040407074018.GX871@gnat.com \
--to=brobecker@gnat.com \
--cc=cagney@gnu.org \
--cc=gdb@sources.redhat.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).