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: Updated patch for Bug 13217 - thread apply all detach throws a SEGFAULT


On 07/14/2013 02:12 AM, Tom Tromey wrote:
"Ali" == ali anwar <ali_anwar@codesourcery.com> writes:

Ali> Please find attached updated patch.

Thanks.

Ali> +      struct thread_info **tp_array;
Ali> +      struct thread_info *tp;
Ali> +      int i, k;
Ali> +      i = 0;

Either there should be a blank line between the declarations and the
assignment here, or the declaration should read "int i = 0, k;".

This patch is ok with this fixed.


Thanks, committed the patch with the suggested change.

-Ali


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