OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
21 years ago2002-11-16 Klee Dienes <kdienes@apple.com>
Klee Dienes [Sat, 16 Nov 2002 18:43:03 +0000 (18:43 +0000)]
2002-11-16  Klee Dienes  <kdienes@apple.com>

        * opcode/m88k.h (INSTAB): Remove 'next' field.
        (instruction): Remove definition; replace with extern declaration
        and mark as const.
W

21 years ago2002-11-16 Klee Dienes <kdienes@apple.com>
Klee Dienes [Sat, 16 Nov 2002 18:42:12 +0000 (18:42 +0000)]
2002-11-16  Klee Dienes  <kdienes@apple.com>

        * m88k-dis.c: Include libiberty.h (for xmalloc).
        (HASHTAB): New type, used to build instruction hash tables.
        Contains a pointer to an INSTAB and a pointer to the next hash
        chain entry.
        (instructions): Move definition from m88k.h; remove initialization
        of 'next' field.
        (hashtable): Now an aray of pointer-to-HASHTAB, not INSTAB.
        (printop): Mark pointer to OPSPEC as const.
        (install): Remove; fold into init_disasm.
        (m88kdis): Update to ihashtab_initialized to 1 after calling
        init_disasm.  entry_ptr now iterates through HASHTABs, not
        INSTABs.
        (init_disasm): Iterate through the instructions and add to
        hashtable[].

21 years ago2002-11-16 Klee Dienes <kdienes@apple.com>
Klee Dienes [Sat, 16 Nov 2002 18:34:52 +0000 (18:34 +0000)]
2002-11-16  Klee Dienes  <kdienes@apple.com>

* m88k.h (INSTAB): Remove 'next' field.
(instruction): Remove definition; replace with extern declaration
and mark as const.

2002-11-16  Klee Dienes  <kdienes@apple.com>

* m88k-dis.c: (HASHTAB): New type, used to build instruction hash tables.
Contains a pointer to an INSTAB and a pointer to the next hash
chain entry.
(instructions): Move definition from m88k.h; remove initialization
of 'next' field.
(hashtable): Now an aray of pointer-to-HASHTAB, not INSTAB.
(printop): Mark pointer to OPSPEC as const.
(install): Remove; fold into init_disasm.
(m88kdis): Update to ihashtab_initialized to 1 after calling init_disasm.
entry_ptr now iterates through HASHTABs, not INSTABs.
(init_disasm): Iterate through the instructions and add to hashtable[].

21 years ago * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
Jakub Jelinek [Sat, 16 Nov 2002 12:39:57 +0000 (12:39 +0000)]
* md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
used with arguments in traditional C' warnings.

21 years ago * gas/config/tc-tic4x.c: Remove c4x_pseudo_ignore function.
Svein Seldal [Sat, 16 Nov 2002 12:23:23 +0000 (12:23 +0000)]
* gas/config/tc-tic4x.c: Remove c4x_pseudo_ignore function.
  (c4x_operands_match): Added check for 8-bits LDF insn. Give
  warning when using constant direct bigger than 2^16. Add the new
  arguments.
* include/opcode/tic4x.h: Major rewrite of entire file. Define
  instruction classes, and put each instruction into a class.
* opcodes/tic4x-dis.c: (c4x_print_op): Add support for the new
  argument format. Fix bug in 'N' register printer.

21 years ago2002-11-15 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 16 Nov 2002 01:00:07 +0000 (01:00 +0000)]
2002-11-15  Andrew Cagney  <cagney@redhat.com>

* frame.c (generic_unwind_get_saved_register): Make static.
* frame.h (generic_unwind_get_saved_register): Delete declaration.
* avr-tdep.c (avr_gdbarch_init): Do not set get_saved_register,
defaults to generic_unwind_get_saved_register.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* config/mn10200/tm-mn10200.h (GET_SAVED_REGISTER): Delete macro.

21 years ago2002-11-15 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 16 Nov 2002 00:53:23 +0000 (00:53 +0000)]
2002-11-15  Andrew Cagney  <cagney@redhat.com>

* x86-64-linux-nat.c (i386_sse_regnum_p): New function.  Copy from
i386-tdep.c.

21 years ago*** empty log message ***
gdbadmin [Sat, 16 Nov 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2002-11-15 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 15 Nov 2002 23:24:21 +0000 (23:24 +0000)]
2002-11-15  Andrew Cagney  <cagney@redhat.com>

* frame.h (sigtramp_saved_pc): Delete declaration.
* blockframe.c (sigtramp_saved_pc): Delete function.
* ns32k-tdep.c (ns32k_sigtramp_saved_pc): New function.
(ns32k_frame_saved_pc): Call ns32k_sigtramp_saved_pc.
* vax-tdep.c (vax_sigtramp_saved_pc): New function.
(vax_frame_saved_pc): Call vax_sigtramp_saved_pc.

21 years agodaily update
Alan Modra [Fri, 15 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago2002-11-15 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 15 Nov 2002 22:16:25 +0000 (22:16 +0000)]
2002-11-15  Andrew Cagney  <ac131313@redhat.com>

