This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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]

[RFA] mips-tdep.c small cleanup


I removed some dead code, did some reformatting, and also did one little
code factoring, to make the code look prettier. That's actually the last
part of the change that made me choose a RFA rather than a PATCH. It
looks obvious, and tests ok, but I'd appreciate a second pair of eyes
looking at the change too.

The idea is to clean this code up a little bit, so I can see better
how to implement Andrew's suggestion re- inlining.

2004-09-01  Joel Brobecker  <brobecker@gnat.com>

        * mips-tdep.c (mips_insn32_frame_cache): Remove some dead code.
        Minor reformatting. Some code factoring.

tested on mips-irix 6.5.
OK to apply?

Thanks,
-- 
Joel

Attachment: mips32-cleanup.diff
Description: Text document


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