binutils-gdb.git
22 years ago * tuiRegs.c (_tuiRegisterFormat): Use gdbarch_print_registers_info.
Stephane Carrez [Sat, 24 Aug 2002 09:43:30 +0000 (09:43 +0000)]
* tuiRegs.c (_tuiRegisterFormat): Use gdbarch_print_registers_info.

22 years ago * elf32-sh.c (sh_elf_copy_indirect_symbol): New.
Alan Modra [Sat, 24 Aug 2002 01:44:56 +0000 (01:44 +0000)]
* elf32-sh.c (sh_elf_copy_indirect_symbol): New.
(create_got_section, allocate_dynrelocs, readonly_dynrelocs):
Likewise.
(struct elf_sh_pcrel_relocs_copied): Removed.
(struct elf_sh_dyn_relocs): New.
(struct elf_sh_link_hash_entry): Replace pcrel_relocs_copied
field with dyn_relocs.
(struct elf_sh_link_hash_table): Add short-cuts to get dynamic
sections and sym_sec.
(sh_elf_link_hash_newfunc): Clear dyn_relocs.
(sh_elf_link_hash_table_create): Clear shorts-cuts and sym_sec.
(sh_elf_create_dynamic_sections): Use create_got_section instead
of _bfd_elf_create_got_section.
(sh_elf_check_relocs): Likewise.
(sh_elf_create_dynamic_sections): Use short-cuts to the dynamic
sections.
(sh_elf_adjust_dynamic_symbol, sh_elf_size_dynamic_sections,
sh_elf_relocate_section, sh_elf_check_relocs,
sh_elf_finish_dynamic_symbol, sh_elf_finish_dynamic_sections):
Likewise.
(sh_elf_adjust_dynamic_symbol): Handle nocopyreloc. Keep the
dynamic relocations and avoiding the copy relocation when we
didn't find any dynamic relocations in the section which has
contents or is read-only.
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): New.
(sh_elf_size_dynamic_sections): Don't reset the size of
.rela.got section even if dynamic_sections_created flag is off.
Don't use sh_elf_discard_copies. Scan all input bfd and use
allocate_dynrelocs. Call readonly_dynrelocs to determine
whether we need DT_TEXTREL.
(sh_elf_adjust_dynamic_symbol): Use plt.refcount to determine
whether the symbol was never referred to.
(sh_elf_relocate_section): Use WILL_CALL_FINISH_DYNAMIC_SYMBOL.
(sh_elf_gc_sweep_hook): Fill with the real sweep function.
(sh_elf_check_relocs): Call create_got_section if the short-cut
to .got is null. Increment reference counters only instead of
allocating space on dynamic sections here. Don't conditionalize
uninitialized got.offset value when marking the symbol as a
global offset table entry. Keep relocations for symbols satisfied
by a dynamic library to avoid copy relocations for the symbol.
Set dynobj field of an elf hash table if needed.
(sh_elf_finish_dynamic_sections): Handle null section pointer
correctly.
(elf_backend_copy_indirect_symbol): Defined.
(elf_backend_can_refcount): Defined.