* frame.c (frame_pc_unwind): New function.
(frame_saved_regs_pc_unwind): New function.
(frame_register_unwind): Pass unwind_cache instead of
register_unwind_cache.
(set_unwind_by_pc): Add unwind_pc parameter, set.
(create_new_frame): Pass frame->pc_unwind to set_unwind_by_pc.
(get_prev_frame): Ditto.
* frame.h (frame_pc_unwind_ftype): Declare.
(struct frame_info): Add pc_unwind, pc_unwind_cache_p and
pc_unwind_cache.  Rename register_unwind_cache to unwind_cache.
(frame_pc_unwind): Declare.
* dummy-frame.c (dummy_frame_pc_unwind): New function.
(struct dummy_frame): Add comment mentioning that values are for
previous frame.
* dummy-frame.h (dummy_frame_pc_unwind): Declare.
* blockframe.c (file_frame_chain_valid): Use frame_pc_unwind.
(generic_file_frame_chain_valid): Ditto.
* stack.c (frame_info): Ditto.

21 years agoFix date stamp on ChangeLog entry.
David Carlton [Fri, 15 Nov 2002 21:55:44 +0000 (21:55 +0000)]
Fix date stamp on ChangeLog entry.

21 years ago2002-11-12 David Carlton <carlton@math.stanford.edu>
David Carlton [Fri, 15 Nov 2002 21:55:16 +0000 (21:55 +0000)]
2002-11-12  David Carlton  <carlton@math.stanford.edu>

* linespec.c (locate_first_half): New function.
(decode_line_1): Move code into locate_first_half.

21 years ago * complaints.h: Fix spelling errors.
Andrew Cagney [Fri, 15 Nov 2002 21:08:11 +0000 (21:08 +0000)]
* complaints.h: Fix spelling errors.

21 years ago2002-11-15 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 15 Nov 2002 20:55:45 +0000 (20:55 +0000)]
2002-11-15  Andrew Cagney  <ac131313@redhat.com>

* complaints.h: Add comment explaining how to eliminate a
deprecated_complain call.

21 years ago2002-11-15 David Carlton <carlton@math.stanford.edu>
David Carlton [Fri, 15 Nov 2002 19:14:47 +0000 (19:14 +0000)]
2002-11-15  David Carlton  <carlton@math.stanford.edu>

* printcmd.c: Remove #include "disasm.h".

21 years ago2002-11-14 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 15 Nov 2002 15:50:21 +0000 (15:50 +0000)]
2002-11-14  Andrew Cagney  <ac131313@redhat.com>

* frame.h: Move the most relevant interface functions to the start
of the file.

21 years agoFix h8300 relaxation.
Nick Clifton [Fri, 15 Nov 2002 11:18:47 +0000 (11:18 +0000)]
Fix h8300 relaxation.

21 years ago2002-11-15 Klee Dienes <kdienes@apple.com>
Klee Dienes [Fri, 15 Nov 2002 08:38:38 +0000 (08:38 +0000)]
2002-11-15  Klee Dienes  <kdienes@apple.com>

        * pef.c (bfd_pef_convert_architecture): Move declaration
        ARCH_POWERPC and ARCH_M68K to the start of the function.

21 years agofile carlton_runnamespace was initially added on branch carlton_dictionary-branch.
David Carlton [Fri, 15 Nov 2002 01:10:43 +0000 (01:10 +0000)]
file carlton_runnamespace was initially added on branch carlton_dictionary-branch.

21 years ago*** empty log message ***
gdbadmin [Fri, 15 Nov 2002 00:01:02 +0000 (00:01 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Thu, 14 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago* Makefile.tpl: syntactic cleanup
DJ Delorie [Thu, 14 Nov 2002 22:42:36 +0000 (22:42 +0000)]
* Makefile.tpl: syntactic cleanup

21 years ago2002-11-14 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Thu, 14 Nov 2002 20:37:29 +0000 (20:37 +0000)]
2002-11-14  Andrew Cagney  <ac131313@redhat.com>

* regcache.h (deprecated_registers): Rename registers.
* a68v-nat.c, alpha-nat.c, arch-utils.c, core-sol2.c: Update.
* hp300ux-nat.c, hppab-nat.c, hppah-nat.c: Update.
* hppam3-nat.c, hpux-thread.c, i386gnu-nat.c: Update.
* ia64-aix-nat.c, ia64-linux-nat.c, ia64-tdep.c: Update.
* irix4-nat.c, irix5-nat.c, lynx-nat.c, m68k-tdep.c: Update.
* m68knbsd-nat.c, mips-linux-tdep.c, mipsm3-nat.c: Update.
* mipsv4-nat.c, ns32knbsd-nat.c, ppc-bdm.c: Update.
* ppc-sysv-tdep.c, ptx4-nat.c, regcache.c, remote-es.c: Update.
* remote-sds.c, remote-vx68.c, remote-vxmips.c: Update.
* remote-vxsparc.c, rs6000-tdep.c, sol-thread.c: Update.
* sparc-nat.c, sparc-tdep.c, sun3-nat.c, symm-nat.c: Update.
* v850ice.c: Update.

21 years agoAdd --enable-auto-import extension.
Nick Clifton [Thu, 14 Nov 2002 18:03:17 +0000 (18:03 +0000)]
Add --enable-auto-import extension.

21 years ago * coff-tic4x.c (tic4x_howto_table): Formatting fixup
Svein Seldal [Thu, 14 Nov 2002 11:02:30 +0000 (11:02 +0000)]
* coff-tic4x.c (tic4x_howto_table): Formatting fixup

21 years agoIndex: common/ChangeLog
Andrew Cagney [Thu, 14 Nov 2002 02:54:14 +0000 (02:54 +0000)]
Index: common/ChangeLog
2002-11-13  Andrew Cagney  <cagney@redhat.com>

* run.c (main): Remove SIM_HAVE_ENVIRONMENT from #endif.

Index: d10v/ChangeLog
2002-11-13  Andrew Cagney  <cagney@redhat.com>

* simops.c: Include <string.h>.

21 years ago * elf64-mmix.c (_bfd_mmix_finalize_linker_allocated_gregs):
Hans-Peter Nilsson [Thu, 14 Nov 2002 01:32:28 +0000 (01:32 +0000)]
* elf64-mmix.c (_bfd_mmix_finalize_linker_allocated_gregs):
For bpo_gregs_section->contents, allocate _raw_size, not
_cooked_size.

21 years agoWed Nov 13 19:51:05 2002 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 14 Nov 2002 00:50:04 +0000 (00:50 +0000)]
Wed Nov 13 19:51:05 2002  Andrew Cagney  <cagney@redhat.com>

