From 328d0145afe575320c431e1fe2ef5f9de8bf2071 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Fri, 17 Jul 2009 15:55:54 +0000 Subject: [PATCH] * mi/mi-cmd-disas.c (mi_cmd_disassemble): Respect mixed_mode flag. --- gdb/ChangeLog | 4 ++++ gdb/mi/mi-cmd-disas.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index dfcd808b968..661bb45975c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2009-07-17 Ulrich Weigand + + * mi/mi-cmd-disas.c (mi_cmd_disassemble): Respect mixed_mode flag. + 2009-07-16 Doug Evans * 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 e17f38abb8b..124f87d3705 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); } -- 2.30.2