22 years ago* valprint.c (print_longest) [CC_HAS_LONG_LONG &&
Mark Kettenis [Sat, 24 Aug 2002 00:40:59 +0000 (00:40 +0000)]
* valprint.c (print_longest) [CC_HAS_LONG_LONG &&
PRINTF_HAS_LONG_LONG]: Cast val_long to (long long) or (unsigned
long long) to prevent compiler warning on 64-bit systems.

22 years agoIndex: ChangeLog
Andrew Cagney [Sat, 24 Aug 2002 00:21:37 +0000 (00:21 +0000)]
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.3144
diff -u -r1.3144 ChangeLog
--- ChangeLog 23 Aug 2002 23:05:38 -0000 1.3144
+++ ChangeLog 23 Aug 2002 23:14:45 -0000
@@ -1,3 +1,53 @@
2002-08-23  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (STORE_RETURN_VALUE): Add regcache parameter.
(DEPRECATED_STORE_RETURN_VALUE): New method.
(EXTRACT_RETURN_VALUE): Make buffer parameter a void pointer.
* gdbarch.h, gdbarch.c: Re-generate.

* values.c (set_return_value): Pass current_regcache to
STORE_RETURN_VALUE.
* arch-utils.h (legacy_store_return_value): Declare.
* arch-utils.c (legacy_store_return_value): New function.
(legacy_extract_return_value): Update parameters.

* config/pa/tm-hppa.h (DEPRECATED_STORE_RETURN_VALUE): Rename
STORE_RETURN_VALUE.
* config/pa/tm-hppa64.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
* config/sparc/tm-sparc.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
* config/z8k/tm-z8k.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
* config/sparc/tm-sparclet.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
* config/mn10200/tm-mn10200.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
* config/m68k/tm-linux.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
* config/m68k/tm-delta68.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
* config/m32r/tm-m32r.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
* config/h8500/tm-h8500.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.
* config/h8300/tm-h8300.h (DEPRECATED_STORE_RETURN_VALUE): Ditto.

* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* i386-tdep.c (i386_extract_return_value): Update.
* arch-utils.c (legacy_extract_return_value): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* d10v-tdep.c (d10v_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_gdbarch_init): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* avr-tdep.c (avr_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
* vax-tdep.c (vax_gdbarch_init): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* i386-tdep.c (i386_gdbarch_init): Update.

Index: doc/ChangeLog
2002-08-21  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Update
STORE_RETURN_VALUE, mention regcache.

22 years agodummy commit, get CVS off the branch.
Andrew Cagney [Sat, 24 Aug 2002 00:11:12 +0000 (00:11 +0000)]
dummy commit, get CVS off the branch.

22 years agoDummy commit. Get CVS off the branch.
Andrew Cagney [Sat, 24 Aug 2002 00:09:22 +0000 (00:09 +0000)]
Dummy commit.  Get CVS off the branch.

22 years ago*** empty log message ***
gdbadmin [Sat, 24 Aug 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sat, 24 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago2002-08-23 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 23 Aug 2002 23:15:52 +0000 (23:15 +0000)]
2002-08-23  Andrew Cagney  <ac131313@redhat.com>

* config/djgpp/fnchange.lst: Add entries for bfd/elf32-ppcqnx.c,
bfd/elf32-ppc.c, bfd/elf32-sh.c and bfd/elf32-shqnx.c.

22 years ago* PROBLEMS: Refer to GDB 5.3 instead of 5.2. Mention FreeBSD
Mark Kettenis [Fri, 23 Aug 2002 23:05:39 +0000 (23:05 +0000)]
* PROBLEMS: Refer to GDB 5.3 instead of 5.2.  Mention FreeBSD
problems.

22 years ago2002-08-23 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 23 Aug 2002 22:24:57 +0000 (22:24 +0000)]
2002-08-23  Andrew Cagney  <ac131313@redhat.com>

* texinfo/texinfo.tex: Import version 2002-06-04.06.

22 years agoThis commit was generated by cvs2svn to track changes on a CVS vendor
Elena Zannoni [Fri, 23 Aug 2002 22:02:32 +0000 (22:02 +0000)]
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.

22 years agoimport of readline-4.3
Elena Zannoni [Fri, 23 Aug 2002 22:02:32 +0000 (22:02 +0000)]
import of readline-4.3

22 years ago * infrun.c (handle_inferior_event): Move a comment outside of a
Joel Brobecker [Fri, 23 Aug 2002 21:55:36 +0000 (21:55 +0000)]
    * infrun.c (handle_inferior_event): Move a comment outside of a
        function call, in order to avoid indent reformatting this part
        of the code in an unreadable way.

22 years agoImport config.guess and config.sub.
Andrew Cagney [Fri, 23 Aug 2002 21:22:40 +0000 (21:22 +0000)]
Import config.guess and config.sub.

22 years ago * infrun.c (normal_stop, proceed): Remove call to print_sys_errmsg
Grace Sainsbury [Fri, 23 Aug 2002 20:49:38 +0000 (20:49 +0000)]
* infrun.c (normal_stop, proceed): Remove call to print_sys_errmsg
when breakpoints fail. Move general breakpoint error messages to
insert_breakpoints.
* breakpoint.c (insert_breakpoints): Change warnings when
breakpoints are nto inserted to specify the type. Remove call to
memory_error when hardware breakpoints can't be inserted. Remove
multiple calls to warning so all messages are sent to the user at
once.
(delete_breakpoints): Make insert error messsages more explicit.

22 years ago * gdb.threads/print-threads.c: New file.
Daniel Jacobowitz [Fri, 23 Aug 2002 20:32:02 +0000 (20:32 +0000)]
    * gdb.threads/print-threads.c: New file.
        * gdb.threads/print-threads.exp: New file.
        * gdb.threads/schedlock.c: New file.
        * gdb.threads/schedlock.exp: New file.

22 years ago * ChangeLog: Move gdbserver entries after GDB 5.2 to
Daniel Jacobowitz [Fri, 23 Aug 2002 19:55:50 +0000 (19:55 +0000)]
    * ChangeLog: Move gdbserver entries after GDB 5.2 to
        gdbserver/ChangeLog.

22 years ago* i386-tdep.c: Include "objfiles.h".
Mark Kettenis [Fri, 23 Aug 2002 19:26:15 +0000 (19:26 +0000)]
* i386-tdep.c: Include "objfiles.h".
(i386_svr4_init_abi): Set in_solib_call_trampoline and
skip_trampoline_code.
* config/i386/tm-i386v4.h: Don't include "config/tm-sysv4.h".
(CPLUS_MARKER): Define to '.'.

22 years ago* linux-proc.c (struct linux_corefile_thread_data): Add num_notes
Mark Kettenis [Fri, 23 Aug 2002 19:06:05 +0000 (19:06 +0000)]
* linux-proc.c (struct linux_corefile_thread_data): Add num_notes
member.
(linux_corefile_thread_callback): Increase args->num_notes.
(linux_make_note_section): Initialize thread_args.num_notes, and
use it to determine whether notes for any threads were created.

22 years ago * MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.
Dave Anglin [Fri, 23 Aug 2002 16:07:02 +0000 (16:07 +0000)]
* MAINTAINERS: Add Dave Anglin as HPPA co-maintainer.

22 years ago * proc-api.c (rw_table): Do not include a row for PCDSTOP if the
Joel Brobecker [Fri, 23 Aug 2002 15:06:53 +0000 (15:06 +0000)]
    * proc-api.c (rw_table): Do not include a row for PCDSTOP if the
        corresponding macro is not defined. Likewise for PCNICE, PCSHOLD
        and PCUNKILL.
        (write_with_trace): Conditionalize out the switch branch handling
        PCSHOLD if the corresponding macro is not defined. Likewise for
        PRSABORT and PRSTOP.
        This change will be needed by the Interix port.

22 years agoUndo previous delta. Add comment explaining why.
Nick Clifton [Fri, 23 Aug 2002 09:42:21 +0000 (09:42 +0000)]
Undo previous delta.  Add comment explaining why.

22 years ago * elf32-sh.c (elf_sh_plt0_entry_be, elf_sh_plt0_entry_le): Copy
Alan Modra [Fri, 23 Aug 2002 08:26:13 +0000 (08:26 +0000)]
* elf32-sh.c (elf_sh_plt0_entry_be, elf_sh_plt0_entry_le): Copy
contents of .got.plt[2] to tr0, not address of .got.plt.
(sh_elf_finish_dynamic_symbol): Do not apply GOT_BIAS when
patching absolute plt entry. For shmedia plt entry, set bottom bit
of branch to plt0 as this is a branch to an shmedia instruction.
* elf64-sh64.c (elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le):
Copy contents of .got.plt[2] to tr0, not address of .got.plt.
(elf_sh64_plt_entry_be, elf_sh64_plt_entry_le): Use ptrel to
branch to plt0.
(sh64_elf64_finish_dynamic_symbol): Do not apply GOT_BIAS when
patching absolute plt entry. For shmedia plt entry, branch to
plt0 is now ptrel, so use relative offset.  Set bottom bit of
branch target as it is a branch to an shmedia instruction.

22 years ago * ld-sh/sh64/rd-sh64.exp: New framework file.
Alan Modra [Fri, 23 Aug 2002 08:14:06 +0000 (08:14 +0000)]
* ld-sh/sh64/rd-sh64.exp: New framework file.
* ld-sh/sh64/init-cmpct.d, ld-sh/sh64/init-media.d,
ld-sh/sh64/init64.d, ld-sh/sh64/init.s: New tests for
correct setting of ISA bit for init and fini entry-points.

22 years ago * elf32-sh.c (sh_elf_finish_dynamic_sections): Set LSB of DT_INIT
Alan Modra [Fri, 23 Aug 2002 08:13:12 +0000 (08:13 +0000)]
* elf32-sh.c (sh_elf_finish_dynamic_sections): Set LSB of DT_INIT
value if .init is an SHmedia function.  Similarly for DT_FINI.
* elf64-sh64.c (sh64_elf64_finish_dynamic_sections): Likewise.

22 years agoAdd --with-lib-patch configure switch.
Nick Clifton [Fri, 23 Aug 2002 08:03:32 +0000 (08:03 +0000)]
Add --with-lib-patch configure switch.

22 years agooops - omitted from previous delta
Nick Clifton [Fri, 23 Aug 2002 07:34:44 +0000 (07:34 +0000)]
oops - omitted from previous delta

22 years ago2002-08-22 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Fri, 23 Aug 2002 06:26:05 +0000 (06:26 +0000)]
2002-08-22  Chris Demetriou  <cgd@broadcom.com>

        * compare_igen_models: New script.

