From: Ian Lance Taylor Date: Sat, 7 Nov 1998 23:32:19 +0000 (+0000) Subject: Sat Nov 7 18:30:20 1998 Peter Schauer X-Git-Tag: gdb-4_18~876 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e331d427d96a948a85d24e28e9ca62b7a6a0e0a;p=external%2Fbinutils.git Sat Nov 7 18:30:20 1998 Peter Schauer * dis-asm.h (print_insn_vax): Declare. --- diff --git a/include/ChangeLog b/include/ChangeLog index 04a8b52..4bcaef7 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,32 @@ +Sat Nov 7 18:30:20 1998 Peter Schauer + + * dis-asm.h (print_insn_vax): Declare. + +1998-10-26 16:03 Ulrich Drepper + + * bfdlink.h (struct bfd_link_info): Add new field optimize. + +Fri Oct 9 00:02:03 1998 Jeffrey A Law (law@cygnus.com) + + * Merge devo and egcs include directories. + +Sat Sep 5 12:16:33 1998 Jeffrey A Law (law@cygnus.com) + + * getopt.h, obstack.h: Updated from gcc. + +1998-08-03 Jason Molenda (jsm@bugshack.cygnus.com) + + * libiberty.h (xexit): Change decl to use modern GCC attribute + to indicate exit does not return. + +Mon Jun 1 13:48:32 1998 Jason Molenda (crash@bugshack.cygnus.com) + + * obstack.h: Update to latest FSF version. + +Tue May 26 20:57:43 1998 Stan Cox + + * elf/sparc.h (EF_SPARC_LEDATA, R_SPARC_32LE): Added. + Tue Feb 24 13:05:02 1998 Doug Evans * dis-asm.h (disassemble_info): Member `symbol' renamed to `symbols' @@ -30,7 +59,7 @@ Wed Jan 28 09:55:07 1998 Doug Evans end-sanitize-sky Thu Jan 22 16:23:59 1998 Fred Fish - * dis-asm.h: Add flag INSN_HAS_RELOC to tell disassembly + * dis-asm.h: Add flag INSN_HAS_RELOC to tell disassembly function there is a reloc on this line. Mon Dec 8 11:22:23 1997 Nick Clifton @@ -103,7 +132,7 @@ Tue Oct 14 16:07:51 1997 Nick Clifton * dis-asm.h (struct disassemble_info): New field 'symbol_at_address_func'. (INIT_DISASSEMBLE_INFO_NO_ARCH): Initialise new field with - generic_symbol_at_address. + generic_symbol_at_address. Mon Oct 13 10:17:15 1997 Andrew Cagney @@ -198,12 +227,12 @@ Fri Apr 18 13:04:49 1997 Andrew Cagney * remote-sim.h (enum sim_stop): Add sim_running and sim_polling as states for use internal to simulators. - + * callback.h (struct host_callback_strut): Put a magic number at the end of the struct to allow basic checking. (struct host_callback_struct ): Add poll_quit - so that the console etc can be polled at regular intervals. - + Thu Apr 17 02:17:12 1997 Doug Evans * remote-sim.h (struct _bfd): Declare. @@ -298,7 +327,7 @@ Mon Nov 18 16:34:00 1996 Dawn Perchik Wed Nov 13 08:22:00 1996 Dawn Perchik - * libiberty.h: Revert last commit due to conflicts with hpux + * libiberty.h: Revert last commit due to conflicts with hpux system headers. Tue Nov 12 16:31:00 1996 Dawn Perchik @@ -467,7 +496,7 @@ Wed Jan 3 13:12:09 1996 Fred Fish * obstack.h: Update copyright to 1996. (_obstack_memory_used): Declare. (obstack_memory_used): Define macro. - + Thu Dec 28 11:42:12 1995 Ian Lance Taylor * libiberty.h (xstrdup): Declare. @@ -596,7 +625,7 @@ Wed Dec 14 13:08:43 1994 Stan Shebs Fri Nov 25 00:14:05 1994 Jeff Law (law@snake.cs.utah.edu) * hp-symtab.h: New file describing the debug symbols emitted - by the HP C compilers. + by the HP C compilers. Fri Nov 11 15:48:37 1994 Ian Lance Taylor @@ -720,7 +749,7 @@ Tue Feb 8 05:19:52 1994 David J. Mackenzie (djm@thepub.cygnus.com) * obstack.h (struct obstack): Add alloc_failed flag. _obstack_begin, _obstack_begin_1): Declare to return int, not void. (obstack_finish): If alloc_failed, return NULL. - (obstack_base, obstack_next_free, objstack_object_size): + (obstack_base, obstack_next_free, objstack_object_size): If alloc_failed, return 0. (obstack_grow, obstack_grow0, obstack_1grow, obstack_ptr_grow, obstack_int_grow, obstack_blank): If alloc_failed, do nothing that @@ -778,7 +807,7 @@ Mon Aug 2 08:49:30 1993 Stu Grossman (grossman at cygnus.com) Fri Jul 30 18:38:02 1993 John Gilmore (gnu@cygnus.com) - * dis-asm.h: Add new fields insn_info_valid, branch_delay_insns, + * dis-asm.h: Add new fields insn_info_valid, branch_delay_insns, data_size, insn_type, target, target2. These are used to return information from the instruction decoders back to the calling program. Add comments, make more readable. @@ -1046,7 +1075,7 @@ Sat Jul 4 03:22:23 1992 John Gilmore (gnu at cygnus.com) Mon Jun 29 14:18:36 1992 Fred Fish (fnf at sunfish) - * obstack.h: Convert bcopy() use to memcpy(), which is more + * obstack.h: Convert bcopy() use to memcpy(), which is more portable, more standard, and can take advantage of gcc's builtin functions for increased performance. @@ -1100,7 +1129,7 @@ Thu Jan 30 01:18:42 1992 John Gilmore (gnu at cygnus.com) Mon Jan 27 22:01:13 1992 Steve Chamberlain (sac at cygnus.com) - * bfd.h : new target entr, bfd_relax_section + * bfd.h : new target entr, bfd_relax_section Wed Dec 18 17:19:44 1991 Stu Grossman (grossman at cygnus.com) @@ -1167,7 +1196,7 @@ Wed Nov 27 10:38:31 1991 Steve Chamberlain (sac at rtl.cygnus.com) * internalcoff.h: (internal_scnhdr) took out #def dependency, now s_nreloc and s_nlnno are always long. (internal_reloc): allways - has an offset field now. + has an offset field now. Fri Nov 22 08:12:58 1991 John Gilmore (gnu at cygnus.com) @@ -1305,7 +1334,7 @@ Fri Oct 4 01:25:59 1991 John Gilmore (gnu at cygnus.com) Tue Oct 1 04:58:42 1991 John Gilmore (gnu at cygnus.com) - * bfd.h, elf-common.h, elf-external.h, elf-internal.h: + * bfd.h, elf-common.h, elf-external.h, elf-internal.h: Add preliminary ELF support, sufficient for GDB, from Fred Fish. * sysdep.h, sys/h-amix.h: Support Amiga SVR4. diff --git a/include/dis-asm.h b/include/dis-asm.h index c804299..70a4da4 100644 --- a/include/dis-asm.h +++ b/include/dis-asm.h @@ -51,9 +51,15 @@ typedef struct disassemble_info { unsigned long mach; /* Endianness (for bi-endian cpus). Mono-endian cpus can ignore this. */ enum bfd_endian endian; - /* The symbol at the start of the function being disassembled. This - is not set reliably, but if it is not NULL, it is correct. */ - asymbol *symbol; + + /* An array of pointers to symbols either at the location being disassembled + or at the start of the function being disassembled. The array is sorted + so that the first symbol is intended to be the one used. The others are + present for any misc. purposes. This is not set reliably, but if it is + not NULL, it is correct. */ + asymbol **symbols; + /* Number of symbols in array. */ + int num_symbols; /* For use by the disassembler. The top 16 bits are reserved for public use (and are documented here). @@ -166,10 +172,10 @@ extern int print_insn_little_powerpc PARAMS ((bfd_vma, disassemble_info*)); extern int print_insn_rs6000 PARAMS ((bfd_vma, disassemble_info*)); extern int print_insn_w65 PARAMS ((bfd_vma, disassemble_info*)); extern int print_insn_d10v PARAMS ((bfd_vma, disassemble_info*)); -/* start-sanitize-d30v */ extern int print_insn_d30v PARAMS ((bfd_vma, disassemble_info*)); -/* end-sanitize-d30v */ extern int print_insn_v850 PARAMS ((bfd_vma, disassemble_info*)); +extern int print_insn_tic30 PARAMS ((bfd_vma, disassemble_info*)); +extern int print_insn_vax PARAMS ((bfd_vma, disassemble_info*)); /* start-sanitize-tic80 */ extern int print_insn_tic80 PARAMS ((bfd_vma, disassemble_info*)); /* end-sanitize-tic80 */ @@ -222,7 +228,8 @@ extern int generic_symbol_at_address #define INIT_DISASSEMBLE_INFO_NO_ARCH(INFO, STREAM, FPRINTF_FUNC) \ (INFO).fprintf_func = (FPRINTF_FUNC), \ (INFO).stream = (STREAM), \ - (INFO).symbol = NULL, \ + (INFO).symbols = NULL, \ + (INFO).num_symbols = 0, \ (INFO).buffer = NULL, \ (INFO).buffer_vma = 0, \ (INFO).buffer_length = 0, \