OSDN Git Service

Get rid of the global "base_target" and use "find_target_beneath"
authorbrobecke <brobecke>
Thu, 5 Mar 2009 23:37:19 +0000 (23:37 +0000)
committerbrobecke <brobecke>
Thu, 5 Mar 2009 23:37:19 +0000 (23:37 +0000)
commit1958f4a1637e715b8192b389628c25af66c9fbf8
treecc467740ecd1ca88fb8f15a017d3f4c47b49b5b1
parent0472a666c2d49f04bb83237043e709f3faf97b07
    Get rid of the global "base_target" and use "find_target_beneath"
        to find the underlying target.
        * dec-thread.c (base_target): Delete.
        (enable_dec_thread): Remove assignement to base_target.
        (dec_thread_detach, dec_thread_wait, dec_thread_wait)
        (dec_thread_fetch_registers, dec_thread_store_registers)
        (dec_thread_mourn_inferior, dec_thread_pid_to_str):
        Update the function profile if necessary.
        Use find_target_beneath to call the same method but from
        the underlying target, removing the need for "base_target".

        * dec-thread.c (dec_thread_get_regsets, dec_thread_set_regsets):
        Fix a copy/paste error in a few debug traces...

        * solib-osf.c (init_so): Use a simpler method for computing
        the size of lm_info structure. This also gets rid of warning
        emitted by the compiler.
gdb/ChangeLog
gdb/dec-thread.c
gdb/solib-osf.c