This is the mail archive of the gdb-patches@sourceware.org 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]

Re: [PATCH v2] sim: cfi: new flash device simulation


> 2010-12-30  Mike Frysinger  <vapier@gentoo.org>
> 
> 	* aclocal.m4 (SIM_AC_OPTION_HARDWARE): Add cfi to default list.
> 	* Make-common.in (dv-cfi.o): New rule.
> 	* dv-cfi.c, dv-cfi.h: New files.

Almost OK.

There are just a few minor comments:
  - opening curly brace in struct union declarations should be on
    the next line
  - We're not fond of commented out code.  You could replace it by
    a comment if useful.
  - I realize that this is a large-ish job, but it would be nice to
    have all types and routines documented.  Generally, it's even
    preferable to document the fields in the struct/union types,
    but a small description of the type will be a good start for now.
  - I think that this deserves a NEWS entry
  - And I think that we should add some documentation in the GDB
    Manual.  The simulator section is almost non-existent in the
    current manual, but if we could start defining a general structure,
    even if they are empty, and document this new feature in that
    structure, at least we won't make things worse.

-- 
Joel


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