aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtk.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1995-04-15 21:01:31 +0000
committerStan Shebs <shebs@codesourcery.com>1995-04-15 21:01:31 +0000
commitd7c4766c8c31727516167ca02ab45eb267f052c6 (patch)
tree312a48ca8d8e58adfacb65348b987909ad843a7d /gdb/gdbtk.c
parent575a4d91edf99a9264b3b1b081dd0c23706f94f1 (diff)
downloadgdb-d7c4766c8c31727516167ca02ab45eb267f052c6.zip
gdb-d7c4766c8c31727516167ca02ab45eb267f052c6.tar.gz
gdb-d7c4766c8c31727516167ca02ab45eb267f052c6.tar.bz2
* gdbtk.c (gdb_disassemble): Read from inferior if connected
to a VxWorks target.
Diffstat (limited to 'gdb/gdbtk.c')
-rw-r--r--gdb/gdbtk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/gdbtk.c b/gdb/gdbtk.c
index 5d8fcb9..802e0b9 100644
--- a/gdb/gdbtk.c
+++ b/gdb/gdbtk.c
@@ -801,7 +801,8 @@ gdb_disassemble (clientData, interp, argc, argv)
if (disassemble_from_exec == -1)
if (strcmp (target_shortname, "child") == 0
- || strcmp (target_shortname, "procfs") == 0)
+ || strcmp (target_shortname, "procfs") == 0
+ || strcmp (target_shortname, "vxprocess") == 0)
disassemble_from_exec = 0; /* It's a child process, read inferior mem */
else
disassemble_from_exec = 1; /* It's remote, read the exec file */