aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-07-17 15:55:54 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-07-17 15:55:54 +0000
commit328d0145afe575320c431e1fe2ef5f9de8bf2071 (patch)
treef26bc8cb9bba5c5f4ebe7edf0d2d0fd64b2e8844 /gdb/mi
parenta61a9fbcb3b108f726f596a9385a39cdc9e97411 (diff)
downloadgdb-328d0145afe575320c431e1fe2ef5f9de8bf2071.zip
gdb-328d0145afe575320c431e1fe2ef5f9de8bf2071.tar.gz
gdb-328d0145afe575320c431e1fe2ef5f9de8bf2071.tar.bz2
* mi/mi-cmd-disas.c (mi_cmd_disassemble): Respect mixed_mode flag.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/mi-cmd-disas.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mi/mi-cmd-disas.c b/gdb/mi/mi-cmd-disas.c
index e17f38a..124f87d 100644
--- a/gdb/mi/mi-cmd-disas.c
+++ b/gdb/mi/mi-cmd-disas.c
@@ -156,6 +156,6 @@ mi_cmd_disassemble (char *command, char **argv, int argc)
gdb_disassembly (gdbarch, uiout,
file_string,
- DISASSEMBLY_SOURCE, how_many, low, high);
-
+ mixed_source_and_assembly? DISASSEMBLY_SOURCE : 0,
+ how_many, low, high);
}