* utils.c (gdb_realpath): Add comment mentioning realpath with a
  NULL buffer.

21 years ago2002-11-13 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 14 Nov 2002 00:25:05 +0000 (00:25 +0000)]
2002-11-13  Andrew Cagney  <cagney@redhat.com>

* regcache.h (deprecated_read_register_bytes): Rename
read_register_bytes.
(deprecated_write_register_bytes): Rename write_register_bytes.
* alpha-tdep.c, arm-tdep.c, cris-tdep.c, d10v-tdep.c: Update.
* dwarf2cfi.c, frv-tdep.c, hppa-tdep.c, ia64-tdep.c: Update.
* m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Update.
* ns32k-tdep.c, regcache.c, remote-sds.c, remote-vx.c: Update.
* remote.c, rs6000-tdep.c, s390-tdep.c, sh-tdep.c: Update.
* sparc-tdep.c, v850-tdep.c, vax-tdep.c, x86-64-tdep.c: Update.
* xstormy16-tdep.c, z8k-tdep.c, config/nm-gnu.h: Update.
* config/nm-m3.h, config/h8500/tm-h8500.h: Update.
* config/i386/nm-ptx4.h, config/i386/nm-symmetry.h: Update.
* config/m32r/tm-m32r.h, config/m68k/nm-sun3.h: Update.
* config/m68k/tm-delta68.h, config/m68k/tm-linux.h: Update.
* config/mn10200/tm-mn10200.h, config/pa/tm-hppa64.h: Update.
* config/sparc/nm-nbsd.h, config/sparc/nm-sun4os4.h: Update.
* config/sparc/nm-sun4sol2.h, config/sparc/tm-sparclet.h: Update.

2002-11-13  Andrew Cagney  <ac131313@redhat.com>

* mi-main.c (mi_cmd_data_write_register_values): Use
deprecated_write_register_bytes instead of write_register_bytes.

21 years ago*** empty log message ***
gdbadmin [Thu, 14 Nov 2002 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Wed, 13 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago2002-11-11 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Wed, 13 Nov 2002 20:17:10 +0000 (20:17 +0000)]
2002-11-11  Martin M. Hunt  <hunt@redhat.com>

* library/memwin.itb: Supply arg to _update_address.

21 years ago* findvar.c (read_var_value): Doc fix.
Jim Blandy [Wed, 13 Nov 2002 18:13:17 +0000 (18:13 +0000)]
* findvar.c (read_var_value): Doc fix.

21 years ago2002-11-13 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 13 Nov 2002 17:59:40 +0000 (17:59 +0000)]
2002-11-13  Andrew Cagney  <cagney@redhat.com>

* regcache.c (struct regcache): Replace passthough_p with
readonly_p.
(regcache_xmalloc): Initialize readonly_p.
(build_regcache): Initialize readonly_p.
(regcache_save): New function.
(regcache_restore): New function.
(regcache_cpy): Re-implement using regcache_save and
regcache_restore.
(regcache_raw_read): Update.
(regcache_cooked_read): When a read-only cache, checked for cached
pseudo register values.
(regcache_raw_write): Assert that the cache is not read-only.
Remove code handling a non-passthrough cache.
* regcache.h (regcache_save): Declare.
(regcache_restore): Declare.

21 years ago2002-11-13 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 13 Nov 2002 16:57:36 +0000 (16:57 +0000)]
2002-11-13  Andrew Cagney  <cagney@redhat.com>

* regcache.c (struct regcache_descr): Add fields
sizeof_cooked_registers and sizeof_cooked_register_valid_p.
(init_legacy_regcache_descr): Compute the size of a cooked
register cache and then assign that to sizeof_raw_registers.  Set
sizeof_raw_register_valid_p to sizeof_cooked_register_valid_p
(init_legacy_regcache_descr): Ditto.

21 years ago2002-11-13 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 13 Nov 2002 16:07:03 +0000 (16:07 +0000)]
2002-11-13  Andrew Cagney  <cagney@redhat.com>

* regcache.c (register_buffer): Move to near start of file, update
description.
(regcache_raw_read): Use.
(regcache_raw_write): Use.
(struct regcache): Rename raw_registers to registers and
raw_register_valid_p to register_valid_p.
(regcache_xmalloc): Update.
(regcache_xfree): Update.
(register_buffer): Update.
(regcache_cpy): Update.
(regcache_cpy_no_passthrough): Update.
(regcache_valid_p): Update.
(deprecated_grub_regcache_for_registers): Update.
(deprecated_grub_regcache_for_register_valid): Update.
(set_register_cached): Update.
(regcache_raw_write): Update.

