external/binutils.git
22 years agoEliminate FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM.
Kevin Buettner [Fri, 26 Jul 2002 22:26:44 +0000 (22:26 +0000)]
Eliminate FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM.

22 years ago[bfd/]
Richard Sandiford [Fri, 26 Jul 2002 18:56:25 +0000 (18:56 +0000)]
[bfd/]
* elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Merge ASE
flags into resulting BFD.

[ld/testsuite/]
* ld-mips-elf/mips16-1.d,
* ld-mips-elf/mips16-1[ab].s: New test.
* ld-mips-elf/mips-elf.exp: Run it.

22 years agoChange from OTHER_RELOCATING_SECTIONS to STACK_ADDR in elf32frv.sh
Bernd Schmidt [Fri, 26 Jul 2002 11:14:04 +0000 (11:14 +0000)]
Change from OTHER_RELOCATING_SECTIONS to STACK_ADDR in elf32frv.sh

22 years ago * elf32-i386.c (elf_i386_link_hash_table_create): Clear
Alan Modra [Fri, 26 Jul 2002 05:32:05 +0000 (05:32 +0000)]
* elf32-i386.c (elf_i386_link_hash_table_create): Clear
tls_ldm_got.refcount.

22 years ago * gas/ppc/altivec.d: Invoke "as" with "-a32".
Alan Modra [Fri, 26 Jul 2002 04:19:12 +0000 (04:19 +0000)]
* gas/ppc/altivec.d: Invoke "as" with "-a32".

22 years ago * config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default
Alan Modra [Fri, 26 Jul 2002 04:18:42 +0000 (04:18 +0000)]
* config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default
rather than PPC_OPCODE_32 for powerpc64*.

22 years agoRevise comment from previous commit.
Kevin Buettner [Fri, 26 Jul 2002 00:47:45 +0000 (00:47 +0000)]
Revise comment from previous commit.

22 years ago * rs6000-nat.c (ppc-tdep.h): Include.
Kevin Buettner [Fri, 26 Jul 2002 00:43:30 +0000 (00:43 +0000)]
* rs6000-nat.c (ppc-tdep.h): Include.
(fetch_registers, store_register): Don't access registers[]
directly.  Instead, use supply_register() or
regcache_collect() as appropriate.
(find_toc_address): Format hex address with local_hex_string().

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

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

22 years ago * elf64-mips.c: Update TODO comment.
Thiemo Seufer [Thu, 25 Jul 2002 15:35:14 +0000 (15:35 +0000)]
* elf64-mips.c: Update TODO comment.
(mips_elf64_higher_reloc,mips_elf64_highest_reloc,
mips_elf64_gprel16_reloca): Remove prototypes.
(mips16_jump_reloc,mips16_gprel_reloc): Add functions.
(UNUSED_RELOC): Replace by EMPTY_RELOC.
(mips_elf64_howto_table_rel): Use special R_MIPS_HI16 handling. Remove
wrong comments. Remove disfunctional support of R_MIPS_HIGHER and
R_MIPS_HIGHEST.
(mips_elf64_howto_table_rela): Fix handling of R_MIPS_GPREL16 and
R_MIPS_GOT16. Remove wrong comments.
(elf_mips16_jump_howto,elf_mips16_gprel_howto,
elf_mips_gnu_vtinherit_howto,elf_mips_gnu_vtentry_howto): New, code
from elf32-mips.c.
(mips_elf64_hi16_reloc): Fix formatting.
(mips_elf64_higher_reloc,mips_elf64_highest_reloc): Remove.
(mips_elf64_got16_reloc): Fix formatting. Remove superfluous code.
Better comment. Fall back to R_MIPS_GOT_DISP instead of abort().
(mips_elf64_gprel16_reloc): Make static. Add check for
partial_inplace.
(mips_elf64_gprel16_reloca): Remove.
(mips_elf64_literal_reloc): New function.
(mips_elf64_gprel32_reloc): Fix formatting.
(mips_elf64_shift6_reloc): Fix comment. Make static.
(mips16_jump_reloc,mips16_gprel_reloc): New functions, code from
elf32-mips.c.
(elf_reloc_map,mips_reloc_map): New mapping table, similiar as in
elf32-mips.c
(bfd_elf64_bfd_reloc_type_lookup): Use the mapping table. Enable GNU
specific relocations.
(mips_elf64_rtype_to_howto): Enable GNU specific relocations.
(mips_elf64_object_p): Invert logic to check for SGI-ish ABI.
(ELF_MAXPAGESIZE): Add comment.

