From ff844c8dea71cd46c66059abcabd8d8b2964e222 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 23 Feb 2000 02:42:40 +0000 Subject: Re-sync with ../include/dis-asm.h - LEN param changed to unsigned int. --- gdb/mi/ChangeLog-mi | 5 +++++ gdb/mi/mi-cmd-disas.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'gdb/mi') diff --git a/gdb/mi/ChangeLog-mi b/gdb/mi/ChangeLog-mi index 6e22c26..e5a352e 100644 --- a/gdb/mi/ChangeLog-mi +++ b/gdb/mi/ChangeLog-mi @@ -1,3 +1,8 @@ +Wed Feb 23 13:31:16 2000 Andrew Cagney + + * mi-cmd-disas.c (gdb_dis_asm_read_memory): Change LEN to unsigned + long. Match ../include/dis-asm.h change. + Wed Feb 23 10:30:55 2000 Andrew Cagney * gdbmi.texinfo: Update copyright - FSF. Update version diff --git a/gdb/mi/mi-cmd-disas.c b/gdb/mi/mi-cmd-disas.c index 9bbc9ef..1c46610 100644 --- a/gdb/mi/mi-cmd-disas.c +++ b/gdb/mi/mi-cmd-disas.c @@ -26,7 +26,7 @@ #include "mi-getopt.h" #include "ui-out.h" -static int gdb_dis_asm_read_memory (bfd_vma memaddr, bfd_byte * myaddr, int len, +static int gdb_dis_asm_read_memory (bfd_vma memaddr, bfd_byte * myaddr, unsigned int len, disassemble_info * info); static int compare_lines (const PTR mle1p, const PTR mle2p); @@ -52,7 +52,8 @@ int gdb_disassemble_from_exec = -1; /* This is the memory_read_func for gdb_disassemble when we are disassembling from the exec file. */ static int -gdb_dis_asm_read_memory (bfd_vma memaddr, bfd_byte * myaddr, int len, disassemble_info * info) +gdb_dis_asm_read_memory (bfd_vma memaddr, bfd_byte * myaddr, + unsigned int len, disassemble_info * info) { extern struct target_ops exec_ops; int res; -- cgit v1.1