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.
Andrew Cagney [Fri, 16 Aug 2002 15:37:54 +0000 (15:37 +0000)]
* breakpoint.c (bpstat_stop_status): Rename not_a_breakpoint to
not_a_sw_breakpoint.
* breakpoint.h (bpstat_stop_status): Add parameter names.
Grace Sainsbury [Fri, 16 Aug 2002 14:52:12 +0000 (14:52 +0000)]
* remote.c (remote_insert_hw_breakpoint)
(remote_remove_hw_breakpoint): Fix calculation of length field
for Z-packet.
Nick Clifton [Fri, 16 Aug 2002 14:41:15 +0000 (14:41 +0000)]
Put a newline after display an unknown dynamic type.
Nick Clifton [Fri, 16 Aug 2002 11:44:03 +0000 (11:44 +0000)]
Cope with demangling function names that include a double underscore.
Nick Clifton [Fri, 16 Aug 2002 09:38:09 +0000 (09:38 +0000)]
oops - fix typo in previous delta
Nick Clifton [Fri, 16 Aug 2002 07:01:47 +0000 (07:01 +0000)]
Fix assembly of "callt 0x3f"
Michael Snyder [Fri, 16 Aug 2002 04:10:23 +0000 (04:10 +0000)]
2002-08-15 Michael Snyder <msnyder@redhat.com>
* config/mips/tm-mips.h (FUNCTION_START_OFFSET, IN_SIGTRAMP,
REGISTER_VIRTUAL_SIZE): Delete.
(REGISTER_CONVERT_FROM_TYPE, REGISTER_CONVERT_TO_TYPE): Convert
from macros to functions.
* mips-tdep.c (mips_register_convert_from_type,
mips_register_convert_to_type): New functions.
(mips_gdbarch_init): Set up function_start_offset,
register_virtual_size, pc_in_sigtramp.
Michael Snyder [Fri, 16 Aug 2002 03:07:34 +0000 (03:07 +0000)]
2002-08-15 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (mips_do_registers_info): Make static.
(mips_gdbarch_init): Insert mips_do_registers_info into gdbarch.
* config/mips/tm-mips.h (DO_REGISTERS_INFO): Delete.
Michael Snyder [Fri, 16 Aug 2002 02:36:49 +0000 (02:36 +0000)]
2002-08-15 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (mips_gdbarch_init): Set gdbarch read_sp to
mips_read_sp.
* config/mips/tm-mips.h (TARGET_READ_SP): Delete.
Michael Snyder [Fri, 16 Aug 2002 02:01:50 +0000 (02:01 +0000)]
2002-08-15 Michael Snyder <msnyder@redhat.com>
* irix5-nat.c (supply_gregset): Allocate plenty-big buffer
(32 bytes) instead of using MAX_REGISTER_RAW_SIZE.
(supply_fpregset): Ditto.
Michael Snyder [Fri, 16 Aug 2002 01:23:17 +0000 (01:23 +0000)]
2002-08-15 Michael Snyder <msnyder@redhat.com>
* config/mips/tm-mips.h (REGISTER_CONVERT_TO_VIRTUAL,
REGISTER_CONVERT_TO_RAW, REGISTER_CONVERTIBLE,
MAX_REGISTER_RAW_SIZE, MAX_REGISTER_VIRTUAL_SIZE): Delete.
* mips-tdep.c (mips_gdbarch_init): Set the above in the gdbarch.
(mips_register_convertible, mips_register_convert_to_virtual,
mips_register_convert_to_raw): Make static.
Alexandre Oliva [Fri, 16 Aug 2002 00:58:11 +0000 (00:58 +0000)]
* config/tc-mips.c (macro_build_jalr): Make sure we generate
the fix-up against on the right frag.
(s_cpsetup): Likewise. Parse third argument as expression, to
handle global symbols and forward/backward labels correctly.
Andrew Cagney [Fri, 16 Aug 2002 00:27:46 +0000 (00:27 +0000)]
2002-08-15 Andrew Cagney <
ac131313@redhat.com>
* infcmd.c (vector_info): New function.
(_initialize_infcmd): Add command "info vector".
(print_vector_info): New function.
* gdbarch.sh (PRINT_VECTOR_INFO): New method
* gdbarch.h, gdbarch.c: Regenerate.
Index: doc/ChangeLog
2002-08-15 Andrew Cagney <
ac131313@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Document
PRINT_VECTOR_INFO.
* gdb.texinfo (Vector Unit): Document "info vectors" command.
Alan Modra [Fri, 16 Aug 2002 00:17:11 +0000 (00:17 +0000)]
* ld-discard/discard.exp: xfail targets using generic linker.
* ld-discard/extern.d: Allow "data" to be reduced to a section sym.
Andrew Cagney [Fri, 16 Aug 2002 00:13:03 +0000 (00:13 +0000)]
2002-08-15 Andrew Cagney <
ac131313@redhat.com>
* infcmd.c (do_registers_info): Rename parameter ``fpregs'' to
``print_all''. Only print vector registers when ``print_all''.
Alan Modra [Fri, 16 Aug 2002 00:06:06 +0000 (00:06 +0000)]
* gas/all/gas.exp (forward references): Don't test c30.
* gas/d30v/guard-debug.d: Use -gstabs rather than -g.
* gas/elf/ehopt0.s: Don't use "$" in labels.
* gas/ieee-fp/x930509a.exp: Don't test c30.
* gas/m68hc11/malis.d: Adjust -I so that test runs when not building
in source dir.
* gas/mri/mri.exp: Don't run on "m68hc*".
* gas/sh/basic.exp (do_fp): Match LE too.
(pcrel-coff): Run this version for "sh*-pe*" and rename "sh*-hms" to
"sh*-rtems".
* gas/sh/pcrel-coff.d: Add -EB to objdump flags.
* gas/vtable/vtable.exp: Don't run on linuxecoff. setup_xfail in
preference to not running on ELF targets that might one day pass.
Add more xfails. Add more targets to the REL list.
Andrew Cagney [Fri, 16 Aug 2002 00:01:59 +0000 (00:01 +0000)]
2002-08-15 Andrew Cagney <
ac131313@redhat.com>
* i387-tdep.h (i387_print_float_info): Add `args' parameter.
* i387-tdep.c (i387_print_float_info): Add `args' parameter.
gdbadmin [Fri, 16 Aug 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 16 Aug 2002 00:00:03 +0000 (00:00 +0000)]
daily update
Andrew Cagney [Thu, 15 Aug 2002 23:41:20 +0000 (23:41 +0000)]
2002-08-15 Andrew Cagney <
ac131313@redhat.com>
* gdbarch.sh (PRINT_FLOAT_INFO): Change to a predicate method.
Add `args' parameter.
* gdbarch.h, gdbarch.c: Regenerate.
* arm-tdep.c (arm_print_float_info): Add the parameter `args'.
* infcmd.c (float_info): Call print_float_info.
(print_float_info): New function. By default, print the
floating-point registers.
* arch-utils.h (default_print_float_info): Delete declaration.
* arch-utils.c (default_print_float_info): Delete function.
Alan Modra [Thu, 15 Aug 2002 23:41:18 +0000 (23:41 +0000)]
* binutils-all/objdump.exp (cpus_expected): Add fr500, ip2022,
tic80, tms320c30.
* binutils-all/objcopy.exp (simple copy): Revise xfails.
Mark Kettenis [Thu, 15 Aug 2002 23:21:34 +0000 (23:21 +0000)]
* config/i386/nm-i386v.h (FLOAT_INFO): Remove already commented
out define.
Alan Modra [Thu, 15 Aug 2002 23:19:28 +0000 (23:19 +0000)]
Remove bfd/ prefix from files.
Mark Kettenis [Thu, 15 Aug 2002 23:06:54 +0000 (23:06 +0000)]
* i387-tdep.c (i387_print_float_info): Add comment about ignoring
FRAME.
Mark Kettenis [Thu, 15 Aug 2002 22:51:40 +0000 (22:51 +0000)]
* NEWS: Mention that the i[3456]-*-aix target has been made obsolete.
* configure.host: Make i[3456]86-*-aix host obsolete.
* configure.tgt: Make i[3456]86-*-aix target obsolete.
* config/i386/i386aix.mh, config/i386/i386aix.mt,
config/i386/nm-i386aix.h, condig/i386/tm-i386aix.h,
config/i386/xm-i386aix.h: Make files obsolete.
* i386aix-nat.c: Make file obsolete.
* Makefile.in (ALLDEPFILES): Remove i386aix-nat.c.
(i386aix-nat.o): Make target obsolete.
Mark Kettenis [Thu, 15 Aug 2002 22:24:01 +0000 (22:24 +0000)]
* config/i386/nm-gnu.h: Removed.
* config/i386/nm-i386gnu.h: New file.
(THREAD_STATE_FLAVOR, THREAD_STATE_SIZE,
THREAD_STATE_SET_TRACED, THREAD_STATE_CLEAR_STATE, ATTACH_DETACH):
Moved here from ...
* config/i386/tm-i386gnu.h: ... here. Removed.
* config/i386/xm-i386gnu.h: Removed.
* config/i386/i386gnu.mh (XM_FILE): Set to xm-i386.h.
(NAT_FILE): Set to nm-i386gnu.h.
* config/i386/i386gnu.mt (TDEPFILES): Add i386gnu-tdep.o.
* i386-tdep.c: New file.
* Makefile.in (ALLDEPFILES): Add i386gnu-nat.c and i386gnu-tdep.c.
(i386gnu-tdep.o): Specify dependencies.
Mark Kettenis [Thu, 15 Aug 2002 21:16:19 +0000 (21:16 +0000)]
* config/i386/tm-i386sco5.h: Include "i386/tm-i386v4.h" instead of
"i386/tm-i386.h", "i386/tm-i386v.h" and "config/tm-sysv.h".
Adjust a few comments to reflect reality a bit closer.
(KERNEL_U_SIZE, TARGET_HAS_HARDWARE_WATCHPOINTS,
TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_CONTINUEABLE_WATCHPOINT,
HAVE_STEPPABLE_WATCHPOINT, STOPPED_BY_WATCHPOINT,
target_insert_watchpoint, target_remove_watchpoint):
Move defines to ...
* config/i386/nm-i386sco5.h: ... here.
(kernel_u_size): Add prototype. Improve a few comments and add
protection against multiple inclusion.
Mark Kettenis [Thu, 15 Aug 2002 19:34:58 +0000 (19:34 +0000)]
* config/i386/nm-i386sco.h (FLOAT_INFO): Remove already commented
out define.