aboutsummaryrefslogtreecommitdiff
path: root/include/dis-asm.h
diff options
context:
space:
mode:
authorDoug Kwan <dougkwan@google.com>2009-12-15 02:02:39 +0000
committerDoug Kwan <dougkwan@google.com>2009-12-15 02:02:39 +0000
commite7f8eadb7897a84b7e76370aee406ea53a88cec6 (patch)
treec798402f3070becd20ffee8b831a96e863146cc5 /include/dis-asm.h
parent4c807e72625c17af7cd55814b4dd02a94c5179ab (diff)
downloadgdb-e7f8eadb7897a84b7e76370aee406ea53a88cec6.zip
gdb-e7f8eadb7897a84b7e76370aee406ea53a88cec6.tar.gz
gdb-e7f8eadb7897a84b7e76370aee406ea53a88cec6.tar.bz2
2009-12-14 Doug Kwan <dougkwan@google.com>
bfd/ChangeLog: * opncls.c (bfd_opnr_iovec): Rename parameters to avoid shawdowed variable warnings. * bfd-in2.h: Regnenerate. include/ChangeLog: * bfdlink.h (struct bfd_link_callbacks): Rename function parameters to avoid shadowed variable warnings. * dis-asm.h (struct disassemble_info): Ditto. (disassemble_init_for_target): Ditto. (init_disassemble_info): Ditto.
Diffstat (limited to 'include/dis-asm.h')
-rw-r--r--include/dis-asm.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/dis-asm.h b/include/dis-asm.h
index 3d126be..103f670 100644
--- a/include/dis-asm.h
+++ b/include/dis-asm.h
@@ -127,18 +127,18 @@ typedef struct disassemble_info
Returns an errno value or 0 for success. */
int (*read_memory_func)
(bfd_vma memaddr, bfd_byte *myaddr, unsigned int length,
- struct disassemble_info *info);
+ struct disassemble_info *dinfo);
/* Function which should be called if we get an error that we can't
recover from. STATUS is the errno value from read_memory_func and
MEMADDR is the address that we were trying to read. INFO is a
pointer to this struct. */
void (*memory_error_func)
- (int status, bfd_vma memaddr, struct disassemble_info *info);
+ (int status, bfd_vma memaddr, struct disassemble_info *dinfo);
/* Function called to print ADDR. */
void (*print_address_func)
- (bfd_vma addr, struct disassemble_info *info);
+ (bfd_vma addr, struct disassemble_info *dinfo);
/* Function called to determine if there is a symbol at the given ADDR.
If there is, the function returns 1, otherwise it returns 0.
@@ -148,13 +148,13 @@ typedef struct disassemble_info
address, (normally because there is a symbol associated with
that address), but sometimes we want to mask out the overlay bits. */
int (* symbol_at_address_func)
- (bfd_vma addr, struct disassemble_info * info);
+ (bfd_vma addr, struct disassemble_info *dinfo);
/* Function called to check if a SYMBOL is can be displayed to the user.
This is used by some ports that want to hide special symbols when
displaying debugging outout. */
bfd_boolean (* symbol_is_valid)
- (asymbol *, struct disassemble_info * info);
+ (asymbol *, struct disassemble_info *dinfo);
/* These are for buffer_read_memory. */
bfd_byte *buffer;
@@ -317,7 +317,7 @@ extern disassembler_ftype disassembler (bfd *);
/* Amend the disassemble_info structure as necessary for the target architecture.
Should only be called after initialising the info->arch field. */
-extern void disassemble_init_for_target (struct disassemble_info * info);
+extern void disassemble_init_for_target (struct disassemble_info * dinfo);
/* Document any target specific options available from the disassembler. */
extern void disassembler_usage (FILE *);
@@ -352,7 +352,7 @@ extern bfd_boolean generic_symbol_is_valid
/* Method to initialize a disassemble_info struct. This should be
called by all applications creating such a struct. */
-extern void init_disassemble_info (struct disassemble_info *info, void *stream,
+extern void init_disassemble_info (struct disassemble_info *dinfo, void *stream,
fprintf_ftype fprintf_func);
/* For compatibility with existing code. */