22 years ago2002-07-25 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Thu, 25 Jul 2002 13:57:57 +0000 (13:57 +0000)]
2002-07-25  Andrew Cagney  <ac131313@redhat.com>
* config/djgpp/fnchange.lst: Rename bfd/elf32-fr30.c and
bfd/elf32-frv.c.

22 years agoFix comment from last commit.
Richard Sandiford [Thu, 25 Jul 2002 11:07:47 +0000 (11:07 +0000)]
Fix comment from last commit.

22 years agoNew translations
Nick Clifton [Thu, 25 Jul 2002 10:31:28 +0000 (10:31 +0000)]
New translations

22 years ago[gas/]
Richard Sandiford [Thu, 25 Jul 2002 09:48:07 +0000 (09:48 +0000)]
[gas/]
* doc/c-mips.texi: Remove -mcpu.  Document -mabi.
* configure.in (MIPS_CPU_STRING_DEFAULT): New configuration macro.
(USE_E_MIPS_ABI_O32, MIPS_DEFAULT_64BIT): New configuration macros.
* configure, config.in: Regenerate.
* config/tc-mips.c (file_mips_abi): Rename to mips_abi.
(mips_set_options): Remove "abi" field.
(mips_opts): Update accordingly.  Replace all uses of mips_opts.abi
with mips_abi.
(mips_cpu): Remove.
(mips_arch_string, mips_arch_info): New vars.
(mips_tune_string, mips_tune_info): New vars.
(ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New macros.
(HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): Don't check the ABI.
(mips_isa_to_str, mips_cpu_to_str): Remove.
(mips_ip): If the selected architecture is a generic ISA rather
than a processor, only mention the ISA level in error messages.
(OPTION_MCPU): Remove.
(OPTION_FP64): New.
(md_longopts): Add -mfp64, remove -mcpu.
(mips_set_option_string): New fn.
(md_parse_option): Make -mipsN update file_mips_isa rather than
mips_opts.isa.  Use mips_set_option_string to set -march or -mtune.
Don't let -mgp32 and -mfp32 change the ABI.
(show): Move to end of file.  Constify string argument.
(md_show_usage): Move to the end of the file.  Read available
architectures from mips_cpu_info_table.
(mips_set_architecture): New fn.
(mips_after_parse_args): Rework.  Remove -mcpu handling.  -mipsN
is an alias for -march=mipsN.  Don't change the ABI based on other
flags.  Infer the register size from the ABI as well as the
architecture.  Complain about more conflicting arguments.
Unify logic with GCC.
(s_mipsset): Don't change the ABI.
(mips_elf_final_processing): Check USE_E_MIPS_ABI_O32.
(mips_cpu_info_table): Remove Generic-MIPS* entries, keeping just
"mipsN"-type entries.  Remove entries that vary only in the
manufacturer's prefix, or that have "000" replaced by "k".
Remove TARGET_CPU entries.  Make r2000 entry use CPU_R3000.
(mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
(mips_parse_cpu): New fn.
(mips_cpu_info_from_name, mips_cpu_info_from_cpu): Remove.
(mips_cpu_info_from_isa): Minor formatting tweak.

[gas/testsuite]
* gas/mips/mips-gp32-fp64.d,
* gas/mips/mips-gp32-fp64-pic.d: Add -mfp64.

22 years ago * opcode/mips.h (CPU_R2000): Remove.
Richard Sandiford [Thu, 25 Jul 2002 09:44:39 +0000 (09:44 +0000)]
* opcode/mips.h (CPU_R2000): Remove.

22 years ago * elf-bfd.h (_bfd_elf32_link_record_local_dynamic_symbol): Define
Alan Modra [Thu, 25 Jul 2002 06:54:51 +0000 (06:54 +0000)]
* elf-bfd.h (_bfd_elf32_link_record_local_dynamic_symbol): Define
as elf_link_record_local_dynamic_symbol.
(_bfd_elf64_link_record_local_dynamic_symbol): Likewise.
(elf_link_record_local_dynamic_symbol): Declare.  Now returns int.
* elflink.h (elf_link_record_local_dynamic_symbol): Move to..
* elflink.c: .. here.  Use bfd_elf_get_elf_syms.  Check whether an
attempt is made to record a symbol in a discarded section, and
return `2' in that case.

22 years ago * jv-exp.y: Marked all strings with _().
Tom Tromey [Thu, 25 Jul 2002 04:33:24 +0000 (04:33 +0000)]
* jv-exp.y: Marked all strings with _().
(ClassInstanceCreationExpression, ArrayCreationExpression): Use
internal_error.
(MethodInvocation, CastExpression, parse_number, yyerror,
java_type_from_name, push_expression_name, yylex): Typo fixes.

22 years ago * ui-file.c (struct tee_file, tee_file_new, tee_file_delete)
Daniel Jacobowitz [Thu, 25 Jul 2002 03:14:28 +0000 (03:14 +0000)]
* ui-file.c (struct tee_file, tee_file_new, tee_file_delete)
(tee_file_flush, tee_file_write, tee_file_fputs)
(tee_file_isatty): New.
* ui-file.h (tee_file_new): Add prototype.

22 years ago * ada-lang.c: Change k&r style function definitions to prototyped
Aidan Skinner [Thu, 25 Jul 2002 01:14:26 +0000 (01:14 +0000)]
    * ada-lang.c: Change k&r style function definitions to prototyped
        form.
        * ada-typeprint.c: Change k&r style function definitions to prototyped
        form.
        * ada-valprint.c: Change k&r style function definitions to prototyped
        form.

22 years agodaily update
Alan Modra [Thu, 25 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Thu, 25 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoObsolete m88k.
Andrew Cagney [Wed, 24 Jul 2002 23:51:36 +0000 (23:51 +0000)]
Obsolete m88k.

22 years ago2002-07-24 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 24 Jul 2002 22:46:48 +0000 (22:46 +0000)]
2002-07-24  Andrew Cagney  <cagney@redhat.com>
* findvar.c (extract_unsigned_integer): Make `addr' parameter
constant.  Same for local pointer variables.
(extract_signed_integer): Ditto.
* defs.h (extract_unsigned_integer): Update.
(extract_signed_integer): Update.

22 years ago * gdbserver/configure.in (unistd.h): Add to AC_CHECK_HEADERS list.
Kevin Buettner [Wed, 24 Jul 2002 21:30:46 +0000 (21:30 +0000)]
* gdbserver/configure.in (unistd.h): Add to AC_CHECK_HEADERS list.
* gdbserver/configure: Regenerate.
* gdbserver/config.in: Regenerate.

22 years ago2002-07-24 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 24 Jul 2002 19:43:43 +0000 (19:43 +0000)]
2002-07-24  Andrew Cagney  <cagney@redhat.com>
* regcache.c (regcache_raw_write): Change buf parameter to a
constant void pointer.
(regcache_raw_read): Change buf parameter to a void pointer.
(legacy_write_register_gen): Change myaddr parameter a constant
void pointer.
(supply_register): Change val parameter to a const void pointer.
* regcache.h (regcache_raw_write): Update declaration.
(regcache_raw_read): Update declaration.
(supply_register): Update declaration.

22 years ago * defs.h (gdb_readline_wrapper): Declare.
Tom Tromey [Wed, 24 Jul 2002 17:58:46 +0000 (17:58 +0000)]
* defs.h (gdb_readline_wrapper): Declare.
* utils.c (prompt_for_continue): Use gdb_readline_wrapper.
* tracepoint.c (read_actions): Use gdb_readline_wrapper.
* top.c (gdb_readline_wrapper): New function.
(command_line_input): Use it.

22 years ago2002-07-24 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 24 Jul 2002 15:25:03 +0000 (15:25 +0000)]
2002-07-24  Dave Brolley  <brolley@redhat.com>

