Modernize the aix-thread later by getting rid of the base_target
commit35aa8b0f44761a36363ee209ab4cda824097f7d5
authorJoel Brobecker <brobecker@gnat.com>
Sun, 15 Mar 2009 19:38:42 +0000 (15 19:38 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Sun, 15 Mar 2009 19:38:42 +0000 (15 19:38 +0000)
tree3efcaef0a9581c079cf16ce217b915297ac31521
parent317e9ce1e0dd315fd4dba1858065563e066bf9d9
    Modernize the aix-thread later by getting rid of the base_target
        global.  This brings back to life the AIX port which was otherwise
        crashing all the time.

        * aix-thread.c (base_target): Delete.
        (pd_enable): Do not set base_target.
        (aix_thread_attach): Use find_target_beneath instead of base_target.
        (aix_thread_detach, aix_thread_resume, aix_thread_wait)
        (aix_thread_fetch_registers, aix_thread_store_registers),
        (aix_thread_xfer_partial, aix_thread_mourn_inferior)
        (aix_thread_thread_alive, aix_thread_pid_to_str): Likewise.
        (aix_thread_kill): Delete. Does not seem necessary.
        (init_aix_thread_ops): Do not set aix_thread_ops.to_kill.
gdb/ChangeLog
gdb/aix-thread.c