diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2009-07-17 15:55:54 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2009-07-17 15:55:54 +0000 |
commit | 328d0145afe575320c431e1fe2ef5f9de8bf2071 (patch) | |
tree | f26bc8cb9bba5c5f4ebe7edf0d2d0fd64b2e8844 | |
parent | a61a9fbcb3b108f726f596a9385a39cdc9e97411 (diff) | |
download | gdb-328d0145afe575320c431e1fe2ef5f9de8bf2071.zip gdb-328d0145afe575320c431e1fe2ef5f9de8bf2071.tar.gz gdb-328d0145afe575320c431e1fe2ef5f9de8bf2071.tar.bz2 |
* mi/mi-cmd-disas.c (mi_cmd_disassemble): Respect mixed_mode flag.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/mi/mi-cmd-disas.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index dfcd808..661bb45 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2009-07-17 Ulrich Weigand <uweigand@de.ibm.com> + + * mi/mi-cmd-disas.c (mi_cmd_disassemble): Respect mixed_mode flag. + 2009-07-16 Doug Evans <dje@google.com> * linux-thread.db.c (try_thread_db_load_1): Tweak comment. 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); } |