aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1998-10-28 18:32:07 +0000
committerNick Clifton <nickc@redhat.com>1998-10-28 18:32:07 +0000
commit7dd47bc8da6d36bbee091eadedca34addd0005ba (patch)
tree34cbf1e70a1455e071ae2191c8e1c905f2dd23dd /binutils
parentaf3711e6b3e0942f07d757f07c6bcaa044dddd09 (diff)
downloadgdb-7dd47bc8da6d36bbee091eadedca34addd0005ba.zip
gdb-7dd47bc8da6d36bbee091eadedca34addd0005ba.tar.gz
gdb-7dd47bc8da6d36bbee091eadedca34addd0005ba.tar.bz2
Fixup previous delta by replacing 'unsigned long' with 'bfd_vma'
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/objdump.c10
2 files changed, 10 insertions, 5 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index bdc3420..1befa6e 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+Wed Oct 28 10:31:19 1998 Nick Clifton <nickc@cygnus.com>
+
+ * objdump.c (disassemble_data): Replace 'unsigned long' with
+ 'bfd_vma'.
+
Tue Oct 27 14:39:00 1998 Nick Clifton <nickc@cygnus.com>
* objdump.c (disassemble_bytes): Applied this patch from Philip
diff --git a/binutils/objdump.c b/binutils/objdump.c
index ec7f2efe5..21dcd09 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -178,7 +178,7 @@ show_line PARAMS ((bfd *, asection *, bfd_vma));
static void
disassemble_bytes PARAMS ((struct disassemble_info *, disassembler_ftype,
- boolean, bfd_byte *, unsigned long, unsigned long,
+ boolean, bfd_byte *, bfd_vma, bfd_vma,
arelent ***, arelent **));
static void
@@ -1152,8 +1152,8 @@ disassemble_bytes (info, disassemble_fn, insns, data, start, stop, relppp,
disassembler_ftype disassemble_fn;
boolean insns;
bfd_byte *data;
- unsigned long start;
- unsigned long stop;
+ bfd_vma start;
+ bfd_vma stop;
arelent ***relppp;
arelent **relppend;
{
@@ -1162,7 +1162,7 @@ disassemble_bytes (info, disassemble_fn, insns, data, start, stop, relppp,
int bytes_per_line;
boolean done_dot;
int skip_addr_chars;
- unsigned long i;
+ bfd_vma i;
aux = (struct objdump_disasm_info *) info->application_data;
section = aux->sec;
@@ -1199,7 +1199,7 @@ disassemble_bytes (info, disassemble_fn, insns, data, start, stop, relppp,
i = start;
while (i < stop)
{
- unsigned long z;
+ bfd_vma z;
int bytes;
boolean need_nl = false;