OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years agoFix comments on `struct frame_info'.
Andrew Cagney [Wed, 29 Aug 2001 00:51:14 +0000 (00:51 +0000)]
Fix comments on `struct frame_info'.

22 years ago * library/bpwin.itb (bp_select): Use standard preferences
Keith Seitz [Wed, 29 Aug 2001 00:23:30 +0000 (00:23 +0000)]
* library/bpwin.itb (bp_select): Use standard preferences
for selection fg & bg, not tixOption database.

* process.itb, tracedlg.tcl: Remove all traces of those
three evil little letters, "t", "i", "x".

22 years ago * library/tracedlg.tcl (build_win): Use libgui's
Keith Seitz [Wed, 29 Aug 2001 00:14:08 +0000 (00:14 +0000)]
* library/tracedlg.tcl (build_win): Use libgui's
Labelledframe instead of tixLabelFrame.
Use iwidgets::scrolledlistbox instead of tixScrolledListbox.
(edit): Check if there is a selection in the listbox
before proceeding.
Escape method callbacks before passing to ActionDlg.

* library/actiondlg.tcl (constructor): Use "gdb_reginfo"

22 years ago*** empty log message ***
gdbadmin [Wed, 29 Aug 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * library/tdump.tcl (class TdumpWin): Inherit from GDBWin
Keith Seitz [Tue, 28 Aug 2001 23:38:01 +0000 (23:38 +0000)]
* library/tdump.tcl (class TdumpWin): Inherit from GDBWin
and ManagedWin.
(constructor): Remove old itcl2 handling code and name the
window.
(build_win): Use iwidgets::scrolledtext instead of
tixScrolledText.
(twin): Remove unused variable. Use itk_component(stext)
instead.
(maxwidth): Remove unused variable.
(destructor): Remove unused method.
(config): Ditto.

22 years ago * library/srcpref.itb (build_win): Use iwidgets::spinint
Keith Seitz [Tue, 28 Aug 2001 23:04:59 +0000 (23:04 +0000)]
* library/srcpref.itb (build_win): Use iwidgets::spinint
instead of tixControl.

22 years ago* gdbint.texinfo: Bring the HTML `top' menu into sync with the
Jim Blandy [Tue, 28 Aug 2001 22:49:55 +0000 (22:49 +0000)]
* gdbint.texinfo: Bring the HTML `top' menu into sync with the
info `top' menu.

22 years ago * library/process.ith (top): Remove unused protected variable.
Keith Seitz [Tue, 28 Aug 2001 22:36:40 +0000 (22:36 +0000)]
* library/process.ith (top): Remove unused protected variable.
Use GDBWin::_top instead.
(lb): Remove unused variable.
(change_context): Remove parameter. It's not needed.
* library/process.itb (constructor): Don't set the variable
"top". It isn't needed. GDBWin has this information.
(buildwin): Get rid of tixScrolledListbox. Use
iwidgets::scrolledlistbox instead.
Loose the balloon help. It annoys more than helps.
(update): Use new scrolledlistbox component.
Split the list of threads BEFORE doing llength. Someone
shoot me if this has to be fixed one more time...
(change_context): Update definition and usage.
(cursor): Use GDBWin::_top instead of our own private copy.

22 years ago * h8.h: New file.
Joern Rennecke [Tue, 28 Aug 2001 22:33:27 +0000 (22:33 +0000)]
* h8.h: New file.

22 years ago * generic/gdbtk-cmds.c (gdb_disassemble_driver): We should be
Keith Seitz [Tue, 28 Aug 2001 22:22:56 +0000 (22:22 +0000)]
* generic/gdbtk-cmds.c (gdb_disassemble_driver): We should be
looking for "thread", not "threads" to determine if we have
a multi-threaded child process.

22 years ago * library/bpwin.itb (build_win): Get rid of tixScrolledWindow
Keith Seitz [Tue, 28 Aug 2001 21:20:20 +0000 (21:20 +0000)]
* library/bpwin.itb (build_win): Get rid of tixScrolledWindow
and use iwidgets::scrolledframe until something better comes
along.

22 years ago * m68hc11-dis.c: Add missing prototypes.
Andreas Jaeger [Tue, 28 Aug 2001 16:27:55 +0000 (16:27 +0000)]
* m68hc11-dis.c: Add missing prototypes.
(forgotten in last checkin)

22 years agoAdd missing prototypes
Nick Clifton [Tue, 28 Aug 2001 09:35:16 +0000 (09:35 +0000)]
Add missing prototypes

22 years ago * ppc-opc.c (icbt): Order correctly.
Matthew Green [Tue, 28 Aug 2001 05:47:29 +0000 (05:47 +0000)]
* ppc-opc.c (icbt): Order correctly.

22 years ago*** empty log message ***
gdbadmin [Tue, 28 Aug 2001 00:00:09 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* event-top.c (async_stop_sig) [HAVE_SIGPROCMASK]: Some
Mark Kettenis [Mon, 27 Aug 2001 22:39:56 +0000 (22:39 +0000)]
* event-top.c (async_stop_sig) [HAVE_SIGPROCMASK]: Some
gratuitious whitespace changes.
[!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is defined.
* top.c: Remove redundant logic to define HAVE_SIGSETMASK.
(sigsetmask) Don't define macro.
(stop_sig) [HAVE_SIGPROCMASK]: Add bit of code snatched from
async_stop_sig from event-top.c.
[!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is
defined.
* configure.in (AC_CHECK_FUNCS): Put functions in alphabetical
order.  Add sigsetmask.
(AC_FUNC_VFORK, AC_FUNC_ALLOCA): Reorder such that they're in
alphabetical order.
* config/xm-aix4.h, config/alpha/xm-alphalinux.h,
config/i386/xm-cygwin.h, config/rs6000/xm-rs6000.h
(HAVE_SIGSETMASK): Remove.
* aclocal.m4, config.in, configure

22 years agomerge from gcc
DJ Delorie [Mon, 27 Aug 2001 20:05:03 +0000 (20:05 +0000)]
merge from gcc

22 years ago * elf32-i386.c: Add missing prototypes.
Daniel Jacobowitz [Mon, 27 Aug 2001 18:04:37 +0000 (18:04 +0000)]
    * elf32-i386.c: Add missing prototypes.
        * elf32-ppc.c: Likewise.
        * elf32-sh-lin.c: Likewise.
        * elfarm-nabi.c: Likewise.

22 years ago * elf32-i386.c (elf_i386_grok_prstatus): New function.
Daniel Jacobowitz [Mon, 27 Aug 2001 17:36:32 +0000 (17:36 +0000)]
    * elf32-i386.c (elf_i386_grok_prstatus): New function.
        (elf_i386_grok_psinfo): New function.
        (elf_backend_grok_prstatus): Define.
        (elf_backend_grok_psinfo): Likewise.
        * elf32-ppc.c (ppc_elf_grok_prstatus): New function.
        (ppc_elf_grok_psinfo): New function.
        (elf_backend_grok_prstatus): Define.
        (elf_backend_grok_psinfo): Likewise.
        * elf32-sh-lin.c (elf32_shlin_grok_prstatus): New function.
        (elf32_shlin_grok_psinfo): New function.
        (elf_backend_grok_prstatus): Define.
        (elf_backend_grok_psinfo): Likewise.
        * elfarm-nabi.c (elf32_arm_nabi_grok_prstatus): New function.
        (elf32_arm_nabi_grok_psinfo): New function.
        (elf_backend_grok_prstatus): Define.
        (elf_backend_grok_psinfo): Likewise.

22 years ago2001-08-27 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 27 Aug 2001 15:40:38 +0000 (15:40 +0000)]
2001-08-27  H.J. Lu  <hjl@gnu.org>

* elf32-mips.c (mips_elf_create_dynamic_relocation): Add more
sanity check.
(mips_elf_calculate_relocation): Create dynamic relocation for
symbols with weak definition or the ELF_LINK_HASH_DEF_REGULAR
bit is not set.

22 years ago2001-08-27 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 27 Aug 2001 14:47:33 +0000 (14:47 +0000)]
2001-08-27  H.J. Lu  <hjl@gnu.org>

* elf32-mips.c (_bfd_mips_elf_hide_symbol): Add prototype.
(_bfd_mips_elf_copy_indirect_symbol): Likewise.
(_bfd_elf32_mips_grok_prstatus): Likewise.
(_bfd_elf32_mips_grok_psinfo): Likewise.
(_bfd_mips_elf_hide_symbol): Make it static and cast to
`struct mips_elf_link_hash_entry *'.
(_bfd_mips_elf_copy_indirect_symbol): Make it static.

22 years agoAdd missing prototypes
Nick Clifton [Mon, 27 Aug 2001 10:35:20 +0000 (10:35 +0000)]
Add missing prototypes

22 years ago * ppc-opc.c (DS): Add PPC_OPERAND_DS flag.
Alan Modra [Mon, 27 Aug 2001 10:27:48 +0000 (10:27 +0000)]
* ppc-opc.c (DS): Add PPC_OPERAND_DS flag.
(LS): Define.
(insert_ds): Complain if not a multiple of 4.
(XSYNC): Define.
(XSYNC_MASK): Define.
(powerpc_opcodes): Add "slbmte", "lwsync", "ptesync", "slbmfev",
"slbmfee".  Modify "sync" to use XSYNC_MASK and LS.

22 years ago * ppc.h (PPC_OPERAND_DS): Define.
Alan Modra [Mon, 27 Aug 2001 10:26:57 +0000 (10:26 +0000)]
* ppc.h (PPC_OPERAND_DS): Define.

22 years ago * ppc.h: Add relocs from the 64-bit PowerPC ELF ABI revision 1.2.
Alan Modra [Mon, 27 Aug 2001 10:26:34 +0000 (10:26 +0000)]
* ppc.h: Add relocs from the 64-bit PowerPC ELF ABI revision 1.2.

22 years ago * config.bfd: Add powerpc64 target. Add powerpc64 vectors to
Alan Modra [Mon, 27 Aug 2001 10:22:03 +0000 (10:22 +0000)]
* config.bfd: Add powerpc64 target.  Add powerpc64 vectors to
targ64_selvecs for 32 bit powerpc targets.
* Makefile.am (BFD64_BACKENDS): Add elf64-ppc.lo.
(BFD64_BACKENDS_CFILES): Add elf64-ppc.c.
Run "make dep-am".
* Makefile.in: Regenerate.
* configure.in: Add elf64_powerpc vecs.
* configure: Regenerate.
* cpu-powerpc.c: Default to bfd_mach_ppc_620 entry for 64 bit.
* elf.c (prep_headers): EM_PPC64 for 64 bit ppc elf target.
* targets.c: Add bfd_elf64_powerpc_vec and bfd_elf64_powerpcle_vec.
* elf64-ppc.c: New file.
* reloc.c: Add powerpc64 relocs.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.

22 years ago * elf32-m68k.c (elf32_m68k_check_relocs): Set DF_TEXTREL if the
Andreas Schwab [Mon, 27 Aug 2001 09:16:10 +0000 (09:16 +0000)]
* elf32-m68k.c (elf32_m68k_check_relocs): Set DF_TEXTREL if the
reloc is against read-only section.
(elf32_m68k_size_dynamic_sections): Use DF_TEXTREL flag instead of
looking up section names for DT_TEXTREL.
(elf32_m68k_reloc_type_class): New function.
(elf_backend_reloc_type_class): Define.

22 years ago * xcoff.h (struct __rtinit): Make proper prototype for rtl.
Andreas Jaeger [Mon, 27 Aug 2001 09:08:38 +0000 (09:08 +0000)]
* xcoff.h (struct __rtinit): Make proper prototype for rtl.

22 years ago * elf64-s390.c (elf_s390_check_relocs): Set DF_TEXTREL if the
Andreas Jaeger [Mon, 27 Aug 2001 08:59:08 +0000 (08:59 +0000)]
* elf64-s390.c (elf_s390_check_relocs): Set DF_TEXTREL if the
reloc is against read-only section.
(elf_s390_size_dynamic_sections): Use DF_TEXTREL flag instead of
looking up section names for DT_TEXTREL.
(elf_s390_reloc_type_class): New.
(elf_backend_reloc_type_class): Define.

* elf32-s390.c (elf_s390_check_relocs): Set DF_TEXTREL if the
reloc is against read-only section.
(elf_s390_size_dynamic_sections): Use DF_TEXTREL flag instead of
looking up section names for DT_TEXTREL.
(elf_s390_reloc_type_class): New.
(elf_backend_reloc_type_class): Define.

* elf32-ppc.c (ppc_elf_check_relocs): Set DF_TEXTREL if the reloc
is against read-only section.
(ppc_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of
looking up section names for DT_TEXTREL.
(ppc_elf_reloc_type_class): New.
(elf_backend_reloc_type_class): Define.

22 years agoFrom 2001-06-29 Andrew Cagney <ac131313@redhat.com>:
Andrew Cagney [Mon, 27 Aug 2001 02:22:14 +0000 (02:22 +0000)]
From 2001-06-29 Andrew Cagney  <ac131313@redhat.com>:
* config/powerpc/nbsd.mh (XM_FILE): Delete.

22 years ago*** empty log message ***
gdbadmin [Mon, 27 Aug 2001 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* doublest.h (HOST_FLOAT_FORMAT): Delete macro.
Andrew Cagney [Sun, 26 Aug 2001 18:46:10 +0000 (18:46 +0000)]
* doublest.h (HOST_FLOAT_FORMAT): Delete macro.
(HOST_DOUBLE_FORMAT): Delete macro.

22 years ago * elf32-cris.c (cris_elf_check_relocs): Set DF_TEXTREL if the
Andreas Jaeger [Sun, 26 Aug 2001 18:03:19 +0000 (18:03 +0000)]
* elf32-cris.c (cris_elf_check_relocs): Set DF_TEXTREL if the
reloc is against read-only section.
(elf_cris_size_dynamic_sections): Use DF_TEXTREL flag instead of
looking up section names for DT_TEXTREL.
(elf_cris_reloc_type_class): New.
(elf_backend_reloc_type_class): Define.

* elf32-sh.c (sh_elf_check_relocs): Set DF_TEXTREL if the reloc is
against read-only section.
(elf_backend_reloc_type_class): Define.
(sh_elf_reloc_type_class): New.
(sh_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of
looking up section names for DT_TEXTREL.

* elf32-arm.h (elf32_arm_check_relocs): Set DF_TEXTREL if the
reloc is against read-only section.
(elf32_arm_size_dynamic_sections): Use DF_TEXTREL flag instead of
looking up section names for DT_TEXTREL.
(elf32_arm_reloc_type_class): New.

22 years ago * h8500-opc.h: Add default initializers to h8500_table to shut up
Andreas Jaeger [Sun, 26 Aug 2001 14:04:42 +0000 (14:04 +0000)]
* h8500-opc.h: Add default initializers to h8500_table to shut up
GCC warnings.

22 years agoFor include/opcode:
Andreas Jaeger [Sun, 26 Aug 2001 11:47:39 +0000 (11:47 +0000)]
For include/opcode:
* d30v.h: Fix declaration of reg_name_cnt.

* d10v.h: Fix declaration of d10v_reg_name_cnt.

* arc.h: Add prototypes from opcodes/arc-opc.c.

For opcodes:
* tic54x-dis.c: Add unused attributes where needed.

* z8k-dis.c (output_instr): Add unused attribute.

* h8300-dis.c: Add missing prototypes.
(bfd_h8_disassemble): Make static.

* cris-dis.c: Add missing prototype.
* h8500-dis.c: Likewise.
* m68hc11-dis.c: Likewise.
* pj-dis.c: Likewise.
* tic54x-dis.c: Likewise.
* v850-dis.c: Likewise.
* vax-dis.c: Likewise.
* w65-dis.c: Likewise.
* z8k-dis.c: Likewise.

* d10v-dis.c: Add missing prototype.
(dis_long): Remove unused variable.
(dis_2_short): Likewise.

* sh-dis.c: Add missing prototypes.
* v850-opc.c: Likewise.
Add unused attributes where needed.

* ns32k-dis.c: Add missing prototypes.
(bit_extract_simple): Remove unused variable.

22 years ago * oasys.c: Add missing prototypes.
Andreas Jaeger [Sun, 26 Aug 2001 11:46:04 +0000 (11:46 +0000)]
* oasys.c: Add missing prototypes.

* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Add unused
attribute for parameter.
* elf.c (_bfd_elf_reloc_type_class): Likewise.

* versados.c (get_4): Make static.
(get_10): Make static.
Add missing prototypes.
(process_esd): Fix call to versados_new_symbol.

22 years ago*** empty log message ***
gdbadmin [Sun, 26 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoAdd missing prototypes
Nick Clifton [Sat, 25 Aug 2001 09:49:44 +0000 (09:49 +0000)]
Add missing prototypes

22 years agofix compile time warning message
Nick Clifton [Sat, 25 Aug 2001 09:48:13 +0000 (09:48 +0000)]
fix compile time warning message

22 years ago * elf32-mips.c (elf_mips_abi_name): Return the right ABI string for
Thiemo Seufer [Sat, 25 Aug 2001 01:27:54 +0000 (01:27 +0000)]
* elf32-mips.c (elf_mips_abi_name): Return the right ABI string for
E_MIPS_ABI_O64 and E_MIPS_ABI_EABI64

22 years ago*** empty log message ***
gdbadmin [Sat, 25 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2001-08-24 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 24 Aug 2001 20:10:25 +0000 (20:10 +0000)]
2001-08-24  H.J. Lu  <hjl@gnu.org>

* elf.c (_bfd_elf_merge_sections): Fail if not using an ELF
hash structure.

22 years agoApply H.J.'s patch to revert change to elfxx-target.h
Nick Clifton [Fri, 24 Aug 2001 16:36:04 +0000 (16:36 +0000)]
Apply H.J.'s patch to revert change to elfxx-target.h
Apply my patch to allow SREC as output format.

22 years ago* bfd.c (bfd_alt_mach_code): New function.
Alexandre Oliva [Fri, 24 Aug 2001 13:55:55 +0000 (13:55 +0000)]
* bfd.c (bfd_alt_mach_code): New function.
* bfd-in2.h: Rebuilt.

22 years ago* elf-m10300.c (mn10300_elf_relocate_section): Test the right
Alexandre Oliva [Fri, 24 Aug 2001 13:14:46 +0000 (13:14 +0000)]
* elf-m10300.c (mn10300_elf_relocate_section): Test the right
`type' field in the hash entry when deciding whether to follow a
link.

22 years ago* config/xm-lynx.h, config/xm-nbsd.h, config/xm-sysv4.h,
Mark Kettenis [Fri, 24 Aug 2001 12:19:59 +0000 (12:19 +0000)]
* config/xm-lynx.h, config/xm-nbsd.h, config/xm-sysv4.h,
config/i386/xm-i386aix.h, config/m68k/xm-dpx2.h: Remove redundant
inclusion of <limits.h>.

22 years ago * elflink.h (elf_link_sort_cmp1): Sort RELATIVE relocs first, not
Jakub Jelinek [Fri, 24 Aug 2001 11:17:30 +0000 (11:17 +0000)]
* elflink.h (elf_link_sort_cmp1): Sort RELATIVE relocs first, not
last.
(elf_link_sort_relocs): Adjust accordingly.

* elf64-alpha.c (struct alpha_elf_link_hash_entry): Add reltext flag.
(elf64_alpha_check_relocs): Set it if section this reloc is against
is read-only.  Set DF_TEXTREL if a RELATIVE reloc is needed against
read-only section.
(elf64_alpha_calc_dynrel_sizes): Set DF_TEXTREL flag if relocation
is is against read-only section.
(elf64_alpha_size_dynamic_sections): Use DF_TEXTREL flag, don't
check section names.
(elf64_alpha_reloc_type_class): New.
(elf_backend_reloc_type_class): Define.

22 years ago* regcache.c (read_register_bytes): When REGISTER_NAME indicates
Andrew Cagney [Fri, 24 Aug 2001 05:11:07 +0000 (05:11 +0000)]
* regcache.c (read_register_bytes): When REGISTER_NAME indicates
that a register should be ignored, supply a value for the register
from the raw registers[] buffer.

22 years ago* go32-nat.c (go32_create_inferior): Use xfree instead of free.
Andrew Cagney [Fri, 24 Aug 2001 05:00:06 +0000 (05:00 +0000)]
* go32-nat.c (go32_create_inferior): Use xfree instead of free.
* config/djgpp/fnchange.lst: Add entries for i386bsd-tdep.c and
i386bsd-nat.c.

22 years ago* gdbtypes.h (builtin_type_ieee_single_big)
Andrew Cagney [Fri, 24 Aug 2001 04:46:43 +0000 (04:46 +0000)]
* gdbtypes.h (builtin_type_ieee_single_big)
(builtin_type_ieee_single_little, builtin_type_ieee_double_big)
(builtin_type_ieee_double_little)
(builtin_type_ieee_double_littlebyte_bigword)
(builtin_type_i387_ext, builtin_type_m68881_ext)
(builtin_type_i960_ext, builtin_type_m88110_ext)
(builtin_type_m88110_harris_ext, builtin_type_arm_ext_big)
(builtin_type_arm_ext_littlebyte_bigword)
(builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
(builtin_type_ia64_quad_big)
(builtin_type_ia64_quad_little): Declare.
* gdbtypes.c (builtin_type_ieee_single_big)
(builtin_type_ieee_single_little, builtin_type_ieee_double_big)
(builtin_type_ieee_double_little)
(builtin_type_ieee_double_littlebyte_bigword)
(builtin_type_i387_ext, builtin_type_m68881_ext)
(builtin_type_i960_ext, builtin_type_m88110_ext)
(builtin_type_m88110_harris_ext, builtin_type_arm_ext_big)
(builtin_type_arm_ext_littlebyte_bigword)
(builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
(builtin_type_ia64_quad_big)
(builtin_type_ia64_quad_little): Define.
(_initialize_gdbtypes): Initialize builtin floatformat types.

22 years ago * linker.c (_bfd_generic_link_add_archive_symbols): Replace alloca()
Thiemo Seufer [Fri, 24 Aug 2001 03:56:28 +0000 (03:56 +0000)]
* linker.c (_bfd_generic_link_add_archive_symbols): Replace alloca()
by bfd_malloc().

22 years ago * internal.h (R_JMP2, R_JMPL2, R_MOVL2): Comment spelling fix.
Joern Rennecke [Fri, 24 Aug 2001 00:20:01 +0000 (00:20 +0000)]
* internal.h (R_JMP2, R_JMPL2, R_MOVL2): Comment spelling fix.

22 years ago * library/srcwin.itb (SrcWin::fillFuncCB): Sort function names.
Tom Tromey [Fri, 24 Aug 2001 00:11:06 +0000 (00:11 +0000)]
* library/srcwin.itb (SrcWin::fillFuncCB): Sort function names.

22 years ago*** empty log message ***
gdbadmin [Fri, 24 Aug 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* tracepoint.c (read_actions): Add FIXME for code depending on
Mark Kettenis [Thu, 23 Aug 2001 20:31:36 +0000 (20:31 +0000)]
* tracepoint.c (read_actions): Add FIXME for code depending on
STOP_SIGNAL.

22 years ago2001-08-23 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Thu, 23 Aug 2001 19:27:52 +0000 (19:27 +0000)]
2001-08-23  Martin M. Hunt  <hunt@redhat.com>

* remote-mips.c (pmon_load_fast): Add ui_load_progress_hook
to download loop.
(mips_load_srec): Ditto.

22 years ago * elf64-x86-64.c (elf64_x86_64_check_relocs): Set DF_TEXTREL if
Andreas Jaeger [Thu, 23 Aug 2001 18:14:29 +0000 (18:14 +0000)]
* elf64-x86-64.c (elf64_x86_64_check_relocs): Set DF_TEXTREL if
the reloc is against read-only section.
(elf64_x86_64_size_dynamic_sections): Use DF_TEXTREL flag instead
of looking up section names for DT_TEXTREL.
(elf64_x86_64_reloc_type_class): New.
(elf_backend_reloc_type_class): Define.

22 years agoAdd more missing prototypes
Nick Clifton [Thu, 23 Aug 2001 17:05:52 +0000 (17:05 +0000)]
Add more missing prototypes

22 years agomerge from gcc
DJ Delorie [Thu, 23 Aug 2001 16:38:09 +0000 (16:38 +0000)]
merge from gcc

22 years ago2001-08-23 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Thu, 23 Aug 2001 16:35:34 +0000 (16:35 +0000)]
2001-08-23  Martin M. Hunt  <hunt@redhat.com>

* library/targetselection.itb: Added PMON and DDB targets.

22 years ago2001-08-23 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 23 Aug 2001 15:45:19 +0000 (15:45 +0000)]
2001-08-23  H.J. Lu  <hjl@gnu.org>

* syms.c (bfd_print_symbol_vandf): Add abfd to arg.
* bfd-in2.h (bfd_print_symbol_vandf): Regenerated.

* aoutx.h (NAME(aout,print_symbol)): Pass abfd to
bfd_print_symbol_vandf.
* coffgen.c (coff_print_symbol): Likewise.
* elf.c (bfd_elf_print_symbol): Likewise.
* ieee.c (ieee_print_symbol): Likewise.
* nlmcode.h (nlm_print_symbol): Likewise.
* oasys.c (oasys_print_symbol): Likewise.
* pdp11.c (NAME(aout,print_symbol)): Likewise.
* som.c (som_print_symbol): Likewise.
* srec.c (srec_print_symbol): Likewise.
* tekhex.c (tekhex_print_symbol): Likewise.
* versados.c (versados_print_symbol): Likewise.
* vms.c (vms_print_symbol): Likewise.

* elf.c (_bfd_elf_print_private_bfd_data): Replace fprintf_vma
with bfd_fprintf_vma.
(bfd_elf_print_symbol): Likewise.
* syms.c (bfd_print_symbol_vandf): Likewise.

22 years agoAdd missing prototypes for bout.c
Nick Clifton [Thu, 23 Aug 2001 15:30:34 +0000 (15:30 +0000)]
Add missing prototypes for bout.c

22 years ago * elf-bfd.h (enum elf_reloc_type_class): New.
Jakub Jelinek [Thu, 23 Aug 2001 15:14:17 +0000 (15:14 +0000)]
* elf-bfd.h (enum elf_reloc_type_class): New.
(struct elf_backend_data): Add elf_backend_reloc_type_class.
(_bfd_elf_reloc_type_class): New.
* elfxx-target.h (elf_backend_reloc_type_class): Define.
(elfNN_bed): Add elf_backend_reloc_type_class.
* elf.c (_bfd_elf_reloc_type_class): New.
* elf32-i386.c (elf_i386_check_relocs): Set DF_TEXTREL if the reloc
is against read-only section.
(elf_i386_size_dynamic_sections): Use DF_TEXTREL flag instead of
looking up section names for DT_TEXTREL.
(elf_i386_reloc_type_class): New.
(elf_backend_reloc_type_class): Define.
* elf32-sparc.c (elf32_sparc_check_relocs): Set DF_TEXTREL if the
reloc is against read-only section.
(elf32_sparc_size_dynamic_sections): Use DF_TEXTREL flag instead of
looking up section names for DT_TEXTREL.
(elf32_sparc_reloc_type_class): New.
(elf_backend_reloc_type_class): Define.
* elf64-sparc.c (sparc64_elf_check_relocs): Set DF_TEXTREL if the
reloc is against read-only section.
(sparc64_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of
looking up section names for DT_TEXTREL.
(sparc64_elf_reloc_type_class): New.
(elf_backend_reloc_type_class): Define.
* elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add reltext field.
(elfNN_ia64_hash_table_create): Clear ia64_info.
(get_reloc_section): Set DF_TEXTREL if the reloc is against read-only
section.
(elfNN_ia64_size_dynamic_sections): Use ia64_info->reltext flag
instead of looking up section names for DT_TEXTREL.
(elfNN_ia64_reloc_type_class): New.
(elf_backend_reloc_type_class): Define.
* elflink.h (size_dynamic_sections): Add spare DT_NULL tags.
(struct elf_link_sort_rela): New.
(elf_link_sort_cmp1, elf_link_sort_cmp2, elf_link_sort_relocs): New.
(elf_bfd_final_link): Call elf_link_sort_relocs.
Convert one spare DT_NULL into DT_RELCOUNT resp. DT_RELACOUNT if
necessary.

* bfdlink.h (struct bfd_link_info): Add combreloc and
spare_dynamic_tags fields.

* emultempl/elf32.em (place_orphan): Place orphan .rel* sections
into .rel.dyn resp. .rela.dyn if combreloc.
(get_script): If .x linker script is equal to .xn, only put it
once into the binary.
Add .xc and .xsc scripts.
(parse_args): Handle -z combreloc and -z nocombreloc.
* scripttempl/elf.sc (.rela.sbss): Fix a typo.
For .xc and .xsc scripts put all .rel* or .rela* input sections
but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
* genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
is elf.
Strip trailing whitespace from script.
Generate .xc and .xsc scripts if requested.
* ldmain.c (main): Initialize link_info.combreloc and
link_info.spare_dynamic_tags.
* lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
(ld_options): Add --spare-dynamic-tags option.
(parse_args): Likewise.
* ld.texinfo: Document -z combreloc and -z nocombreloc.
* ldint.texinfo: Document .xc and .xsc linker scripts.
* NEWS: Add notes about -z combreloc and SHF_MERGE.

22 years agomerge from gcc
DJ Delorie [Thu, 23 Aug 2001 14:51:49 +0000 (14:51 +0000)]
merge from gcc

22 years agoNo corefile support for x86-bsdi systems
Nick Clifton [Thu, 23 Aug 2001 14:33:50 +0000 (14:33 +0000)]
No corefile support for x86-bsdi systems

22 years ago * opcodes/s390-opc.c: Add "low or high" and "not low or high"
Andreas Jaeger [Thu, 23 Aug 2001 06:38:56 +0000 (06:38 +0000)]
* opcodes/s390-opc.c: Add "low or high" and "not low or high"
branch instructions for gcc 3.0.
* opcodes/s390-opc.txt: Likewise.

22 years agoAdd TYPE_FLOATFORMAT().
Andrew Cagney [Thu, 23 Aug 2001 01:09:38 +0000 (01:09 +0000)]
Add TYPE_FLOATFORMAT().

22 years ago*** empty log message ***
gdbadmin [Thu, 23 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years agomerge from gcc
DJ Delorie [Wed, 22 Aug 2001 22:55:38 +0000 (22:55 +0000)]
merge from gcc

22 years ago * library/prefs.tcl (pref_read): Version number appears in
Tom Tromey [Wed, 22 Aug 2001 21:11:16 +0000 (21:11 +0000)]
* library/prefs.tcl (pref_read): Version number appears in
comment.

22 years agoAdd missing comma
Nick Clifton [Wed, 22 Aug 2001 08:43:00 +0000 (08:43 +0000)]
Add missing comma

22 years agomerge from gcc
DJ Delorie [Wed, 22 Aug 2001 02:12:15 +0000 (02:12 +0000)]
merge from gcc

22 years ago*** empty log message ***
gdbadmin [Wed, 22 Aug 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* coff-go32.c: Set the alignment of dwarf2 linkonce sections to 0.
DJ Delorie [Tue, 21 Aug 2001 22:39:47 +0000 (22:39 +0000)]
* coff-go32.c: Set the alignment of dwarf2 linkonce sections to 0.
* coff-stgo32.c: Likewise.

22 years ago* coff-go32.c: Make DWARF2 sections use an alignment of 0.
DJ Delorie [Tue, 21 Aug 2001 20:23:38 +0000 (20:23 +0000)]
* coff-go32.c: Make DWARF2 sections use an alignment of 0.
* coff-sto32.c: Likewise.

22 years ago * generic/gdbtk.c (gdbtk_init): Reinitialize disassemle info's
Keith Seitz [Tue, 21 Aug 2001 19:29:00 +0000 (19:29 +0000)]
* generic/gdbtk.c (gdbtk_init): Reinitialize disassemle info's
stream parameter: we just deleted the one it saved when we

22 years ago * printcmd.c (print_insn): Use the given stream for
Keith Seitz [Tue, 21 Aug 2001 19:25:40 +0000 (19:25 +0000)]
* printcmd.c (print_insn): Use the given stream for
output.

22 years ago * generic/gdbtk.c (gdbtk_init): Reinitialize disassemle info's
Keith Seitz [Tue, 21 Aug 2001 16:55:21 +0000 (16:55 +0000)]
* generic/gdbtk.c (gdbtk_init): Reinitialize disassemle info's
stream parameter: we just deleted the one it saved when we
re-routed gdb_stdout to our own gdb_stdout.

22 years agomerge from gcc
DJ Delorie [Tue, 21 Aug 2001 15:19:19 +0000 (15:19 +0000)]
merge from gcc

22 years ago * mips-dis.c: Add missing prototypes.
Andreas Jaeger [Tue, 21 Aug 2001 08:51:12 +0000 (08:51 +0000)]
* mips-dis.c: Add missing prototypes.
* a29k-dis.c: Likewise.
* arc-dis.c: Likewise.
* ia64-opc.c: Likewise.

22 years ago * i960-dis.c: Add parameters for prototypes
Andreas Jaeger [Tue, 21 Aug 2001 08:42:28 +0000 (08:42 +0000)]
* i960-dis.c: Add parameters for prototypes
(ctrl): Add unused attributes.
(cobr): Likewise.
(put_abs): Likewise.

* mips-dis.c: Add missing prototypes.
* a29k-dis.c: Likewise.
* arc-dis.c: Likewise.
* ia64-opc.c: Likewise.

* s390-dis.c: Add missing prototypes.
(init_disasm): Remove unused attribute since the parameter is
used.

22 years ago * coff-sparc.c: Add missing prototypes.
Andreas Jaeger [Tue, 21 Aug 2001 08:40:23 +0000 (08:40 +0000)]
* coff-sparc.c: Add missing prototypes.
* elf32-s390.c: Likewise.
* elf32-i960.c: Likewise.
* aout-target.h: Likewise.

22 years ago* arm-tdep.c (convert_from_extended, convert_to_extended): Delete
Andrew Cagney [Tue, 21 Aug 2001 04:31:32 +0000 (04:31 +0000)]
* arm-tdep.c (convert_from_extended, convert_to_extended): Delete
assembler version of function.
(convert_from_extended, convert_to_extended): Rewrite. Use
floatformat_to_doublest, floatformat_from_doublest,
floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword.
(arm_push_arguments): Use extract_floating and store_floating to
perform floating point conversions.
(SWAP_TARGET_AND_HOST): Delete macro.
* arm-linux-tdep.c (arm_linux_push_arguments): Use
extract_floating and store_floating to perform floating point
conversions.

22 years ago2001-08-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 21 Aug 2001 01:02:41 +0000 (01:02 +0000)]
2001-08-20  H.J. Lu  <hjl@gnu.org>

* elf-bfd.h (elf_obj_tdata): Add num_section_syms.
(elf_num_section_syms): New for num_section_syms.

* elf.c (elf_map_symbols): Set num_section_syms.
(_bfd_elf_symbol_from_bfd_symbol): Check num_section_syms for
the section symbol index.

22 years ago* gdbtypes.h (struct type): Clarify meaning of field ``length''.
Andrew Cagney [Tue, 21 Aug 2001 00:24:58 +0000 (00:24 +0000)]
* gdbtypes.h (struct type): Clarify meaning of field ``length''.

22 years ago* floatformat.h (floatformat_arm_ext): Document as deprecated.
Andrew Cagney [Tue, 21 Aug 2001 00:20:07 +0000 (00:20 +0000)]
* floatformat.h (floatformat_arm_ext): Document as deprecated.
(floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
(floatformat_ia64_spill_little, floatformat_ia64_quad_little)
(floatformat_ia64_spill_big, floatformat_ia64_quad_big)
(floatformat_m88110_harris_ext): Declare.

22 years ago*** empty log message ***
gdbadmin [Tue, 21 Aug 2001 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * library/stackwin.itb (build_win): Use iwidget's scrolled listbox
Keith Seitz [Mon, 20 Aug 2001 19:14:09 +0000 (19:14 +0000)]
* library/stackwin.itb (build_win): Use iwidget's scrolled listbox
instead of tix scrolled list box.
(update): Update to use iwidget's scrolled list box.
(change_frame): Ditto.
Remove parameters.
* library/stackwin.ith (change_frame): Remove all parameters.

22 years ago * generic/gdbtk-cmds.c (gdb_load_disassembly): Save the original
Keith Seitz [Mon, 20 Aug 2001 17:55:32 +0000 (17:55 +0000)]
* generic/gdbtk-cmds.c (gdb_load_disassembly): Save the original
address from parse_and_eval_address: if find_pc_partial_function
errors, we will lose our original address.
If find_pc_partial_function does error, print out both
the address we thought we were disassembling at AND the address
we actually did disassemble at. This should help elide address-
to-pointer and pointer-to-address problems in the tdep files.
* library/srctextwin.itb (FillAssembly): When gdb_load_disassembly
fails, use its error message instead of the cooked "Unable to
Read insturctions..." message.
(UnLoadFromCache): If oldpane is empty, don't try show it,
don't try to set our view to it, don't do anything but
erase the given pane.

22 years agoNever select the generic has table creator. All elf backends need elf specific
Nick Clifton [Mon, 20 Aug 2001 14:28:46 +0000 (14:28 +0000)]
Never select the generic has table creator.  All elf backends need elf specific
fields in the hash table.

22 years ago * config.sub, config.guess: Import latest from subversions.
Alan Modra [Mon, 20 Aug 2001 03:29:21 +0000 (03:29 +0000)]
* config.sub, config.guess: Import latest from subversions.

22 years ago*** empty log message ***
gdbadmin [Mon, 20 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * archive.c (offsetof): Remove define.
Alan Modra [Sun, 19 Aug 2001 23:42:47 +0000 (23:42 +0000)]
* archive.c (offsetof): Remove define.
* elf.c: Likewise.
* oasys.c: Likewise
* sysdep.h (offsetof): Define.

22 years ago* mi0-var-block.exp, mi0-stack.exp, mi0-simplerun.exp,
Andrew Cagney [Sun, 19 Aug 2001 01:23:43 +0000 (01:23 +0000)]
* mi0-var-block.exp, mi0-stack.exp, mi0-simplerun.exp,
mi0-regs.exp, mi0-watch.exp, mi0-stepi.exp, mi0-until.exp,
mi0-return.exp, mi0-read-memory.exp, mi0-eval.exp,
mi0-disassemble.exp, mi0-console.exp, mi-watch.exp,
mi-var-display.exp, mi-var-cmd.exp, mi-var-child.exp,
mi-until.exp, mi-var-block.exp, mi-stepi.exp, mi-stack.exp,
mi-simplerun.exp, mi-return.exp, mi-regs.exp, mi-read-memory.exp,
mi-disassemble.exp, mi-eval.exp, mi-console.exp: Replace pattern
matching thread=0 with one to also match thread=1.
Fix PR gdb/190.

22 years ago* lib/mi-support.exp (mi_gdb_start): If a remote target, use the
Andrew Cagney [Sun, 19 Aug 2001 01:02:58 +0000 (01:02 +0000)]
* lib/mi-support.exp (mi_gdb_start): If a remote target, use the
CLI jump command to start it.
(mi_run_to_main): Fail immediatly when unexpected output.

22 years ago* mi0-until.exp, mi-until.exp, mi0-stepi.exp, mi-stepi.exp,
Andrew Cagney [Sun, 19 Aug 2001 00:37:28 +0000 (00:37 +0000)]
* mi0-until.exp, mi-until.exp, mi0-stepi.exp, mi-stepi.exp,
mi-simplerun.exp, mi0-simplerun.exp, mi0-return.exp,
mi-return.exp, mi0-console.exp, mi-console.exp: Recognize an
unexpected run-to-main response. Report as a fail.

22 years ago*** empty log message ***
gdbadmin [Sun, 19 Aug 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years agomerge from gcc
DJ Delorie [Sat, 18 Aug 2001 23:47:14 +0000 (23:47 +0000)]
merge from gcc

22 years ago* lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
Andrew Cagney [Sat, 18 Aug 2001 21:34:28 +0000 (21:34 +0000)]
* lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
beginning of function.  Fix PR gdb/191.

22 years ago*** empty log message ***
gdbadmin [Sat, 18 Aug 2001 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***