typedef unsigned long bfd_size;
typedef unsigned long symvalue;
typedef unsigned long bfd_size_type;
-#define printf_vma(x) printf( "%08x", x)
-#define fprintf_vma(s,x) fprintf(s, "%08x", x)
+#define printf_vma(x) printf( "%08lx", x)
+#define fprintf_vma(s,x) fprintf(s, "%08lx", x)
#endif
typedef unsigned int flagword; /* 32 bits of flags */
*/
char *iostream;
- /* Is the file being cached @xref{Caching}.
+ /* Is the file being cached @xref{File Caching}.
*/
boolean cacheable;
#define bfd_stat_arch_elt(abfd, stat) \
BFD_SEND (abfd, _bfd_stat_arch_elt,(abfd, stat))
- /* Special entry points for gdb to swap in coff symbol table parts */
-
-#define bfd_coff_swap_aux_in(abfd, ext, type, class, in) \
- BFD_SEND (abfd, _bfd_coff_swap_aux_in, (abfd, ext, type, class, in))
-
-#define bfd_coff_swap_sym_in(abfd, ext, in) \
- BFD_SEND (abfd, _bfd_coff_swap_sym_in, (abfd, ext, in))
-
-#define bfd_coff_swap_lineno_in(abfd, ext, in) \
- BFD_SEND (abfd, _bfd_coff_swap_lineno_in, (abfd, ext, in))
-
-
/* What this does
*/
PROTO(symindex, bfd_get_next_mapent, (bfd *, symindex, carsym **));
*/
PROTO(bfd*, bfd_openr_next_archived_file,
(bfd *archive, bfd *previous));
+/* Returns a read-only string explaining what program was running when
+it failed and produced the core file being read
+
+*/
+PROTO(CONST char *, bfd_core_file_failing_command, (bfd *));
+/* Returns the signal number which caused the core dump which generated
+the file the bfd is attatched to.
+
+*/
+PROTO(int, bfd_core_file_failing_signal, (bfd *));
+/* Returns @code{true} if the core file attatched to @var{core_bfd} was
+generated by a run of the executable file attatched to @var{exec_bfd},
+or else @code{false}.
+*/
+PROTO(boolean, core_file_matches_executable_p,
+ (bfd *core_bfd, bfd *exec_bfd));
/* The relocation routine returns as a status an enumerated type:
*/
/* Pointer to how to perform the required relocation
*/
- struct reloc_howto_struct *howto;
+ CONST struct reloc_howto_struct *howto;
} arelent;
/* The @code{reloc_howto_type} is a structure which contains all the
asection *input_section,
bfd *output_bfd));
/* @node bfd_target
+@subsection bfd_target
This structure contains everything that BFD knows about a target.
It includes things like its byte order, name, what routines to call
to do various operations, etc.
"core" or "unknown" depending upon the value of the enumeration.
*/
PROTO(CONST char *, bfd_format_string, (bfd_format));
-
-/* Core file stuff */
-
-PROTO(CONST char *, bfd_core_file_failing_command, (bfd *));
-PROTO(int, bfd_core_file_failing_signal, (bfd *));
-PROTO(boolean, core_file_matches_executable_p,
- (bfd *core_bfd, bfd *exec_bfd));
-
#endif