22 years ago * bfd/elf32-sh.c (sh_elf_size_dynamic_sections): Zero initialize
Alan Modra [Fri, 23 Aug 2002 04:23:37 +0000 (04:23 +0000)]
* bfd/elf32-sh.c (sh_elf_size_dynamic_sections): Zero initialize
dynamic section.
* bfd/elf64-sh64.c (sh64_elf64_size_dynamic_sections): Likewise.

22 years ago2002-08-22 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 23 Aug 2002 01:52:22 +0000 (01:52 +0000)]
2002-08-22  Elena Zannoni  <ezannoni@redhat.com>

        * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
        not altivec.c.

22 years agodaily update
Alan Modra [Fri, 23 Aug 2002 00:00:05 +0000 (00:00 +0000)]
daily update

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

22 years ago2002-08-22 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 22 Aug 2002 22:26:41 +0000 (22:26 +0000)]
2002-08-22  Elena Zannoni  <ezannoni@redhat.com>

* rs6000-tdep.c (struct rs6000_framedata): Add saved_ev and
ev_offset fields.
(skip_prologue): Add support for BookE/e500 instructions.
(e500_extract_return_value): New function.
(frame_get_saved_regs): Add support for saving ev registers and
pseudo gpr's.
(e500_store_return_value): New function.
(rs6000_gdbarch_init): Move up default intializations of
deprecated_extract_return_value and store_return_value.  Overwrite
init of store_return_value with e500 specific version.
Set extract_return_value for e500.

