binutils-gdb.git
20 years ago2004-07-29 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 29 Jul 2004 22:30:31 +0000 (22:30 +0000)]
2004-07-29  Andrew Cagney  <cagney@gnu.org>

* PROBLEMS (mips-irix): Note that it is broken.

20 years ago* gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
Mark Kettenis [Thu, 29 Jul 2004 22:02:57 +0000 (22:02 +0000)]
* gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
gdb1718".  PR backtrace/1718 partially fixed.

20 years ago2004-07-29 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 29 Jul 2004 21:36:58 +0000 (21:36 +0000)]
2004-07-29  Andrew Cagney  <cagney@gnu.org>

* config/mips/xm-irix5.h (REGISTER_U_ADDR): Move from here ...
* config/mips/nm-irix5.h (REGISTER_U_ADDR): ... to here.

20 years ago2004-07-29 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 29 Jul 2004 21:24:56 +0000 (21:24 +0000)]
2004-07-29  Andrew Cagney  <cagney@gnu.org>

* config/xm-nbsd.h: Delete file.
* config/arm/xm-nbsd.h: Delete file.
* config/i386/xm-nbsd.h: Delete file.
* config/ns32k/xm-nbsd.h: Delete file.
* config/ns32k/nbsdaout.mh (XM_FILE): Delete.
* config/i386/nbsdelf.mh (XM_FILE): Delete.
* config/i386/nbsdaout.mh (XM_FILE): Delete.
* config/arm/nbsdelf.mh (XM_FILE): Delete.
* config/arm/nbsdaout.mh (XM_FILE): Delete.

20 years ago2004-07-29 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 29 Jul 2004 20:53:27 +0000 (20:53 +0000)]
2004-07-29  Andrew Cagney  <cagney@gnu.org>

* config/i386/xm-i386v.h (KERNEL_U_ADDR): Move from here ...
* config/i386/nm-i386v42mp.h (KERNEL_U_ADDR): ... to here, ...
* config/i386/nm-i386v4.h (KERNEL_U_ADDR): ... here, ...
* config/i386/nm-i386v.h (KERNEL_U_ADDR): ... and here.
* config/vax/xm-vax.h (KERNEL_U_ADDR): Move from here ...
* config/vax/nm-vax.h (KERNEL_U_ADDR): ... to here.

20 years ago2004-07-29 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 29 Jul 2004 20:32:45 +0000 (20:32 +0000)]
2004-07-29  Andrew Cagney  <cagney@gnu.org>

* config/powerpc/xm-linux.h: Delete empty file.
* config/powerpc/ppc64-linux.mh (XM_FILE): Delete.
* config/powerpc/linux.mh (XM_FILE): Delete.
* config/m68k/xm-linux.h: Delete empty file.
* config/m68k/linux.mh (XM_FILE): Delete.
* config/ia64/xm-linux.h: Delete empty file.
* config/ia64/linux.mh (XM_FILE): Delete.
* config/arm/xm-linux.h: Delete empty file.
* config/arm/linux.mh (XM_FILE): Delete.

20 years ago2004-07-29 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 29 Jul 2004 20:22:50 +0000 (20:22 +0000)]
2004-07-29  Andrew Cagney  <cagney@gnu.org>

* config/powerpc/xm-linux.h (KERNEL_U_ADDR): Move from here ...
* config/powerpc/nm-linux.h (KERNEL_U_ADDR): ... to here.
* config/m68k/xm-linux.h (KERNEL_U_ADDR): Move from here ...
* config/m68k/nm-linux.h (KERNEL_U_ADDR): ... to here.
* config/ia64/xm-linux.h (KERNEL_U_ADDR): Move from here ...
* config/ia64/nm-linux.h (KERNEL_U_ADDR): ... to here.
* config/arm/xm-linux.h (KERNEL_U_ADDR): Move from here ...
* config/arm/nm-linux.h (KERNEL_U_ADDR): ... to here.

20 years ago2004-07-29 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 29 Jul 2004 20:04:21 +0000 (20:04 +0000)]
2004-07-29  Andrew Cagney  <cagney@gnu.org>

* config/m68k/xm-m68k.h: Delete file.
* config/m68k/xm-linux.h: Do not include "m68k/xm-m68k.h".  Update
copyright.
(HOST_LONG_DOUBLE_FORMAT): Delete macro.
* config/pa/xm-linux.h: Delete empty file.
* config/pa/linux.mh (XM_FILE): Delete.
* config/i386/xm-i386.h: Delete empty file.
* config/i386/xm-nbsd.h, config/i386/xm-go32.h: Do not include
"i386/xm-i386.h".
* config/i386/obsdaout.mh (XM_FILE): Delete.
* config/i386/obsd64.mh (XM_FILE): Delete.
* config/i386/fbsd64.mh (XM_FILE): Delete.
* config/i386/nto.mh (XM_FILE): Delete.
* config/i386/obsd.mh (XM_FILE): Delete.
* config/i386/linux64.mh (XM_FILE): Delete.
* config/i386/linux.mh (XM_FILE): Delete.
* config/i386/i386sol2.mh (XM_FILE): Delete.
* config/i386/i386gnu.mh (XM_FILE): Delete.
* config/i386/fbsd.mh (XM_FILE): Delete.
* config/i386/nbsd64.mh (XM_FILE): Delete.

20 years ago2004-07-29 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 29 Jul 2004 19:33:22 +0000 (19:33 +0000)]
2004-07-29  Andrew Cagney  <cagney@gnu.org>

