OSDN Git Service

pf3gnuchains/sourceware.git
21 years ago*** empty log message ***
gdbadmin [Thu, 26 Jun 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Thu, 26 Jun 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago2003-06-25 David Carlton <carlton@kealia.com>
carlton [Wed, 25 Jun 2003 21:54:41 +0000 (21:54 +0000)]
2003-06-25  David Carlton  <carlton@kealia.com>

* MAINTAINERS: Update e-mail address.

21 years ago* Makefile.in: Use INSTALL_PROGRAM to install the cygwin DLL.
cgf [Wed, 25 Jun 2003 19:12:00 +0000 (19:12 +0000)]
* Makefile.in: Use INSTALL_PROGRAM to install the cygwin DLL.

21 years agoinclude/opcode/
rsandifo [Wed, 25 Jun 2003 15:31:57 +0000 (15:31 +0000)]
include/opcode/
* h8300.h (IMM2_NS, IMM8_NS, IMM16_NS): Remove.
(IMM8U, IMM8U_NS): Define.
(h8_opcodes): Use IMM8U_NS for mov.[wl] #xx:8,@yy.

gas/
* config/tc-h8300.c (get_specific): Allow ':8' to be used for
unsigned 8-bit operands.

gas/testsuite/
* gas/h8300/h8sx_mov_imm.[sd]: Add tests for mov.[wl] #xx:8,@yy.

21 years ago * include/opcode/h8300.h (h8_opcodes): Fix the mov.l @(dd:32,ERs),ERd
rsandifo [Wed, 25 Jun 2003 15:19:40 +0000 (15:19 +0000)]
* include/opcode/h8300.h (h8_opcodes): Fix the mov.l @(dd:32,ERs),ERd
and mov.l ERs,@(dd:32,ERd) entries.

21 years ago * ld-powerpc/apuinfo.rd: Update.
amodra [Wed, 25 Jun 2003 11:12:44 +0000 (11:12 +0000)]
* ld-powerpc/apuinfo.rd: Update.

21 years agoMissed copyright update in last commit.
amodra [Wed, 25 Jun 2003 11:07:05 +0000 (11:07 +0000)]
Missed copyright update in last commit.

21 years ago * elf32-ppc.c (ppc_elf_howto_table): Remove unnecessary cast.
amodra [Wed, 25 Jun 2003 11:05:54 +0000 (11:05 +0000)]
* elf32-ppc.c (ppc_elf_howto_table): Remove unnecessary cast.
(ppc_elf_reloc_type_lookup): Modify comment.
(ppc_elf_info_to_howto): Ditto.
(ppc_elf_relocate_section): Ditto.
(ppc_elf_check_relocs): Call ppc_elf_howto_init.

21 years agoCorrect spelling of "relocatable".
amodra [Wed, 25 Jun 2003 06:40:17 +0000 (06:40 +0000)]
Correct spelling of "relocatable".

21 years agodaily update
amodra [Wed, 25 Jun 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Wed, 25 Jun 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* ppc-linux-tdep.c: More "Linux" -> "GNU/Linux".
jimb [Tue, 24 Jun 2003 23:09:21 +0000 (23:09 +0000)]
* ppc-linux-tdep.c: More "Linux" -> "GNU/Linux".

21 years ago* ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): New
jimb [Tue, 24 Jun 2003 23:06:04 +0000 (23:06 +0000)]
* ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): New
function.
(ppc_linux_init_abi): Register it as the
CONVERT_FROM_FUNC_PTR_ADDR method under the PPC64 Linux ABI.

21 years ago* ppc-linux-tdep.c (ppc64_call_dummy_address): New function.
jimb [Tue, 24 Jun 2003 23:03:31 +0000 (23:03 +0000)]
* ppc-linux-tdep.c (ppc64_call_dummy_address): New function.
(ppc_linux_init_abi): Set it as the gdbarch's call_dummy_address
method.

21 years ago* ppc-linux-tdep.c (ppc64_desc_entry_point): New function.
jimb [Tue, 24 Jun 2003 23:02:08 +0000 (23:02 +0000)]
* ppc-linux-tdep.c (ppc64_desc_entry_point): New function.
(ppc64_standard_linkage_target): Use it.

21 years ago * gdb.base/bang.exp: New testcase.
brobecke [Tue, 24 Jun 2003 22:04:06 +0000 (22:04 +0000)]
   * gdb.base/bang.exp: New testcase.

21 years ago * gdb.texinfo (Unsupported languages): New section.
brobecke [Tue, 24 Jun 2003 21:59:36 +0000 (21:59 +0000)]
    * gdb.texinfo (Unsupported languages): New section.
        (Languages): Add link to new section.

