mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-01 14:31:54 +00:00
Re-sync with ../include/dis-asm.h - LEN param changed to unsigned int.
This commit is contained in:
parent
2fb651f6a1
commit
ff844c8dea
@ -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.
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user