2012-02-23 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Thu, 23 Feb 2012 11:15:06 +0000 (11:15 +0000)
committerTristan Gingold <gingold@adacore.com>
Thu, 23 Feb 2012 11:15:06 +0000 (11:15 +0000)
commitef59abfb0f3dda7daa870ffce59fb2f2feb87670
tree7e3d356febc9776c7c48ea57b385ccfebffa96d7
parentdef166f668f6f016d7c6fbab84504e95eb82bfce
2012-02-23  Tristan Gingold  <gingold@adacore.com>

       * ada-tasks.c (struct ada_tasks_inferior_data): Add
        known_tasks_element and known_tasks_length fields.
        (read_known_tasks_array): Change argument type.  Use pointer type
        and number of elements from DATA.  Adjust.
        (read_known_tasks_list): Likewise.
        (get_known_tasks_addr): Remove.
        (ada_set_current_inferior_known_tasks_addr): Renamed to ...
        (ada_tasks_inferior_data_sniffer): ... this.  Use symtab for element
        type and array length.  Merge former get_known_tasks_addr code.
gdb/ChangeLog
gdb/ada-tasks.c