21 years ago* thread.cc (MTinterface::fixup_after_fork): Fix thread list after fork.
tpfaff [Tue, 24 Jun 2003 20:14:00 +0000 (20:14 +0000)]
* thread.cc (MTinterface::fixup_after_fork): Fix thread list after fork.
(pthread::threads): Instantiate.
(pthread::pthread): Initialize running and suspendend.
Initialize next with NULL.
Add thread to thread list if it is not the null_pthread.
(pthread::~pthread): Remove thread from thread list if it is not the null_pthread.
(pthread::postcreate): Set running flag.
(pthread::exit): Reset running flag.
(pthread::cancel): Try to cancel thread only if still running.
(pthread::_fixup_after_fork): Implement.
(pthread::detach): Check if thread is still running before detach.
* thread.h (pthread::running): New member.
(pthread::next): Ditto.
(pthread::fixup_after_fork): New static method.
(pthread::threads): New static method.
(pthread::_fixup_after_fork): New method.

21 years ago2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
jjohnstn [Tue, 24 Jun 2003 19:43:58 +0000 (19:43 +0000)]
2003-06-24  Kazu Hirata  <kazu@cs.umass.edu>

        * libc/machine/h8300/setarch.h: New.
        * libc/machine/h8300/memcpy.S: Use it.
        * libc/machine/h8300/memset.S: Likewise.
        * libc/machine/h8300/reg_memcpy.S: Likewise.
        * libc/machine/h8300/reg_memset.S: Likewise.
        * libc/machine/h8300/setjmp.S: Likewise.
        * libc/machine/h8300/strcmp.S: Likewise.

21 years ago * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
rsandifo [Tue, 24 Jun 2003 18:13:34 +0000 (18:13 +0000)]
* libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
to atexit().

21 years ago * elf32-ppc.c (ppc_elf_check_relocs): Report plt reloc against
amodra [Tue, 24 Jun 2003 14:17:22 +0000 (14:17 +0000)]
* elf32-ppc.c (ppc_elf_check_relocs): Report plt reloc against
local sym errors.

21 years ago * emultempl/ppc32elf.em: Convert to C90.
amodra [Tue, 24 Jun 2003 14:04:29 +0000 (14:04 +0000)]
* emultempl/ppc32elf.em: Convert to C90.

21 years ago * elf32-i386.c: Convert to C90 function definitions, remove unnecessary
amodra [Tue, 24 Jun 2003 14:03:52 +0000 (14:03 +0000)]
* elf32-i386.c: Convert to C90 function definitions, remove unnecessary
prototypes and casts.  Replace PTR with void *.  Formatting.
* elf32-ppc.c: Likewise.  Break long strings too.
(ppc_elf_relax_section): Use enum elf_ppc_reloc_type for r_type.
(ppc_elf_unhandled_reloc): Internationalize error message.
* elf32-ppc.h: Remove PARAMS.

21 years ago * gas/h8300/h8300.exp (h8sx_disp2, h8sx_rtsl, h8sx_mov_imm): Move...
rsandifo [Tue, 24 Jun 2003 13:54:48 +0000 (13:54 +0000)]
* gas/h8300/h8300.exp (h8sx_disp2, h8sx_rtsl, h8sx_mov_imm): Move...
* gas/h8300/h8300-elf.exp: ...here.

21 years agoUpdate .comm error messages to assume an unsigned value.
nickc [Tue, 24 Jun 2003 11:10:39 +0000 (11:10 +0000)]
Update .comm error messages to assume an unsigned value.
Update relaxing code to work in 64-bit address spaces.

21 years ago * config/tc-ppc.c (ppc_cleanup): Use bytes to count APUinfo slots.
mmitchel [Tue, 24 Jun 2003 06:41:55 +0000 (06:41 +0000)]
* config/tc-ppc.c (ppc_cleanup): Use bytes to count APUinfo slots.

21 years ago * elf32-ppc.c (ppc_elf_begin_write_processing): Use bytes to count
mmitchel [Tue, 24 Jun 2003 06:41:35 +0000 (06:41 +0000)]
* elf32-ppc.c (ppc_elf_begin_write_processing): Use bytes to count
APUinfo slots.
(ppc_elf_final_write_processing): Likewise.

21 years agodaily update
amodra [Tue, 24 Jun 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Tue, 24 Jun 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-06-23 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 23 Jun 2003 23:39:38 +0000 (23:39 +0000)]
2003-06-23  H.J. Lu <hongjiu.lu@intel.com>

* elflink.h (elf_link_input_bfd): Check raw size when using
kept_section to preserve debug information discarded by
linkonce.

21 years ago * gdb.base/langs.exp: Add some tests for the "minimal" language
brobecke [Mon, 23 Jun 2003 22:42:50 +0000 (22:42 +0000)]
   * gdb.base/langs.exp: Add some tests for the "minimal" language
       support.

21 years ago * Makefile.tpl: Add maybe-configure-itcl to configure-gdb.
kseitz [Mon, 23 Jun 2003 21:30:42 +0000 (21:30 +0000)]
    * Makefile.tpl: Add maybe-configure-itcl to configure-gdb.
        * Makefile.in: Regenerate.

21 years ago2003-06-23 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 23 Jun 2003 21:05:40 +0000 (21:05 +0000)]
2003-06-23  Andrew Cagney  <cagney@redhat.com>

