This is the mail archive of the
cgen@sourceware.org
mailing list for the CGEN project.
Re: [PATCH] Log message fix
Masaki Muranaka wrote:
Hello,
Thanks for your comment.
I re-generated the patch to get more consistency.
Yikes. I think I goofed in the sense that at least for the sims the
files don't have a "$cpu-" prefix.
E.g. In the gdb tree, ls src/sim/m32r.
Opcode files need the prefix because they all live in the same directory.
That's not the case with the sims.
Ummm, "Sorry about that Chief". :-(
I realize it's just a debugging printf, but OTOH "consistency is good".
How about something that works regardless of what the file is.
Maybe something like:
(logit 1 "Generating " (gen-cpu-name) "'s cpu.h ...\n")
Or some such ...
I can do that if you want. Saves you from having to retype everything
again.
Apologies.