Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcvs2svn <>2004-01-19 21:28:59 +0300
committercvs2svn <>2004-01-19 21:28:59 +0300
commit19a58aa1e1b6710a4fe969ea55492f5fb7a0771d (patch)
tree5f47f649884879464a64357ffa3ebad0ddb2819e /include/dis-asm.h
parent2cb060991433298d2f701adc7fc22adacf88eeb1 (diff)
This commit was manufactured by cvs2svn to create branchcagney_bigcore-20040122-branchpointcagney_bigcore-20040122-branch
'cagney_bigcore-20040122-branch'. Sprout from ezannoni_pie-20030916-branch 2003-09-16 01:47:54 UTC cvs2svn 'This commit was manufactured by cvs2svn to create branch' Cherrypick from master 2004-01-19 18:28:58 UTC Mark Kettenis <kettenis@gnu.org> '* common.h (NT_OPENBSD_IDENT): Define.': COPYING.NEWLIB ChangeLog Makefile.def Makefile.in Makefile.tpl config-ml.in config/ChangeLog config/acinclude.m4 config/acx.m4 config/gettext.m4 configure configure.in gettext.m4 include/ChangeLog include/ChangeLog-9103 include/aout/ChangeLog include/aout/stab.def include/bfdlink.h include/coff/ChangeLog include/coff/ChangeLog-9103 include/coff/internal.h include/demangle.h include/dis-asm.h include/elf/ChangeLog include/elf/ChangeLog-9103 include/elf/common.h include/elf/frv.h include/elf/m32r.h include/elf/mips.h include/elf/mmix.h include/elf/ppc.h include/elf/sh.h include/elf/xtensa.h include/fibheap.h include/floatformat.h include/gdb/ChangeLog include/gdb/callback.h include/gdb/sim-frv.h include/hp-symtab.h include/obstack.h include/opcode/ChangeLog include/opcode/ChangeLog-9103 include/opcode/h8300.h include/opcode/m68k.h include/opcode/mips.h include/opcode/mmix.h ltconfig src-release
Diffstat (limited to 'include/dis-asm.h')
-rw-r--r--include/dis-asm.h20
1 files changed, 17 insertions, 3 deletions
diff --git a/include/dis-asm.h b/include/dis-asm.h
index 6bdd7517d..3670c5189 100644
--- a/include/dis-asm.h
+++ b/include/dis-asm.h
@@ -130,6 +130,12 @@ typedef struct disassemble_info {
int (* symbol_at_address_func)
(bfd_vma addr, struct disassemble_info * info);
+ /* 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);
+
/* These are for buffer_read_memory. */
bfd_byte *buffer;
bfd_vma buffer_vma;
@@ -141,7 +147,7 @@ typedef struct disassemble_info {
the same value in order to get reasonable looking output. */
int bytes_per_line;
- /* the next two variables control the way objdump displays the raw data */
+ /* The next two variables control the way objdump displays the raw data. */
/* For example, if bytes_per_line is 8 and bytes_per_chunk is 4, the */
/* output will look like this:
00: 00000000 00000000
@@ -251,12 +257,16 @@ extern void print_arm_disassembler_options (FILE *);
extern void parse_arm_disassembler_option (char *);
extern int get_arm_regname_num_options (void);
extern int set_arm_regname_option (int);
-extern int get_arm_regnames
- (int, const char **, const char **, const char ***);
+extern int get_arm_regnames (int, const char **, const char **, const char ***);
+extern bfd_boolean arm_symbol_is_valid (asymbol *, struct disassemble_info *);
/* Fetch the disassembler for a given BFD, if that support is available. */
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);
+
/* Document any target specific options available from the disassembler. */
extern void disassembler_usage (FILE *);
@@ -284,6 +294,10 @@ extern void generic_print_address
extern int generic_symbol_at_address
(bfd_vma, struct disassemble_info *);
+/* Also always true. */
+extern bfd_boolean generic_symbol_is_valid
+ (asymbol *, struct disassemble_info *);
+
/* 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,