* corefile.c (core_create_function_syms): Use the end of the section
containing the symbol to compute max_vma.

22 years ago2002-07-24 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 24 Jul 2002 14:38:55 +0000 (14:38 +0000)]
2002-07-24  Andrew Cagney  <cagney@redhat.com>
* regcache.h (regcache_raw_read, regcache_raw_write): Replace
regcache_read and regcache_write.
(regcache_raw_read_as_address): Replace regcache_read_as_address.
* regcache.c: Update.
* sh-tdep.c (sh64_push_arguments): Update comment.
(sh_pseudo_register_read): Update.
(sh_pseudo_register_write): Update.
(sh4_register_read): Update.
(sh4_register_write): Update.
(sh64_pseudo_register_read): Update.
(sh64_pseudo_register_write): Update.
(sh64_register_read): Update.
(sh64_register_write): Update.
* i386-tdep.c (i386_extract_return_value): Update.
(i386_extract_struct_value_address): Update.
(i386_extract_return_value): Update.
* blockframe.c (generic_read_register_dummy): Update.
(generic_call_dummy_register_unwind): Update
* infrun.c (write_inferior_status_register): Update.

22 years agooops - omitted from previous delta
Nick Clifton [Wed, 24 Jul 2002 09:37:02 +0000 (09:37 +0000)]
oops - omitted from previous delta

