OSDN Git Service

* generic/gdbtk-cmds.c (gdb_disassemble_driver): We should be
authorkseitz <kseitz>
Tue, 28 Aug 2001 22:22:56 +0000 (22:22 +0000)
committerkseitz <kseitz>
Tue, 28 Aug 2001 22:22:56 +0000 (22:22 +0000)
looking for "thread", not "threads" to determine if we have
a multi-threaded child process.

gdb/gdbtk/ChangeLog
gdb/gdbtk/generic/gdbtk-cmds.c

index 39fb5f6..9959b25 100644 (file)
@@ -1,5 +1,11 @@
 2001-08-28  Keith Seitz  <keiths@redhat.com>
 
+       * generic/gdbtk-cmds.c (gdb_disassemble_driver): We should be
+       looking for "thread", not "threads" to determine if we have
+       a multi-threaded child process.
+
+2001-08-28  Keith Seitz  <keiths@redhat.com>
+
        * library/bpwin.itb (build_win): Get rid of tixScrolledWindow
        and use iwidgets::scrolledframe until something better comes
        along.
index 79577a6..84e44a4 100644 (file)
@@ -2130,7 +2130,7 @@ gdb_disassemble_driver (low, high, mixed_source_and_assembly,
       if (strcmp (target_shortname, "child") == 0
           || strcmp (target_shortname, "procfs") == 0
           || strcmp (target_shortname, "vxprocess") == 0
-         || strstr (target_shortname, "threads") != NULL)
+         || strstr (target_shortname, "thread") != NULL)
        /* It's a child process, read inferior mem */
         disassemble_from_exec = 0; 
       else