Andrew Cagney [Wed, 21 Aug 2002 04:50:20 +0000 (04:50 +0000)]
2002-08-21 Andrew Cagney <
ac131313@redhat.com>
* Makefile.in (install-gdbtk): Move to install section.
(rdi-share/libangsd.a): Move to end of file.
Andrew Cagney [Wed, 21 Aug 2002 03:34:22 +0000 (03:34 +0000)]
2002-08-19 Andrew Cagney <
ac131313@redhat.com>
* frame.c (frame_register_unwind): When a register, set addrp to
the register's byte.
Michael Snyder [Wed, 21 Aug 2002 01:08:23 +0000 (01:08 +0000)]
2002-08-20 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): These are only
used locally, so move them from the target machine header to here.
(mips_set_processor_type, mips_register_name, mips32_next_pc,
mips16_next_pc, cached_proc_desc, mips_set_processor_type):
Make static.
* config/mips/tm-mips.h (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Delete.
Andrew Cagney [Wed, 21 Aug 2002 00:57:44 +0000 (00:57 +0000)]
2002-08-20 Andrew Cagney <cagney@redhat.com>
* NEWS: Mention that the Apollo line was made obsolete.
* configure.tgt: Make m68*-apollo*-bsd*, m68*-hp-bsd*, and
m68*-hp-hpux* obsolete.
* configure.host: Make m68*-apollo*-sysv*, m68*-apollo*-bsd*,
m68*-hp-bsd* and m68*-hp-hpux* obsolete.
* buildsym.c (make_blockvector): Make static.
* buildsym.h (make_blockvector): Make extern declaration obsolete.
* Makefile.in (HFILES_NO_SRCDIR): Remove dst.h
(ALLDEPFILES): Remove dstread.c.
(dstread.o): Obsolete make rule.
* dstread.c: Makefile obsolete.
* dst.h: Ditto.
* config/m68k/hp300hpux.mt: Ditto.
* config/m68k/hp300hpux.mh: Ditto.
* config/m68k/hp300bsd.mt: Ditto.
* config/m68k/hp300bsd.mh: Ditto.
* config/m68k/apollo68b.mt: Ditto.
* config/m68k/apollo68v.mh: Ditto.
* config/m68k/apollo68b.mh: Ditto.
gdbadmin [Wed, 21 Aug 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 21 Aug 2002 00:00:03 +0000 (00:00 +0000)]
daily update
Alan Modra [Tue, 20 Aug 2002 23:49:27 +0000 (23:49 +0000)]
* config/tc-arc.c (md_pseudo_table <dwarf2_directive_file>): Cast.
* config/tc-frv.c: Likewise.
* config/tc-hppa.c: Likewise.
* config/tc-ia64.c: Likewise.
* config/tc-ip2k.c: Likewise.
* config/tc-m68hc11.c: Likewise.
* config/tc-m68k.c: Likewise.
* config/tc-mmix.c: Likewise.
* config/tc-mn10300.c: Likewise.
* config/tc-sh.c: Likewise.
* config/tc-sparc.c: Likewise.
* config/tc-v850.c: Likewise.
Alan Modra [Tue, 20 Aug 2002 23:48:18 +0000 (23:48 +0000)]
* ldlang.c (offsetof): Define if not defined.
Alan Modra [Tue, 20 Aug 2002 23:47:26 +0000 (23:47 +0000)]
* gmon_io.c (gmon_io_read_64, gmon_io_write_64): Define only if
BFD_HOST_U_64_BIT is defined.
(gmon_io_read_vma, gmon_io_write_vma): Add ifdefs.
Alan Modra [Tue, 20 Aug 2002 23:46:41 +0000 (23:46 +0000)]
* readelf.c (parse_args): Change debug_dump_opt to static.
Alan Modra [Tue, 20 Aug 2002 23:45:41 +0000 (23:45 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Add PARAMS to
argument declaration.
Michael Snyder [Tue, 20 Aug 2002 23:07:43 +0000 (23:07 +0000)]
2002-08-20 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (mips_in_return_stub): Make static.
(mips_gdbarch_init): Set in_solib_return_trampoline.
* config/mips/tm-mips.h (IN_SOLIB_RETURN_TRAMPOLINE): Delete.
Michael Snyder [Tue, 20 Aug 2002 23:01:29 +0000 (23:01 +0000)]
2002-08-20 Michael Snyder <msnyder@redhat.com>
* gdbarch.sh (IN_SOLIB_RETURN_TRAMPOLINE): Add.
* gdbarch.c, gdbarch.h: Regenerate.
* arch-utils.c, arch-utils.h (generic_in_solib_return_trampoline):
Add.
* infrun.c (IN_SOLIB_RETURN_TRAMPOLINE): Delete default definition.
Michael Snyder [Tue, 20 Aug 2002 22:44:55 +0000 (22:44 +0000)]
2002-08-20 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (mips_skip_stub, mips_in_call_stub): Make static.
(mips_gdbarch_init): Set skip_trampoline_code,
in_solib_call_trampoline.
* config/mips/tm-mips.h (REGISTER_NAME): Delete.
(IN_SOLIB_CALL_TRAMPOLINE, SKIP_TRAMPOLINE_CODE): Delete.
Elena Zannoni [Tue, 20 Aug 2002 22:24:29 +0000 (22:24 +0000)]
2002-08-20 Elena Zannoni <ezannoni@redhat.com>
* ppc-tdep.h (struct gdbarch_tdep): Add ev registers.
* rs6000-tdep.c (rs6000_register_virtual_type): Return 64 bit
vector type for ev registers.
(e500_pseudo_register_read): New function.
(e500_pseudo_register_write): New function.
(e500_dwarf2_reg_to_regnum): New function.
(PPC_UISA_NOFP_SPRS): New macro.
(PPC_EV_REGS): New macro.
(PPC_GPRS_PSEUDO_REGS): New macro.
(registers_e500): New register set for e500.
(variants): Add e500 variant.
(rs6000_gdbarch_init): Move setting of pc, sp, fp regnums to
before setting architectural dependent variations. Initialize ev
registers numbers. Add case for e500 architecture. Set the
number of pseudo registers.
Elena Zannoni [Tue, 20 Aug 2002 22:11:48 +0000 (22:11 +0000)]
2002-08-20 Elena Zannoni <ezannoni@redhat.com>
* rs6000-tdep.c: Clean up comments.
Andrew Cagney [Tue, 20 Aug 2002 22:02:48 +0000 (22:02 +0000)]
2002-08-20 Andrew Cagney <cagney@redhat.com>
* h8300-tdep.c: Re-indent file.
Michael Snyder [Tue, 20 Aug 2002 21:58:44 +0000 (21:58 +0000)]
2002-08-19 Michael Snyder <msnyder@redhat.com>
* config/mips/tm-mips.h (ELF_MAKE_MSYMBOL_SPECIAL): Delete.
(MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Change into functions.
(FIX_CALL_DUMMY, PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME,
POP_FRAME, INIT_EXTRA_FRAME_INFO): Delete.
(CALL_DUMMY_START_OFFSET, CALL_DUMMY_BREAKPOINT_OFFSET,
CALL_DUMMY_ADDRESS): Delete.
* mips-tdep.c (mips_elf_make_msymbol_special, mips_msymbol_size,
mips_msymbol_is_special, mips_fix_call_dummy): New functions.
(mips_gdbarch_init): Set elf_make_msymbol_special, pop_frame,
push_dummy_frame, fix_call_dummy, init_extra_frame_info,
push_return_address.
(mips_register_raw_size, mips_eabi_use_struct_convention,
mips_n32n64_use_struct_convention, mips_o32_use_struct_convention,
mips_o32_reg_struct_has_addr, mips_frame_saved_pc, mips_frame_chain,
mips_init_extra_frame_info, mips_eabi_push_arguments,
mips_n32n64_push_arguments, mips_push_return_address,
mips_push_dummy_frame, mips_pop_frame, mips_skip_prologue,
mips_breakpoint_from_pc, mips_call_dummy_address): Make static.
Jim Blandy [Tue, 20 Aug 2002 21:32:18 +0000 (21:32 +0000)]
* Makefile.in (LDFLAGS): Allow the configure script to establish a
default for this.
* gdbserver/Makefile.in (LDFLAGS): Same.
Keith Seitz [Tue, 20 Aug 2002 20:03:35 +0000 (20:03 +0000)]
* breakpoints.c (watch_command_1): Use internal breakpoint
when setting a watchpoint_scope breakpoint.
Elena Zannoni [Tue, 20 Aug 2002 19:57:32 +0000 (19:57 +0000)]
2002-08-20 Elena Zannoni <ezannoni@redhat.com>
* gdbtypes.c (build_builtin_type_vec64): Add name to type.
(build_builtin_type_vec64i): Ditto.
(build_builtin_type_vec128): Ditto.
(build_builtin_type_vec128i): Ditto.
Michael Snyder [Tue, 20 Aug 2002 19:41:59 +0000 (19:41 +0000)]
2002-08-19 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (mips_frame_num_args): New function.
(mips_gdbarch_init): Set frame_chain, frameless_function_invocation,
frame_saved_pc, frame_args_address, frame_locals_address,
frame_num_args, and frame_args_skip.
* config/mips/tm-mips.h (FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION,
FRAME_SAVED_PC, FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS,
FRAME_NUM_ARGS, FRAME_ARGS_SKIP): Delete.
* config/mips/tm-mipsv4.h (FRAME_CHAIN_VALID): Delete.
Michael Snyder [Tue, 20 Aug 2002 19:32:47 +0000 (19:32 +0000)]
2002-08-20 Michael Snyder <msnyder@redhat.com>
* config/mips/tm-mips.h (STORE_STRUCT_RETURN): Delete.
(EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
* mips-tdep.c (mips_store_struct_return): New function.
(mips_extract_struct_value_address): New function.
(mips_gdbarch_init): Set store_struct_return and
extract_struct_value_address.
Michael Snyder [Tue, 20 Aug 2002 19:26:23 +0000 (19:26 +0000)]
2002-08-20 Michael Snyder <msnyder@redhat.com>
* config/mips/tm-mips.h (STORE_STRUCT_RETURN): Delete.
(EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
* mips-tdep.c (mips_store_struct_return): New function.
(mips_extract_struct_value_address): New function.
(mips_gdbarch_init): Set store_struct_return and
extract_struct_value_address.
David Carlton [Tue, 20 Aug 2002 18:45:30 +0000 (18:45 +0000)]
2002-08-13 David Carlton <carlton@math.stanford.edu>
* dwarf2read.c (dwarf2_build_psymtabs): Check that
dwarf_line_offset is nonzero before creating dwarf_line_buffer.
(read_file_scope): Check that line_header is nonzero before
decoding macro information.
Mark Kettenis [Tue, 20 Aug 2002 17:59:50 +0000 (17:59 +0000)]
* i386-tdep.h (FP_REGNUM_P): Change such that we don't incorrectly
flag the general-purpose registers as floating-point on targets
that don't support the floating-point registers.
Mark Kettenis [Tue, 20 Aug 2002 17:38:46 +0000 (17:38 +0000)]
*** empty log message ***
Elena Zannoni [Tue, 20 Aug 2002 17:33:51 +0000 (17:33 +0000)]
2002-08-20 Elena Zannoni <ezannoni@redhat.com>
* rs6000-tdep.c (altivec_register_p): Delete.
(rs6000_do_altivec_registers): Delete.
(rs6000_altivec_registers_info): Delete.
(rs6000_do_registers_info): Delete.
(_initialize_rs6000_tdep): Remove command 'info powerpc altivec'.
(rs6000_gdbarch_init): Remove setting of do_registers_info.
Elena Zannoni [Tue, 20 Aug 2002 16:33:32 +0000 (16:33 +0000)]
2002-08-20 Elena Zannoni <ezannoni@redhat.com>
* infcmd.c (do_registers_info): Print vector registers in hex
format only.
(print_vector_info): Check that printing registers
makes sense.
(print_float_info): Ditto.
Andrew Cagney [Tue, 20 Aug 2002 16:11:49 +0000 (16:11 +0000)]
2002-08-20 Andrew Cagney <
ac131313@redhat.com>
* mips-tdep.c (mips_gdbarch_init): Update.
(mips_o32_extract_return_value): Rewrite.
(mips_o32_store_return_value): Rewrite.
(mips_o32_xfer_return_value): New function.
(mips_xfer_register): Tweak debug print message. Allow for
buf_offset when dumping the value transfered.
Andrew Cagney [Tue, 20 Aug 2002 13:17:55 +0000 (13:17 +0000)]
2002-08-20 Andrew Cagney <
ac131313@redhat.com>
* config/mips/tm-nbsd.h (MIPS_DEFAULT_ABI): Delete.
* config/mips/tm-linux.h (MIPS_DEFAULT_ABI): Delete.
* config/mips/tm-irix5.h (MIPS_DEFAULT_ABI): Delete.
* config/mips/tm-irix6.h (MIPS_DEFAULT_ABI): Delete.
* mips-tdep.c (mips_gdbarch_init) [MIPS_DEFAULT_ABI]: Delete code.
Richard Sandiford [Tue, 20 Aug 2002 08:28:35 +0000 (08:28 +0000)]
[gas/]
* config/tc-mips.c (macro2): Implement rotates by zero using shifts
by zero.
[gas/testsuite]
* gas/mips/rol.s: Add rotate by zero tests.
* gas/mips/rol.d: Update accordingly.
* gas/mips/rol64.d: Expect rotates by zero to use dsrl.
Alexandre Oliva [Tue, 20 Aug 2002 03:04:03 +0000 (03:04 +0000)]
* Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
* configure.in (CC_FOR_TARGET, GCJ_FOR_TARGET, CXX_FOR_TARGET,
CXX_FOR_TARGET_FOR_RECURSIVE_MAKE): Likewise.
gdbadmin [Tue, 20 Aug 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 20 Aug 2002 00:00:05 +0000 (00:00 +0000)]
daily update
Michael Snyder [Mon, 19 Aug 2002 23:22:17 +0000 (23:22 +0000)]
2002-08-14 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (mips_frame_chain): Check for call-dummy frames.
Elena Zannoni [Mon, 19 Aug 2002 23:21:16 +0000 (23:21 +0000)]
2002-08-19 Elena Zannoni <ezannoni@redhat.com>
* rs6000-tdep.c (struct reg): Add field to indicate a pseudo
register.
(P): New macro to define a register as a pseudo register.
(R, R4, R8, R16, FR32, R64, R0): Updated.
(struct variant): Add new fields for number of pseudo registers
and number of total registers.
(tot_num_registers): New macro replacing....
(num_registers): ...deleted macro.
(num_registers): New function.
(num_pseudo_registers): New function.
(variants): Update all variants to intialize new fields correctly.
Postpone initialization of number of pseudo regs and real regs.
(init_variants): New function.
(rs6000_gdbarch_init): Initialize variants. Update calculation of
registers offsets.
David Carlton [Mon, 19 Aug 2002 23:19:53 +0000 (23:19 +0000)]
2002-08-19 David Carlton <carlton@math.stanford.edu>
* valops.c (search_struct_field): Change error message to treat
return value of 0 from value_static_field as meaning that field is
optimized out.
(value_struct_elt_for_reference): Ditto.
* values.c (value_static_field): Treat an unresolved location the
same as a nonexistent symbol. Fix PR gdb/635.
David Carlton [Mon, 19 Aug 2002 22:53:33 +0000 (22:53 +0000)]
2002-08-19 David Carlton <carlton@math.stanford.edu>
* gnu-v2-abi.c (gnuv2_value_rtti_type): Eliminate test for being
enclosed. Fix PR gdb/574.
David Carlton [Mon, 19 Aug 2002 22:38:07 +0000 (22:38 +0000)]
Add self to MAINTAINERS.
Andrew Cagney [Mon, 19 Aug 2002 22:09:03 +0000 (22:09 +0000)]
2002-08-19 Andrew Cagney <
ac131313@redhat.com>
* gdb.texinfo (Remote Protocol): Reformat. Use cross references.
Fix minor typos. Add index entries.
Andrew Cagney [Mon, 19 Aug 2002 21:25:43 +0000 (21:25 +0000)]
2002-08-19 Andrew Cagney <
ac131313@redhat.com>
* mips-tdep.c (mips_xfer_register): New function.
(mips_n32n64_extract_return_value): Rewrite.
(mips_gdbarch_init): For N32 and N64, set extract_return_value
instead of deprecated_extract_return_value.
Elena Zannoni [Mon, 19 Aug 2002 21:12:34 +0000 (21:12 +0000)]
2002-08-19 Elena Zannoni <ezannoni@redhat.com>
* archures.c (bfd_mach_ppc_e500): Added.
* bfd-in2.h: Rebuilt.
* cpu-powerpc.c (bfd_powerpc_archs): Added e500.
Elena Zannoni [Mon, 19 Aug 2002 21:08:55 +0000 (21:08 +0000)]
2002-08-19 Elena Zannoni <ezannoni@redhat.com>
From matthew green <mrg@redhat.com>
* config/tc-ppc.c (PPC_OPCODE_CLASSIC): Enable this everywhere
PPC_OPCODE_PPC is, except for BookE architectures.
(md_parse_option): Add support for -mspe.
(md_show_usage): Add -mspe.
(md_parse_option): Add support for -me500 and
-me500x2 to generate code for Motorola e500 core complex.
(md_show_usage): Add -me500 and -me500x2.
(PPC_APUINFO_ISEL, PPC_APUINFO_PMR, PPC_APUINFO_RFMCI,
PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE, PPC_APUINFO_EFS,
PPC_APUINFO_BRLOCK): New macros.
(ppc_cleanup): New function.
(ppc_apuinfo_section_add): New function.
(APUID): New macro.
(md_assemble): Collect info and write the APUinfo section.
* config/tc-ppc.h (md_cleanup): Define.
(ppc_cleanup): Export.
(ELF_TC_SPECIAL_SECTIONS): Add .PPC.EMB.apuinfo section.
Elena Zannoni [Mon, 19 Aug 2002 21:01:02 +0000 (21:01 +0000)]
2002-08-19 Elena Zannoni <ezannoni@redhat.com>
From matthew green <mrg@redhat.com>
* e500.s: New tests for e500 instructions.
* e500.d: Results for new test.
* ppc.exp: Test e500.s.
Elena Zannoni [Mon, 19 Aug 2002 20:59:10 +0000 (20:59 +0000)]
2002-08-19 Elena Zannoni <ezannoni@redhat.com>
From matthew green <mrg@redhat.com>
* ppc-dis.c (powerpc_dialect): Support `-m500', `-m500x2' and
`-mefs'. Turn off AltiVec for E500 and efs.
(print_insn_powerpc): Don't print an AltiVec instruction if the
dialect is not efs.
* ppc-opc.c (insert_pmrn, extract_pmrn, insert_ev2, extract_ev2,
insert_ev4, extract_ev4, insert_ev8, extract_ev8): New functions
for extracting pmrn/evld/evstd/etc operands.
(CRB, CRFD, CRFS, DC, RD): New instruction fields.
(CT): Make this equal to RD + 1.
(PMRN): New operand.
(RA): Update.
(EVUIMM, EVUIMM_2, EVUIMM_4, EVUIMM_8): New operands.
(WS): Update.
(EVSEL, EVSEL_MASK): New instruction form and mask for EVSEL.
(ISEL, ISEL_MASK): New instruction form and mask for ISEL.
(XISEL, XISEL_MASK): New instruction form and mask for ISEL.
(CTX, CTX_MASK): New instruction form and mask for context cache
instructions.
(UCTX, UCTX_MASK): New instruction form and mask for user context
cache instructions.
(XC, XC_MASK, XUC, XUC_MASK): New instruction forms.
(CLASSIC): New define.
(PPCESPE): New define.
(PPCISEL, , PPCBRLK, PPCPMR, PPCCHLK, PPCRFMI): New
defines for integer select, cache control, branch
locking, power management, cache locking and machine check
APU instructions, respectively.
(efsabs, efsnabs, efsneg, efsadd, efssub, efsmul,
efsdiv, efscmpgt, efscmplt, efscmpeq, efststgt, efststlt,
efststeq, efscfui, efsctuiz, efscfsi, efscfuf, efscfsf,
efsctui, efsctsi, efsctsiz, efsctuf, efsctsf,
evaddw, evaddiw, evsubfw, evsubifw, evabs, evneg, evextsb,
evextsh, evrndw, evcntlzw, evcntlsw, brinc, evand, evandc, evor,
evorc, evxor, eveqv, evnand, evnor, evrlw, evrlwi, evslw, evslwi,
evsrws, evsrwu, evsrwis, evsrwiu, evsplati, evsplatfi, evmergehi,
evmergelo, evmergehilo, evmergelohi, evcmpgts, evcmpgtu, evcmplts,
evcmpltu, evcmpeq, evsel, evldd, evlddx, evldw, evldwx, evldh,
evldhx, evlwhe, evlwhex, evlwhou, evlwhoux, evlwhos, evlwhosx,
evlwwsplat, evlwwsplatx, evlwhsplat, evlwhsplatx, evlhhesplat,
evlhhesplatx, evlhousplat, evlhousplatx, evlhossplat, evlhossplatx,
evstdd, evstddx, evstdw, evstdwx, evstdh, evstdhx, evstwwe,
evstwwex, evstwwo, evstwwox, evstwhe, evstwhex, evstwho, evstwhox,
evfsabs, evfsnabs, evfsneg, evfsadd, evfssub, evfsmul, evfsdiv,
evfscmpgt, evfscmplt, evfscmpeq, evfststgt, evfststlt, evfststeq,
evfscfui, evfsctuiz, evfscfsi, evfscfuf, evfscfsf, evfsctui,
evfsctsi, evfsctsiz, evfsctuf, evfsctsf, evsabs, evsnabs, evsneg,
evsadd, evssub, evsmul, evsdiv, evscmpgt, evsgmplt, evsgmpeq,
evststgt, evststlt, evststeq, evscfui, evscfsi, evscfuf, evscfsf,
evsctui, evsctuiz, evsctsi, evsctsiz, evsctuf, evsctsf, evmhossf,
evmhossfa, evmhosmf, evmhosmfa, evmhosmi, evmhosmia, evmhoumi,
evmhoumia, evmhessf, evmhessfa, evmhesmf, evmhesmfa, evmhesmi,
evmhesmia, evmheumi, evmheumia, evmhossfaaw, evmhossiaaw,
evmhosmfaaw, evmhosmiaaw, evmhousiaaw, evmhoumiaaw, evmhessfaaw,
evmhessiaaw, evmhesmfaaw, evmhesmiaaw, evmheusiaaw, evmheumiaaw,
evmhossfanw, evmhossianw, evmhosmfanw, evmhosmianw, evmhousianw,
evmhoumianw, evmhessfanw, evmhessianw, evmhesmfanw, evmhesmianw,
evmheusianw, evmheumianw, evmhogsmfaa, evmhogsmiaa, evmhogumiaa,
evmhegsmfaa, evmhegsmiaa, evmhegumiaa, evmhogsmfan, evmhogsmian,
evmhogumian, evmhegsmfan, evmhegsmian, evmhegumian, evmwhssf,
evmwhssfa, evmwhssfaa, evmwhssmaa, evmwhsmfaa, evmwhsmiaa,
evmwhusiaa, evmwhumiaa, evmwhssfan, evmwhssian, evmwhsmfan,
evmwhsmian, evmwhusian, evmwhumian, evmwhgssfaa, evmwhgsmfaa,
evmwhgsmiaa, evmwhgumiaa, evmwhgssfan, evmwhgsmfan, evmwhgsmian,
evmwhgumian, evmwhsmf, evmwhsmfa, evmshsmi, evmshsmia, evmshumi,
evmshumia, evmmlssf, evmmlssfa, evmwlsmf, evmwlsmfa, evmwlumi,
evmwlumia, evmwlssfaaw, evmwlssiaaw, evmwlsmfaaw, evmwlsmiaaw,
evmwlusiaaw, evmwlumiaaw, evmwissfanw, evmwissianw, evmwlsmfanw,
evmwlsmianw, evmwlusianw, evmwlumianw, evmwssf, evmwssfa,
evmwsmf, evmwsmfa, evmwsmi, evmwsmia, evmwumi, evmwumia,
evmwssfaa, evmwsmfaa, evmwsmiaa, evmwumiaa, evmwssfan, evmwsmfan,
evmwsmian, evmwumian, evaddssiaaw, evaddsmiaaw, evaddusiaaw,
evaddumiaaw, evsubfssiaaw, evsubfsmiaaw, evsubfusiaaw,
evsubfumiaaw, evmra, evdivws, evdivws): New e500x2 Core Complex
instructions.
(rfmci): New machine check APU instruction.
(isel): New integer select APU instructino.
(icbtls, icbtlse, icblc, icblce, dcbtls, dcbtlse, dcbtstls,
dcbtstlse, dcblc, dcblce): New cache control APU instructions.
(mtspefscr, mfspefscr): New instructions.
(mfpmr, mtpmr): New performance monitor APU instructions.
(savecontext): New context cache APU instructions.
(bblels, bbelr): New branch locking APU instructions.
(bblels, bbelr): New instructions.
(mftbl, mftbu, mftb): Set as CLASSIC instructions. Add BOOKE alias.
Elena Zannoni [Mon, 19 Aug 2002 20:55:48 +0000 (20:55 +0000)]
2002-08-19 Elena Zannoni <ezannoni@redhat.com>
From matthew green <mrg@redhat.com>
* ppc.h (PPC_OPCODE_SPE): New opcode flag for Powerpc e500
instructions.
(PPC_OPCODE_ISEL, PPC_OPCODE_BRLOCK, PPC_OPCODE_PMR,
PPC_OPCODE_CACHELCK, PPC_OPCODE_RFMCI): New opcode flags for the
e500x2 Integer select, branch locking, performance monitor,
cache locking and machine check APUs, respectively.
(PPC_OPCODE_EFS): New opcode type for efs* instructions.
(PPC_OPCODE_CLASSIC): New opcode type for Classic PowerPC instructions.
Elena Zannoni [Mon, 19 Aug 2002 17:57:59 +0000 (17:57 +0000)]
2002-08-19 Elena Zannoni <ezannoni@redhat.com>
* rs6000-tdep.c (TDEP): Delete macro.
(branch_dest): Replace use of TDEP macro with its body.
(rs6000_pop_frame): Ditto.
(rs6000_push_arguments): Ditto.
(rs6000_skip_trampoline_code): Ditto.
(rs6000_frame_saved_pc): Ditto.
(rs6000_frame_chain): Ditto.
(rs6000_register_name): Ditto.
(rs6000_register_byte): Ditto.
(rs6000_register_raw_size): Ditto.
(rs6000_register_virtual_type): Ditto.
(rs6000_register_convertible): Ditto.
(rs6000_convert_from_func_ptr_addr): Ditto.
Daniel Jacobowitz [Mon, 19 Aug 2002 14:24:56 +0000 (14:24 +0000)]
* config/mips/tm-linux.h (REALTIME_LO, REALTIME_HI): Define
conditionally.
(JB_PC, JB_ELEMENT_SIZE): Rename to MIPS_LINUX_JB_PC and
MIPS_LINUX_JB_ELEMENT_SIZE.
* mips-linux-tdep.c (supply_gregset, fill_gregset): Use alloca
for MAX_REGISTER_RAW_SIZE arrays.
(mips_linux_get_longjmp_target): Use MIPS_LINUX_JB_PC and
MIPS_LINUX_JB_ELEMENT_SIZE.
Pierre Muller [Mon, 19 Aug 2002 13:12:09 +0000 (13:12 +0000)]
* remove wrong patch about TYPE_CODE_FLAGS for pascal
Pierre Muller [Mon, 19 Aug 2002 12:08:07 +0000 (12:08 +0000)]
2002-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
* p-valprint.c (pascal_val_print): Add support for TYPE_CODE_FLAGS.
Pierre Muller [Mon, 19 Aug 2002 11:52:36 +0000 (11:52 +0000)]
2002-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
* i387-tdep.c (i387_print_float_info): Fix typo in comment.
Aidan Skinner [Mon, 19 Aug 2002 10:52:20 +0000 (10:52 +0000)]
* Makefile.in (SFILES): Add ada-exp.y ada-lang.c ada-typeprint.c
ada-valprint.c ada-tasks.c.
(YYFILES): Add ada-exp.y.
(ada-exp.tab.c ada-lex.c ada-lang.o): New target.
(ada-tasks.o ada-typeprint.o ada-valprint.o): New target.
(ada-exp.tab.o): New target.
Alan Modra [Mon, 19 Aug 2002 06:38:43 +0000 (06:38 +0000)]
* elf32-m68hc12.c (elf_backend_can_gc_sections): False.
Andrew Cagney [Mon, 19 Aug 2002 00:57:17 +0000 (00:57 +0000)]
2002-08-18 Andrew Cagney <
ac131313@redhat.com>
* gdb.texinfo (Data): Add ``Vector Unit'' to menu.
Andrew Cagney [Mon, 19 Aug 2002 00:43:41 +0000 (00:43 +0000)]
2002-08-18 Andrew Cagney <
ac131313@redhat.com>
* regcache.c (regcache_xfer_part): New function.
(regcache_raw_read_part): New function.
(regcache_raw_write_part): New function.
(regcache_cooked_read_part): New function.
(regcache_cooked_write_part): New function.
* regcache.h (regcache_raw_read_part): Declare.
(regcache_raw_write_part): Declare.
(regcache_cooked_read_part): Declare.
(regcache_cooked_write_part): Declare.
Alan Modra [Mon, 19 Aug 2002 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 19 Aug 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Daniel Jacobowitz [Sun, 18 Aug 2002 23:20:47 +0000 (23:20 +0000)]
Fix PR gdb/655
* tui.c: Disable <termio.h> include.
Daniel Jacobowitz [Sun, 18 Aug 2002 23:17:57 +0000 (23:17 +0000)]
* remote.c (remote_open_1): Add async_p.
(remote_async_open_1): Delete.
(open_remote_target): Delete.
(remote_open, extended_remote_open): Update calls to remote_open_1.
(remote_async_open, extended_remote_async_open): Call
remote_open_1 instead of remote_async_open_1.
Mark Kettenis [Sun, 18 Aug 2002 22:40:15 +0000 (22:40 +0000)]
* blockframe.c: Fix a few coding standard violations.
Mark Kettenis [Sun, 18 Aug 2002 22:23:32 +0000 (22:23 +0000)]
* config/i386/nm-i386sco5.h (START_INFERIOR_TRAPS_EXPECTED): Moved
here from ...
* config/i386/tm-i386sco5.h: ... here. File removed.
* config/i386/i386sco5.mt (TM_FILE): Set to tm-i386v4.h.
Mark Kettenis [Sun, 18 Aug 2002 22:17:57 +0000 (22:17 +0000)]
* config/i386/nm-i386v.h (START_INFERIOR_TRAPS_EXPECTED): New define.
Mark Kettenis [Sun, 18 Aug 2002 22:14:24 +0000 (22:14 +0000)]
* config/i386/i386aout.mt (TDEPFILES): Add i387-tdep.o
(TM_FILE): Set to tm-i386.h.
* config/i386/i386v.mt (TM_FILE): Set to tm-i386.h.
* config/i386/tm-i386v.h: Remove file.
* config/i386/tm-ptx.h [!SEQUENT_PTX4]: Include "i386/tm-i386.h"
instead of "i386/tm-i386v.h".
(START_INFERIOR_TRAPS_EXPECTED): Remove define.
* config/i386/tm-symmetry: Include "i386/tm-i386.h" instead of
"i386/tm-i386v.h".
(START_INFERIOR_TRAPS_EXPECTED): Remove define.
* config/i386/tm-vxworks.h: Include "i386/tm-i386.h" instead of
"i386/tm-i386.h".
Mark Kettenis [Sun, 18 Aug 2002 21:53:55 +0000 (21:53 +0000)]
* config/i386/nm-i386v.h: Add protection against
multiple-inclusion.
(i386_register_u_addr): Remove prototype.
(register_u_addr): New prototype.
(REGISTER_U_ADDR): Redefine accordingly.
* i386v-nat.c: Improve several comments.
(i386_register_u_addr): Change signature and rename to
register_u_addr. Use FP_REGNUM_P. Rewrite slightly to get rid of
ubase variable.
Andrew Cagney [Sun, 18 Aug 2002 18:59:53 +0000 (18:59 +0000)]
2002-08-18 Andrew Cagney <
ac131313@redhat.com>
* config/mips/tm-mips.h (STORE_RETURN_VALUE): Delete macro.
(DEPRECATED_EXTRACT_RETURN_VALUE): Delete macro.
* mips-tdep.c (mips_gdbarch_init): Set store_return_value and
deprecated_extract_return_value.
(mips_o32_push_arguments, mips_o64_push_arguments): Clone and
rename mips_o32o64_push_arguments.
(mips_gdbarch_init): Update.
(mips_extract_return_value): Delete.
(mips_o32_extract_return_value): Clone mips_extract_return_value.
(mips_o64_extract_return_value): Clone mips_extract_return_value.
(mips_eabi_extract_return_value): Clone mips_extract_return_value.
(mips_n32n64_extract_return_value): Clone
mips_extract_return_value.
(mips_store_return_value): Delete.
(mips_o32_store_return_value): Clone mips_store_return_value.
(mips_o64_store_return_value): Clone mips_store_return_value.
(mips_eabi_store_return_value): Clone mips_store_return_value.
(mips_n32n64_store_return_value): Clone mips_store_return_value.
Aidan Skinner [Sun, 18 Aug 2002 18:24:29 +0000 (18:24 +0000)]
* ada-lang.c: Use gdb_string.h instead of <string.h>.
* ada-typeprint.c: Use gdb_string.h instead of <string.h>.
Aidan Skinner [Sun, 18 Aug 2002 18:11:12 +0000 (18:11 +0000)]
* ada-lang.c: run through gdb_indent.sh
* ada-lang.h: run through gdb_indent.sh
* ada-tasks.c: run through gdb_indent.sh
* ada-typeprint.c: run through gdb_indent.sh
* ada-valprint.c: run through gdb_indent.sh
Andrew Cagney [Sun, 18 Aug 2002 17:59:57 +0000 (17:59 +0000)]
2002-08-18 Andrew Cagney <
ac131313@redhat.com>
* osabi.c (gdbarch_init_osabi): Don't complain about an unknown
ABI.
Mark Kettenis [Sun, 18 Aug 2002 17:37:17 +0000 (17:37 +0000)]
* i386b-nat.c [FETCH_INFERIOR_REGISTERS]: Remove dead code.
Mark Kettenis [Sun, 18 Aug 2002 17:28:50 +0000 (17:28 +0000)]
* config/i386/nm-i386bsd.h (FLOAT_INFO): Remove redundant #undef.
* i386b-nat.c [FLOAT_INFO]: Remove dead code.
Mark Kettenis [Sun, 18 Aug 2002 17:18:45 +0000 (17:18 +0000)]
* i386-tdep.c (i386_do_pop_frame, i386_store_return_value): Call
write_register_gen instead of write_register_bytes.
Mark Kettenis [Sun, 18 Aug 2002 16:32:14 +0000 (16:32 +0000)]
* NEWS: Mention that the i[3456]-*mach3*, i[3456]-*-mach* and
i[3456]-*-osf1mk* configurations have been made obsolete.
* configure.host: Make i[3456]86-*-mach3*, i[3456]86-*mach* and
i[3456]86-*-osf1mk* hosts obsolete.
* confighure.tgt: Make i[3456]86-*-mach3*, i[3456]86-*-osf1mk*
targets obsolete.
* config/i386/i386mach.mh, config/i386/nm-i386mach.h,
config/i386/xm-i386mach.h, config/i386/i386m3.mh,
config/i386/i386m3.mt, config/i386/nm-m3.h,
config/i386/tm-i386m3.h, config/i386/xm-i386m3.h,
config/i386/i386mk.mh, config/i386/i386mk.mt,
config/i386/tm-i386mk.h, config/i386/xm-i386mk.h: Make files
obsolete.
* i386mach-nat.c, i386m3-nat.c: Make files obsolete.
* Makefile.in (ALLDEPFILES): Remove i386mach.c i386m3-nat.c
(i386mach-nat.o, i386m3-nat.o):Make targets obsolete.
Andrew Cagney [Sun, 18 Aug 2002 16:09:04 +0000 (16:09 +0000)]
2002-08-18 Andrew Cagney <
ac131313@redhat.com>
* config/pa/tm-hppa.h (hppa_store_return_value): Declare.
(hppa_value_returned_from_stack): Declare.
(hppa_extract_return_value): Declare.
* config/pa/hppa.mt: New file.
* configure.tgt: Recognize hppa*-*-*.
* MAINTAINERS: Change HPPA target to hppa-elf. Still broken.
Mark Kettenis [Sun, 18 Aug 2002 14:47:59 +0000 (14:47 +0000)]
* i386-sol2-tdep.c (_initialize_i386_sol2_tdep): Fix typo in
comment.
Mark Kettenis [Sun, 18 Aug 2002 12:39:03 +0000 (12:39 +0000)]
* top.c (gdb_rl_operate_and_get_next): Make sure
operate-and-get-next functions correctly even when the history
list is completely filled.
Andrew Cagney [Sun, 18 Aug 2002 04:14:02 +0000 (04:14 +0000)]
2002-08-17 Andrew Cagney <
ac131313@redhat.com>
* config/ia64/ia64.mt: New file.
* config/alpha/alpha.mt: New file.
* MAINTAINERS: Change the alpha target to alpha-elf and IA-64 to
ia64-linux-gnu. Mention that ia64-elf is broken.
* configure.tgt: Add alpha*-*-* and ia64*-*-* patterns.
Andrew Cagney [Sun, 18 Aug 2002 04:00:47 +0000 (04:00 +0000)]
2002-08-17 Andrew Cagney <
ac131313@redhat.com>
* config/ia64/ia64.mt: New file.
* config/alpha/alpha.mt: New file.
* MAINTAINERS: Change the alpha target to alpha-elf and IA-64 to
ia64-linux-gnu. Mention that ia64-elf is broken.
* configure.tgt: Add alpha*-*-* and ia64*-*-* patterns.
gdbadmin [Sun, 18 Aug 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 18 Aug 2002 00:00:05 +0000 (00:00 +0000)]
daily update
Andrew Cagney [Sat, 17 Aug 2002 16:09:02 +0000 (16:09 +0000)]
* elf.c (bfd_elf_get_elf_syms): Change type of `esym' to
`bfd_byte'.
Stan Cox [Sat, 17 Aug 2002 15:31:29 +0000 (15:31 +0000)]
* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Use the
IRIX 6 segment layout for NEWABI.
Stan Cox [Sat, 17 Aug 2002 15:09:29 +0000 (15:09 +0000)]
* config/obj-elf.c (obj_elf_change_section): Make non-static.
config/tc-mips.c (s_change_section): New function to support
IRIX .section pseudo-op.
Mark Kettenis [Sat, 17 Aug 2002 11:39:38 +0000 (11:39 +0000)]
* i386-tdep.c (i386_svr4_init_abi, i386_nw_init_abi): Use
generic_func_frame_valid instead of func_frame_valid.
Mark Kettenis [Sat, 17 Aug 2002 10:22:01 +0000 (10:22 +0000)]
* gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
targets. The problem should be fixed now.
Nick Clifton [Sat, 17 Aug 2002 09:59:34 +0000 (09:59 +0000)]
Revert previous delta - it was bogus.
Joel Brobecker [Sat, 17 Aug 2002 06:12:52 +0000 (06:12 +0000)]
* alpha-osf1-tdep.c (alpha_osf1_init_abi): Unfortunately,
procfs appears to be broken when debugging on multi-processor
machines. So enable software single stepping in order to avoid
using the procfs interface to do next/step operations, using
internal breakpoints instead.
* infrun.c (handle_inferior_event): Readjust the stop_pc by
DECR_PC_AFTER_BREAK when hitting a single step breakpoint, to
make this pc address equal to the value it would have if the
system stepping capability was used. Also set a new flag used
to ensure that we don't readjust the PC one more time later.
* breakpoint.c (bpstat_stop_status): Do not adjust the PC
address by DECR_PC_AFTER_BREAK when software single step is
in use for this architecture, as this has already been taken
care of in handle_inferior_event().
Joel Brobecker [Sat, 17 Aug 2002 00:16:54 +0000 (00:16 +0000)]
* infrun.c (handle_inferior_event): Minor reformatting, to make
a rather long condition expression easier to read.
Andrew Cagney [Sat, 17 Aug 2002 00:04:36 +0000 (00:04 +0000)]
Move gdbtk gunk to end of file.
gdbadmin [Sat, 17 Aug 2002 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 17 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update
Andrew Cagney [Fri, 16 Aug 2002 23:32:04 +0000 (23:32 +0000)]
2002-08-16 Andrew Cagney <
ac131313@redhat.com>
* Makefile.in (copying.o): Separate out compile rule.
(hpux-thread.o, procfs.o, signals.o): Ditto.
(v850ice.o, z8k-tdep.o): Ditto.
(tui-file.o): Move to TUI section.
(xdr_ptrace.o, xdr_rdb.o, xdr_ld.o): Move to separate section.
(nindy.o, Onindy.o, ttyflush.o): Move to separate section.
Joel Brobecker [Fri, 16 Aug 2002 22:44:00 +0000 (22:44 +0000)]
* i386-tdep.c (i386_pe_skip_trampoline_code): renamed from
skip_trampoline_code, for better namespace-proofing.
* i386-tdep.h (i386_pe_skip_trampoline_code): Add declaration.
Joel Brobecker [Fri, 16 Aug 2002 20:32:58 +0000 (20:32 +0000)]
* config/i386/tm-cygwin.h: Remove some "#if 0"'ed macros.
Stephen Clarke [Fri, 16 Aug 2002 18:47:31 +0000 (18:47 +0000)]
* ld-sh/sh64/sh64.exp: Add dlsection.
* ld-sh/sh64/dlsection-1.s, ld-sh/sh64/dlsection.sd: New.
Stephen Clarke [Fri, 16 Aug 2002 18:40:54 +0000 (18:40 +0000)]
* bfd/elf32-sh.c (sh_elf_gc_mark_hook): For sh64, skip indirect
symbols when looking for section referred to by a relocation.
* bfd/elf64-sh.c (sh_elf64_gc_mark_hook): Likewise.
Stephen Clarke [Fri, 16 Aug 2002 18:19:00 +0000 (18:19 +0000)]
Correct date on previous ChangeLog entry.
Stephen Clarke [Fri, 16 Aug 2002 18:15:20 +0000 (18:15 +0000)]
* gas/sh/sh64/datal32-3.d: Formatting change to match the current
output of objdump.
Joel Brobecker [Fri, 16 Aug 2002 17:56:17 +0000 (17:56 +0000)]
* infrun.c (handle_inferior_event): When receiving a SIGTRAP
signal, check whether we hit a breakpoint before checking for a
single step breakpoint. Otherwise, GDB fails to notice that a
breakpoint has been hit when stepping onto a breakpoint.
Keith Seitz [Fri, 16 Aug 2002 16:09:07 +0000 (16:09 +0000)]
* gdb-events.sh (clear_gdb_event_hooks): New function.
* gdb-events.c: Regenerate.
* gdb-events.h: Regenerate.