summaryrefslogtreecommitdiff
path: root/gdb/gdbtk/library/attachdlg.ith
blob: b0b6a1131af87d8a8294cbe444f425e994ba36b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#
# attachdlg.ith - itcl declarations for class AttachDlg
# ----------------------------------------------------------------------
# Implements Attach to process window
#
# ----------------------------------------------------------------------
#   Copyright (C) 1999 Cygnus Solutions
#
class AttachDlg {
  inherit ModalDialog ManagedWin

  public {
    method constructor {args}
    proc last_button {} {return $last_button}
    proc pid {} {return $last_pid}
    proc symbol_file {} {return $symbol_file}
  }

  protected {
    method build_win {args}
    method cancel {}
    method choose_symbol_file {}
    method doit {}
    method list_pids {{expr {}}}
    method select_pid {}
    method clear_pid_selection {}
    method filter_pid_selection {}

    variable pid_list

    common  last_button 0
    common last_pid {}
    common symbol_file
  }
}