aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-cmd-disas.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-02-23 02:42:40 +0000
committerAndrew Cagney <cagney@redhat.com>2000-02-23 02:42:40 +0000
commitff844c8dea71cd46c66059abcabd8d8b2964e222 (patch)
treec0f4b4481834e875f8ca1531f1a9d06623e9426d /gdb/mi/mi-cmd-disas.c
parent2fb651f6a163ce2c7200b0b2d09ab6ba4bc9dfd8 (diff)
downloadgdb-ff844c8dea71cd46c66059abcabd8d8b2964e222.zip
gdb-ff844c8dea71cd46c66059abcabd8d8b2964e222.tar.gz
gdb-ff844c8dea71cd46c66059abcabd8d8b2964e222.tar.bz2
Re-sync with ../include/dis-asm.h - LEN param changed to unsigned int.
Diffstat (limited to 'gdb/mi/mi-cmd-disas.c')
-rw-r--r--gdb/mi/mi-cmd-disas.c5
1 files changed, 3 insertions, 2 deletions
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;