* rs6000-tdep.c (rs6000_register_virtual_type): Add explict cases
for 0 "int0" and 4 "int32" sized registers.
* gdbtypes.c (builtin_type_int0): Define.
(build_gdbtypes): Initialize builtin_type_int0.
* gdbtypes.h (builtin_type_int0): Declare.

21 years ago * Makefile.def: Introduce flags_to_pass.
neroden [Mon, 23 Jun 2003 20:36:39 +0000 (20:36 +0000)]
* Makefile.def: Introduce flags_to_pass.
* Makefile.tpl: Generate BASE_FLAGS_TO_PASS using it.
* Makefile.in: Regenerate.

21 years ago2003-06-23 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Mon, 23 Jun 2003 20:20:30 +0000 (20:20 +0000)]
2003-06-23  Elena Zannoni  <ezannoni@redhat.com>

        * gdb.objc/basicclass.exp: Return -1 if we cannot compile
        the testcase.

21 years agogas/
hjl [Mon, 23 Jun 2003 20:15:32 +0000 (20:15 +0000)]
gas/

2003-06-23  H.J. Lu <hongjiu.lu@intel.com>

* gas/config/tc-i386.c (md_assemble): Support Intel Precott New
Instructions.

* gas/config/tc-i386.h (CpuPNI): New.
(CpuUnknownFlags): Add CpuPNI.

gas/testsuite/

2003-06-23  H.J. Lu <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Add prescott.

* gas/i386/prescott.d: New file.
* gas/i386/prescott.s: Likewise.

include/opcode/

2003-06-23  H.J. Lu <hongjiu.lu@intel.com>

* i386.h (i386_optab): Support Intel Precott New Instructions.

opcodes/

2003-06-23  H.J. Lu <hongjiu.lu@intel.com>

* i386-dis.c (PNI_Fixup): New. Fix up "mwait" and "monitor" in
Intel Precott New Instructions.
(PREGRP27): New. Added for "addsubpd" and "addsubps".
(PREGRP28): New. Added for "haddpd" and "haddps".
(PREGRP29): New. Added for "hsubpd" and "hsubps".
(PREGRP30): New. Added for "movsldup" and "movddup".
(PREGRP31): New. Added for "movshdup" and "movhpd".
(PREGRP32): New. Added for "lddqu".
(dis386_twobyte): Use PREGRP30 to replace the "movlpX" entry.
Use PREGRP31 to replace the "movhpX" entry. Use PREGRP28 for
entry 0x7c. Use PREGRP29 for entry 0x7d. Use PREGRP27 for
entry 0xd0. Use PREGRP32 for entry 0xf0.
(twobyte_has_modrm): Updated.
(twobyte_uses_SSE_prefix): Likewise.
(grps): Use PNI_Fixup in the "sidtQ" entry.
(prefix_user_table): Add PREGRP27, PREGRP28, PREGRP29, PREGRP30,
PREGRP31 and PREGRP32.
(float_mem): Use "fisttp{l||l|}" in entry 1 in opcode 0xdb.
Use "fisttpll" in entry 1 in opcode 0xdd.
Use "fisttp" in entry 1 in opcode 0xdf.

21 years ago * m68hc11-tdep.c (m68hc11_gdbarch_init): Clear gdb_arch_char_signed
ciceron [Mon, 23 Jun 2003 20:06:37 +0000 (20:06 +0000)]
* m68hc11-tdep.c (m68hc11_gdbarch_init): Clear gdb_arch_char_signed
as characters are unsigned.

21 years ago PR gdb/1179
drow [Mon, 23 Jun 2003 19:51:38 +0000 (19:51 +0000)]
PR gdb/1179
* dwarfread.c (struct_type): Skip static fields without crashing.

21 years agoPatch from David Mosberger.
wilson [Mon, 23 Jun 2003 19:35:52 +0000 (19:35 +0000)]
Patch from David Mosberger.
* config/tc-ia64.c (pseudo_func): Add ABI constants for linux,
freebsd, openvms, and nsk (non-stop kernel).

21 years ago2003-06-23 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
jjohnstn [Mon, 23 Jun 2003 19:06:12 +0000 (19:06 +0000)]
2003-06-23  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>

        * m32r/crt0.S (_start): Allow _stack to be placed anywhere
        in memory.

21 years ago2003-06-23 Michael Snyder <msnyder@redhat.com>
msnyder [Mon, 23 Jun 2003 18:03:17 +0000 (18:03 +0000)]
2003-06-23  Michael Snyder  <msnyder@redhat.com>

        * nrun.c (main): Delete h8/300 ifdef (sim now handles signals).

21 years ago2003-06-23 Michael Snyder <msnyder@redhat.com>
msnyder [Mon, 23 Jun 2003 17:59:08 +0000 (17:59 +0000)]
2003-06-23  Michael Snyder  <msnyder@redhat.com>

* sim-reg.c: Fix cut-and-paste bug in comment.

21 years ago2003-06-22 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 23 Jun 2003 03:28:05 +0000 (03:28 +0000)]
2003-06-22  Andrew Cagney  <cagney@redhat.com>

GDB 6.0 branch created.
* README: Update.
* PROBLEMS: Update.  Empty.
* NEWS: Update.

Index: doc/ChangeLog
2003-06-22  Andrew Cagney  <cagney@redhat.com>

* gdb.texinfo (Contributors): Mention 6.0 release engineer.

21 years ago2003-06-22 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 23 Jun 2003 02:55:08 +0000 (02:55 +0000)]
2003-06-22  Andrew Cagney  <cagney@redhat.com>

GDB 6.0 branch created.

21 years agoForgot 'configure' item.
hp [Mon, 23 Jun 2003 00:43:42 +0000 (00:43 +0000)]
Forgot 'configure' item.

21 years ago* config/tc-ns32k.c (md_begin): Initialize inst_hash_table after
thorpej [Mon, 23 Jun 2003 00:41:47 +0000 (00:41 +0000)]
* config/tc-ns32k.c (md_begin): Initialize inst_hash_table after
all locals have been declared.

21 years ago * configure.in (noconfigdirs) <cris-*-*>: Disable target-newlib
hp [Mon, 23 Jun 2003 00:40:22 +0000 (00:40 +0000)]
* configure.in (noconfigdirs) <cris-*-*>: Disable target-newlib
and target-libgloss.
<d30v-*-*, fr30-*-*, i960-*-*, m32r-*-*>: Disable gdb.
<h8300*-*-*>: Disable libf2c and ${libgcj}.

21 years agodaily update
amodra [Mon, 23 Jun 2003 00:09:44 +0000 (00:09 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Mon, 23 Jun 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * symfile.c (add_symbol_file_command): Use parse_and_eval_address.
drow [Sun, 22 Jun 2003 18:32:48 +0000 (18:32 +0000)]
* symfile.c (add_symbol_file_command): Use parse_and_eval_address.
Suggested by Nick Hibma <n_hibma@webweaving.org>.

21 years ago * gdb.base/relocate.exp: Test add-symbol-file with a variable
drow [Sun, 22 Jun 2003 18:32:38 +0000 (18:32 +0000)]
* gdb.base/relocate.exp: Test add-symbol-file with a variable
offset.

21 years ago2003-06-22 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 22 Jun 2003 17:42:28 +0000 (17:42 +0000)]
2003-06-22  Andrew Cagney  <cagney@redhat.com>

* osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Handle
GNU_ABI_TAG_FREEBSD and GNU_ABI_TAG_NETBSD.  Suggested by Momchil
Velikov.

21 years ago2003-06-22 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 22 Jun 2003 16:48:09 +0000 (16:48 +0000)]
2003-06-22  Andrew Cagney  <cagney@redhat.com>

Written by matthew green <mrg@redhat.com>, with fixes from Aldy
Hernandez <aldyh@redhat.com>, Jim Wilson <wilson@redhat.com>, and
Nick Clifton <nickc@redhat.com>.

* ppc-instructions: Include altivec.igen and e500.igen.
(model_busy, model_data): Add vr_busy and vscr_busy.
(model_trace_release): Trace vr_busy and vscr_busy.
(model_new_cycle): Update vr_busy and vscr_busy.
(model_make_busy): Update vr_busy and vscr_busy.
* registers.c (register_description): Add Altivec and e500
registers.
* psim.c (psim_read_register, psim_read_register): Handle Altivec
and e500 registers.
* ppc-spr-table (SPEFSCR): Add VRSAVE and SPEFSCR registers.
* configure.in (sim_filter): When *altivec* add "av".  When *spe*
or *simd* add e500.
(sim_float): When *altivec* define WITH_ALTIVEC.  When *spe* add
WITH_E500.
* configure: Re-generate.
* e500.igen, altivec.igen: New files.
* e500_expression.h, altivec_expression.h: New files.
* idecode_expression.h: Update copyright.  Include
"e500_expression.h" and "altivec_expression.h".
* e500_registers.h, altivec_registers.h: New files.
* registers.h: Update copyright.  Include "e500_registers.h" and
"altivec_registers.h".
(registers): Add Altivec and e500 specific registers.
* Makefile.in (IDECODE_H): Add "idecode_e500.h" and
"idecode_altivec.h".
(REGISTERS_H): Add "e500_registers.h" and "altivec_registers.h".
(tmp-igen): Add dependencies on altivec.igen and e500.igen .

21 years agomerge from gcc
dj [Sun, 22 Jun 2003 16:35:51 +0000 (16:35 +0000)]
merge from gcc

21 years ago * tui-hooks.c: Update include order.
drow [Sun, 22 Jun 2003 15:21:38 +0000 (15:21 +0000)]
* tui-hooks.c: Update include order.
* tui.c: Likewise.
* tuiCommand.c: Likewise.
* tuiData.c: Likewise.
* tuiDataWin.c: Likewise.
* tuiDisassem.c: Likewise.
* tuiGeneralWin.c: Likewise.
* tuiIO.c: Likewise.
* tuiLayout.c: Likewise.
* tuiRegs.c: Likewise.
* tuiSource.c: Likewise.
* tuiSourceWin.c: Likewise.
* tuiStack.c: Likewise.
* tuiWin.c: Likewise.