22 years ago2002-08-22 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 22 Aug 2002 22:25:17 +0000 (22:25 +0000)]
2002-08-22  Elena Zannoni  <ezannoni@redhat.com>

* blockframe.c (generic_call_dummy_register_unwind): Use
regcache_cooked_read to catch cases in which the variable is
stored in a pseudo register.

22 years agoObsolete i960.
Andrew Cagney [Thu, 22 Aug 2002 21:52:45 +0000 (21:52 +0000)]
Obsolete i960.

22 years agoNote that if '@' is a comment character then another symbol is used to prefix
Nick Clifton [Thu, 22 Aug 2002 20:10:53 +0000 (20:10 +0000)]
Note that if '@' is a comment character then another symbol is used to prefix
the section's type.

22 years agoUse a simple byte read when reading the return address register column.
Nick Clifton [Thu, 22 Aug 2002 20:00:14 +0000 (20:00 +0000)]
Use a simple byte read when reading the return address register column.

22 years agoopcodes: Fix definition of "in rd,imm16" opcode.
Nick Clifton [Thu, 22 Aug 2002 19:22:35 +0000 (19:22 +0000)]
opcodes: Fix definition of "in rd,imm16" opcode.
gas: Adjust ptr variable also in "case 0" case.

22 years agoSet the last bit of DT_INIT and DT_FINI depending on the type of the function.
Nick Clifton [Thu, 22 Aug 2002 19:11:51 +0000 (19:11 +0000)]
Set the last bit of DT_INIT and DT_FINI depending on the type of the function.

22 years agoAdd powerpc64-*-*bsd* target.
Nick Clifton [Thu, 22 Aug 2002 17:45:36 +0000 (17:45 +0000)]
Add powerpc64-*-*bsd* target.

22 years agoAdd Jeff Law as HPPA maintainer
Nick Clifton [Thu, 22 Aug 2002 17:35:42 +0000 (17:35 +0000)]
Add Jeff Law as HPPA maintainer

22 years agoAdd sh-nto support
Nick Clifton [Thu, 22 Aug 2002 17:27:20 +0000 (17:27 +0000)]
Add sh-nto support

22 years ago * config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define.
Jeff Law [Thu, 22 Aug 2002 16:24:24 +0000 (16:24 +0000)]
    * config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define.

22 years agoUpdated Turkish translation.
Nick Clifton [Thu, 22 Aug 2002 16:22:03 +0000 (16:22 +0000)]
Updated Turkish translation.

22 years agoSet bfd_error to no_symbols if the symbols could not be read.
Nick Clifton [Thu, 22 Aug 2002 16:12:00 +0000 (16:12 +0000)]
Set bfd_error to no_symbols if the symbols could not be read.

22 years agoFix arm-aout failures
Nick Clifton [Thu, 22 Aug 2002 16:10:05 +0000 (16:10 +0000)]
Fix arm-aout failures

22 years ago * aix-thread.c (aix_thread_detach): Disable thread debugging on
Corinna Vinschen [Thu, 22 Aug 2002 15:27:16 +0000 (15:27 +0000)]
* aix-thread.c (aix_thread_detach): Disable thread debugging on
detach to allow reinitialization.

22 years ago2002-08-22 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Thu, 22 Aug 2002 14:47:52 +0000 (14:47 +0000)]
2002-08-22  Andrew Cagney  <ac131313@redhat.com>
* MAINTAINERS: Change the s390 target to s390-linux-gnu (second
attempt).

22 years agoTurn off default excluded functions in FLAT profile.
Nick Clifton [Thu, 22 Aug 2002 11:07:15 +0000 (11:07 +0000)]
Turn off default excluded functions in FLAT profile.

22 years ago* coffread.c (coff_symfile_read): Don't try to read the line
Jim Blandy [Thu, 22 Aug 2002 05:50:11 +0000 (05:50 +0000)]
* coffread.c (coff_symfile_read): Don't try to read the line
number table from disk if the image file doesn't have a symbol
table; we'll never actually look at the info anyway, and Windows
ships DLL's with bogus file offsets for the line number data.

22 years ago * elf32-m68hc11.c: Formatting fixes.
Alan Modra [Thu, 22 Aug 2002 05:41:53 +0000 (05:41 +0000)]
* elf32-m68hc11.c: Formatting fixes.
(elf32_m68hc11_gc_mark_hook): Correct params.  Remove unnecessary test.
* elf32-m68hc12.c: Formatting fixes.
(elf32_m68hc11_gc_mark_hook): Correct params.  Remove unnecessary test.

22 years ago * gas/ppc/ppc.exp: Don't run e500 test on xcoff targets.
Alan Modra [Thu, 22 Aug 2002 05:23:43 +0000 (05:23 +0000)]
* gas/ppc/ppc.exp: Don't run e500 test on xcoff targets.
* gas/ppc/astest2.d: Escape dots.

22 years ago * coff-rs6000.c (rs6000coff_vec <object_flags>): Add SEC_CODE and
Alan Modra [Thu, 22 Aug 2002 05:13:04 +0000 (05:13 +0000)]
* coff-rs6000.c (rs6000coff_vec <object_flags>): Add SEC_CODE and
SEC_DATA.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.
(aix5coff64_vec): Likewise.

22 years ago * elf-bfd.h (struct elf_backend_data): Add struct elf_backend_data
Alan Modra [Thu, 22 Aug 2002 01:27:20 +0000 (01:27 +0000)]
* elf-bfd.h (struct elf_backend_data): Add struct elf_backend_data
param to elf_backend_copy_indirect_symbol.
(_bfd_elf_link_hash_copy_indirect): Likewise.
* elflink.h (elf_add_default_symbol, elf_fix_symbol_flags): Adjust
calls to copy_indirect_symbol.
* elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise.
* elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
* elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
* elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise.
* elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Likewise.
* elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.
* elfxx-mips.c (_bfd_mips_elf_copy_indirect_symbol): Likewise.
* elfxx-mips.h (_bfd_mips_elf_copy_indirect_symbol): Likewise.
* elf.c (_bfd_elf_link_hash_copy_indirect): Likewise.  Properly
test refcounts for "used" values.

22 years ago*** empty log message ***
gdbadmin [Thu, 22 Aug 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Thu, 22 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago2002-08-21 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 21 Aug 2002 23:37:34 +0000 (23:37 +0000)]
2002-08-21  Elena Zannoni  <ezannoni@redhat.com>

        * config/tc-ppc.c (ppc_cleanup): Do something only if format
        is ELF.
        (ppc_apuinfo_section_add): Define only if format is ELF.
        (md_assemble): Emit APUinfo section only if format is ELF.
        Fix formatting.

22 years ago2002-08-21 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 21 Aug 2002 22:56:02 +0000 (22:56 +0000)]
2002-08-21  Elena Zannoni  <ezannoni@redhat.com>

        * rs6000-tdep.c (rs6000_gdbarch_init): Figure out whether we have
        an e500 executable.

22 years ago2002-08-21 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 21 Aug 2002 22:39:26 +0000 (22:39 +0000)]
2002-08-21  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c (DEFAULT_MIPS_TYPE): Delete unused macro.
* config/mips/tm-mips.h (DEFAULT_MIPS_TYPE): Delete unused macro.
* config/mips/tm-embed.h (DEFAULT_MIPS_TYPE): Delete unused macro.

22 years ago2002-08-21 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 21 Aug 2002 22:18:25 +0000 (22:18 +0000)]
2002-08-21  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c (MSYMBOL_IS_SPECIAL): Replace macro with function.
(MSYMBOL_SIZE): Replace macro with function.

22 years ago* valops.c (value_cast): Simplify and correct logic for doing a
Jim Blandy [Wed, 21 Aug 2002 17:24:31 +0000 (17:24 +0000)]
* valops.c (value_cast): Simplify and correct logic for doing a
static cast from a pointer to a base class to a pointer to a
derived class.

22 years ago2002-08-21 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Wed, 21 Aug 2002 16:34:10 +0000 (16:34 +0000)]
2002-08-21  Andrew Cagney  <ac131313@redhat.com>
* infcmd.c (default_print_registers_info): Replace
do_registers_info.
(registers_info): Use gdbarch_print_registers_info instead of
DO_REGISTERS_INFO.
* inferior.h (default_print_registers_info): Replace
do_registers_info.
* gdbarch.sh (PRINT_REGISTERS_INFO): New method.
(DO_REGISTERS_INFO): Change to a predicate function.
* gdbarch.h, gdbarch.c: Regenerate.

2002-08-21  Andrew Cagney  <ac131313@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Document
print_registers_info.  Note that DO_REGISTERS_INFO is deprecated.

22 years ago * gdb-events.sh: Add target-changed event.
Keith Seitz [Wed, 21 Aug 2002 15:34:36 +0000 (15:34 +0000)]
    * gdb-events.sh: Add target-changed event.
        * gdb-events.c: Regenerated.
        * gdb-events.c: Regenerated.
        * valops.c (value_assign): Add target-changed event notification
        to inlval_register, lval_memory, and lval_reg_frame_relative.

22 years ago * NEWS: Add an entry regarding the improvement of the next/step
Joel Brobecker [Wed, 21 Aug 2002 13:59:28 +0000 (13:59 +0000)]
    * NEWS: Add an entry regarding the improvement of the next/step
        operation on Alpha Tru64 multi-processor machines.

22 years ago2002-08-21 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Wed, 21 Aug 2002 05:40:07 +0000 (05:40 +0000)]
2002-08-21  Andrew Cagney  <ac131313@redhat.com>
* Makefile.in: Update dependencies for mi/ cli/ and tui/
directores.

22 years ago2002-08-21 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Wed, 21 Aug 2002 05:03:38 +0000 (05:03 +0000)]
2002-08-21  Andrew Cagney  <ac131313@redhat.com>
* Makefile.in: Update all _h macro definitions.

