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 to handle compressed sections


} I see.  Well, you could use bfd_getb32 twice... I just felt that the
} eight copies of that line were excessive.

Then you'd do something like
   size = (a << 32) + b;
which likewise won't work well (well, will give a compiler warning) on
32-bit systems.

I agree the code ends up being verbose, but it's pretty
straightforward and robust.  Would you be ok with the code going in
the way it is now?

craig


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