projects
/
platform
/
upstream
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c790dc
)
* symmisc.c (dump_msymbols): Cast fprintf_filtered argument to
author
Tom Tromey
<tromey@redhat.com>
Tue, 9 Apr 2013 02:17:17 +0000
(
02:17
+0000)
committer
Tom Tromey
<tromey@redhat.com>
Tue, 9 Apr 2013 02:17:17 +0000
(
02:17
+0000)
long.
gdb/ChangeLog
patch
|
blob
|
history
gdb/symmisc.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index
f29661f
..
5fd218d
100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,5
+1,10
@@
2013-04-08 Tom Tromey <tromey@redhat.com>
+ * symmisc.c (dump_msymbols): Cast fprintf_filtered argument to
+ long.
+
+2013-04-08 Tom Tromey <tromey@redhat.com>
+
* maint.c (print_bfd_section_info): Print the section index.
* symmisc.c (dump_msymbols): Print the section index.
diff --git
a/gdb/symmisc.c
b/gdb/symmisc.c
index
c4bf97e
..
52c934a
100644
(file)
--- a/
gdb/symmisc.c
+++ b/
gdb/symmisc.c
@@
-268,7
+268,7
@@
dump_msymbols (struct objfile *objfile, struct ui_file *outfile)
section->the_bfd_section));
else
fprintf_filtered (outfile, " spurious section %ld",
-
section - objfile->sections
);
+
(long) (section - objfile->sections)
);
}
if (SYMBOL_DEMANGLED_NAME (msymbol) != NULL)
{