[RFA/RFC] New command: ``start''

Daniel Jacobowitz drow@false.org
Wed May 19 15:42:00 GMT 2004


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



More information about the Gdb-patches mailing list