This is the mail archive of the gdb-patches@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: [RFA/RFC] New command: ``start''


On Mon, May 17, 2004 at 07:47:00PM -0700, Joel Brobecker wrote:
> Hello,
> 
> As briefly discussed on gdb@ and gdb-patches@, here is a first proposal
> for the addition of a new command: ``start''.
> 
> I handled the language-dependent issue by adding a new method to the
> language vector. I returns a newly allocated string that tells GDB
> where to insert the breakpoint. I named it "main_program_name" because
> I would expect it to always return the name of a procedure. However,
> it can actually return any location expression. So a language could
> use a different approach and return something like "*0xdeadbeef" or
> "source.c:10" for instance.

We already have a function for this: main_name.  Is it adequate for
Ada?


-- 
Daniel Jacobowitz


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