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][python] 1 of 5 - Frame filter Python C code changes.


Phil> +    else:
Phil> +        # The end argument for islice is a count, not a position, so
Phil> +        # add one as frames start at zero.
Phil> +        frame_high = frame_high + 1;

Tom> I think it isn't a "count", since otherwise you'd have to subtract
Tom> frame_low.

Ok, I looked at the CLI patch and it seems to be passing in "count"
here.  So maybe this note can be addressed by renaming the parameter.

Tom


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