This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB 6.8.92 available for testing
>>>>> "Ralf" == Ralf Corsepius <ralf.corsepius@rtems.org> writes:
Ralf> But I presume, I can consider the later one to be rejected - This
Ralf> doesn't help anybody, but ... you want it this way, so be it.
Tom> I think 'len' should be 'unsigned int', not 'size_t'.
Ralf> I think, len should be size_t, like any "sizeof"'s return type.
TYPE_LENGTH does not expand to sizeof.
Ralf> Apart of this, I can't imagine changing this "int" into "size_t" to
Ralf> have any negative impact.
Yes, I agree.
I have a slight preference for locals such as this to be declared with
the correct-according-to-gdb type.
Tom