* config/pa/xm-linux.h: Do not include "floatformat.h".
(HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
(HOST_LONG_DOUBLE_FORMAT): Delete macros.
* config/i386/xm-i386.h: Do not include "floatformat.h".
(HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
(HOST_LONG_DOUBLE_FORMAT): Delete macros.
* doublest.c (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
(HOST_LONG_DOUBLE_FORMAT): Delete macros.  Use
GDB_HOST_FLOAT_FORMAT, GDB_HOST_DOUBLE_FORMAT and
GDB_HOST_LONG_DOUBLE_FORMAT instead.
* configure.in (GDB_HOST_FLOAT_FORMAT, GDB_HOST_DOUBLE_FORMAT)
(GDB_HOST_LONG_DOUBLE_FORMAT): Define.
* configure, config.in: Regenerate.
* configure.host (gdb_host_float_format, gdb_host_double_format)
(gdb_host_long_double_format): Set according to the host.

20 years ago2004-07-29 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 29 Jul 2004 15:13:05 +0000 (15:13 +0000)]
2004-07-29  Andrew Cagney  <cagney@gnu.org>

* Makefile.in (CONFIG_CLEAN): Delete duplicate definition.

20 years agoinclude/elf/ChangeLog:
Alexandre Oliva [Thu, 29 Jul 2004 05:19:27 +0000 (05:19 +0000)]
include/elf/ChangeLog:
Introduce SH2a support.
2004-02-18  Corinna Vinschen  <vinschen@redhat.com>
* sh.h (EF_SH2A_NOFPU): New.
2003-12-01  Michael Snyder  <msnyder@redhat.com>
* sh.h (EF_SH2A): New.
bfd/ChangeLog:
Introduce SH2a support.
2004-02-18  Corinna Vinschen  <vinschen@redhat.com>
* archures.c (bfd_mach_sh2a_nofpu): New.
* bfd-in2.h: Rebuilt.
* cpu-sh.c (SH2A_NOFPU_NEXT): New.
(arch_info_struct): Add sh2a_nofpu.
* elf32-sh.c (sh_elf_set_mach_from_flags): Handle sh2a_nofpu.
2003-12-29  DJ Delorie  <dj@redhat.com>
* reloc.c: Add relocs for sh2a.
* bfd-in2.h: Regenerate.
* libbfd.hh: Regenerate.
2003-12-01  Michael Snyder  <msnyder@redhat.com>
* archures.c (bfd_mach_sh2a): New.
* bfd-in2.h: Rebuilt.
* cpu-sh.c (SH_NEXT, SH2_NEXT, etc.): Change defines to enums.
(SH2A_NEXT): New.
(arch_info_struct): Add sh2a.
* elf32-sh.c (sh_elf_set_mach_from_flags): Handle sh2a.
binutils/ChangeLog:
* readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and
EF_SH2A_NOFPU.
gas/ChangeLog:
Introduce SH2a support.
2004-02-24  Corinna Vinschen  <vinschen@redhat.com>
* config/tc-sh.c (get_specific): Change arch_sh2a_up to
arch_sh2a_nofpu_up.
2004-02-24  Corinna Vinschen  <vinschen@redhat.com>
* config/tc-sh.c (md_parse_option): Add sh2a-nofpu ISA handling.
2004-02-20  Corinna Vinschen  <vinschen@redhat.com>
* config/tc-sh.c (sh_elf_final_processing): Move sh2a recognition
to end of conditional expression.
2004-02-20  Corinna Vinschen  <vinschen@redhat.com>
* config/tc-sh.c: Add sh2a-nofpu support.
2003-12-29  DJ Delorie  <dj@redhat.com>
* tc-sh.c: Add sh2a support.
(parse_reg): Add tbr.
(parse_at): Support @@(disp,tbr).
(get_specific): Support sh2a opcodes.
(insert4): New, for 4 byte relocs.
(build_Mytes): Support sh2a opcodes.
(md_apply_fix3_Mytes): Support sh2a opcodes.
2003-12-02  Michael Snyder  <msnyder@redhat.com>
* config/tc-sh.c (md_parse_option): Handle sh2a.
(sh_elf_final_processing): Ditto.
gas/testsuite/ChangeLog:
2003-12-30  DJ Delorie  <dj@redhat.com>
* gas/sh/sh2a.s: New.
* gas/sh/sh2a.d: New.
* gas/sh/basic.exp: Add it.
opcodes/ChangeLog:
Introduce SH2a support.
* sh-opc.h (arch_sh2a_base): Renumber.
(arch_sh2a_nofpu_base): Remove.
(arch_sh_base_mask): Adjust.
(arch_opann_mask): New.
(arch_sh2a, arch_sh2a_nofpu): Adjust.
(arch_sh2a_up, arch_sh2a_nofpu_up): Likewise.
(sh_table): Adjust whitespace.
2004-02-24  Corinna Vinschen  <vinschen@redhat.com>
* sh-opc.h (arch_sh2a_nofpu_up): New.  Use instead of arch_sh2a_up in
instruction list throughout.
(arch_sh2a_up): Redefine to include fpu instruction set.  Use instead
of arch_sh2a in instruction list throughout.
(arch_sh2e_up): Accomodate above changes.
(arch_sh2_up): Ditto.
2004-02-20  Corinna Vinschen  <vinschen@redhat.com>
* sh-opc.h: Add arch_sh2a_nofpu to arch_sh2_up.
2004-02-18  Corinna Vinschen  <vinschen@redhat.com>
* sh-dis.c (print_insn_sh): Add bfd_mach_sh2a_nofpu handling.
* sh-opc.h (arch_sh2a_nofpu): New.
(arch_sh2a_up): New, defines sh2a and sh2a_nofpu.
(sh_table): Change all arch_sh2a to arch_sh2a_up unless FPU
instruction.
2004-01-20  DJ Delorie  <dj@redhat.com>
* sh-dis.c (print_insn_sh): SH2A does not have 'X' fp regs.
2003-12-29  DJ Delorie  <dj@redhat.com>
* sh-opc.c (sh_nibble_type, sh_arg_type, arch_2a, arch_2e_up,
sh_opcode_info, sh_table): Add sh2a support.
(arch_op32): New, to tag 32-bit opcodes.
* sh-dis.c (print_insn_sh): Support sh2a opcodes.
2003-12-02  Michael Snyder  <msnyder@redhat.com>
* sh-opc.h (arch_sh2a): Add.
* sh-dis.c (arch_sh2a): Handle.
* sh-opc.h (arch_sh2_up): Fix up to include arch_sh2a.

20 years agoinclude/elf/ChangeLog:
Alexandre Oliva [Thu, 29 Jul 2004 05:17:41 +0000 (05:17 +0000)]
include/elf/ChangeLog:
Introduce SH2a support.
2004-02-18  Corinna Vinschen  <vinschen@redhat.com>
* sh.h (EF_SH2A_NOFPU): New.
2003-12-01  Michael Snyder  <msnyder@redhat.com>
* sh.h (EF_SH2A): New.
bfd/ChangeLog:
Introduce SH2a support.
2004-02-18  Corinna Vinschen  <vinschen@redhat.com>
* archures.c (bfd_mach_sh2a_nofpu): New.
* bfd-in2.h: Rebuilt.
* cpu-sh.c (SH2A_NOFPU_NEXT): New.
(arch_info_struct): Add sh2a_nofpu.
* elf32-sh.c (sh_elf_set_mach_from_flags): Handle sh2a_nofpu.
2003-12-29  DJ Delorie  <dj@redhat.com>
* reloc.c: Add relocs for sh2a.
* bfd-in2.h: Regenerate.
* libbfd.hh: Regenerate.
2003-12-01  Michael Snyder  <msnyder@redhat.com>
* archures.c (bfd_mach_sh2a): New.
* bfd-in2.h: Rebuilt.
* cpu-sh.c (SH_NEXT, SH2_NEXT, etc.): Change defines to enums.
(SH2A_NEXT): New.
(arch_info_struct): Add sh2a.
* elf32-sh.c (sh_elf_set_mach_from_flags): Handle sh2a.
binutils/ChangeLog:
* readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and
EF_SH2A_NOFPU.
gas/ChangeLog:
Introduce SH2a support.
2004-02-24  Corinna Vinschen  <vinschen@redhat.com>
* config/tc-sh.c (get_specific): Change arch_sh2a_up to
arch_sh2a_nofpu_up.
2004-02-24  Corinna Vinschen  <vinschen@redhat.com>
* config/tc-sh.c (md_parse_option): Add sh2a-nofpu ISA handling.
2004-02-20  Corinna Vinschen  <vinschen@redhat.com>
* config/tc-sh.c (sh_elf_final_processing): Move sh2a recognition
to end of conditional expression.
2004-02-20  Corinna Vinschen  <vinschen@redhat.com>
* config/tc-sh.c: Add sh2a-nofpu support.
2003-12-29  DJ Delorie  <dj@redhat.com>
* tc-sh.c: Add sh2a support.
(parse_reg): Add tbr.
(parse_at): Support @@(disp,tbr).
(get_specific): Support sh2a opcodes.
(insert4): New, for 4 byte relocs.
(build_Mytes): Support sh2a opcodes.
(md_apply_fix3_Mytes): Support sh2a opcodes.
2003-12-02  Michael Snyder  <msnyder@redhat.com>
* config/tc-sh.c (md_parse_option): Handle sh2a.
(sh_elf_final_processing): Ditto.
gas/testsuite/ChangeLog:
2003-12-30  DJ Delorie  <dj@redhat.com>
* gas/sh/sh2a.s: New.
* gas/sh/sh2a.d: New.
* gas/sh/basic.exp: Add it.

20 years agobfd:
Jason Thorpe [Thu, 29 Jul 2004 03:48:13 +0000 (03:48 +0000)]
bfd:
* config.bfd (hppa*-*-netbsd*): Set targ_defvec to
bfd_elf32_hppa_nbsd_vec.  Add bfd_elf32_hppa_linux_vec
to targ_selvecs.
* configure.in (bfd_elf32_hppa_nbsd_vec): Add case.
* configure: Regenerate.
* elf32-hppa.c (elf32_hppa_object_p): Add "elf32-hppa-netbsd"
case that accepts OSABI=NetBSD and OSABI=SysV.
(elf32_hppa_set_gp): For "elf32-hppa-netbsd", set the GP to
the base of .got or .data (if .got does not exist).
(elf32_hppa_post_process_headers): For elf32-hppa-netbsd,
set OSABI=NetBSD.
(TARGET_BIG_SYM): Add bfd_elf32_hppa_nbsd_vec case.
(TARGET_BIG_NAME): Add "elf32-hppa-netbsd" case.
* targets.c (bfd_elf32_hppa_nbsd_vec): Add extern declaration.
(_bfd_target_vector): Add bfd_elf32_hppa_nbsd_vec.

gas:
* config/tc-hppa.h (TARGET_FORMAT): Set to "elf32-hppa-netbsd"
for TE_NetBSD.

ld:
* emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".

20 years ago*** empty log message ***
gdbadmin [Thu, 29 Jul 2004 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Thu, 29 Jul 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago PR 273
Dave Anglin [Wed, 28 Jul 2004 22:23:53 +0000 (22:23 +0000)]
PR 273
* som.c (setup_sections): Improve estimation of space sizes in
relocatable objects.

20 years ago2004-07-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 28 Jul 2004 19:53:39 +0000 (19:53 +0000)]
2004-07-28  Andrew Cagney  <cagney@gnu.org>

* PROBLEMS: Mention threads/1650.
* NEWS: Mention the NPTL fix.

20 years ago2004-07-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 28 Jul 2004 19:42:01 +0000 (19:42 +0000)]
2004-07-28  Andrew Cagney  <cagney@gnu.org>

* cli/cli-decode.c (add_setshow_cmd): Delete function.
(add_setshow_cmd_full): Make static.
* command.h (add_setshow_cmd, add_setshow_cmd_full): Delete.
(add_setshow_filename_cmd, add_setshow_string_cmd): Declare.
* cli/cli-decode.c (add_setshow_filename_cmd)
(add_setshow_string_cmd): New functions.
* nto-tdep.c (_initialize_nto_tdep): Update.  Fix parameters.
* mips-tdep.c (_initialize_mips_tdep): Update.
* m32r-rom.c (_initialize_m32r_rom): Update.  Update copyright.
* cli/cli-logging.c (_initialize_cli_logging): Update.
* complaints.c (_initialize_complaints): Update.
* remote.c (_initialize_remote): Update.

20 years ago2004-07-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 28 Jul 2004 17:26:27 +0000 (17:26 +0000)]
2004-07-28  Andrew Cagney  <cagney@gnu.org>

