aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorMark Eichin <eichin@cygnus>1993-10-22 18:04:09 +0000
committerMark Eichin <eichin@cygnus>1993-10-22 18:04:09 +0000
commit80d19ec1fceed8de80aa57bbda758f2a669817ce (patch)
tree897d34040e73e3f3026ec93d386e15ea65b45ad0 /binutils
parent835fe6e6306aab80c0b5389c4d8c1cf053e40ec2 (diff)
downloadgdb-80d19ec1fceed8de80aa57bbda758f2a669817ce.zip
gdb-80d19ec1fceed8de80aa57bbda758f2a669817ce.tar.gz
gdb-80d19ec1fceed8de80aa57bbda758f2a669817ce.tar.bz2
hide declaration of fprintf inside FPRINTF_ALREADY_DECLARED, because
this declaration can be wrong but there must *be* a declaration for include/dis-asm.h to work.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/objdump.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c
index ad9d160..1f5a1d2 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -31,7 +31,9 @@ Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
extern Elf_Internal_Shdr *bfd_elf_find_section();
extern char *xmalloc ();
+#ifndef FPRINTF_ALREADY_DECLARED
extern int fprintf PARAMS ((FILE *, CONST char *, ...));
+#endif
char *default_target = NULL; /* default at runtime */
@@ -140,6 +142,7 @@ dump_headers (abfd)
PF (SEC_CODE, "CODE");
PF (SEC_DATA, "DATA");
PF (SEC_ROM, "ROM");
+ PF (SEC_DEBUGGING, "DEBUGGING");
printf ("\n");
#undef PF
}