Re: [RFA/patch] handle_inferior_event() extract some code into a separate function

Andrew Cagney
2004-01-02T16:29:45Z

> [I think this patch was sort of pre-approved by Andrew, which explains
> why I put "patch" in the subject, but I prefered to make sure and ask
> for approval again. Hence the RFA]
>
> Hello,
>
> This change is related to a discussion started in the following thread:
> http://sources.redhat.com/ml/gdb-patches/2003-12/msg00037.html
>
> In particular, this implements the suggestion made by Andrew in the
> following message:
> http://sources.redhat.com/ml/gdb-patches/2003-12/msg00279.html
>
> This patch implements the first part, which is to extract the code
> inside the we-stepped-into-a-function if block, and move it to its
> own function. It's fairly mechanical.
>
> The next step will be to change the if condition itself to separate
> out the targets where the new frame code is used from the ones where
> the old one is still in use. I will send a patch as soon as this one
> is reviewed.

M'kay.

Andrew