diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-02-23 02:42:40 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-02-23 02:42:40 +0000 |
commit | 13dab0889b40405c16a34502426d921007e238f7 (patch) | |
tree | 72386c0f38001731cc6ef3ccbb2482004cc0c360 | |
parent | c975ecc92011a3b797dc68ca0e032d8179b70a24 (diff) | |
download | gdb-13dab0889b40405c16a34502426d921007e238f7.tar.gz |
Re-sync with ../include/dis-asm.h - LEN param changed to unsigned int.
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/corefile.c | 2 | ||||
-rw-r--r-- | gdb/gdbarch.h | 2 | ||||
-rwxr-xr-x | gdb/gdbarch.sh | 2 | ||||
-rw-r--r-- | gdb/gdbtk/generic/ChangeLog-gdbtk | 5 | ||||
-rw-r--r-- | gdb/gdbtk/generic/gdbtk-cmds.c | 4 | ||||
-rw-r--r-- | gdb/mi/ChangeLog-mi | 5 | ||||
-rw-r--r-- | gdb/mi/mi-cmd-disas.c | 5 |
8 files changed, 25 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 268f112f3f4..81fdc39d893 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +Wed Feb 23 12:58:46 2000 Andrew Cagney <cagney@b1.cygnus.com> + + * gdbarch.sh (dis_asm_read_memory): Change LEN to unsigned long. + Match ../include/dis-asm.h change. + * gdbarch.h: Regenerate. + * corefile.c (dis_asm_read_memory): Update. + Mon Feb 21 13:57:27 2000 Andrew Cagney <cagney@b1.cygnus.com> * configure.in (CONFIG_INITS): Fix typo, was CONFIG_INIT. diff --git a/gdb/corefile.c b/gdb/corefile.c index 93e23743124..4d11cbdcdf7 100644 --- a/gdb/corefile.c +++ b/gdb/corefile.c @@ -289,7 +289,7 @@ int dis_asm_read_memory (memaddr, myaddr, len, info) bfd_vma memaddr; bfd_byte *myaddr; - int len; + unsigned int len; disassemble_info *info; { return target_read_memory (memaddr, (char *) myaddr, len); diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 1244f930a48..ee695abfe29 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -1034,7 +1034,7 @@ extern int (*target_architecture_hook) (const struct bfd_arch_info *); #include "dis-asm.h" /* Get defs for disassemble_info */ extern int dis_asm_read_memory (bfd_vma memaddr, bfd_byte *myaddr, - int len, disassemble_info *info); + unsigned int len, disassemble_info *info); extern void dis_asm_memory_error (int status, bfd_vma memaddr, disassemble_info *info); diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index 68c44521a16..66e16c5afac 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -637,7 +637,7 @@ extern int (*target_architecture_hook) (const struct bfd_arch_info *); #include "dis-asm.h" /* Get defs for disassemble_info */ extern int dis_asm_read_memory (bfd_vma memaddr, bfd_byte *myaddr, - int len, disassemble_info *info); + unsigned int len, disassemble_info *info); extern void dis_asm_memory_error (int status, bfd_vma memaddr, disassemble_info *info); diff --git a/gdb/gdbtk/generic/ChangeLog-gdbtk b/gdb/gdbtk/generic/ChangeLog-gdbtk index 47cc9887edf..5cf424d3687 100644 --- a/gdb/gdbtk/generic/ChangeLog-gdbtk +++ b/gdb/gdbtk/generic/ChangeLog-gdbtk @@ -1,3 +1,8 @@ +Wed Feb 23 13:01:36 2000 Andrew Cagney <cagney@b1.cygnus.com> + + * gdbtk-cmds.c (gdbtk_dis_asm_read_memory): Change LEN to unsigned + long. Match ../include/dis-asm.h change. + Fri Feb 4 23:19:03 2000 Andrew Cagney <cagney@b1.cygnus.com> * gdbtk.c (gdbtk_init): Update default path to tcl code - now diff --git a/gdb/gdbtk/generic/gdbtk-cmds.c b/gdb/gdbtk/generic/gdbtk-cmds.c index 656374bb386..83d735ba1f8 100644 --- a/gdb/gdbtk/generic/gdbtk-cmds.c +++ b/gdb/gdbtk/generic/gdbtk-cmds.c @@ -268,7 +268,7 @@ static int gdb_tracepoint_exists_command PARAMS ((ClientData, Tcl_Interp *, Tcl_Obj * CONST objv[])); static int gdb_get_tracepoint_info PARAMS ((ClientData, Tcl_Interp *, int, Tcl_Obj * CONST objv[])); -static int gdbtk_dis_asm_read_memory PARAMS ((bfd_vma, bfd_byte *, int, +static int gdbtk_dis_asm_read_memory PARAMS ((bfd_vma, bfd_byte *, unsigned int, disassemble_info *)); static void gdbtk_load_source PARAMS ((ClientData clientData, struct symtab *symtab, @@ -3030,7 +3030,7 @@ static int gdbtk_dis_asm_read_memory (memaddr, myaddr, len, info) bfd_vma memaddr; bfd_byte *myaddr; - int len; + unsigned int len; disassemble_info *info; { extern struct target_ops exec_ops; diff --git a/gdb/mi/ChangeLog-mi b/gdb/mi/ChangeLog-mi index 6e22c2654e7..e5a352eb99c 100644 --- a/gdb/mi/ChangeLog-mi +++ b/gdb/mi/ChangeLog-mi @@ -1,3 +1,8 @@ +Wed Feb 23 13:31:16 2000 Andrew Cagney <cagney@b1.cygnus.com> + + * 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 <cagney@b1.cygnus.com> * gdbmi.texinfo: Update copyright - FSF. Update version diff --git a/gdb/mi/mi-cmd-disas.c b/gdb/mi/mi-cmd-disas.c index 9bbc9ef0c38..1c46610ddf0 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; |