From 80ee4fd53b910f425ecfa8a4f599025e00c2c608 Mon Sep 17 00:00:00 2001 From: Fernando Nasser Date: Sat, 27 Jan 2001 22:18:15 +0000 Subject: [PATCH] 2001-01-27 Fernando Nasser From Momchil Velikov * mi-cmd-disas.c (gdb_dis_asm_read_memory): Add missing memory attributes argument in the call to `xfer_memory'. --- gdb/mi/ChangeLog | 6 ++++++ gdb/mi/mi-cmd-disas.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog index b45538247e4..35a5930022e 100644 --- a/gdb/mi/ChangeLog +++ b/gdb/mi/ChangeLog @@ -1,3 +1,9 @@ +2001-01-27 Fernando Nasser + + From Momchil Velikov + * mi-cmd-disas.c (gdb_dis_asm_read_memory): Add missing memory + attributes argument in the call to `xfer_memory'. + 2000-12-14 Kevin Buettner * mi-cmd-disas.c, mi-cmd-var.c, mi-console.c, mi-main.c, diff --git a/gdb/mi/mi-cmd-disas.c b/gdb/mi/mi-cmd-disas.c index accddd5d542..c7349e273f8 100644 --- a/gdb/mi/mi-cmd-disas.c +++ b/gdb/mi/mi-cmd-disas.c @@ -59,7 +59,7 @@ gdb_dis_asm_read_memory (bfd_vma memaddr, bfd_byte * myaddr, int res; errno = 0; - res = xfer_memory (memaddr, myaddr, len, 0, &exec_ops); + res = xfer_memory (memaddr, myaddr, len, 0, 0, &exec_ops); if (res == len) return 0; -- 2.30.2