21 years ago2002-11-13 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Wed, 13 Nov 2002 09:13:39 +0000 (09:13 +0000)]
2002-11-13  Pierre Muller  <muller@ics.u-strasbg.fr>

       * p-exp.y (name_not_typename): Use copy_name to
       set current_type variable for fields of THIS.

21 years ago * config.bfd: Add entries for powerpc-*-darwin and cousins.
Alan Modra [Wed, 13 Nov 2002 01:45:42 +0000 (01:45 +0000)]
* config.bfd: Add entries for powerpc-*-darwin and cousins.

21 years ago*** empty log message ***
gdbadmin [Wed, 13 Nov 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

21 years agoMissed commit in last change.
Alan Modra [Tue, 12 Nov 2002 23:25:42 +0000 (23:25 +0000)]
Missed commit in last change.

21 years agodaily update
Alan Modra [Tue, 12 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago2002-11-13 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 12 Nov 2002 22:49:45 +0000 (22:49 +0000)]
2002-11-13  H.J. Lu <hjl@gnu.org>

* elfcode.h (elf_object_p): Don't restore abfd->arch_info.

21 years ago * gnu-nat.c (init_gnu_ops): Remove NULL initializations.
Daniel Jacobowitz [Tue, 12 Nov 2002 21:43:55 +0000 (21:43 +0000)]
* gnu-nat.c (init_gnu_ops): Remove NULL initializations.
* monitor.c (init_base_monitor_ops): Likewise.
* ppc-bdm.c (init_bdm_ppc_ops): Likewise.
* remote-array.c (init_array_ops): Likewise.
* remote-e7000.c (init_e7000_ops): Likewise.
* remote-es.c (init_es1800_ops): Likewise.
(init_es1800_child_ops): Likewise.
* remote-rdp.c (init_remote_rdp_ops): Likewise.
* remote-sim.c (init_gdbsim_ops): Likewise.
* remote-st.c (init_st2000_ops): Likewise.
* sol-thread.c (init_sol_core_ops): Likewise.
(init_sol_thread_ops): Likewise.
* v850ice.c (init_850ice_ops): Likewise.
* win32-nat.c (init_child_ops): Likewise.
* wince.c (init_child_ops): Likewise.

21 years ago2002-11-12 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 12 Nov 2002 20:26:05 +0000 (20:26 +0000)]
2002-11-12  Andrew Cagney  <ac131313@redhat.com>

* utils.c (gdb_realpath): Make rp a constant pointer.

21 years agoFrom: 2002-11-11 David Carlton <carlton@math.stanford.edu>
Andrew Cagney [Tue, 12 Nov 2002 20:24:04 +0000 (20:24 +0000)]
From: 2002-11-11  David Carlton  <carlton@math.stanford.edu>

* generic/gdbtk-stack.c (get_frame_name): Replace call to
frame_in_dummy with one to deprecated_frame_in_dummy.
* generic/gdbtk-cmds.c (gdb_loc): Ditto.

21 years ago2002-11-12 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 12 Nov 2002 17:19:06 +0000 (17:19 +0000)]
2002-11-12  Andrew Cagney  <ac131313@redhat.com>

* utils.c (gdb_realpath): Rewrite.  Try, in order: realpath() with
a constant buffer; cannonicalize_file_name(); realpath() with a
pathconf() defined buffer, xstrdup().

21 years ago2002-11-12 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 12 Nov 2002 16:30:08 +0000 (16:30 +0000)]
2002-11-12  Andrew Cagney  <ac131313@redhat.com>

* config/djgpp/fnchange.lst: Fix typo, hang1.c to hang1.C; hang2.c
to hang2.C; hang3.c to hang3.C.

21 years ago * bfd.c (struct bfd_preserve): New.
Alan Modra [Tue, 12 Nov 2002 15:44:24 +0000 (15:44 +0000)]
* bfd.c (struct bfd_preserve): New.
(bfd_preserve_save): New function.
(bfd_preserve_restore): Ditto.
(bfd_preserve_finish): Ditto.
* bfd-in2.h: Regenerate.
* mach-o.c: Formatting.
(bfd_mach_o_scan_read_symtab_symbol): Make "value" unsigned.
(bfd_mach_o_object_p): Use bfd_preserve_save/restore/finish.
(bfd_mach_o_core_p): Ditto.
(bfd_mach_o_scan): Pass in mdata.
* mach-o.h (bfd_mach_o_scan): Update prototype.
* pef.c: Formatting.
(bfd_pef_object_p): Use bfd_preserve_save/restore/finish.
(bfd_pef_xlib_object_p): Ditto.
(bfd_pef_scan): Pass in mdata.  Move version check to bfd_pef_object_p.
* pef.h (bfd_pef_scan): Update prototype.
* xsym.c: Formatting, K&R fixes.
(bfd_sym_object_p): Use bfd_preserve_save/restore/finish.
(bfd_sym_scan): New function split out from bfd_sym_object_p.
* xsym.h (bfd_sym_scan): Declare.
* elfcode.h (elf_object_p): Use bfd_preserve_save/restore/finish.
(elf_core_file_p): Likewise.
* targets.c (_bfd_target_vector): Revert 2002-11-08 change.

21 years agoAdd new/updated Danish translations
Nick Clifton [Tue, 12 Nov 2002 10:08:23 +0000 (10:08 +0000)]
Add new/updated Danish translations

21 years ago * elflink.h (elf_link_add_object_symbols): Optimize stabs for
Alan Modra [Tue, 12 Nov 2002 07:55:43 +0000 (07:55 +0000)]
* elflink.h (elf_link_add_object_symbols): Optimize stabs for
relocatable link too.
(elf_link_input_bfd): When emitting relocs, adjust offsets for
eh_frame and stab sections.  Zap deleted relocs.
(elf_reloc_symbol_deleted_p): Return true for zero r_symndx.
(elf_bfd_discard_info): Run for relocatable link too.
* elf64-ppc.c (ppc64_elf_edit_opd): Rename from edit_opd.  Make global.
Handle ld -r case.
(ppc64_elf_size_dynamic_sections): Don't call edit_opd from here.
* elf64-ppc.h (ppc64_elf_edit_opd): Declare.

21 years ago * elf-bfd.h (struct cie_header): Move from elf_eh-frame.c.
Alan Modra [Tue, 12 Nov 2002 07:35:26 +0000 (07:35 +0000)]
* elf-bfd.h (struct cie_header): Move from elf_eh-frame.c.
(struct cie, struct eh_cie_fde, struct eh_frame_sec_info): Likewise.
(struct eh_frame_array_ent, struct eh_frame_hdr_info): Likewise.
(enum elf_link_info_type): Remove ELF_INFO_TYPE_EH_FRAME_HDR.
(struct eh_frame_hdr_info): Add "hdr_sec", remove "split".
(struct elf_link_hash_table): Add eh_info.
(struct elf_obj_tdata): Change eh_frame_hdr to an asection *.
(_bfd_elf_discard_section_eh_frame): Update prototype.
(_bfd_elf_discard_section_eh_frame_hdr): Likewise.
(_bfd_elf_write_section_eh_frame): Likewise.
(_bfd_elf_write_section_eh_frame_hdr): Likewise.
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Remove "ehdrsec"
param.  Get "hdr_info" from link hash table.
(_bfd_elf_discard_section_eh_frame_hdr): Remove "sec" param.  Get
header section from link hash table.  Save header section to elf_tdata.
(_bfd_elf_maybe_strip_eh_frame_hdr): Remove local "sec".  Use
header section from link hash table.  Don't alloc hdr_info.  Clear
hdr_sec instead of setting "strip".
(_bfd_elf_eh_frame_section_offset): Formatting.
(_bfd_elf_write_section_eh_frame): Remove "ehdrsec", add "info" param.
Get header section from link hash table.
(_bfd_elf_write_section_eh_frame_hdr): Remove "sec", add "info" param.
Get header section from link hash table.
* elf.c (map_sections_to_segments): Use cached eh_frame_hdr.
(get_program_header_size): Likewise.
(_bfd_elf_section_offset): Formatting.
* elflink.h (elf_link_create_dynamic_sections): Stash eh frame header
section pointer in link hash table.
(elf_bfd_final_link): Adjust _bfd_elf_write_section_eh_frame_hdr
and _bfd_elf_write_section_eh_frame calls.  Update comment about
eh_frame entries.
(elf_bfd_discard_info): Adjust _bfd_elf_discard_section_eh_frame and
_bfd_elf_discard_section_eh_frame_hdr calls.  Remove "ehdr".

* po/SRC-POTFILES.in: Regenerate.

21 years ago * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't zero
Alan Modra [Tue, 12 Nov 2002 06:21:05 +0000 (06:21 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't zero
relocs for discarded FDEs.  Remove dead code.
(_bfd_elf_write_section_eh_frame_hdr): Remove dead code.
* elflink.h (elf_bfd_discard_info): Don't save edited relocs.
Tidy conditions under which stabs are edited.  Formatting.
* elf64-sparc.c (sparc64_elf_relocate_section): Ignore overflows
from discarded relocs.
* elfxx-ia64.c (elfNN_ia64_install_dyn_reloc): Add reloc output
section adjustments after testing magic values.

21 years ago * ppc-dis.c (print_insn_powerpc): Correct condition register display.
Alan Modra [Tue, 12 Nov 2002 04:03:31 +0000 (04:03 +0000)]
* ppc-dis.c (print_insn_powerpc): Correct condition register display.

21 years ago2002-11-11 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 12 Nov 2002 02:39:41 +0000 (02:39 +0000)]
2002-11-11  Elena Zannoni  <ezannoni@redhat.com>

        * findvar.c (read_var_value): Reenable TLS code.

2002-11-11  Elena Zannoni  <ezannoni@redhat.com>
            Jim Blandy  <jimb@redhat.com>

* gdb_thread_db.h (enum): Add TD_NOTALLOC.
* target.c (update_current_target): Add
to_get_thread_local_address.
* target.h (to_get_thread_local_address): Export.
(target_get_thread_local_address): Define.
(target_get_thread_local_address_p): Define.
* thread-db.c: Include solib-svr4.h.
(td_thr_tls_get_addr_p): Define.
(thread_db_load): Get a pointer to td_thr_tls_get_addr.
(thread_db_get_thread_local_address): New function.
(init_thread_db_ops): Initialize to_get_thread_local_address.
* configure.in: Add test for TD_NOTALLOC in thread_db.h.
* configure: Regenerate.
* config.in: Regenerate.

21 years ago*** empty log message ***
gdbadmin [Tue, 12 Nov 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): Correct
Alan Modra [Mon, 11 Nov 2002 23:42:29 +0000 (23:42 +0000)]
* elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): Correct
references to large plt symbols.

21 years ago2002-11-11 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Mon, 11 Nov 2002 23:22:22 +0000 (23:22 +0000)]
2002-11-11  Martin M. Hunt  <hunt@redhat.com>

* library/srctextwin.itb (do_key): Add arg to
print call.

21 years ago2002-11-11 David Carlton <carlton@math.stanford.edu>
David Carlton [Mon, 11 Nov 2002 23:20:07 +0000 (23:20 +0000)]
2002-11-11  David Carlton  <carlton@math.stanford.edu>

* linespec.c (set_flags): New function.
(decode_line_1): Move code into set_flags.

21 years ago * mach-o.c (bfd_mach_o_scan_read_thread): Don't re-use 'i' when
Alan Modra [Mon, 11 Nov 2002 23:19:03 +0000 (23:19 +0000)]
* mach-o.c (bfd_mach_o_scan_read_thread): Don't re-use 'i' when
looking for an unused section name.

21 years agoUpdated
Martin Hunt [Mon, 11 Nov 2002 23:09:30 +0000 (23:09 +0000)]
Updated

21 years ago2002-11-11 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Mon, 11 Nov 2002 23:09:06 +0000 (23:09 +0000)]
2002-11-11  Martin M. Hunt  <hunt@redhat.com>

* library/data.ith: Deleted.
* library/data.itb: Deleted.

21 years agodaily update
Alan Modra [Mon, 11 Nov 2002 23:01:15 +0000 (23:01 +0000)]
daily update

21 years ago2002-11-11 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Mon, 11 Nov 2002 22:42:05 +0000 (22:42 +0000)]
2002-11-11  Martin M. Hunt  <hunt@redhat.com>

* library/toolbar.tcl: Deleted this obsolete file.
* library/tclIndex: Rebuilt.

21 years ago2002-11-11 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Mon, 11 Nov 2002 22:39:38 +0000 (22:39 +0000)]
2002-11-11  Martin M. Hunt  <hunt@redhat.com>

* library/srcbar.itcl (create_help_menu): For unix systems,
if compatibility is set to KDE or GNOME, put the help menu
in the right place. Otherwise put it on the far right, like
Motif does.

21 years agoUpdated
Martin Hunt [Mon, 11 Nov 2002 22:29:49 +0000 (22:29 +0000)]
Updated

21 years ago2002-11-11 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Mon, 11 Nov 2002 22:29:24 +0000 (22:29 +0000)]
2002-11-11  Martin M. Hunt  <hunt@redhat.com>

* library/helpviewer.tcl: New file. Finds
an appropriate help browser and displays the help files.

* library/vartree.itb: Fix open_help calls.

* library/helpviewer.ith: Deleted.
* library/helpviewer.itb: Deleted.

* library/prefs.tcl (pref_set_defaults): Remove
pref gdb/help/browser. Add pref gdb/help/browsername.
We couldn't simply rename because it would break older
versions of Insight that expect gdb/help/browser to be
a number.

21 years ago2002-11-11 David Carlton <carlton@math.stanford.edu>
David Carlton [Mon, 11 Nov 2002 21:18:55 +0000 (21:18 +0000)]
2002-11-11  David Carlton  <carlton@math.stanford.edu>

* linespec.c (decode_line_1): Move chunks of code to separate
functions.
(initialize_defaults): New function.
(decode_indirect): New function.

21 years ago2002-11-11 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 11 Nov 2002 17:09:50 +0000 (17:09 +0000)]
2002-11-11  Jeff Johnston  <jjohnstn@redhat.com>

        * gdbmi.texinfo (-var-assign): Add comments about interaction
        with -var-update and add an example.  Part of fix for gdb/702.

21 years ago2002-11-11 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Mon, 11 Nov 2002 16:23:58 +0000 (16:23 +0000)]
2002-11-11  Andrew Cagney  <ac131313@redhat.com>

* blockframe.c (sigtramp_saved_pc): Fix tipo. void_func_ptr
instead of void_code_ptr.
(sigtramp_saved_pc): Ditto.

21 years ago2002-11-11 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Mon, 11 Nov 2002 16:00:57 +0000 (16:00 +0000)]
2002-11-11  Andrew Cagney  <ac131313@redhat.com>

* x86-64-tdep.c (i386_fp_regnum_p): Copy i386-tdep.c's
i386_fp_regnum_p.

21 years ago gas tic4x target enhancements (long list - see gas/ChangeLog and
Svein Seldal [Mon, 11 Nov 2002 14:29:01 +0000 (14:29 +0000)]
gas tic4x target enhancements (long list - see gas/ChangeLog and
include/ChangeLog)

21 years ago Retire common MPW configury bits.
Stan Shebs [Mon, 11 Nov 2002 05:38:51 +0000 (05:38 +0000)]
    Retire common MPW configury bits.
        * mpw-mh-mpw: Remove.
        * mpw: Remove directory along with all of its files.

21 years ago * coff-h8300.c: Fix formatting.
Kazu Hirata [Mon, 11 Nov 2002 05:05:22 +0000 (05:05 +0000)]
* coff-h8300.c: Fix formatting.
* elf32-h8300.c: Likewise.
* reloc16.c: Likewise.

21 years ago * gdbtypes.h (struct main_type): Move artificial flag out of
Daniel Jacobowitz [Mon, 11 Nov 2002 00:55:34 +0000 (00:55 +0000)]
* gdbtypes.h (struct main_type): Move artificial flag out of
loc.  New member of ``struct field'' named static_kind.  Reduce
overloaded meaning of bitsize.
(FIELD_ARTIFICIAL, SET_FIELD_PHYSNAME, SET_FIELD_PHYSADDR)
(TYPE_FIELD_STATIC, TYPE_FIELD_STATIC_HAS_ADDR): Likewise.
(FIELD_STATIC_KIND, TYPE_FIELD_STATIC_KIND): New macros.

* ada-lang.c (fill_in_ada_prototype): Initialize static_kind for
new fields.
(template_to_fixed_record_type, template_to_static_fixed_type)
(to_record_with_fixed_variant_part): Likewise.
* coffread.c (coff_read_struct_type, coff_read_enum_type): Likewise.
* dwarf2read.c (dwarf2_add_field, read_enumeration): Likewise.
* dwarfread.c (struct_type, enum_type): Likewise.
* hpread.c (hpread_read_enum_type)
(hpread_read_function_type, hpread_read_doc_function_type)
(hpread_read_struct_type): Likewise.
* mdebugread.c (parse_symbol): Likewise.

21 years ago*** empty log message ***
gdbadmin [Mon, 11 Nov 2002 00:01:02 +0000 (00:01 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Sun, 10 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago2002-11-10 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 10 Nov 2002 15:36:26 +0000 (15:36 +0000)]
2002-11-10  Andrew Cagney  <ac131313@redhat.com>

* breakpoint.h (deprecated_frame_in_dummy): Rename frame_in_dummy.
* stack.c (print_frame_info_base): Update.
(print_frame_info_base, frame_info): Update.
* sparc-tdep.c (sparc_init_extra_frame_info): Update.
(sparc_frame_saved_pc): Update.
* ada-lang.c (find_printable_frame): Update.
* breakpoint.c (deprecated_frame_in_dummy): Update.

21 years ago*** empty log message ***
gdbadmin [Sun, 10 Nov 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Sat, 9 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago* i386-linux-nat.c (ORIG_EAX): Define to -1 if not already
Mark Kettenis [Sat, 9 Nov 2002 21:31:12 +0000 (21:31 +0000)]
* i386-linux-nat.c (ORIG_EAX): Define to -1 if not already
defined.
(regmap): Extend to cover all registers.
(PT_READ_U, PT_WRITE_U, PTRACE_XFER_TYPE,
OLD_CANNOT_FETCH_REGISTERS, OLD_CANNOT_STORE_REGISTERS): Remove
definitions.
(fetch_register, sore_register): Simplify.
(old_fetch_inferior_registers, old_store_inferior_registers):
Remove functions.
(cannot_fetch_register, cannot_store_register): Change
implementation to use regmap array to decide which registers
cannot be fetched/stored.  This removes $orig_eax from the
registers that cannot be fetched/stored.
(fetch_inferior_registers): Call fetch_register directly instead
of calling old_fetch_inferior_registers.
(store_inferior_registers): Call store_register directly instead
of calling old_store_inferior_registers.
(i386_linux_dr_get): Replace PT_READ_U with PTRACE_PEEKUSER.
(i386_linux_dr_set): Replace PT_WRITE_U with PTRACE_POKEUSER.
* config/i386/nm-linux.h (U_REGS_OFFSET): Remove definition.

21 years ago2002-11-09 Klee Dienes <kdienes@apple.com>
Klee Dienes [Sat, 9 Nov 2002 19:34:35 +0000 (19:34 +0000)]
2002-11-09  Klee Dienes  <kdienes@apple.com>

        * i387-tdep.c (i387_supply_register): When called with NULL as a
        buffer, mark the register as not provided (to mirror the behavior
        of supply_register).
        (i387_supply_fxsave): Ditto.
        (i387_supply_fsave): Ditto (inherits the behavior from
        i387_supply_register).

21 years ago2002-11-09 Klee Dienes <kdienes@apple.com>
Klee Dienes [Sat, 9 Nov 2002 19:28:22 +0000 (19:28 +0000)]
2002-11-09  Klee Dienes  <kdienes@apple.com>

        * blockframe.c (sigtramp_saved_pc): Use
        builtin_type_void_code_ptr, not builtin_type_void_data_ptr (we are
        extracting the PC).  Use TYPE_LENGTH (builtin_type_void_code_ptr)
        instead of (TARGET_PTR_BIT / TARGET_CHAR_BIT).

21 years ago2002-11-09 Klee Dienes <kdienes@apple.com>
Klee Dienes [Sat, 9 Nov 2002 19:15:23 +0000 (19:15 +0000)]
2002-11-09  Klee Dienes   <kdienes@apple.com>

        * chexp.exp: Mark as obsolete.
        * pr-5016.exp: Remove stray trailing newline.

21 years ago2002-11-09 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sat, 9 Nov 2002 18:14:10 +0000 (18:14 +0000)]
2002-11-09  Andrew Cagney  <ac131313@redhat.com>

* frame.c (get_prev_frame): Test prev_p to identify a previously
unwound frame.  Initialize prev_p.
* frame.h (struct frame_info): Add field prev_p.  Expand prev/next
comment.

21 years ago2002-11-09 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sat, 9 Nov 2002 17:45:17 +0000 (17:45 +0000)]
2002-11-09  Andrew Cagney  <ac131313@redhat.com>

* frame.c (get_prev_frame): Cleanups.  Eliminate redundant tests
for a NULL NEXT_FRAME.  Simplify fromleaf initialization.  Add
more comments.  Zap dead code.

21 years ago* infcmd.c (print_vector_info, print_float_info): Move code that
Mark Kettenis [Sat, 9 Nov 2002 12:44:23 +0000 (12:44 +0000)]
* infcmd.c (print_vector_info, print_float_info): Move code that
checks whether the target has any registers and whether there is a
selected frame up, such that it is also used if a target provides
multi-arch definitions of these functions.

21 years ago2002-11-08 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sat, 9 Nov 2002 03:14:11 +0000 (03:14 +0000)]
2002-11-08  Andrew Cagney  <ac131313@redhat.com>

