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: Enhancement - show old and new thread info when switching during debugging


>>>>> "Paul" == pfee  <pfee@talk21.com> writes:

A few style nits in the patch...

Paul> +      const char* previous_pid_str = strdup (target_pid_to_str 

Space before the "*", not after.

Paul> +      free ((void*)previous_pid_str);

Use xfree, not free.
You don't need the cast.

Tom


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