aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1996-01-23 22:53:45 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1996-01-23 22:53:45 +0000
commitf29a36c0d43bc0fafb0ed81351a1534d0bac6062 (patch)
treeb7403007939327ffd6f77a76796c31c9cc3cfc43
parent546bfba851f0bfe402c7f922102a84e1476af1b9 (diff)
downloadgdb-f29a36c0d43bc0fafb0ed81351a1534d0bac6062.zip
gdb-f29a36c0d43bc0fafb0ed81351a1534d0bac6062.tar.gz
gdb-f29a36c0d43bc0fafb0ed81351a1534d0bac6062.tar.bz2
* dis-asm.h (INIT_DISASSEMBLE_INFO): New argument FPRINTF_FUNC.
-rw-r--r--include/dis-asm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dis-asm.h b/include/dis-asm.h
index e8efbc3..f520b19 100644
--- a/include/dis-asm.h
+++ b/include/dis-asm.h
@@ -165,8 +165,8 @@ extern void perror_memory PARAMS ((int, bfd_vma, struct disassemble_info *));
extern void generic_print_address
PARAMS ((bfd_vma, struct disassemble_info *));
-#define INIT_DISASSEMBLE_INFO(INFO, STREAM) \
- (INFO).fprintf_func = (fprintf_ftype)fprintf, \
+#define INIT_DISASSEMBLE_INFO(INFO, STREAM, FPRINTF_FUNC) \
+ (INFO).fprintf_func = (FPRINTF_FUNC), \
(INFO).stream = (STREAM), \
(INFO).buffer = NULL, \
(INFO).buffer_vma = 0, \