~ubuntu-branches/debian/jessie/gdb/jessie

« back to all changes in this revision

Viewing changes to include/dis-asm.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Jacobowitz
  • Date: 2010-03-20 01:21:29 UTC
  • mfrom: (1.3.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20100320012129-t7h25y8zgr8c2369
Tags: 7.1-1
* New upstream release, including:
  - PIE support (Closes: #346409).
  - C++ improvements, including static_cast<> et al, namespace imports,
    and bug fixes in printing virtual base classes.
  - Multi-program debugging.  One GDB can now debug multiple programs
    at the same time.
  - Python scripting improvements, including gdb.parse_and_eval.
  - Updated MIPS Linux signal frame layout (Closes: #570875).
  - No internal error stepping over _dl_debug_state (Closes: #569551).
* Update to Standards-Version: 3.8.4 (no changes required).
* Include more relevant (and smaller) docs in the gdbserver package
  (Closes: #571132).
* Do not duplicate documentation in gdb64, gdb-source, and libgdb-dev.
* Fix crash when switching into TUI mode (Closes: #568489).

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
     Returns an errno value or 0 for success.  */
128
128
  int (*read_memory_func)
129
129
    (bfd_vma memaddr, bfd_byte *myaddr, unsigned int length,
130
 
     struct disassemble_info *info);
 
130
     struct disassemble_info *dinfo);
131
131
 
132
132
  /* Function which should be called if we get an error that we can't
133
133
     recover from.  STATUS is the errno value from read_memory_func and
134
134
     MEMADDR is the address that we were trying to read.  INFO is a
135
135
     pointer to this struct.  */
136
136
  void (*memory_error_func)
137
 
    (int status, bfd_vma memaddr, struct disassemble_info *info);
 
137
    (int status, bfd_vma memaddr, struct disassemble_info *dinfo);
138
138
 
139
139
  /* Function called to print ADDR.  */
140
140
  void (*print_address_func)
141
 
    (bfd_vma addr, struct disassemble_info *info);
 
141
    (bfd_vma addr, struct disassemble_info *dinfo);
142
142
 
143
143
  /* Function called to determine if there is a symbol at the given ADDR.
144
144
     If there is, the function returns 1, otherwise it returns 0.
148
148
     address, (normally because there is a symbol associated with
149
149
     that address), but sometimes we want to mask out the overlay bits.  */
150
150
  int (* symbol_at_address_func)
151
 
    (bfd_vma addr, struct disassemble_info * info);
 
151
    (bfd_vma addr, struct disassemble_info *dinfo);
152
152
 
153
153
  /* Function called to check if a SYMBOL is can be displayed to the user.
154
154
     This is used by some ports that want to hide special symbols when
155
155
     displaying debugging outout.  */
156
156
  bfd_boolean (* symbol_is_valid)
157
 
    (asymbol *, struct disassemble_info * info);
 
157
    (asymbol *, struct disassemble_info *dinfo);
158
158
 
159
159
  /* These are for buffer_read_memory.  */
160
160
  bfd_byte *buffer;
296
296
extern int print_insn_z80               (bfd_vma, disassemble_info *);
297
297
extern int print_insn_z8001             (bfd_vma, disassemble_info *);
298
298
extern int print_insn_z8002             (bfd_vma, disassemble_info *);
 
299
extern int print_insn_rx                (bfd_vma, disassemble_info *);
299
300
 
300
301
extern disassembler_ftype arc_get_disassembler (void *);
301
302
extern disassembler_ftype cris_get_disassembler (bfd *);
316
317
 
317
318
/* Amend the disassemble_info structure as necessary for the target architecture.
318
319
   Should only be called after initialising the info->arch field.  */
319
 
extern void disassemble_init_for_target (struct disassemble_info * info);
 
320
extern void disassemble_init_for_target (struct disassemble_info * dinfo);
320
321
 
321
322
/* Document any target specific options available from the disassembler.  */
322
323
extern void disassembler_usage (FILE *);
351
352
 
352
353
/* Method to initialize a disassemble_info struct.  This should be
353
354
   called by all applications creating such a struct.  */
354
 
extern void init_disassemble_info (struct disassemble_info *info, void *stream,
 
355
extern void init_disassemble_info (struct disassemble_info *dinfo, void *stream,
355
356
                                   fprintf_ftype fprintf_func);
356
357
 
357
358
/* For compatibility with existing code.  */