aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-08-202002-08-19 Michael Snyder <msnyder@redhat.com>Michael Snyder4-52/+20
* 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.
2002-08-202002-08-20 Michael Snyder <msnyder@redhat.com>Michael Snyder1-18/+0
* 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.
2002-08-202002-08-20 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+27
* 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.
2002-08-202002-08-13 David Carlton <carlton@math.stanford.edu>David Carlton2-4/+15
* 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.
2002-08-20* i386-tdep.h (FP_REGNUM_P): Change such that we don't incorrectlyMark Kettenis2-1/+7
flag the general-purpose registers as floating-point on targets that don't support the floating-point registers.
2002-08-20*** empty log message ***Mark Kettenis1-6/+6
2002-08-202002-08-20 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-183/+9
* 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.
2002-08-202002-08-20 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-4/+29
* 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.
2002-08-202002-08-20 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-45/+157
* 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.
2002-08-202002-08-20 Andrew Cagney <ac131313@redhat.com>Andrew Cagney6-22/+8
* 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.
2002-08-20[gas/]Richard Sandiford6-91/+130
* 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.
2002-08-20* Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.Alexandre Oliva3-5/+11
* configure.in (CC_FOR_TARGET, GCJ_FOR_TARGET, CXX_FOR_TARGET, CXX_FOR_TARGET_FOR_RECURSIVE_MAKE): Likewise.
2002-08-20*** empty log message ***gdbadmin1-1/+1
2002-08-20daily updateAlan Modra1-1/+1
2002-08-192002-08-14 Michael Snyder <msnyder@redhat.com>Michael Snyder2-3/+9
* mips-tdep.c (mips_frame_chain): Check for call-dummy frames.
2002-08-192002-08-19 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-36/+131
* 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.
2002-08-192002-08-19 David Carlton <carlton@math.stanford.edu>David Carlton3-7/+29
* 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.
2002-08-192002-08-19 David Carlton <carlton@math.stanford.edu>David Carlton2-22/+3
* gnu-v2-abi.c (gnuv2_value_rtti_type): Eliminate test for being enclosed. Fix PR gdb/574.
2002-08-19Add self to MAINTAINERS.David Carlton2-0/+5
2002-08-192002-08-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-519/+553
* gdb.texinfo (Remote Protocol): Reformat. Use cross references. Fix minor typos. Add index entries.
2002-08-192002-08-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-39/+160
* 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.
2002-08-192002-08-19 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni4-0/+22
* archures.c (bfd_mach_ppc_e500): Added. * bfd-in2.h: Rebuilt. * cpu-powerpc.c (bfd_powerpc_archs): Added e500.
2002-08-192002-08-19 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni3-16/+195
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.
2002-08-192002-08-19 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni4-0/+49
From matthew green <mrg@redhat.com> * e500.s: New tests for e500 instructions. * e500.d: Results for new test. * ppc.exp: Test e500.s.
2002-08-192002-08-19 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni3-7/+623
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.
2002-08-192002-08-19 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-0/+37
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.
2002-08-192002-08-19 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-16/+28
* 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.
2002-08-19 * config/mips/tm-linux.h (REALTIME_LO, REALTIME_HI): DefineDaniel Jacobowitz3-8/+26
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.
2002-08-19 * remove wrong patch about TYPE_CODE_FLAGS for pascalPierre Muller2-9/+0
2002-08-192002-08-19 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller2-0/+9
* p-valprint.c (pascal_val_print): Add support for TYPE_CODE_FLAGS.
2002-08-192002-08-19 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller2-1/+5
* i387-tdep.c (i387_print_float_info): Fix typo in comment.
2002-08-19 * Makefile.in (SFILES): Add ada-exp.y ada-lang.c ada-typeprint.cAidan Skinner2-2/+66
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.
2002-08-19 * elf32-m68hc12.c (elf_backend_can_gc_sections): False.Alan Modra2-1/+6
2002-08-192002-08-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-0/+5
* gdb.texinfo (Data): Add ``Vector Unit'' to menu.
2002-08-192002-08-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-0/+109
* 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.
2002-08-19daily updateAlan Modra1-1/+1
2002-08-19*** empty log message ***gdbadmin1-1/+1
2002-08-18 Fix PR gdb/655Daniel Jacobowitz2-0/+7
* tui.c: Disable <termio.h> include.
2002-08-18 * remote.c (remote_open_1): Add async_p.Daniel Jacobowitz2-142/+40
(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.
2002-08-18* blockframe.c: Fix a few coding standard violations.Mark Kettenis2-8/+12
2002-08-18* config/i386/nm-i386sco5.h (START_INFERIOR_TRAPS_EXPECTED): MovedMark Kettenis4-37/+14
here from ... * config/i386/tm-i386sco5.h: ... here. File removed. * config/i386/i386sco5.mt (TM_FILE): Set to tm-i386v4.h.
2002-08-18* config/i386/nm-i386v.h (START_INFERIOR_TRAPS_EXPECTED): New define.Mark Kettenis2-0/+9
2002-08-18* config/i386/i386aout.mt (TDEPFILES): Add i387-tdep.oMark Kettenis7-53/+21
(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".
2002-08-18* config/i386/nm-i386v.h: Add protection againstMark Kettenis3-27/+46
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.
2002-08-182002-08-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-33/+479
* 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.
2002-08-18 * ada-lang.c: Use gdb_string.h instead of <string.h>.Aidan Skinner3-7/+12
* ada-typeprint.c: Use gdb_string.h instead of <string.h>.
2002-08-18 * ada-lang.c: run through gdb_indent.shAidan Skinner6-3209/+3321
* 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
2002-08-182002-08-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-7/+7
* osabi.c (gdbarch_init_osabi): Don't complain about an unknown ABI.
2002-08-18* i386b-nat.c [FETCH_INFERIOR_REGISTERS]: Remove dead code.Mark Kettenis2-53/+2
2002-08-18* config/i386/nm-i386bsd.h (FLOAT_INFO): Remove redundant #undef.Mark Kettenis3-168/+3
* i386b-nat.c [FLOAT_INFO]: Remove dead code.