* cli/cli-decode.c (add_setshow_zinteger_cmd)
(add_setshow_cmd, add_setshow_auto_boolean_cmd)
(add_setshow_boolean_cmd, add_setshow_cmd_full): Add help_doc and
print parameters.  Make string parameters constant.
* command.h: Update.  Update copyright.
* remote.c (add_packet_config_cmd, _initialize_remote): Ditto.
* observer.c (_initialize_observer): Ditto.
* frame.c (_initialize_frame): Ditto.
* complaints.c (_initialize_complaints): Ditto.
* maint.c (_initialize_maint_cmds): Ditto.
* target.c (initialize_targets): Ditto.
* cli/cli-logging.c (_initialize_cli_logging): Ditto.
* infcall.c (_initialize_infcall): Ditto.
* arm-tdep.c (_initialize_arm_tdep): Ditto.
* m32r-rom.c (_initialize_m32r_rom): Ditto.
* remote-rdi.c (_initialize_remote_rdi): Ditto.
* d10v-tdep.c (_initialize_d10v_tdep): Ditto.
* mips-tdep.c (_initialize_mips_tdep): Ditto.

20 years ago2004-07-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 28 Jul 2004 15:49:04 +0000 (15:49 +0000)]
2004-07-28  Andrew Cagney  <cagney@gnu.org>

* gdbtypes.c (lookup_primitive_typename): Delete function.
* gdbtypes.h (lookup_primitive_typename): Delete declaration.
* ada-lex.l: Use language_lookup_primitive_type_by_name.
* gdbtypes.c (lookup_typename): Ditto.
* f-exp.y (yylex): Ditto.
* c-exp.y (yylex): Ditto, eliminate assignment in "if".

20 years ago2004-07-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 28 Jul 2004 15:18:08 +0000 (15:18 +0000)]
2004-07-28  Andrew Cagney  <cagney@gnu.org>

* scm-lang.c (c_builtin_types): Delete extern declaration.
(scm_language_defn): Replace
string_char_type and primitive_type_vector with
la_language_arch_info.
* jv-lang.c (java_language_defn): Replace
string_char_type and primitive_type_vector with
la_language_arch_info.
* config/i386/i386sco4.mh (NATDEPFILES): Remove reference to
c_builtin_types in comment.
* c-lang.h (struct language_arch_info): Declare opaque.
(c_language_arch_info): Declare.
(c_builtin_types): Delete declaration.
* c-lang.c (c_language_arch_info): Set string_char_type to
builtin_char, not builtin_true_char.  Make global.
(c_builtin_types): Delete array.
(asm_language_defn, minimal_language_defn): Replace
string_char_type and primitive_type_vector with
la_language_arch_info.

20 years ago2004-07-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 28 Jul 2004 14:32:19 +0000 (14:32 +0000)]
2004-07-28  Andrew Cagney  <cagney@gnu.org>

* gdbtypes.h (struct builtin_type): Rename true_char to
builtin_true_char.
* gdbtypes.c (gdbtypes_post_init): Update.
* c-lang.c (arch_info): New function.
(enum c_primitive_types): New enum.
(c_language_defn): Instead of string_char_type and
primitive_type_vector set la_language_arch_info.

20 years ago2003-07-08 Alexandre Oliva <aoliva@redhat.com>
Alexandre Oliva [Wed, 28 Jul 2004 08:55:41 +0000 (08:55 +0000)]
2003-07-08  Alexandre Oliva  <aoliva@redhat.com>
* readelf.c (get_machine_flags <EM_SH)): Handle EF_SH4_NOFPU and
EF_SH4A_NOFPU.
2003-06-12  Alexandre Oliva  <aoliva@redhat.com>
* readelf.c (get_machine_flags <EM_SH>): Print SH ISA name.

20 years ago2004-07-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 28 Jul 2004 04:33:49 +0000 (04:33 +0000)]
2004-07-28  Andrew Cagney  <cagney@gnu.org>

* language.h (struct language_arch_info): Fix typo
s/primative/primitive/.
* gdbtypes.c (lookup_primitive_typename): Ditto.
* language.c (language_lookup_primitive_type_by_name)
(unknown_language_arch_info): Ditto.

20 years ago2004-07-27 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 28 Jul 2004 02:46:24 +0000 (02:46 +0000)]
2004-07-27  Andrew Cagney  <cagney@gnu.org>

* defs.h (enum language): Add nr_languages.
* language.h (struct language_arch_info): Define.
(struct language_defn): Add la_language_arch_info.
(language_lookup_primative_type_by_name): Declare.
(language_string_char_type): Declare.
* language.c (_initialize_language, language_gdbarch_post_init)
(struct language_gdbarch, language_gdbarch_data): Implement
per-architecture language information.
(unknown_language_arch_info, language_string_char_type)
(language_lookup_primative_type_by_name): New functions.
(unknown_language_defn, auto_language_defn)
(local_language_defn): Set la_language_arch_info to
unknown_language_arch_info.
(unknown_builtin_types): Delete.
* gdbtypes.c (lookup_primitive_typename): Use
language_lookup_primative_type_by_name.
(create_string_type): Use language_string_char_type.
* values.c (value_from_string): Use language_string_char_type.
* scm-lang.c (scm_language_defn): Add NULL la_language_arch_info.
* p-lang.c (pascal_language_defn): Ditto.
* m2-lang.c (m2_language_defn): Ditto.
* jv-lang.c (java_language_defn): Ditto.
* objc-lang.c (objc_language_defn): Ditto.
* f-lang.c (f_language_defn): Ditto.
* c-lang.c (c_language_defn, cplus_language_defn)
(asm_language_defn, minimal_language_defn): Ditto.