* Makefile.in (DESTDIR): Define.
(install-only, install-gdbtk, uninstall-gdbtk): Add $(DESTDIR)
prefix.

21 years ago2002-11-08 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sat, 9 Nov 2002 02:53:25 +0000 (02:53 +0000)]
2002-11-08  Andrew Cagney  <ac131313@redhat.com>

* config/djgpp/fnchange.lst: 8.3 proof i386obsd-nat.c and
i386obsd-tdep.c.  Rename paths containing "gdb.c++" to "gdb.cxx".

21 years ago * elf32-arm.h (elf32_arm_size_dynamic_sections): Don't strip output
Alan Modra [Sat, 9 Nov 2002 00:52:27 +0000 (00:52 +0000)]
* elf32-arm.h (elf32_arm_size_dynamic_sections): Don't strip output
section when dynamic section unused;  _bfd_strip_section_from_output
instead.

21 years ago*** empty log message ***
gdbadmin [Sat, 9 Nov 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2002-11-08 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 8 Nov 2002 23:59:58 +0000 (23:59 +0000)]
2002-11-08  Andrew Cagney  <ac131313@redhat.com>

* i386-linux-tdep.c: Include "reggroups.h".
(i386_linux_register_reggroup_p): New function.
(i386_linux_init_abi): Set register_reggroup_p to
i386_linux_register_reggroup_p.
* i386-tdep.h (i386_register_reggroup_p): Declare.
* i386-tdep.c: Include "reggroups.h".
(i386_init_reggroups): New function.
(i386_add_reggroups): New function.
(i386_register_reggroup_p): New function.
(i386_sse_reggroup, i386_mmx_reggroup): New variables.
(_initialize_i386_tdep): Call i386_init_reggroups.
(i386_gdbarch_init): Set register_reggroup_p and add in the i386
specific reggroups.

21 years ago* infptrace.c (child_xfer_memory): Make use of the new PT_IO
Mark Kettenis [Fri, 8 Nov 2002 23:48:38 +0000 (23:48 +0000)]
* infptrace.c (child_xfer_memory): Make use of the new PT_IO
request that's available in *BSD.

21 years ago* i386-tdep.h (IS_FPU_CTRL_REGNUM): Remove.
Mark Kettenis [Fri, 8 Nov 2002 23:35:14 +0000 (23:35 +0000)]
* i386-tdep.h (IS_FPU_CTRL_REGNUM): Remove.

21 years ago* i387-tdep.c (i387_fill_fxsave): Use FOOFF_REGNUM instead of
Mark Kettenis [Fri, 8 Nov 2002 23:31:09 +0000 (23:31 +0000)]
* i387-tdep.c (i387_fill_fxsave): Use FOOFF_REGNUM instead of
FDOFF_REGNUM.

21 years ago2002-11-08 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 8 Nov 2002 23:12:52 +0000 (23:12 +0000)]
2002-11-08  Andrew Cagney  <ac131313@redhat.com>

* frame.c (set_unwind_by_pc): Use dummy_frame_register_unwind.
* dummy-frame.c (find_dummy_frame): Rename
generic_find_dummy_frame, make static.  Return the dummy frame
instead of the regcache.
(generic_find_dummy_frame): Re-implement using find_dummy_frame,
(cached_find_dummy_frame): New function.  Use find_dummy_frame.
(dummy_frame_register_unwind): Rename
generic_call_dummy_register_unwind.  Use cached_find_dummy_frame.
* dummy-frame.h (dummy_frame_register_unwind): Rename
generic_call_dummy_register_unwind.

21 years agodaily update
Alan Modra [Fri, 8 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago* config/i386/tm-i386v42mp.h: Remove file. Move its contents,
Mark Kettenis [Fri, 8 Nov 2002 21:00:47 +0000 (21:00 +0000)]
* config/i386/tm-i386v42mp.h: Remove file.  Move its contents,
except the inclusion of "i386/tm-i386.h", to...
* config/i386/nm-i386v42mp.h: ...here.
* config/i386/i386v42mp.mt (TM_FILE): Set to tm-i386.h.

21 years ago2002-11-08 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Fri, 8 Nov 2002 20:56:44 +0000 (20:56 +0000)]
2002-11-08  Martin M. Hunt  <hunt@redhat.com>

* library/prefs.tcl (pref_save): Fix GDBtkInitVersion.
(pref_save): Check that value is not null before writing.

21 years ago2002-11-08 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 8 Nov 2002 20:48:55 +0000 (20:48 +0000)]
2002-11-08  Andrew Cagney  <ac131313@redhat.com>

* Makefile.in (frame.o): Update dependencies.
* blockframe.c (current_frame, frame_obstack_alloc)
(frame_saved_regs_zalloc, get_current_frame)
(set_current_frame, create_new_frame)
(set_unwind_by_pc, get_next_frame)
(flush_cached_frames, reinit_frame_cache)
(frame_saved_regs_register_unwind)
(deprecated_generic_get_saved_register)
(get_prev_frame, get_frame_pc, get_frame_saved_regs)
(_initialize_blockframe): Move frame code from
here...
* frame.c: ...to here.  Include "gdb_obstack.h", "gdbcore.h",
"annotate.h" and "dummy-frame.h".
(_initialize_frame): New function.