aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando Nasser <fnasser@redhat.com>2001-01-27 22:18:15 +0000
committerFernando Nasser <fnasser@redhat.com>2001-01-27 22:18:15 +0000
commit80ee4fd53b910f425ecfa8a4f599025e00c2c608 (patch)
tree0abd15a3dea60c7699ec44d7903f7cb1447bcecd
parentb71c67aba4a8e9c34a3fe6803326b6358a112a22 (diff)
downloadgdb-80ee4fd53b910f425ecfa8a4f599025e00c2c608.zip
gdb-80ee4fd53b910f425ecfa8a4f599025e00c2c608.tar.gz
gdb-80ee4fd53b910f425ecfa8a4f599025e00c2c608.tar.bz2
2001-01-27 Fernando Nasser <fnasser@redhat.com>
From Momchil Velikov <velco@fadata.bg> * mi-cmd-disas.c (gdb_dis_asm_read_memory): Add missing memory attributes argument in the call to `xfer_memory'.
-rw-r--r--gdb/mi/ChangeLog6
-rw-r--r--gdb/mi/mi-cmd-disas.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog
index b455382..35a5930 100644
--- a/gdb/mi/ChangeLog
+++ b/gdb/mi/ChangeLog
@@ -1,3 +1,9 @@
+2001-01-27 Fernando Nasser <fnasser@redhat.com>
+
+ From Momchil Velikov <velco@fadata.bg>
+ * 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 <kevinb@redhat.com>
* 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 accddd5..c7349e2 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;