20 years ago2004-07-27 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 28 Jul 2004 02:03:52 +0000 (02:03 +0000)]
2004-07-27  Andrew Cagney  <cagney@gnu.org>

* gdbtypes.h (struct builtin_type): Declare.
(builtin_type): Declare.
* d10v-tdep.c (d10v_register_type): Use builtin_type.
* gdbtypes.c (_initialize_gdbtypes): Register gdbtypes_post_init.
(gdbtypes_post_init): New function.
(builtin_type): New function.

20 years agodaily update
Alan Modra [Wed, 28 Jul 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Wed, 28 Jul 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 27 Jul 2004 23:40:49 +0000 (23:40 +0000)]
2004-07-27  Jeff Johnston  <jjohnstn@redhat.com>

        * gdb.threads/watchthreads.exp: New test for threaded watchpoints.

20 years agobfd:
Jason Thorpe [Tue, 27 Jul 2004 22:30:25 +0000 (22:30 +0000)]
bfd:
* config.bfd (hppa*-*-netbsd*): Set targ_defvec to
bfd_elf32_hppa_nbsd_vec.  Add bfd_elf32_hppa_linux_vec
to targ_selvecs.
* configure.in (bfd_elf32_hppa_nbsd_vec): Add case.
* configure: Regenerate.
* elf32-hppa.c (elf32_hppa_object_p): Add "elf32-hppa-netbsd"
case that accepts OSABI=NetBSD and OSABI=SysV.
(elf32_hppa_set_gp): For "elf32-hppa-netbsd", set the GP to
the base of .got or .data (if .got does not exist).
(elf32_hppa_post_process_headers): For elf32-hppa-netbsd,
set OSABI=NetBSD.
(TARGET_BIG_SYM): Add bfd_elf32_hppa_nbsd_vec case.
(TARGET_BIG_NAME): Add "elf32-hppa-netbsd" case.
* targets.c (bfd_elf32_hppa_nbsd_vec): Add extern declaration.
(_bfd_target_vector): Add bfd_elf32_hppa_nbsd_vec.

gas:
* config/tc-hppa.h (TARGET_FORMAT): Set to "elf32-hppa-netbsd"
for TE_NetBSD.

ld:
* emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".

20 years agold-h8300/h8300.exp: Addition of new test case to check relaxation for H8S target.
Nick Clifton [Tue, 27 Jul 2004 16:47:02 +0000 (16:47 +0000)]
ld-h8300/h8300.exp: Addition of new test case to check relaxation for H8S target.
ld-h8300/relax-6.s: New test source file.
ld-h8300/relax-6.d: New test expected disassembly file.
ld-h8300/relax-6-coff.d: New test expected disassembly file for COFF format.

20 years agoRemove the leading space.
H.J. Lu [Tue, 27 Jul 2004 14:44:24 +0000 (14:44 +0000)]
Remove the leading space.

20 years ago2004-07-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 27 Jul 2004 14:20:49 +0000 (14:20 +0000)]
2004-07-27  H.J. Lu  <hongjiu.lu@intel.com>

PR 161/251
* elf-bfd.h (bfd_elf_section_data): Add sec_group.
(elf_sec_group): Defined.
(bfd_elf_match_symbols_in_sections): New prototype.
(_bfd_elf_setup_group_pointers): Likewise.

* elf.c (bfd_elf_discard_group): Abort.
(bfd_elf_set_group_contents): Also include relocation sections.
Remove zero-fill for ld -r.
(_bfd_elf_setup_group_pointers): New function.
(elf_sort_elf_symbol): Likewise.
(elf_sym_name_compare): Likewise.
(bfd_elf_match_symbols_in_sections): Likewise.

* elfcode.h (elf_object_p): Call _bfd_elf_setup_group_pointers.

* elflink.c (match_group_member): New.
(elf_link_input_bfd): Check group member for discarded section.
(try_match_symbols_in_sections): New function.
(already_linked): Likewise.
(_bfd_elf_section_already_linked): Support mixing comdat group
and linkonce section.

* libbfd-in.h (bfd_section_already_linked_table_traverse): New.
* linker.c (bfd_section_already_linked_table_traverse): New.

* libbfd.h: Regenerated.

20 years ago * config/tc-ppc.c (ppc_frob_file_before_adjust): Warn if .toc too big.
Alan Modra [Tue, 27 Jul 2004 13:56:55 +0000 (13:56 +0000)]
* config/tc-ppc.c (ppc_frob_file_before_adjust): Warn if .toc too big.
(ppc_arch): Expand comment.

20 years agoRegeneration accidentally omitted from previous delta
Nick Clifton [Tue, 27 Jul 2004 11:40:24 +0000 (11:40 +0000)]
Regeneration accidentally omitted from previous delta

20 years agoAdd CRX insns: pushx, popx
Nick Clifton [Tue, 27 Jul 2004 11:37:12 +0000 (11:37 +0000)]
Add CRX insns: pushx, popx
Add support to GAS for expressions which are the difference of two symbols

20 years agoUse -gdwarf2 in preference to -gstabs for Sparc64.
Nick Clifton [Tue, 27 Jul 2004 09:28:42 +0000 (09:28 +0000)]
Use -gdwarf2 in preference to -gstabs for Sparc64.

20 years ago * elf64-ppc.c: Correct "Linker stubs" comment.
Alan Modra [Tue, 27 Jul 2004 05:16:51 +0000 (05:16 +0000)]
* elf64-ppc.c: Correct "Linker stubs" comment.

20 years ago2004-07-27 Kei Sakamoto <sakamoto.kei@renesas.com>
Kazuhiro Inaoka [Tue, 27 Jul 2004 01:00:42 +0000 (01:00 +0000)]
2004-07-27  Kei Sakamoto  <sakamoto.kei@renesas.com>

* remote-m32r-sdi.c: Fix breakpoint bug.
(send_cmd, send_one_arg_cmd, send_two_arg_cmd, send_three_arg_cmd,
recv_char_data, recv_long_data): New functions to replace communication
sequences.

20 years ago2004-07-26 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Tue, 27 Jul 2004 00:01:17 +0000 (00:01 +0000)]
2004-07-26  Michael Chastain  <mec.gnu@mindspring.com>

Document PR threads/1650.
* PROBLEMS (Threads): Document problem with many threads

20 years agodaily update
Alan Modra [Tue, 27 Jul 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Tue, 27 Jul 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years agoIndex: ChangeLog
Andrew Cagney [Mon, 26 Jul 2004 21:52:34 +0000 (21:52 +0000)]
Index: ChangeLog
2004-07-26  Andrew Cagney  <cagney@gnu.org>

* gdb-mi.el: Move from here ...
* mi/gdb-mi.el: ... to here.

20 years agoIndex: common/ChangeLog
Andrew Cagney [Mon, 26 Jul 2004 21:37:46 +0000 (21:37 +0000)]
Index: common/ChangeLog
2004-07-26  Andrew Cagney  <cagney@gnu.org>

Problem from Olaf Hering <olh@suse.de>.
* Makefile.in (install-man, installdirs): Add DESTDIR prefix.

Index: ppc/ChangeLog
2004-07-26  Andrew Cagney  <cagney@gnu.org>

Problem from Olaf Hering <olh@suse.de>.
* Makefile.in (install, installdirs): Add DESTDIR.

20 years agobfd/
H.J. Lu [Mon, 26 Jul 2004 21:01:15 +0000 (21:01 +0000)]
bfd/

2004-07-26  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (bfd_elf_section_data): Add a pointer for the
linked-to section.
(elf_linked_to_section): New.

* elf.c (assign_section_numbers): Set up sh_link for
SHF_LINK_ORDER.

* elfxx-ia64.c (elfNN_ia64_final_write_processing): Set sh_info
to sh_link for SHT_IA_64_UNWIND sections.

gas/

2004-07-26  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-ia64.c (start_unwind_section): Set the linked-to
section.
(ia64_elf_section_change_hook): Set the linked-to section for
SHT_IA_64_UNWIND.

20 years ago2004-07-26 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 26 Jul 2004 19:01:51 +0000 (19:01 +0000)]
2004-07-26  Andrew Cagney  <cagney@gnu.org>