21 years ago * gdb.c++/pr-1210.cc: New file.
drow [Sun, 22 Jun 2003 15:20:13 +0000 (15:20 +0000)]
* gdb.c++/pr-1210.cc: New file.
* gdb.c++/pr-1210.exp: New file.

21 years ago2003-06-22 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 22 Jun 2003 13:38:28 +0000 (13:38 +0000)]
2003-06-22  Andrew Cagney  <cagney@redhat.com>

* interp.c (xfer_mem): Simplify.  Only do a single partial
transfer.  Problem reported by Tom Rix.

21 years ago2003-06-22 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 22 Jun 2003 13:36:26 +0000 (13:36 +0000)]
2003-06-22  Andrew Cagney  <cagney@redhat.com>

From matthew green <mrg@redhat.com>:
        * sim-fpu.h: Update copyright.
(sim_fpu_fraction, sim_fpu_guard): New prototypes.
        * sim-fpu.c: Update copyright.
(sim_fpu_fraction, sim_fpu_guard): New inline functions.

21 years agoOops! Committed to much, reverting :-(
cagney [Sun, 22 Jun 2003 13:31:57 +0000 (13:31 +0000)]
Oops! Committed to much, reverting :-(

21 years agoFix changelog
cagney [Sun, 22 Jun 2003 13:29:17 +0000 (13:29 +0000)]
Fix changelog

21 years ago2003-06-22 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 22 Jun 2003 13:03:40 +0000 (13:03 +0000)]
2003-06-22  Andrew Cagney  <cagney@redhat.com>

Problems reported by Joshua LeVasseur.
* emul_chirp.c: Update copyright.
(chirp_emul_nextprop): Return the first property.
* hw_htab.c: Update copyright.
(htab_decode_hash_table): Fix check for htab size.

21 years ago * gdbint.texinfo (Coding): Clarify use of gdb_XXX.h headers.
drow [Sun, 22 Jun 2003 04:28:04 +0000 (04:28 +0000)]
* gdbint.texinfo (Coding): Clarify use of gdb_XXX.h headers.

21 years ago * Makefile.in (SFILES_INCLUDED): Add agentexpr.texi.
drow [Sun, 22 Jun 2003 04:27:23 +0000 (04:27 +0000)]
* Makefile.in (SFILES_INCLUDED): Add agentexpr.texi.
* agentexpr.texi: Retitle section, and change it to an appendix.
Comment out texinfo initialization.  Factor a @var{} into two
pieces to prevent makeinfo warnings.
* gdb.texinfo: Add Agent Expressions appendix.

21 years ago * cli/cli-cmds.c (shell_escape): Silence warnings from old
drow [Sun, 22 Jun 2003 04:23:49 +0000 (04:23 +0000)]
* cli/cli-cmds.c (shell_escape): Silence warnings from old
compilers.

21 years ago2003-06-21 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 22 Jun 2003 04:03:15 +0000 (04:03 +0000)]
2003-06-21  Andrew Cagney  <cagney@redhat.com>

* interrupts.c: Update copyright.
(external_interrupt): Fix test for already pending interrupt.
Problem found by Joshua LeVasseur.

21 years ago2003-06-21 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 22 Jun 2003 01:52:34 +0000 (01:52 +0000)]
2003-06-21  Andrew Cagney  <cagney@redhat.com>

* ppc-instructions: Add missing +8 line.  Found by blofeldus at
yahoo.com.

21 years ago2003-06-21 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 22 Jun 2003 01:16:37 +0000 (01:16 +0000)]
2003-06-21  Andrew Cagney  <cagney@redhat.com>

From Ian Lance Taylor <ian@airs.com>:
        * hw_nvram.c (hw_nvram_init_address): Correct call to memset--swap
        second and third arguments.

21 years ago2003-06-21 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 22 Jun 2003 00:51:44 +0000 (00:51 +0000)]
2003-06-21  Andrew Cagney  <cagney@redhat.com>

* hw_com.c (hw_com_device_init_data): Check that the output, and
not input file opened.  Pointed out by masahino tky3.3web.ne.jp.

21 years agomerge from gcc
dj [Sun, 22 Jun 2003 00:06:06 +0000 (00:06 +0000)]
merge from gcc

21 years ago * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
drow [Sun, 22 Jun 2003 00:04:27 +0000 (00:04 +0000)]
* lib/mi-support.exp (mi_run_cmd): Expect an MI response to
000-exec-continue.

