diff options
author | Alan Modra <amodra@bigpond.net.au> | 2001-08-09 14:52:56 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2001-08-09 14:52:56 +0000 |
commit | 69a66322a11365d7ff02ad5108e5f499bf34907a (patch) | |
tree | ec5dab2fe8d0551da5584276df5a7016e56c3f26 /opcodes | |
parent | fe74d49388be374381b5f3d3ab9ecc0c9476ebb0 (diff) | |
download | gdb-69a66322a11365d7ff02ad5108e5f499bf34907a.tar.gz |
* dis-buf.c (generic_strcat_address): Add missing prototype.
#if 0 the functions as it is unused.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 5 | ||||
-rw-r--r-- | opcodes/dis-buf.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index bce4f6aa9b2..64322ee482b 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2001-08-09 Alan Modra <amodra@bigpond.net.au> + + * dis-buf.c (generic_strcat_address): Add missing prototype. + #if 0 the functions as it is unused. + 2001-08-08 Alan Modra <amodra@bigpond.net.au> 1999-10-25 Torbjorn Granlund <tege@swox.com> diff --git a/opcodes/dis-buf.c b/opcodes/dis-buf.c index 46ac2f7724b..8f846a9b1b7 100644 --- a/opcodes/dis-buf.c +++ b/opcodes/dis-buf.c @@ -80,10 +80,13 @@ generic_print_address (addr, info) (*info->fprintf_func) (info->stream, "0x%s", buf); } +#if 0 /* Just concatenate the address as hex. This is included for completeness even though both GDB and objdump provide their own (to print symbolic addresses). */ +void generic_strcat_address PARAMS ((bfd_vma, char *, int)); + void generic_strcat_address (addr, buf, len) bfd_vma addr; @@ -102,6 +105,7 @@ generic_strcat_address (addr, buf, len) } return; } +#endif /* Just return the given address. */ |