Problem reported by Ashley Pittman <ashley@quadrics.com>.
* main.c (captured_main): When in batch mode always detach.

20 years ago2004-07-26 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 26 Jul 2004 18:30:19 +0000 (18:30 +0000)]
2004-07-26  Andrew Cagney  <cagney@gnu.org>

* MAINTAINERS: Mark the xstormy16, sh64, ns32k, mn10300, mcore,
and h8300 as broken.
* NEWS: END-OF-LIFE frame compatibility module.
* PROBLEMS: For "Stack backtraces", remove powerpc, hppa and mips
specific comments.

20 years ago2004-07-26 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 26 Jul 2004 14:53:06 +0000 (14:53 +0000)]
2004-07-26  Andrew Cagney  <cagney@gnu.org>

* cli/cli-decode.c (deprecated_add_show_from_set): Deprecate.
* xcoffsolib.c (_initialize_xcoffsolib): Update.
* wince.c (_initialize_wince): Update.
* win32-nat.c (_initialize_win32_nat): Update.
* varobj.c (_initialize_varobj): Update.
* valops.c (_initialize_valops): Update.
* utils.c (initialize_utils, initialize_utils): Update.
* tui/tui-win.c (_initialize_tui_win): Update.
* top.c (init_main): Update.
* symfile.c (_initialize_symfile): Update.
* source.c (_initialize_source): Update.
* somsolib.c (_initialize_som_solib): Update.
* solib.c (_initialize_solib): Update.
* solib-frv.c (_initialize_frv_solib): Update.
* serial.c (_initialize_serial): Update.
* ser-go32.c (_initialize_ser_dos, _initialize_ser_dos): Update.
* remote.c (_initialize_remote, _initialize_remote): Update.
* remote-vx.c (_initialize_vx): Update.
* remote-utils.c (_initialize_sr_support): Update.
* remote-sds.c (_initialize_remote_sds): Update.
* remote-mips.c (_initialize_remote_mips): Update.
* remote-e7000.c (_initialize_remote_e7000): Update.
* proc-api.c (_initialize_proc_api): Update.
* printcmd.c: Update.
* parse.c (_initialize_parse): Update.
* pa64solib.c (_initialize_pa64_solib): Update.
* p-valprint.c (_initialize_pascal_valprint): Update.
* monitor.c (_initialize_remote_monitors): Update.
* mips-tdep.c (_initialize_mips_tdep): Update.
* mcore-tdep.c (_initialize_mcore_tdep): Update.
* maint.c (_initialize_maint_cmds): Update.
* lin-lwp.c (_initialize_lin_lwp): Update.
* language.c (_initialize_language): Update.
* kod.c (_initialize_kod): Update.
* infrun.c (set_schedlock_func, _initialize_infrun): Update.
* i386-tdep.c (_initialize_i386_tdep): Update.
* gdbtypes.c (build_gdbtypes, _initialize_gdbtypes): Update.
* gdbarch.sh: Update.
* gdbarch.c: Re-generate.
* gdb-events.sh: Update.
* gdb-events.c: Re-generate.
* frame.c (_initialize_frame): Update.
* exec.c: Update.
* demangle.c (_initialize_demangler): Update.
* dcache.c (_initialize_dcache): Update.
* cris-tdep.c (_initialize_cris_tdep, cris_version_update): Update.
* cp-valprint.c (_initialize_cp_valprint): Update.
* corefile.c (_initialize_core): Update.
* command.h: Update.
* cli/cli-decode.h: Update.
* cli/cli-cmds.c (init_cli_cmds): Update.
* charset.c (_initialize_charset): Update.
* breakpoint.c (_initialize_breakpoint): Update.
* arm-tdep.c (_initialize_arm_tdep_initialize_arm_tdep): Update.
* alpha-tdep.c (_initialize_alpha_tdep): Update.
* aix-thread.c (_initialize_aix_thread): Update.

20 years agoAdd new subtargets: msp430x1610, msp430x1611, msp430x1612, msp430x415,
Nick Clifton [Mon, 26 Jul 2004 12:29:02 +0000 (12:29 +0000)]
Add new subtargets: msp430x1610, msp430x1611, msp430x1612, msp430x415,
 msp430x417, msp430xG437, msp430xG438, msp430xG439.

20 years agoremove duplicated word
Nick Clifton [Mon, 26 Jul 2004 07:55:14 +0000 (07:55 +0000)]
remove duplicated word

20 years ago * doc/as.texinfo (Section, PushSection): Correct documentation
Daniel Jacobowitz [Mon, 26 Jul 2004 03:34:35 +0000 (03:34 +0000)]
* doc/as.texinfo (Section, PushSection): Correct documentation
for ELF.

20 years ago*** empty log message ***
gdbadmin [Mon, 26 Jul 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Mon, 26 Jul 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Sun, 25 Jul 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Sun, 25 Jul 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years agomerge from gcc
DJ Delorie [Sat, 24 Jul 2004 18:04:39 +0000 (18:04 +0000)]
merge from gcc

20 years agoPartial fix for PR backtrace/1718.
Mark Kettenis [Sat, 24 Jul 2004 12:59:52 +0000 (12:59 +0000)]
Partial fix for PR backtrace/1718.
* i386-tdep.c (i386_analyze_frame_setup): Handle more instructions
that GCC migrates into the prolugue.  Don't handle any
instructions that clobber %ebx.

20 years ago2004-07-23 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sat, 24 Jul 2004 01:00:21 +0000 (01:00 +0000)]
2004-07-23  Andrew Cagney  <cagney@gnu.org>

Use regcache_raw_collect instead of regcache_collect.
* regcache.h (regcache_collect): Delete declaration.
* regcache.c (regcache_colect): Delete function.
* win32-nat.c (do_child_store_inferior_registers): Update.
* sol-thread.c (sol_thread_store_registers): Update.
* shnbsd-tdep.c (shnbsd_fill_reg): Update.
* rs6000-nat.c (store_register): Update.
* remote.c (store_register_using_P, remote_store_registers): Update.
* ppcnbsd-tdep.c (ppcnbsd_fill_reg): Update.
* ppc-linux-nat.c (store_altivec_register, store_spe_register)
(fill_vrregset, store_spe_registers, fill_gregset)
(fill_gregset): Update.
* nto-procfs.c (procfs_store_registers): Update.
* mipsnbsd-tdep.c (mipsnbsd_fill_reg): Update.
* mips-linux-tdep.c (fill_gregset, mips64_fill_gregset): Update.
* m68klinux-nat.c (store_register, fill_gregset): Update.
* m68k-tdep.c (fill_gregset): Update.
* infptrace.c (store_register): Update.
* i386-nto-tdep.c (i386nto_regset_fill): Update.
* i386-linux-nat.c (store_register, fill_gregset): Update.
* hppa-linux-nat.c (fill_gregset): Update.
* go32-nat.c (store_register): Update.
* armnbsd-nat.c (store_register, store_regs, store_fp_register)
(store_fp_regs): Update.
* arm-linux-nat.c (store_nwfpe_single, store_nwfpe_double)
(store_nwfpe_extended, store_fpregister, store_fpregs)
(store_register, store_regs, fill_gregset, fill_fpregset): Update.
* alpha-tdep.c (alpha_fill_int_regs, alpha_fill_fp_regs): Update.
* aix-thread.c (fill_gprs64, fill_fprs, fill_sprs64, fill_sprs32)
(store_regs_user_thread, store_regs_kernel_thread): Update.

