Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH/mips] small code reordering...
@ 2004-10-15  7:30 Joel Brobecker
  2004-10-15 14:04 ` Joel Brobecker
  0 siblings, 1 reply; 2+ messages in thread
From: Joel Brobecker @ 2004-10-15  7:30 UTC (permalink / raw)
  To: gdb-patches

Hello,

The attached patch does a bit of code reordering. The idea was to
get rid of the following FIXME introduced in the previous change
(to avoid bloating the patch with code-moving changes):

    /* FIXME: brobecker/2004-10-15: I suspect these two declarations can
       be removed by a better ordering of the functions below.  But I want
       to do that as a separate change later in order to separate real
       changes and changes that just move some code around.  */

It turns out that I find the new location to be more natural anyway,
so I think the move was more than worthwhile.

Sorry for the obfuscated diff. It's just all cut, move, paste actions.

2004-10-15  Joel Brobecker  <brobecker@gnat.com>

        * mips-tdep.c (mips32_scan_prologue): Move the implementation up
        a bit to avoid the necessity of an advance declaration. Remove
        declaration.
        (set_reg_offset): Move implemenation up.
        (mips16_get_imm): Likewise.
        (mips16_scan_prologue): Likewise.
        (reset_saved_regs): Likewise.
        (mips32_scan_prologue): Likewise.

Comitted.

-- 
Joel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-15 14:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-15  7:30 [PATCH/mips] small code reordering Joel Brobecker
2004-10-15 14:04 ` Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox