This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA/RFC] New command: ``start''
On Wed, May 19, 2004 at 08:36:15AM -0700, Joel Brobecker wrote:
> So let's go for that route. How about:
> 1. I add the language-specific hook the way I designed it
> in my last patch.
> 2. Use that hook in main_name() when the debug info didn't provide
> the name of the main procedure.
> 3. Modify start_command to use main_name() instead of the language
> hook.
>
> Would that work for you?
That sounds good to me. Note that now you can avoid playing with
xmalloc/xfree and just return the constant "main".
--
Daniel Jacobowitz