20 years ago*** empty log message ***
gdbadmin [Sat, 24 Jul 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago* gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
Mark Kettenis [Fri, 23 Jul 2004 22:08:39 +0000 (22:08 +0000)]
* gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
* gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
(main): Call new function.

20 years ago* dwarf2-frame.c (struct dwarf2_cie): Delete `addr_size' member.
Mark Kettenis [Fri, 23 Jul 2004 22:05:20 +0000 (22:05 +0000)]
* dwarf2-frame.c (struct dwarf2_cie): Delete `addr_size' member.
(decode_frame_entry_1): Use DW_EH_PE_absptr as default for CIE
encoding.
(dwarf2_build_frame_info): Adjust for removal of `addr_size'
member of `struct comp_unit'.

20 years ago2004-07-23 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 23 Jul 2004 19:37:21 +0000 (19:37 +0000)]
2004-07-23  Andrew Cagney  <cagney@gnu.org>

* infrun.c (handle_inferior_event): Separate the STEP_OVER_ALL and
DEPRECATED_IGNORE_HELPER_CALL cases, only #ifdef the latter.

20 years ago2004-07-23 Martin Hunt <hunt@redhat.com>
Martin Hunt [Fri, 23 Jul 2004 17:46:03 +0000 (17:46 +0000)]
2004-07-23  Martin Hunt  <hunt@redhat.com>
Kevin Buettner <kevinb@redhat.com>

* dwarf2-frame.c (execute_cfa_program): Fix typo in which the
alignment was being added to the offset instead of multiplied.

20 years ago(_place_orphan): Use an already existing section name if that section does not
Nick Clifton [Fri, 23 Jul 2004 16:32:53 +0000 (16:32 +0000)]
(_place_orphan): Use an already existing section name if that section does not
have any flags set.

20 years ago2004-07-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 23 Jul 2004 15:40:19 +0000 (15:40 +0000)]
2004-07-23  H.J. Lu  <hongjiu.lu@intel.com>

* bin-bugs.h (REPORT_BUGS_TO): Set to
"<URL:http://www.sourceware.org/bugzilla/>".

20 years ago* sparc64obsd-tdep.c (sparc64obsd_pc_in_sigtramp): Adjust for
Mark Kettenis [Fri, 23 Jul 2004 13:43:36 +0000 (13:43 +0000)]
* sparc64obsd-tdep.c (sparc64obsd_pc_in_sigtramp): Adjust for
changed signal trampoline in OpenBSD 3.5-current.

20 years ago* sparc64nbsd-nat.c: Include "regcache.h", <sys/types.h>,
Mark Kettenis [Fri, 23 Jul 2004 10:33:37 +0000 (10:33 +0000)]
* sparc64nbsd-nat.c: Include "regcache.h", <sys/types.h>,
<machine/pcb.h> and "bsd-kvm.h".
(sparc64nbsd_supply_pcb): New function.
(_initialize_sparc64nbsd_nat): Renamed from
_initialize_sparcnbsd_nat.  Enable libkvm interface.
* Makefile.in (sparc64nbsd-nat.o): Update dependencies.
* config/sparc/nbsd64.mh (NATDEPFILES): Add bsd-kvm.o
(LOADLIBES): New variable.

20 years ago* config/sparc/obsd64.mt (TDEPFILES): Add sparcobsd-tdep.o.
Mark Kettenis [Fri, 23 Jul 2004 00:15:11 +0000 (00:15 +0000)]
* config/sparc/obsd64.mt (TDEPFILES): Add sparcobsd-tdep.o.

20 years ago*** empty log message ***
gdbadmin [Fri, 23 Jul 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago* sparcnbsd-nat.c (sparc32nbsd_supply_pcb): Fix typo in comment.
Mark Kettenis [Thu, 22 Jul 2004 23:07:37 +0000 (23:07 +0000)]
* sparcnbsd-nat.c (sparc32nbsd_supply_pcb): Fix typo in comment.

20 years agoSet BFD_VERSION_DATE to 20040722.
H.J. Lu [Thu, 22 Jul 2004 19:14:51 +0000 (19:14 +0000)]
Set BFD_VERSION_DATE to 20040722.

20 years ago2004-07-22 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 22 Jul 2004 19:10:49 +0000 (19:10 +0000)]
2004-07-22  H.J. Lu  <hongjiu.lu@intel.com>

* i386.h (i386_optab): Allow cs/ds in 64bit for branch hints.