21 years ago*** empty log message ***
gdbadmin [Sun, 22 Jun 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * c-valprint.c (c_value_print): Add VALUE_OFFSET to the address
drow [Sat, 21 Jun 2003 23:27:52 +0000 (23:27 +0000)]
* c-valprint.c (c_value_print): Add VALUE_OFFSET to the address
argument of val_print.
* cp-valprint.c (cp_print_value): Don't add the offset parameter
to the address argument of baseclass_offset or target_read_memory.
Do add it to the argument of cp_print_value_fields.

21 years ago2003-06-21 Andrew Cagney <cagney@redhat.com>
cagney [Sat, 21 Jun 2003 23:14:43 +0000 (23:14 +0000)]
2003-06-21  Andrew Cagney  <cagney@redhat.com>

* mips-tdep.c: Include "reggroups.h" and "sim-regno.h".
(mips_register_name): Return names for NUM_REGS..2*NUM_REGS
instead of 0..NUM_REGS.
(mips_register_reggroup_p): New function.
(mips_pseudo_register_write): New function.
(mips_pseudo_register_read): New function.
(mips_register_raw_size): For NUM_REGS..2*NUM_REGS return the size
based on the register's type.
(read_next_frame_reg): Simplify.  Assert that REGNO is a pseudo /
cooked.
(mips_get_saved_register): Simplify.  Assert that REGNO is a
pseudo / cooked.
(mips_register_byte): New function.  Use MIPS_REGISTER_BYTE.
(mips_register_type): Replace mips_register_virtual_type.  Map
NUM_REGS..2*NUM_REGS onto 0..NUM_REGS.  Use MIPS_REGISTER_TYPE
when available.
(read_next_frame_reg): Simplify, but handle SP_REGNUM.  Assert
that the register is cooked / virtual.
(mips_frame_saved_pc): Fetch the cooked PC, and not the raw PC.
Only get the extra info when needed.
(set_reg_offset): Save the offset in NUM_REGS..2*NUM_REGS as well.
(mips32_heuristic_proc_desc): Fetch the cooked register.
(heuristic_proc_desc, mips_pop_frame, get_frame_pointer): Ditto.
(mips_init_extra_frame_info, get_frame_pointer): Ditto.
(mips_print_register): Use gdbarch_register_type, instead of
REGISTER_VIRTUAL_TYPE.
(print_gp_register_row): Use gdbarch_register_type, instead of
REGISTER_VIRTUAL_TYPE.  Allow for a pseudo / cooked REGNUM.
(mips_print_registers_info): Assert REGNO is pseodo / cooked.
Print the pseudo / cooked registers.
(mips_print_registers_info): Assert REGNO is pseodo / cooked.
Print the pseudo / cooked registers.
(mips_xfer_register): Use regcache_cooked_read_part.  Assert that
REG_NUM is pseudo / cooked.
(mips_o32_xfer_return_value): Xfer the pseudo / cooked register.
(mips_n32n64_xfer_return_value): Ditto.
(mips_stab_reg_to_regnum): Map onto NUM_REGS..2*NUM_REGS.
(mips_dwarf_dwarf2_ecoff_reg_to_regnum): Ditto.
(mips_register_sim_regno): New function.
(mips_gdbarch_init): Set deprecated_register_byte,
register_group_p, pseudo_register_write, pseudo_register_read,
register_sim_regno, and num_pseudo_regs.  Set register_type,
instead of register_virtual_type.
* Makefile.in (mips-tdep.o): Update dependencies.
* config/mips/tm-mips64.h (MIPS_REGISTER_TYPE): Rename
REGISTER_VIRTUAL_TYPE.
* config/mips/tm-mips.h (MIPS_REGISTER_TYPE): Ditto.
* config/mips/tm-irix5.h (MIPS_REGISTER_TYPE): Ditto.
* config/mips/tm-mips.h (MIPS_REGISTER_BYTE): Rename REGISTER_BYTE.
* config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Ditto.
* config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Ditto.

21 years ago * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN): Remove
ths [Sat, 21 Jun 2003 21:38:03 +0000 (21:38 +0000)]
* config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN): Remove
special handling for n32 ABI.
(macro): Likewise.
* gas/mips/elf-rel-got-n32.d: Remove special handling for n32 ABI.
* gas/mips/elf-rel-xgot-n32.d: Likewise.
* gas/mips/jal-newabi.d: Likewise.
* ld-mips-elf/elf-rel-got-n32.d: Remove special handling for n32 ABI.
* ld-mips-elf/elf-rel-xgot-n32.d: Likewise.

21 years ago * Makefile.in (cli-cmds.o): Depend on $(gdb_vfork_h)
drow [Sat, 21 Jun 2003 18:38:26 +0000 (18:38 +0000)]
* Makefile.in (cli-cmds.o): Depend on $(gdb_vfork_h)
* cli/cli-cmds.c: Include "gdb_vfork.h".
(shell_escape): Use vfork.

21 years ago2003-06-21 Andrew Cagney <cagney@redhat.com>
cagney [Sat, 21 Jun 2003 18:02:53 +0000 (18:02 +0000)]
2003-06-21  Andrew Cagney  <cagney@redhat.com>

* mips-tdep.c (mips_find_saved_regs): Rewrite mdebug code handling
32 bit floating-point register saves.

21 years ago2003-06-21 Andrew Cagney <cagney@redhat.com>
cagney [Sat, 21 Jun 2003 16:51:47 +0000 (16:51 +0000)]
2003-06-21  Andrew Cagney  <cagney@redhat.com>