22 years agoUpdate Spanish and Swedish translations
Nick Clifton [Wed, 24 Jul 2002 09:34:08 +0000 (09:34 +0000)]
Update Spanish and Swedish translations

22 years agoAdd missing 2001-09-29 entry
Alan Modra [Wed, 24 Jul 2002 06:45:02 +0000 (06:45 +0000)]
Add missing 2001-09-29 entry

22 years agoFix a typo.
H.J. Lu [Wed, 24 Jul 2002 06:42:54 +0000 (06:42 +0000)]
Fix a typo.

22 years agoRemove stray conflict marker.
Jim Blandy [Wed, 24 Jul 2002 03:05:07 +0000 (03:05 +0000)]
Remove stray conflict marker.

22 years ago* parser-defs.h (expression_context_pc): Make this extern.
Jim Blandy [Wed, 24 Jul 2002 03:03:52 +0000 (03:03 +0000)]
* parser-defs.h (expression_context_pc): Make this extern.
(Thanks to Michael Snyder.)

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

22 years ago*** empty log message ***
gdbadmin [Wed, 24 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoMention 5.2.1 on mainline.
Andrew Cagney [Tue, 23 Jul 2002 21:28:38 +0000 (21:28 +0000)]
Mention 5.2.1 on mainline.

22 years agoFix error check in remote_read_bytes
Mark Salter [Tue, 23 Jul 2002 18:55:06 +0000 (18:55 +0000)]
Fix error check in remote_read_bytes

22 years agofix typo introduced in previous delta
Nick Clifton [Tue, 23 Jul 2002 18:02:32 +0000 (18:02 +0000)]
fix typo introduced in previous delta

22 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Tue, 23 Jul 2002 12:46:43 +0000 (12:46 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* config.in: Regenerate.
* po/POTFILES.in: Regenerate.

22 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Tue, 23 Jul 2002 12:44:25 +0000 (12:44 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Tue, 23 Jul 2002 12:42:32 +0000 (12:42 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

22 years agoRegenerate.
Alan Modra [Tue, 23 Jul 2002 12:37:37 +0000 (12:37 +0000)]
Regenerate.

22 years agomissed 'em from the last delta
Alan Modra [Tue, 23 Jul 2002 12:34:35 +0000 (12:34 +0000)]
missed 'em from the last delta

22 years ago * elf-hppa.h (elf_hppa_relocate_section): If relocatable, return
Alan Modra [Tue, 23 Jul 2002 12:29:33 +0000 (12:29 +0000)]
* elf-hppa.h (elf_hppa_relocate_section): If relocatable, return
immediately.  Remove code handling relocatable linking.
* elf32-avr.c (elf32_avr_relocate_section): Likewise.
* elf32-cris.c (cris_elf_relocate_section): Likewise.
* elf32-fr30.c (elf32_frv_relocate_section): Likewise.
* elf32-h8300.c (elf32_h8_relocate_section): Likewise.
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
* elf32-ip2k.c (ip2k_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf32-v850.c (v850_elf_relocate_section): Likewise.
* elf32-vax.c (elf_vax_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf32-avr.c (elf_backend_rela_normal): Define.
* elf32-cris.c: Likewise.
* elf32-fr30.c: Likewise.
* elf32-h8300.c: Likewise.
* elf32-hppa.c: Likewise.
* elf32-ip2k.c: Likewise.
* elf32-sparc.c: Likewise.
* elf32-v850.c: Likewise.
* elf32-vax.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-sparc.c: Likewise.
* elf32-fr30.c (elf32_frv_relocate_section): Edit comment.
* elf32-i860.c (elf32_i860_relocate_section): Likewise.
* elf32-ip2k.c (ip2k_elf_relocate_section): Likewise.
* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
* elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
* elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
* elf-m10200.c (USE_RELA): Don't define.
* elf-m10300.c: Likewise.
* elf32-i370.c: Likewise.
* elf32-ip2k.c: Likewise.
* elf32-m68k.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-s390.c: Likewise.
* elf32-vax.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-s390.c: Likewise.
* elf64-x86-64.c: Likewise.
* elfxx-ia64.c: Likewise.
* elf32-avr.c (USE_REL): Don't undef.
* elf32-ip2k.c: Likewise.

22 years agoAdd new bitfield 'want_p_paddr_set_to_zero'.
Nick Clifton [Tue, 23 Jul 2002 11:15:06 +0000 (11:15 +0000)]
Add new bitfield 'want_p_paddr_set_to_zero'.
Set this field for HPUX IA64 port.
Test this field when setting p_paddr.

22 years agosim-h8300.h new file
Andrey Volkov [Tue, 23 Jul 2002 10:30:14 +0000 (10:30 +0000)]
sim-h8300.h new file

22 years agoSwapped the order of the MeSsAgEs and CoPyRiGhT tags to make >=NW4.x NLM
Nick Clifton [Tue, 23 Jul 2002 10:25:34 +0000 (10:25 +0000)]
Swapped the order of the MeSsAgEs and CoPyRiGhT tags to make >=NW4.x NLM
loaders to show the Copyright string.

22 years agooops - omitted from previous delta
Nick Clifton [Tue, 23 Jul 2002 09:59:47 +0000 (09:59 +0000)]
oops - omitted from previous delta

22 years agoupdate translations.
Nick Clifton [Tue, 23 Jul 2002 09:58:05 +0000 (09:58 +0000)]
update translations.

22 years agoKen Raeburn is no longer the maintainer for GAS.
Nick Clifton [Tue, 23 Jul 2002 07:25:37 +0000 (07:25 +0000)]
Ken Raeburn is no longer the maintainer for GAS.

22 years ago * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
Alan Modra [Tue, 23 Jul 2002 05:12:57 +0000 (05:12 +0000)]
* doc/binutils.texi (addr2line <man synopsis>): Correct brackets.

22 years ago * budemang.c: Include config.h and string.h/strings.h.
Alan Modra [Tue, 23 Jul 2002 05:12:26 +0000 (05:12 +0000)]
* budemang.c: Include config.h and string.h/strings.h.

22 years ago * elflink.h (elf_link_input_bfd): Don't change internal symbols
Alan Modra [Tue, 23 Jul 2002 04:38:17 +0000 (04:38 +0000)]
* elflink.h (elf_link_input_bfd): Don't change internal symbols
when outputting relocs.

22 years ago * aix-thread.c (language.h): Include.
Kevin Buettner [Tue, 23 Jul 2002 01:06:02 +0000 (01:06 +0000)]
* aix-thread.c (language.h): Include.
(ptrace_check, pdc_symbol_addrs, pdc_read_regs, pdc_write_regs)
(pdc_read_data, pdc_write_data, pdc_alloc, pdc_realloc, pdc_dealloc):
Print newlines at end of debug messages.
(pdc_symbol_addrs, pdc_read_regs, pdc_write_regs, pdc_read_data)
(pdc_write_data): Use local_hex_string() instead of %llx formats.

22 years agoDon't rely on FIRST_UISA_SP_REGNUM or LAST_UISA_REGNUM.
Kevin Buettner [Tue, 23 Jul 2002 00:34:29 +0000 (00:34 +0000)]
Don't rely on FIRST_UISA_SP_REGNUM or LAST_UISA_REGNUM.

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

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

22 years ago * aix-thread.c (ops): Rename to aix_thread_ops.
Kevin Buettner [Mon, 22 Jul 2002 22:11:03 +0000 (22:11 +0000)]
* aix-thread.c (ops): Rename to aix_thread_ops.
(base_ops): Rename to base_target.
(ops_attach): Rename to aix_thread_attach.
(ops_detach): Rename to aix_thread_detach.
(ops_resume): Rename to aix_thread_detach.
(ops_wait):   Rename to aix_thread_wait.
(ops_kill):   Rename to aix_thread_kill.
(init_ops):   Rename to init_aix_thread_ops.
(ops_fetch_register): Rename to aix_thread_fetch_register.
(ops_store_register): Rename to aix_thread_store_register.
(ops_mourn_inferior): Rename to aix_thread_mourn_inferior.
(ops_thread_alive):   Rename to aix_thread_thread_alive.
(ops_extra_thread_info: Rename to aix_thread_extra_thread_info.
(ops_pid_to_str):  Rename to aix_thread_pid_to_str.
(ops_xfer_memory): Rename to aix_thread_xfer_memory.
(fetch_regs_lib):  Rename to fetch_regs_user_thread.
(fetch_regs_kern): Rename to fetch_regs_kernel_thread.
(store_regs_lib):  Rename to store_regs_user_thread.
(store_regs_kern): Rename to store_regs_kernel_thread.

22 years ago * aix-thread.c (ops_prepare_to_store): Eliminate.
Kevin Buettner [Mon, 22 Jul 2002 19:56:07 +0000 (19:56 +0000)]
* aix-thread.c (ops_prepare_to_store): Eliminate.
(init_ops): Don't initialize ops.prepare_to_store.
(store_regs_kern): Pre-fetch register buffers from child,
because some registers may not be in the cache.  Copy
regs from register cache only if they are cached.
(store_regs_lib): Copy regs from register cache only
if they are cached.
(fill_sprs32, (fill_sprs64, fill_fprs, fill_gprs32,
fill_gprs64): Ditto.

22 years ago * aix-thread.c (gdb_assert.h): Include.
Kevin Buettner [Mon, 22 Jul 2002 19:20:21 +0000 (19:20 +0000)]
* aix-thread.c (gdb_assert.h): Include.
(fill_sprs64, fill_sprs32): Add selected asserts to make sure that
register sizes (from register cache) match size of buffer holding
register data.
(fill_sprs32): Change parameter types to match those in the ptrace()
buffer.
(store_regs_lib): Likewise, but for 32-bit temporary variables.
(ops_prepare_to_store): Rename loop variable ``i'' to ``regno''.

* aix-thread.c (supply_sprs64): Cosmetic change.
(supply_sprs32): Cosmetic change.
(fill_gprs64, fill_gprs32, fill_fprs, fill_sprs32): New funcs.
(fill_sprs64): Use regcache_collect instead of read_register.
(store_regs_lib): Use regcache_collect instead of
read_register.  Use fill_sprs32 instead of fill_sprs64,
if debugging a 32-bit architecture.
(store_regs_kern): Use fill_gprs64 etc. to pull the values
out of the register cache, instead of passing a pointer into
the register cache directly to ptrace.  Use regcache_collect
insteaad of read_register.
(ops_prepare_to_store): Use target_read_registers instead
of read_register_bytes.

22 years ago * doc/c-ip2k.texi: The company name Scenix changed to Ubicom.
Denis Chertykov [Mon, 22 Jul 2002 19:04:28 +0000 (19:04 +0000)]
* doc/c-ip2k.texi: The company name Scenix changed to Ubicom.
* doc/as.texi: Likewise.

22 years ago*** empty log message ***
gdbadmin [Mon, 22 Jul 2002 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Mon, 22 Jul 2002 00:00:09 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sun, 21 Jul 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sun, 21 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago2002-07-20 Aidan Skinner <aidan@velvet.net>
Aidan Skinner [Sat, 20 Jul 2002 16:18:07 +0000 (16:18 +0000)]
2002-07-20  Aidan Skinner <aidan@velvet.net>

* MAINTAINERS: Add self under write after approval.

22 years ago2002-07-20 Aidan Skinner <aidan@velvet.net>
Aidan Skinner [Sat, 20 Jul 2002 16:08:49 +0000 (16:08 +0000)]
2002-07-20  Aidan Skinner <aidan@velvet.net>

* ada-tasks.c: Change k&r style function definitions to prototyped
form.

22 years ago * budemang.c: Include string.h.
Alan Modra [Sat, 20 Jul 2002 14:00:47 +0000 (14:00 +0000)]
* budemang.c: Include string.h.

22 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
Alan Modra [Sat, 20 Jul 2002 13:41:11 +0000 (13:41 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
bomb on /DISCARD/ input section.
* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
* emultempl/mmo.em (mmo_place_orphan): Likewise.

22 years ago* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Only insert
Jason Thorpe [Sat, 20 Jul 2002 04:09:30 +0000 (04:09 +0000)]
* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Only insert
DT_PLTGOT into the dynamic section if there is a PLT.

22 years agodaily update
Alan Modra [Sat, 20 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sat, 20 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * elfxx-mips.c (_bfd_mips_elf_discard_info): New function, code from
Thiemo Seufer [Fri, 19 Jul 2002 21:34:02 +0000 (21:34 +0000)]
* elfxx-mips.c (_bfd_mips_elf_discard_info): New function, code from
elf32-mips.c.
(_bfd_mips_elf_write_section): Likewise.
* elfxx-mips.h (_bfd_mips_elf_discard_info): New prototype.
(_bfd_mips_elf_write_section): Likewise.
* elf32-mips.c (elf32_mips_discard_info): Move to elfxx-mips.c.
(elf32_mips_write_section): Likewise.
* elf64-mips.c (_bfd_mips_elf_ignore_discarded_relocs): Use it.
(_bfd_mips_elf_write_section): Likewise.

22 years ago * config/tc-mips.c (mips_need_elf_addend_fixup): Use S_IS_EXTERNAL
Thiemo Seufer [Fri, 19 Jul 2002 21:30:26 +0000 (21:30 +0000)]
* config/tc-mips.c (mips_need_elf_addend_fixup): Use S_IS_EXTERNAL
instead of S_IS_EXTERN.
(md_estimate_size_before_relax): Likewise.
(mips_fix_adjustable): Likewise.

22 years ago * config/tc-mips.c (mips_pic_level): Remove IRIX4_PIC.
Thiemo Seufer [Fri, 19 Jul 2002 21:28:49 +0000 (21:28 +0000)]
* config/tc-mips.c (mips_pic_level): Remove IRIX4_PIC.

22 years ago2002-07-19 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Fri, 19 Jul 2002 19:40:28 +0000 (19:40 +0000)]
2002-07-19  Daniel Jacobowitz  <drow@mvista.com>

        * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
        Improve support for reusing an exec file.  Copy exec file
        to target, and run gdbserver on the target instead of on the host.

22 years ago[ dejagnu/ChangeLog ]
Chris Demetriou [Fri, 19 Jul 2002 18:24:48 +0000 (18:24 +0000)]
[ dejagnu/ChangeLog ]
2002-07-19  Chris Demetriou  <cgd@broadcom.com>

        * config.guess: Update from ../config.guess.
        * config.sub: Update from ../config.sub.

[ readline/ChangeLog.gdb ]
2002-07-19  Chris Demetriou  <cgd@broadcom.com>

        * support/config.guess: Update from ../config.guess.
        * support/config.sub: Update from ../config.sub.

22 years ago* Makefile.in (x86-64-tdep.o): Add $(objfiles_h).
Andrew Cagney [Fri, 19 Jul 2002 18:22:14 +0000 (18:22 +0000)]
* Makefile.in (x86-64-tdep.o): Add $(objfiles_h).
* x86-64-tdep.c: Include "objfiles.h".
(x86_64_gdbarch_init): Set in_solib_call_trampoline to
in_plt_section.  From 2002-07-18 Michal Ludvig <mludvig@suse.cz>.

22 years ago2002-07-19 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Fri, 19 Jul 2002 18:16:30 +0000 (18:16 +0000)]
2002-07-19  Chris Demetriou  <cgd@broadcom.com>

        * MAINTAINERS: Clarify updates of config.guess and config.sub, and
add one instance of them which was missed to the list to update.

22 years agoMake .ifdef treat a referenced but not yet defined symbol as if it were
Nick Clifton [Fri, 19 Jul 2002 11:35:06 +0000 (11:35 +0000)]
Make .ifdef treat a referenced but not yet defined symbol as if it were
undefined, in exactly the same way as .equiv.

22 years ago2002-07-17 Michal Ludvig <michal@suse.cz>
Michal Ludvig [Fri, 19 Jul 2002 09:40:51 +0000 (09:40 +0000)]
2002-07-17  Michal Ludvig  <michal@suse.cz>

* dwarf2cfi.c (execute_stack_op): Complain on unknown DW_OP_ value.
(update_context): Initialise cfa variable.

22 years agoAdd IP2k GAS and OPCODES support.
Nick Clifton [Fri, 19 Jul 2002 07:52:40 +0000 (07:52 +0000)]
Add IP2k GAS and OPCODES support.

22 years ago * ld-mmix/sec-1.d: Adjust for changes in padding.
Hans-Peter Nilsson [Fri, 19 Jul 2002 03:30:13 +0000 (03:30 +0000)]
* ld-mmix/sec-1.d: Adjust for changes in padding.
* ld-mmix/sec-3.d: Ditto.

22 years ago * emultempl/mmo.em (mmo_place_orphan): Handle case of no .text
Hans-Peter Nilsson [Fri, 19 Jul 2002 02:56:59 +0000 (02:56 +0000)]
* emultempl/mmo.em (mmo_place_orphan): Handle case of no .text
output section.

22 years ago * gas/mmix/list-pseudoints.l: Adjust for changes in gas section
Hans-Peter Nilsson [Fri, 19 Jul 2002 01:51:17 +0000 (01:51 +0000)]
* gas/mmix/list-pseudoints.l: Adjust for changes in gas section
padding.
* gas/mmix/greg7.d: Ditto.
* gas/mmix/greg8.d: Ditto.
* gas/mmix/fb-2.d: Ditto.
* gas/mmix/comment-1.d: Ditto.
* gas/mmix/byte-1.d: Ditto.

22 years ago * elfxx-ia64.c: (elfNN_ia64_modify_segment_map): Properly scan
Alan Modra [Fri, 19 Jul 2002 01:10:28 +0000 (01:10 +0000)]
* elfxx-ia64.c: (elfNN_ia64_modify_segment_map): Properly scan
PT_IA_64_UNWIND segments for a given section.

22 years ago* gdb.base/ending-run.exp: Don't expect to see the program end in
Jim Blandy [Fri, 19 Jul 2002 00:02:34 +0000 (00:02 +0000)]
* gdb.base/ending-run.exp: Don't expect to see the program end in
some orderly fashion when we're running on a real stand-alone
board.

22 years ago*** empty log message ***
gdbadmin [Fri, 19 Jul 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

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

22 years ago* gdb.base/interrupt.exp: Correct logic for skipping tests on
Jim Blandy [Thu, 18 Jul 2002 23:52:49 +0000 (23:52 +0000)]
* gdb.base/interrupt.exp: Correct logic for skipping tests on
targets that don't support interrupts.

22 years ago2002-07-17 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 18 Jul 2002 19:26:14 +0000 (19:26 +0000)]
2002-07-17  Michael Snyder  <msnyder@redhat.com>

* aix-thread.c: Shorten some long lines.
Bring comments into line with code spec.

22 years ago * infrun.c: Re-indent using gdb_indent.sh.
Joel Brobecker [Thu, 18 Jul 2002 17:53:50 +0000 (17:53 +0000)]
    * infrun.c: Re-indent using gdb_indent.sh.

22 years ago * infrun.c (handle_inferior_event): Remove unneeded extra brace.
Joel Brobecker [Thu, 18 Jul 2002 17:51:27 +0000 (17:51 +0000)]
    * infrun.c (handle_inferior_event): Remove unneeded extra brace.
        Leave the indentation temporarily untouched, to minimize the diffs.

22 years ago2002-07-18 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 18 Jul 2002 17:22:50 +0000 (17:22 +0000)]
2002-07-18  Elena Zannoni  <ezannoni@redhat.com>

* stabsread.c: Make os9k sections of the code obsolete,
for real this time.
* stabsread.h: Make os9k sections of the code obsolete.

22 years ago2002-07-18 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Thu, 18 Jul 2002 15:18:02 +0000 (15:18 +0000)]
2002-07-18  Michal Ludvig  <mludvig@suse.cz>

* linux-low.c (regsets_store_inferior_registers): Add free()
at the end of a loop to prevent memory leak.
* linux-x86-64-low.c (x86_64_regmap): Add CS, SS registers.
(X86_64_NUM_GREGS): Count it from the size of x86_64_regmap.

22 years ago* Makefile.in (x86-64-linux-nat.o): Remove dependency on i387-tdep.h
Michal Ludvig [Thu, 18 Jul 2002 12:12:42 +0000 (12:12 +0000)]
* Makefile.in (x86-64-linux-nat.o): Remove dependency on i387-tdep.h

22 years agoAdd IP2K support
Nick Clifton [Thu, 18 Jul 2002 11:11:13 +0000 (11:11 +0000)]
Add IP2K support

22 years ago2002-07-18 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Thu, 18 Jul 2002 10:10:49 +0000 (10:10 +0000)]
2002-07-18  Michal Ludvig <mludvig@suse.cz>
* config/sparc/tm-sp64linux.h: Make the rest of #endif
line a comment.