22 years ago2002-08-21 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Wed, 21 Aug 2002 04:50:20 +0000 (04:50 +0000)]
2002-08-21  Andrew Cagney  <ac131313@redhat.com>

* Makefile.in (install-gdbtk): Move to install section.
(rdi-share/libangsd.a): Move to end of file.

22 years ago2002-08-19 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Wed, 21 Aug 2002 03:34:22 +0000 (03:34 +0000)]
2002-08-19  Andrew Cagney  <ac131313@redhat.com>
* frame.c (frame_register_unwind): When a register, set addrp to
the register's byte.

22 years ago2002-08-20 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 21 Aug 2002 01:08:23 +0000 (01:08 +0000)]
2002-08-20  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): These are only
used locally, so move them from the target machine header to here.
(mips_set_processor_type, mips_register_name, mips32_next_pc,
mips16_next_pc, cached_proc_desc, mips_set_processor_type):
Make static.
* config/mips/tm-mips.h (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Delete.

22 years ago2002-08-20 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 21 Aug 2002 00:57:44 +0000 (00:57 +0000)]
2002-08-20  Andrew Cagney  <cagney@redhat.com>
* NEWS: Mention that the Apollo line was made obsolete.
* configure.tgt: Make m68*-apollo*-bsd*, m68*-hp-bsd*, and
m68*-hp-hpux* obsolete.
* configure.host: Make m68*-apollo*-sysv*, m68*-apollo*-bsd*,
m68*-hp-bsd* and m68*-hp-hpux* obsolete.
* buildsym.c (make_blockvector): Make static.
* buildsym.h (make_blockvector): Make extern declaration obsolete.
* Makefile.in (HFILES_NO_SRCDIR): Remove dst.h
(ALLDEPFILES): Remove dstread.c.
(dstread.o): Obsolete make rule.
* dstread.c: Makefile obsolete.
* dst.h: Ditto.
* config/m68k/hp300hpux.mt: Ditto.
* config/m68k/hp300hpux.mh: Ditto.
* config/m68k/hp300bsd.mt: Ditto.
* config/m68k/hp300bsd.mh: Ditto.
* config/m68k/apollo68b.mt: Ditto.
* config/m68k/apollo68v.mh: Ditto.
* config/m68k/apollo68b.mh: Ditto.

22 years ago*** empty log message ***
gdbadmin [Wed, 21 Aug 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Wed, 21 Aug 2002 00:00:03 +0000 (00:00 +0000)]
daily update

22 years ago * config/tc-arc.c (md_pseudo_table <dwarf2_directive_file>): Cast.
Alan Modra [Tue, 20 Aug 2002 23:49:27 +0000 (23:49 +0000)]
* config/tc-arc.c (md_pseudo_table <dwarf2_directive_file>): Cast.
* config/tc-frv.c: Likewise.
* config/tc-hppa.c: Likewise.
* config/tc-ia64.c: Likewise.
* config/tc-ip2k.c: Likewise.
* config/tc-m68hc11.c: Likewise.
* config/tc-m68k.c: Likewise.
* config/tc-mmix.c: Likewise.
* config/tc-mn10300.c: Likewise.
* config/tc-sh.c: Likewise.
* config/tc-sparc.c: Likewise.
* config/tc-v850.c: Likewise.

22 years ago * ldlang.c (offsetof): Define if not defined.
Alan Modra [Tue, 20 Aug 2002 23:48:18 +0000 (23:48 +0000)]
* ldlang.c (offsetof): Define if not defined.

22 years ago * gmon_io.c (gmon_io_read_64, gmon_io_write_64): Define only if
Alan Modra [Tue, 20 Aug 2002 23:47:26 +0000 (23:47 +0000)]
* gmon_io.c (gmon_io_read_64, gmon_io_write_64): Define only if
BFD_HOST_U_64_BIT is defined.
(gmon_io_read_vma, gmon_io_write_vma): Add ifdefs.

22 years ago * readelf.c (parse_args): Change debug_dump_opt to static.
Alan Modra [Tue, 20 Aug 2002 23:46:41 +0000 (23:46 +0000)]
* readelf.c (parse_args): Change debug_dump_opt to static.

22 years ago * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Add PARAMS to
Alan Modra [Tue, 20 Aug 2002 23:45:41 +0000 (23:45 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Add PARAMS to
argument declaration.

22 years ago2002-08-20 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 20 Aug 2002 23:07:43 +0000 (23:07 +0000)]
2002-08-20  Michael Snyder  <msnyder@redhat.com>

        * mips-tdep.c (mips_in_return_stub): Make static.
(mips_gdbarch_init): Set in_solib_return_trampoline.
* config/mips/tm-mips.h (IN_SOLIB_RETURN_TRAMPOLINE): Delete.

22 years ago2002-08-20 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 20 Aug 2002 23:01:29 +0000 (23:01 +0000)]
2002-08-20  Michael Snyder  <msnyder@redhat.com>

        * gdbarch.sh (IN_SOLIB_RETURN_TRAMPOLINE): Add.
