This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Enhancement - show old and new thread info when switching during debugging
- From: Tom Tromey <tromey at redhat dot com>
- To: pfee at talk21 dot com
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 29 Jul 2011 14:40:42 -0600
- Subject: Re: Enhancement - show old and new thread info when switching during debugging
- References: <1311947955.89527.YahooMailRC@web86708.mail.ird.yahoo.com>
>>>>> "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