[commit/AIX] Debugger is crashing when debugging program
Joel Brobecker
brobecker@adacore.com
Sun Mar 15 23:46:00 GMT 2009
> > I'm curious, why ¤t_target here instead of 'ops'? This will call
> > aix_thread_thread_alive and aix_thread_pid_to_str two times, as
> > current_target.beneath == aix_thread.
>
> !!! Typo. Will fix immediately.
Fixed thusly.
2009-03-15 Joel Brobecker <brobecker@adacore.com>
* aix-thread.c (aix_thread_thread_alive, aix_thread_pid_to_str):
Use the ops parameter to get to the target beneath, rather than
using the current_target global. Using the current_target global
was an accident.
Tested on powerpc-aix. Checked in.
Thanks again, Pedro.
--
Joel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aix-thread.diff
Type: text/x-diff
Size: 840 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20090315/f2ce1764/attachment.bin>
More information about the Gdb-patches
mailing list