* gdbarch.c, gdbarch.h: Regenerate.
* arch-utils.c, arch-utils.h (generic_in_solib_return_trampoline):
Add.
        * infrun.c (IN_SOLIB_RETURN_TRAMPOLINE): Delete default definition.

22 years ago2002-08-20 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 20 Aug 2002 22:44:55 +0000 (22:44 +0000)]
2002-08-20  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c (mips_skip_stub, mips_in_call_stub): Make static.
(mips_gdbarch_init): Set skip_trampoline_code,
in_solib_call_trampoline.
* config/mips/tm-mips.h (REGISTER_NAME): Delete.
(IN_SOLIB_CALL_TRAMPOLINE, SKIP_TRAMPOLINE_CODE): Delete.

22 years ago2002-08-20 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 20 Aug 2002 22:24:29 +0000 (22:24 +0000)]
2002-08-20  Elena Zannoni  <ezannoni@redhat.com>

* ppc-tdep.h (struct gdbarch_tdep): Add ev registers.

* rs6000-tdep.c (rs6000_register_virtual_type): Return 64 bit
vector type for ev registers.
(e500_pseudo_register_read): New function.
(e500_pseudo_register_write): New function.
(e500_dwarf2_reg_to_regnum): New function.
(PPC_UISA_NOFP_SPRS): New macro.
(PPC_EV_REGS): New macro.
(PPC_GPRS_PSEUDO_REGS): New macro.
(registers_e500): New register set for e500.
(variants): Add e500 variant.
(rs6000_gdbarch_init): Move setting of pc, sp, fp regnums to
before setting architectural dependent variations.  Initialize ev
registers numbers.  Add case for e500 architecture.  Set the
number of pseudo registers.

22 years ago2002-08-20 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 20 Aug 2002 22:11:48 +0000 (22:11 +0000)]
2002-08-20  Elena Zannoni  <ezannoni@redhat.com>

        * rs6000-tdep.c: Clean up comments.

22 years ago2002-08-20 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 20 Aug 2002 22:02:48 +0000 (22:02 +0000)]
2002-08-20  Andrew Cagney  <cagney@redhat.com>
* h8300-tdep.c: Re-indent file.

22 years ago2002-08-19 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 20 Aug 2002 21:58:44 +0000 (21:58 +0000)]
2002-08-19  Michael Snyder  <msnyder@redhat.com>

* config/mips/tm-mips.h (ELF_MAKE_MSYMBOL_SPECIAL): Delete.
(MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Change into functions.
(FIX_CALL_DUMMY, PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME,
POP_FRAME, INIT_EXTRA_FRAME_INFO): Delete.
(CALL_DUMMY_START_OFFSET, CALL_DUMMY_BREAKPOINT_OFFSET,
CALL_DUMMY_ADDRESS): Delete.
* mips-tdep.c (mips_elf_make_msymbol_special, mips_msymbol_size,
mips_msymbol_is_special, mips_fix_call_dummy): New functions.
(mips_gdbarch_init): Set elf_make_msymbol_special, pop_frame,
push_dummy_frame, fix_call_dummy, init_extra_frame_info,
push_return_address.
(mips_register_raw_size, mips_eabi_use_struct_convention,
mips_n32n64_use_struct_convention, mips_o32_use_struct_convention,
mips_o32_reg_struct_has_addr, mips_frame_saved_pc, mips_frame_chain,
mips_init_extra_frame_info, mips_eabi_push_arguments,
mips_n32n64_push_arguments, mips_push_return_address,
mips_push_dummy_frame, mips_pop_frame, mips_skip_prologue,
mips_breakpoint_from_pc, mips_call_dummy_address): Make static.

22 years ago* Makefile.in (LDFLAGS): Allow the configure script to establish a
Jim Blandy [Tue, 20 Aug 2002 21:32:18 +0000 (21:32 +0000)]
* Makefile.in (LDFLAGS): Allow the configure script to establish a
default for this.
* gdbserver/Makefile.in (LDFLAGS): Same.

22 years ago * breakpoints.c (watch_command_1): Use internal breakpoint
Keith Seitz [Tue, 20 Aug 2002 20:03:35 +0000 (20:03 +0000)]
    * breakpoints.c (watch_command_1): Use internal breakpoint
        when setting a watchpoint_scope breakpoint.

22 years ago2002-08-20 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 20 Aug 2002 19:57:32 +0000 (19:57 +0000)]
2002-08-20  Elena Zannoni  <ezannoni@redhat.com>

* gdbtypes.c (build_builtin_type_vec64): Add name to type.
(build_builtin_type_vec64i): Ditto.
(build_builtin_type_vec128): Ditto.
(build_builtin_type_vec128i): Ditto.