* frame.h (deprecated_unwind_get_saved_register): Delete.
* frame.c (deprecated_unwind_get_saved_register): Delete function.
* mips-tdep.c (mips_get_saved_register): Use frame_register_unwind
and deprecated_get_next_frame_hack instead of
deprecated_unwind_get_saved_register.

21 years ago2003-06-21 Andrew Cagney <cagney@redhat.com>
cagney [Sat, 21 Jun 2003 16:37:33 +0000 (16:37 +0000)]
2003-06-21  Andrew Cagney  <cagney@redhat.com>

* mips-tdep.c (mips_dump_tdep): Do not print
REGISTER_CONVERT_FROM_TYPE or REGISTER_CONVERT_TO_TYPE.

21 years ago2003-06-21 Andrew Cagney <cagney@redhat.com>
cagney [Sat, 21 Jun 2003 16:26:02 +0000 (16:26 +0000)]
2003-06-21  Andrew Cagney  <cagney@redhat.com>

* frame.c (get_frame_register): New function.
(frame_unwind_register_signed): New function.
(get_frame_register_signed): New function.
(frame_unwind_register_unsigned): New function.
(get_frame_register_unsigned): New function.
* frame.h: Add comments on naming schema.
(get_frame_register, frame_unwind_register_signed): Declare.
(get_frame_register_signed, get_frame_register_signed): Declare.
(frame_unwind_register_unsigned): Declare.
(get_frame_register_unsigned): Declare.

21 years ago * gas/z8k: New directory.
cpg [Sat, 21 Jun 2003 12:20:07 +0000 (12:20 +0000)]
* gas/z8k: New directory.
* gas/z8k/dec.s: New file.
* gas/z8k/decbf.s: New file.
* gas/z8k/decf.s: New file.
* gas/z8k/eidi.s: New file.
* gas/z8k/eidif.s: New file.
* gas/z8k/inc.s: New file.
* gas/z8k/incbf.s: New file.
* gas/z8k/incf.s: New file.
* gas/z8k/inout.d: New file.
* gas/z8k/inout.s: New file.
* gas/z8k/jr-back.s: New file.
* gas/z8k/jr-backf.s: New file.
* gas/z8k/jr-forw.s: New file.
* gas/z8k/jr-forwf.s: New file.
* gas/z8k/ldk.s: New file.
* gas/z8k/ldkf.s: New file.
* gas/z8k/z8k.exp: New file.

21 years ago2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Sat, 21 Jun 2003 00:11:40 +0000 (00:11 +0000)]
2003-06-20  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.host (iq2000): Add tabs.

21 years ago* pinfo.cc (_pinfo::commune_send): Don't attempt to communicate with a pure
cgf [Sat, 21 Jun 2003 00:08:02 +0000 (00:08 +0000)]
* pinfo.cc (_pinfo::commune_send): Don't attempt to communicate with a pure
windows process.

21 years ago*** empty log message ***
gdbadmin [Sat, 21 Jun 2003 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Sat, 21 Jun 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 20 Jun 2003 23:57:46 +0000 (23:57 +0000)]
2003-06-20  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
        to handle latest on_exit change.
        * libc/sys/linux/Makefile.am: Remove special compilation
        for malloc.c and mcheck.c.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/mntent.c: Add definition of _LIBC flag
        after including <features.h>.
        * libc/sys/linux/mcheck.c: Ditto.
        * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
        for <features.h>.
        * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
        add -DNOT_IN_libc to C flags.
        * libc/sys/linux/intl/Makefile.in: Regenerated.
        * libc/sys/linux/intl/config.h: Add definition of _LIBC.
        * libc/sys/linux/linuxthreads/semaphore.h: Include
        <bits/pthreadtypes.h>.
        * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
        including <features.h>.
        * libc/sys/linux/sys/lock.h: Ditto.

21 years ago2003-06-20 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 20 Jun 2003 21:29:13 +0000 (21:29 +0000)]
2003-06-20  Frank Ch. Eigler  <fche@redhat.com>

* sidattrutil.h (fixed_attribute_map_with_logging_component):
Add throw() decoration to dtor.

21 years ago * gen-all-sim: Add fr30,sh64 support. Only generate m32r by default.
devans [Fri, 20 Jun 2003 21:08:59 +0000 (21:08 +0000)]
* gen-all-sim: Add fr30,sh64 support.  Only generate m32r by default.

21 years ago* avr-tdep.c (avr_gdbarch_init): Don't call set_gdbarch_bfd_vma_bit.
troth [Fri, 20 Jun 2003 17:55:54 +0000 (17:55 +0000)]
* avr-tdep.c (avr_gdbarch_init): Don't call set_gdbarch_bfd_vma_bit.

21 years ago2003-06-17 Doug Evans <dje@sebabeach.org>
fche [Fri, 20 Jun 2003 17:27:10 +0000 (17:27 +0000)]
2003-06-17  Doug Evans  <dje@sebabeach.org>