20 years ago2004-07-22 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 22 Jul 2004 18:09:02 +0000 (18:09 +0000)]
2004-07-22  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/x86-64-inval.l: Remove the leading `+'.

20 years agoFix for PR 280 - remove duplicated raw insn output fron h8300/h8500 disassemblers
Nick Clifton [Thu, 22 Jul 2004 16:52:43 +0000 (16:52 +0000)]
Fix for PR 280 - remove duplicated raw insn output fron h8300/h8500 disassemblers

20 years ago2004-07-22 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 22 Jul 2004 15:06:32 +0000 (15:06 +0000)]
2004-07-22  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (elf_fixup_link_order): Add _() to error message.

20 years agobfd/
H.J. Lu [Thu, 22 Jul 2004 14:19:04 +0000 (14:19 +0000)]
bfd/

2004-07-22  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (elf_fixup_link_order): Issue a warning and flag
an error if failed.

ld/

2004-07-22  H.J. Lu  <hongjiu.lu@intel.com>

* ld-scripts/crossref.exp: XFAIL ia64-*-* on the first test.

20 years agooops - omitted from previous delta
Nick Clifton [Thu, 22 Jul 2004 10:45:40 +0000 (10:45 +0000)]
oops - omitted from previous delta

20 years ago2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Thu, 22 Jul 2004 09:56:42 +0000 (09:56 +0000)]
2004-07-22  Michael Chastain  <mec.gnu@mindspring.com>

Test for PR exp/1715.
* gdb.base/radix.exp: Refactor common procedures.  Make all
test names unique.  Change XFAIL to KFAIL.

20 years ago2004-07-21 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 22 Jul 2004 01:31:49 +0000 (01:31 +0000)]
2004-07-21  Andrew Cagney  <cagney@gnu.org>

Use regcache_raw_supply instead of supply_register.
* regcache.h (supply_register): Delete declaration.
* regcache.c (supply_register): Delete function.
* wince.c (do_child_fetch_inferior_registers): Update.
* win32-nat.c (do_child_fetch_inferior_registers)
(fetch_elf_core_registers): Update.
* v850ice.c (v850ice_fetch_registers): Update.
* thread-db.c (thread_db_store_registers): Update.
* sol-thread.c (sol_thread_store_registers): Update.
* shnbsd-tdep.c (shnbsd_supply_reg): Update.
* rs6000-nat.c (fetch_register): Update.
* rom68k-rom.c (rom68k_supply_one_register): Update.
* remote.c (remote_wait, remote_async_wait): Update.
* remote-st.c (get_hex_regs): Update.
* remote-sim.c (gdbsim_fetch_register): Update.
* remote-sds.c (sds_fetch_registers): Update.
* remote-rdp.c (remote_rdp_fetch_register): Update.
* remote-rdi.c (arm_rdi_fetch_registers): Update.
* remote-mips.c (mips_wait, mips_fetch_registers): Update.
* remote-m32r-sdi.c (m32r_fetch_register): Update.
* remote-hms.c (init_hms_cmds): Update.
* remote-est.c (init_est_cmds): Update.
* remote-e7000.c (get_hex_regs, fetch_regs_from_dump)
(e7000_fetch_registers, sub2_from_pc, e7000_wait): Update.
* ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_supply_fpreg): Update.
* ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register)
(fetch_register, supply_vrregset, supply_vrregset)
(fetch_spe_registers): Update.
* ppc-bdm.c (bdm_ppc_fetch_registers): Update.
* monitor.c (monitor_supply_register): Update.
* mipsv4-nat.c (supply_gregset, supply_fpregset): Update.
* mipsnbsd-tdep.c (mipsnbsd_supply_reg)
(mipsnbsd_supply_fpreg): Update.
* mips-nat.c (fetch_inferior_registers)
(fetch_core_registers): Update.
* mips-linux-tdep.c (supply_32bit_reg, supply_gregset)
(supply_fpregset, mips64_supply_gregset)
(mips64_supply_fpregset): Update.
* m68klinux-nat.c (fetch_register, supply_gregset)
(supply_fpregset): Update.
* m68k-tdep.c (supply_gregset, supply_fpregset): Update.
* m32r-rom.c (init_m32r_cmds, init_mon2000_cmds): Update.
* lynx-nat.c (fetch_inferior_registers, fetch_core_registers): Update.
* irix5-nat.c (supply_gregset, supply_fpregset): Update.
* infptrace.c (fetch_register): Update.
* ia64-linux-nat.c (supply_gregset, supply_fpregset): Update.
* ia64-aix-nat.c (supply_gregset, supply_fpregset): Update.
* i386gnu-nat.c (fetch_fpregs, supply_gregset)
(gnu_fetch_registers, gnu_store_registers): Update.
* i386-nto-tdep.c (i386nto_supply_gregset): Update.
* i386-linux-nat.c (fetch_register, supply_gregset)
(dummy_sse_values): Update.
* hpux-thread.c (hpux_thread_fetch_registers): Update.
* hppah-nat.c (fetch_register): Update.
* hppa-linux-nat.c (fetch_register, supply_gregset)
(supply_fpregset): Update.
* go32-nat.c (fetch_register): Update.
* dve3900-rom.c (fetch_bitmapped_register)
(_initialize_r3900_rom): Update.
* cris-tdep.c (supply_gregset): Update.
* abug-rom.c (init_abug_cmds): Update.
* core-aout.c (fetch_core_registers): Update.
* armnbsd-nat.c (supply_gregset, supply_fparegset)
(fetch_register, fetch_fp_register): Update.
* arm-linux-nat.c (fetch_nwfpe_single, fetch_nwfpe_none)
(fetch_nwfpe_extended, fetch_fpregister, fetch_fpregs)
(fetch_register, fetch_regs, supply_gregset, supply_fpregset): Update.
* alphanbsd-tdep.c (fetch_core_registers): Update.
* alpha-tdep.c (alpha_supply_int_regs, alpha_supply_fp_regs): Update.
* alpha-nat.c (fetch_osf_core_registers)
(fetch_osf_core_registers, fetch_osf_core_registers): Update.
* aix-thread.c (supply_gprs64, supply_reg32, supply_fprs)
(supply_sprs64, supply_sprs32, fetch_regs_kernel_thread): Update.

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

20 years agoknetbsd/kfreebsd patches from Robert Millan.
Jim Wilson [Wed, 21 Jul 2004 19:21:41 +0000 (19:21 +0000)]
knetbsd/kfreebsd patches from Robert Millan.
* libtool.m4: Add kfreebsd*-gnu and knetbsd*-gnu.
* ltconfig: Likewise.
* ltcf-c.sh: Likewise.
* ltcf-cxx.sh: Likewise.
* ltcf-gcj.sh: Likewise.

20 years agoFor DefaultSize instructions, don't guess a 'q' suffix if the instruction
Nick Clifton [Wed, 21 Jul 2004 18:18:04 +0000 (18:18 +0000)]
For DefaultSize instructions, don't guess a 'q' suffix if the instruction
doesn't support it.

20 years agomerge from gcc
DJ Delorie [Wed, 21 Jul 2004 17:27:07 +0000 (17:27 +0000)]
merge from gcc

20 years ago2004-07-21 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 21 Jul 2004 16:17:56 +0000 (16:17 +0000)]
2004-07-21  Andrew Cagney  <cagney@gnu.org>

* PROBLEMS: Mention breakpoints/1702.
* NEWS: For signal trampolines, cite s390 GNU/Linux as a system
that is known to work.

20 years agoCorrections for x86_64 assembly.
Nick Clifton [Wed, 21 Jul 2004 16:09:43 +0000 (16:09 +0000)]
Corrections for x86_64 assembly.

20 years agoUpdate BFD_VERSION_DATE to 20040721.
H.J. Lu [Wed, 21 Jul 2004 15:46:22 +0000 (15:46 +0000)]
Update BFD_VERSION_DATE to 20040721.

20 years agobfd/
H.J. Lu [Wed, 21 Jul 2004 15:42:58 +0000 (15:42 +0000)]
bfd/

2004-07-21  H.J. Lu  <hongjiu.lu@intel.com>

* aout-adobe.c (aout_32_section_already_linked): Defined.
* aout-target.h (MY_section_already_linked): Likewise.
* aout-tic30.c (MY_section_already_linked): Likewise.
* binary.c (binary_section_already_linked): Likewise.
* bout.c (b_out_section_already_linked): Likewise.
* coff-alpha.c (_bfd_ecoff_section_already_linked): Likewise.
* coff-mips.c (_bfd_ecoff_section_already_linked): Likewise.
* coffcode.h (coff_section_already_linked): Likewise.
* i386msdos.c (msdos_section_already_linked): Likewise.
* i386os9k.c (os9k_section_already_linked): Likewise.
* ieee.c (ieee_section_already_linked): Likewise.
* ihex.c (ihex_section_already_linked): Likewise.
* mach-o.c (bfd_mach_o_section_already_linked): Likewise.
* mmo.c (mmo_section_already_linked): Likewise.
* nlm-target.h (nlm_section_already_linked): Likewise.
* oasys.c (oasys_section_already_linked): Likewise.
* pef.c (bfd_pef_section_already_linked): Likewise.
* ppcboot.c (ppcboot_section_already_linked): Likewise.
* som.c (som_bfd_discard_group): Likewise.
* srec.c (srec_section_already_linked): Likewise.
* tekhex.c (tekhex_section_already_linked): Likewise.
* versados.c (versados_section_already_linked): Likewise.
* vms.c (vms_section_already_linked): Likewise.
* coff-target.h (_bfd_xcoff_section_already_linked): Likewise.
* xsym.c (bfd_sym_section_already_linked): Likewise.

* bfd-in.h (bfd_section_already_linked_table_init): New.
(bfd_section_already_linked_table_free): Likewise.

* coff-rs6000.c (rs6000coff_vec): Add
_bfd_generic_section_already_linked.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.
(aix5coff64_vec): Likewise.

* elf-bfd.h (_bfd_elf_section_already_linked): New prototype.
* elflink.c (_bfd_elf_section_already_linked): New function.

* elfxx-target.h (bfd_elfNN_section_already_linked): Defined.

* libbfd-in.h (_bfd_nolink_section_already_linked): Defined.
(_bfd_generic_section_already_linked): New.
(bfd_section_already_linked_hash_entry): Likewise.
(bfd_section_already_linked): Likewise.
(bfd_section_already_linked_table_lookup): Likewise.
(bfd_section_already_linked_table_insert): Likewise.

* linker.c (bfd_section_already_linked): New.
(_bfd_section_already_linked_table): Likewise.
(bfd_section_already_linked_table_lookup): Likewise.
(bfd_section_already_linked_table_insert): Likewise.
(already_linked_newfunc): Likewise.
(bfd_section_already_linked_table_init): Likewise.
(bfd_section_already_linked_table_free): Likewise.
(_bfd_generic_section_already_linked): Likewise.

* section.c (bfd_section): Remove comdat.
(bfd_comdat_info): Moved to ...
* bfd-in.h (coff_comdat_info): Here.
(bfd_coff_get_comdat_section): New.
* coffgen.c (bfd_coff_get_comdat_section): Likewise.
* libcoff-in.h (coff_section_tdata): Add comdat.
* coffcode.h (handle_COMDAT): Updated.
* cofflink.c (coff_link_add_symbols): Likewise.
* ecoff.c (bfd_debug_section): Likewise.

* targets.c (bfd_target): Add _section_already_linked.
(BFD_JUMP_TABLE_LINK): Updated.

* bfd-in2.h: Regenerated.
* libbfd.h: Likewise.
* libcoff.h: Likewise.

binutils/

2004-07-21  H.J. Lu  <hongjiu.lu@intel.com>

* objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section
to access comdat.
* objdump.c (dump_section_header): Likewise.

ld/

2004-07-21  H.J. Lu  <hongjiu.lu@intel.com>

* ldlang.c (already_linked_hash_entry): Removed.
(already_linked): Likewise.
(already_linked_table): Likewise.
(section_already_linked): Call bfd_section_already_linked.
(lang_process): Replace already_linked_table_init with
bfd_section_already_linked_table_init and check return. Replace
already_linked_table_free with bfd_section_already_linked_table_free.

20 years ago(init_os): Make sure that the newly allocated userdata structure is zeroed out.
Nick Clifton [Wed, 21 Jul 2004 15:05:46 +0000 (15:05 +0000)]
(init_os): Make sure that the newly allocated userdata structure is zeroed out.

20 years ago2004-07-21 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 21 Jul 2004 14:23:37 +0000 (14:23 +0000)]
2004-07-21  Andrew Cagney  <cagney@gnu.org>

* config/mips/tm-mips.h (DEPRECATED_IGNORE_HELPER_CALL): Deprecate.
* mips-tdep.c (mips_dump_tdep, mips_ignore_helper): Update.
* infrun.c (DEPRECATED_IGNORE_HELPER_CALL): Delete macro.
(handle_inferior_event): Wrap call to deprecated
IGNORE_HELPER_CALL in #ifdef.
* config/mips/tm-nbsd.h: Update.

20 years ago * elflink.c (elf_get_linked_section_vma, compare_link_order,
Paul Brook [Wed, 21 Jul 2004 13:32:26 +0000 (13:32 +0000)]
* elflink.c (elf_get_linked_section_vma, compare_link_order,
elf_fixup_link_order): New functions.
(bfd_elf_final_link): Call elf_fixup_link_order.

20 years ago* elf-bfd.h (ELF_COMMON_DEF_P): New.
Alexandre Oliva [Wed, 21 Jul 2004 06:46:20 +0000 (06:46 +0000)]
* elf-bfd.h (ELF_COMMON_DEF_P): New.
* elflink.c (_bfd_elf_symbol_refs_local_p): Use it to handle
common definitions.
* elf-m10300.c: Use SYMBOL_REFERENCES_LOCAL instead of
_bfd_elf_symbol_refs_local_p.
* elf32-frv.c (FRVFDPIC_SYM_LOCAL): Remove hack for common
symbols.

20 years ago*** empty log message ***
gdbadmin [Wed, 21 Jul 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Tue, 20 Jul 2004 23:11:21 +0000 (23:11 +0000)]
2004-07-20  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.ada/gnat_ada.gpr.in: Rename from here ...
* gdb.ada/gnat_ada.gin: ... to here.
* configure.in: Use gnat_ada.gin.
* configure: Regenerate.

20 years ago* rs6000-tdep.c (rs6000_gdbarch_init): The register set used for
Jim Blandy [Tue, 20 Jul 2004 22:09:53 +0000 (22:09 +0000)]
* rs6000-tdep.c (rs6000_gdbarch_init): The register set used for
bfd_mach_ppc has no segment registers.

20 years agoInclude PowerPC SPR numbers for special-purpose registers.
Jim Blandy [Tue, 20 Jul 2004 22:08:37 +0000 (22:08 +0000)]
Include PowerPC SPR numbers for special-purpose registers.
* rs6000-tdep.c (struct reg): Add new member, 'spr_num'.
(R, R4, R8, R16, F, P, R32, R64, R0): Include value for
new member in initializer.
(S, S4, SN4, S64): New macros for defining special-purpose
registers.
(PPC_UISA_SPRS, PPC_UISA_NOFP_SPRS, PPC_OEA_SPRS, registers_power,
registers_403, registers_403GC, registers_505, registers_860,
registers_601, registers_602, registers_603, registers_604,
registers_750, registers_e500): Use them.

20 years ago* rs6000-tdep.c (rs6000_gdbarch_init): Delete variable 'power';
Jim Blandy [Tue, 20 Jul 2004 22:06:05 +0000 (22:06 +0000)]
* rs6000-tdep.c (rs6000_gdbarch_init): Delete variable 'power';
replace references with expression used to initialize variable.

20 years ago2004-07-20 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 20 Jul 2004 19:59:26 +0000 (19:59 +0000)]
2004-07-20  Andrew Cagney  <cagney@gnu.org>

* gdb.base/signals.exp: Replace send_gdb and gdb_expect with
gdb_test and gdb_test_multiple.  Delete bash_bug.  Delete suspect
XFAILs.  Clean up test messages and comments.  Check backtraces.
Delete re-sync code.

20 years ago2004-07-20 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 20 Jul 2004 19:45:07 +0000 (19:45 +0000)]
2004-07-20  Andrew Cagney  <cagney@gnu.org>

* breakpoint.c (deprecated_read_memory_nobpt): Rename
read_memory_nobpt.
* sparc-linux-tdep.c (sparc_linux_sigtramp_start): Update.
* s390-tdep.c (s390_readinstruction, s390_in_function_epilogue_p)
(s390_sigtramp_frame_sniffer): Update.
* mn10300-tdep.c (mn10300_analyze_prologue): Update.
* mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset): Update.
* mips-tdep.c (mips_fetch_instruction, mips16_fetch_instruction)
(mips32_fetch_instruction): Update.
* mcore-tdep.c (get_insn): Update.
* m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Update.
* i386nbsd-tdep.c (i386nbsd_sigtramp_offset): Update.
* i386ly-tdep.c (i386lynx_saved_pc_after_call): Update.
* i386-linux-tdep.c (i386_linux_sigtramp_start)
(i386_linux_rt_sigtramp_start): Update.
* i386-linux-nat.c (child_resume): Update.
* hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Update.
* hppa-linux-tdep.c (insns_match_pattern): Update.
* gdbcore.h: Update.
* frv-tdep.c (frv_gdbarch_adjust_breakpoint_address): Update.
* frame.c (safe_frame_unwind_memory): Update.
* amd64-linux-tdep.c (amd64_linux_sigtramp_start): Update.
* alphanbsd-tdep.c (alphanbsd_sigtramp_offset): Update.
* alpha-tdep.c (alpha_read_insn): Update.

20 years ago* gas/mips/elf-rel19.d: Pass -march=mips1 to gas as the test
Maciej W. Rozycki [Tue, 20 Jul 2004 18:02:09 +0000 (18:02 +0000)]
* gas/mips/elf-rel19.d: Pass -march=mips1 to gas as the test
expects load delay slots.

20 years agoopcodes/
Maciej W. Rozycki [Tue, 20 Jul 2004 17:59:00 +0000 (17:59 +0000)]
opcodes/
* mips-opc.c (mips_builtin_opcodes): Move coprocessor 2
move/branch operations to the bottom so that VR5400 multimedia
instructions take precedence in disassembly.
gas/testsuite/
* gas/mips/vr5400.d: Update for a correct disassembly of
"racm.ob".