aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-cmd-disas.c
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 /gdb/mi/mi-cmd-disas.c
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'.
Diffstat (limited to 'gdb/mi/mi-cmd-disas.c')
-rw-r--r--gdb/mi/mi-cmd-disas.c2
1 files changed, 1 insertions, 1 deletions
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;