* cgen-trace.h (sim_disasm_read_memory): Update args to be compatible
with disassemble_info:read_memory_func.
* cgen-trace.c (sim_disasm_read_memory): Ditto.

21 years ago* avr-tdep.c (avr_read_pc): Use regcache instead of read_register.
troth [Fri, 20 Jun 2003 16:55:50 +0000 (16:55 +0000)]
* avr-tdep.c (avr_read_pc): Use regcache instead of read_register.
(avr_read_sp): Ditto.

21 years ago * Makefile.in (SFILES): Update.
drow [Fri, 20 Jun 2003 14:08:15 +0000 (14:08 +0000)]
* Makefile.in (SFILES): Update.
* low-hppabsd.c, low-lynx.c, low-nbsd.c, low-sim.c, low-sparc.c,
low-sun3.c: Remove files.

21 years ago * config/arm/linux.mt: Remove code protected by GDBSERVER define.
drow [Fri, 20 Jun 2003 13:57:27 +0000 (13:57 +0000)]
* config/arm/linux.mt: Remove code protected by GDBSERVER define.
* config/arm/nm-linux.h: Likewise.
* config/arm/tm-linux.h: Likewise.
* config/ia64/nm-linux.h: Likewise.
* config/ia64/tm-ia64.h: Likewise.
* config/s390/tm-linux.h: Likewise.
* config/s390/tm-s390.h: Likewise.
* s390-nat.c: Likewise.
* s390-tdep.c: Likewise.

* config/i386/linux.mt: Don't set GDBSERVER_DEPFILES.
* config/ia64/linux.mt: Likewise.
* config/m68k/linux.mh: Likewise.
* config/mips/linux.mt: Likewise.
* config/powerpc/linux.mh: Likewise.
* config/sh/linux.mt: Likewise.

21 years ago2003-06-20 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 20 Jun 2003 13:32:34 +0000 (13:32 +0000)]
2003-06-20  Andrew Cagney  <cagney@redhat.com>

* sim_calls.c (sim_create_inferior): Assert that
psim_write_register succeeded.
(sim_fetch_register, sim_store_register): Make "regname" constant.
Delete Altivec hack.  Return result from psim_read_register /
psim_write_register.
* psim.h (psim_read_register, psim_write_register): Change return
type to int.  Update comments.
* psim.c: Update copyright.
(psim_stack): Assert that the psim_read_register worked.
(psim_read_register, psim_read_register): Return the register's
size.  Allocate the cooked buffer dynamically.
* hw_register.c: Update copyright.
(do_register_init): Check that psim_write_register succeeded.
* hw_init.c: Update copyright.
(create_ppc_elf_stack_frame, create_ppc_aix_stack_frame): Assert
that the register transfer worked.

21 years ago * elf64-ppc.c (struct ppc_link_hash_table): Add top_id.
amodra [Fri, 20 Jun 2003 12:35:29 +0000 (12:35 +0000)]
* elf64-ppc.c (struct ppc_link_hash_table): Add top_id.
(ppc64_elf_setup_section_lists): Set it.
(ppc64_elf_relocate_section): Check sym section id against top_id.
(ppc_build_one_stub): Comment on top_id.

21 years ago2003-06-19 Kris Warkentin <kewarken@qnx.com>
kewarken [Fri, 20 Jun 2003 12:23:18 +0000 (12:23 +0000)]
2003-06-19  Kris Warkentin  <kewarken@qnx.com>

* solib.c (solib_open): Change tests for whether to search
LD_LIBRARY_PATH and PATH to better deal with remotes.  Update
comments.

21 years agoAdd tic4x-*-rtems*.
nickc [Fri, 20 Jun 2003 08:36:19 +0000 (08:36 +0000)]
Add tic4x-*-rtems*.

21 years ago* avr-tdep.c (avr_frame_address): Delete function.
troth [Fri, 20 Jun 2003 05:53:41 +0000 (05:53 +0000)]
* avr-tdep.c (avr_frame_address): Delete function.
(avr_gdbarch_init): Don't call set_gdbarch_frame_args_address,
set_gdbarch_frame_args_address.

21 years ago * emultempl/ppc64elf.em: Convert to C90 function definitions, remove
amodra [Fri, 20 Jun 2003 05:33:26 +0000 (05:33 +0000)]
* emultempl/ppc64elf.em: Convert to C90 function definitions, remove
unnecessary prototypes and casts.

21 years ago * elf64-ppc.c: Convert to C90 function definitions, remove unnecessary
amodra [Fri, 20 Jun 2003 05:30:45 +0000 (05:30 +0000)]
* elf64-ppc.c: Convert to C90 function definitions, remove unnecessary
prototypes and casts.  Replace PTR with void *.  Format copyright.
Mention ABI links.
(struct ppc_link_hash_table): Rename sgot, srelgot, splt, srelplt,
sdynbss, srelbss, sglink, sbrlt and srelbrlt to got, relgot .. relbrlt.
(ppc_type_of_stub): Make r_type an enum.
(ppc64_elf_size_stubs): Likewise.
* elf64-ppc.h: Remove PARAMS macro.