This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Changing the frame layout of H8 port to reduce code size


Hi Ian and Jeff,

>  >> I am thinking about changing the frame layout of H8 port to reduce
>  >> code size and would like to ask for comments.
>  >
>  >You didn't mention whether you've checked the debugger.  Does gdb
>  >still work fine after such a change, or would it need some
>  >modifications?
> The only part of GDB that is likely going to need to be updated would be
> the code which digs saved registers out of the frame.

I will look into this.

> We'll probably need a virtual frame pointer since the offset between the
> hard frame pointer and the locals isn't set until after we know how many
> saved registers are needed.  But that's known technology.

Oops.  You saved my life.  I was unaware of the issue. :-)

> In general, it seems like a pretty reasonable idea to me.

Thanks!

Kazu Hirata


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