22 years ago2002-08-19 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 20 Aug 2002 19:41:59 +0000 (19:41 +0000)]
2002-08-19  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c (mips_frame_num_args): New function.
(mips_gdbarch_init): Set frame_chain, frameless_function_invocation,
frame_saved_pc, frame_args_address, frame_locals_address,
frame_num_args, and frame_args_skip.
* config/mips/tm-mips.h (FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION,
FRAME_SAVED_PC, FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS,
FRAME_NUM_ARGS, FRAME_ARGS_SKIP): Delete.
* config/mips/tm-mipsv4.h (FRAME_CHAIN_VALID): Delete.

22 years ago2002-08-20 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 20 Aug 2002 19:32:47 +0000 (19:32 +0000)]
2002-08-20  Michael Snyder  <msnyder@redhat.com>

* config/mips/tm-mips.h (STORE_STRUCT_RETURN): Delete.
(EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
* mips-tdep.c (mips_store_struct_return): New function.
(mips_extract_struct_value_address): New function.
(mips_gdbarch_init): Set store_struct_return and
extract_struct_value_address.

22 years ago2002-08-20 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 20 Aug 2002 19:26:23 +0000 (19:26 +0000)]
2002-08-20  Michael Snyder  <msnyder@redhat.com>

* config/mips/tm-mips.h (STORE_STRUCT_RETURN): Delete.
(EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
* mips-tdep.c (mips_store_struct_return): New function.
(mips_extract_struct_value_address): New function.
(mips_gdbarch_init): Set store_struct_return and
extract_struct_value_address.

22 years ago2002-08-13 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 20 Aug 2002 18:45:30 +0000 (18:45 +0000)]
2002-08-13  David Carlton  <carlton@math.stanford.edu>

* dwarf2read.c (dwarf2_build_psymtabs): Check that
dwarf_line_offset is nonzero before creating dwarf_line_buffer.
(read_file_scope): Check that line_header is nonzero before
decoding macro information.

22 years ago* i386-tdep.h (FP_REGNUM_P): Change such that we don't incorrectly
Mark Kettenis [Tue, 20 Aug 2002 17:59:50 +0000 (17:59 +0000)]
* i386-tdep.h (FP_REGNUM_P): Change such that we don't incorrectly
flag the general-purpose registers as floating-point on targets
that don't support the floating-point registers.

22 years ago*** empty log message ***
Mark Kettenis [Tue, 20 Aug 2002 17:38:46 +0000 (17:38 +0000)]
*** empty log message ***

22 years ago2002-08-20 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 20 Aug 2002 17:33:51 +0000 (17:33 +0000)]
2002-08-20  Elena Zannoni  <ezannoni@redhat.com>

* rs6000-tdep.c (altivec_register_p): Delete.
(rs6000_do_altivec_registers): Delete.
(rs6000_altivec_registers_info): Delete.
(rs6000_do_registers_info): Delete.
(_initialize_rs6000_tdep): Remove command 'info powerpc altivec'.
(rs6000_gdbarch_init): Remove setting of do_registers_info.

22 years ago2002-08-20 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 20 Aug 2002 16:33:32 +0000 (16:33 +0000)]
2002-08-20  Elena Zannoni  <ezannoni@redhat.com>

* infcmd.c (do_registers_info): Print vector registers in hex
format only.
(print_vector_info): Check that printing registers
makes sense.
(print_float_info): Ditto.

22 years ago2002-08-20 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 20 Aug 2002 16:11:49 +0000 (16:11 +0000)]
2002-08-20  Andrew Cagney  <ac131313@redhat.com>

* mips-tdep.c (mips_gdbarch_init): Update.
(mips_o32_extract_return_value): Rewrite.
(mips_o32_store_return_value): Rewrite.
(mips_o32_xfer_return_value): New function.
(mips_xfer_register): Tweak debug print message.  Allow for
buf_offset when dumping the value transfered.

22 years ago2002-08-20 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 20 Aug 2002 13:17:55 +0000 (13:17 +0000)]
2002-08-20  Andrew Cagney  <ac131313@redhat.com>

* config/mips/tm-nbsd.h (MIPS_DEFAULT_ABI): Delete.
* config/mips/tm-linux.h (MIPS_DEFAULT_ABI): Delete.
* config/mips/tm-irix5.h (MIPS_DEFAULT_ABI): Delete.
* config/mips/tm-irix6.h (MIPS_DEFAULT_ABI): Delete.
* mips-tdep.c (mips_gdbarch_init) [MIPS_DEFAULT_ABI]: Delete code.

22 years ago[gas/]
Richard Sandiford [Tue, 20 Aug 2002 08:28:35 +0000 (08:28 +0000)]
[gas/]
* config/tc-mips.c (macro2): Implement rotates by zero using shifts
        by zero.

[gas/testsuite]
* gas/mips/rol.s: Add rotate by zero tests.
* gas/mips/rol.d: Update accordingly.
* gas/mips/rol64.d: Expect rotates by zero to use dsrl.

22 years ago* Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
Alexandre Oliva [Tue, 20 Aug 2002 03:04:03 +0000 (03:04 +0000)]
* Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
* configure.in (CC_FOR_TARGET, GCJ_FOR_TARGET, CXX_FOR_TARGET,
CXX_FOR_TARGET_FOR_RECURSIVE_MAKE): Likewise.