OSDN Git Service
gdbadmin [Tue, 20 Aug 2002 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 20 Aug 2002 00:00:05 +0000 (00:00 +0000)]
daily update
msnyder [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.
ezannoni [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.
carlton [Mon, 19 Aug 2002 23:19:52 +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.
carlton [Mon, 19 Aug 2002 22:53:32 +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.
carlton [Mon, 19 Aug 2002 22:38:07 +0000 (22:38 +0000)]
Add self to MAINTAINERS.
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.
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.
ezannoni [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.
ezannoni [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.
ezannoni [Mon, 19 Aug 2002 21:01:01 +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.
ezannoni [Mon, 19 Aug 2002 20:59:09 +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.
ezannoni [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.
ezannoni [Mon, 19 Aug 2002 17:57:58 +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.
cgf [Mon, 19 Aug 2002 14:59:27 +0000 (14:59 +0000)]
* pinfo.h (pinfo::remember): Arrange for destructor call if proc_subproc
returns error.
* sigproc.cc (zombies): Store 1 + total zombies since proc_subproc uses
NZOMBIES element.
drow [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.
muller [Mon, 19 Aug 2002 13:12:09 +0000 (13:12 +0000)]
* remove wrong patch about TYPE_CODE_FLAGS for pascal
muller [Mon, 19 Aug 2002 12:08:06 +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.
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.
corinna [Mon, 19 Aug 2002 11:27:18 +0000 (11:27 +0000)]
* pwdgrp.h (pwdgrp_read::pwdgrp_read): Remove.
(pwdgrp_read::~pwdgrp_read): Ditto.
(pwdgrp_read::open): Reset fh to NULL instead of INVALID_HANDLE_VALUE.
(pwdgrp_read::close): Ditto.
aidan [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.
aidan [Mon, 19 Aug 2002 10:52:11 +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.
amodra [Mon, 19 Aug 2002 06:38:43 +0000 (06:38 +0000)]
* elf32-m68hc12.c (elf_backend_can_gc_sections): False.
cgf [Mon, 19 Aug 2002 04:43:58 +0000 (04:43 +0000)]
* fhandler.h (fhandler_console::send_winch_maybe): New method.
* fhandler_console.cc (set_console_state_for_spawn): Remove if 0'ed code.
(fhandler_console::send_winch_maybe): Define new method.
(fhandler_console::read): Use send_winch_maybe where appropriate.
(fhandler_console::init): Just call all tcsetattr rather than output_tcsetattr.
* select.cc (peek_console): Reorganize so that send_winch_maybe is called for
everything but keyboard input.
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.
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.
amodra [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 ***
drow [Sun, 18 Aug 2002 23:20:47 +0000 (23:20 +0000)]
Fix PR gdb/655
* tui.c: Disable <termio.h> include.
drow [Sun, 18 Aug 2002 23:17:55 +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.
kettenis [Sun, 18 Aug 2002 22:40:15 +0000 (22:40 +0000)]
* blockframe.c: Fix a few coding standard violations.
kettenis [Sun, 18 Aug 2002 22:23:31 +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.
kettenis [Sun, 18 Aug 2002 22:17:56 +0000 (22:17 +0000)]
* config/i386/nm-i386v.h (START_INFERIOR_TRAPS_EXPECTED): New define.
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".
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.
cagney [Sun, 18 Aug 2002 18:59:52 +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 [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 [Sun, 18 Aug 2002 18:23:41 +0000 (18:23 +0000)]
* ada-lang.c: Use gdb_string.h instead of <string.h>.
* ada-typeprint.c: Use gdb_string.h instead of <string.h>.
aidan [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
aidan [Sun, 18 Aug 2002 18:07:13 +0000 (18:07 +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
cagney [Sun, 18 Aug 2002 17:59:56 +0000 (17:59 +0000)]
2002-08-18 Andrew Cagney <
ac131313@redhat.com>
* osabi.c (gdbarch_init_osabi): Don't complain about an unknown
ABI.
kettenis [Sun, 18 Aug 2002 17:37:16 +0000 (17:37 +0000)]
* i386b-nat.c [FETCH_INFERIOR_REGISTERS]: Remove dead code.
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.
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.
kettenis [Sun, 18 Aug 2002 16:32:13 +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.
cagney [Sun, 18 Aug 2002 16:09:03 +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.
kettenis [Sun, 18 Aug 2002 14:47:59 +0000 (14:47 +0000)]
* i386-sol2-tdep.c (_initialize_i386_sol2_tdep): Fix typo in
comment.
kettenis [Sun, 18 Aug 2002 12:39:02 +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.
cgf [Sun, 18 Aug 2002 06:08:39 +0000 (06:08 +0000)]
* libc/include/sys/unistd.h: Add getsid declaration for cygwin.
cgf [Sun, 18 Aug 2002 05:49:25 +0000 (05:49 +0000)]
* perthread.h (vfork_save): Add ctty, sid, pgid, exitval fields.
(vfork_save::restore_pid): New method.
(vfork_save::restore_exit): New method.
* fork.cc (vfork): Save ctty, sid, pgid and restore them when returning to
"parent". Use exitval field if exiting but never created a new process.
* syscalls.cc (setsid): Detect when in "vfork" and force an actual fork so that
pid will be allocated (UGLY!).
(getsid): New function.
* dcrt0.cc (do_exit): Use vfork_save::restore_exit method for returning from a
vfork.
* spawn.cc (spawnve): Use vfork_save::{restore_pid,restore_exit} methods for
returning from vfork.
* cygwin.din: Export getsid.
* include/cygwin/version.h: Bump api minor number.
* malloc.cc: #ifdef sYSTRIm for when MORECORE_CANNOT_TRIM is true.
cgf [Sun, 18 Aug 2002 04:14:59 +0000 (04:14 +0000)]
* cygmalloc.h (MORECORE_CANNOT_TRIM): Define.
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.
cgf [Sun, 18 Aug 2002 04:13:57 +0000 (04:13 +0000)]
* sigproc.cc (sigCONT): Define.
* sigproc.h (sigCONT): Declare.
(wait_sig): Create sigCONT event here.
* exceptions.cc (sig_handle_tty_stop): Wait for sigCONT event rather than
stopping thread.
(sig_handle): Set sigCONT event as appropriate on SIGCONT rather than calling
ResumeThread.
cagney [Sun, 18 Aug 2002 04:00:46 +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.
cgf [Sun, 18 Aug 2002 03:28:52 +0000 (03:28 +0000)]
* malloc.cc: Update to 2.7.2.
* malloc_wrapper.cc (malloc_init): Call user level mallocs to determine if the
malloc has been wrapped.
gdbadmin [Sun, 18 Aug 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 18 Aug 2002 00:00:05 +0000 (00:00 +0000)]
daily update
cgf [Sat, 17 Aug 2002 17:12:24 +0000 (17:12 +0000)]
* Makefile.in: Change COMPILE_C* definitions.
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'.
scox [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.
scox [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.
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.
kettenis [Sat, 17 Aug 2002 10:22:00 +0000 (10:22 +0000)]
* gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
targets. The problem should be fixed now.
nickc [Sat, 17 Aug 2002 09:59:34 +0000 (09:59 +0000)]
Revert previous delta - it was bogus.
dannysmith [Sat, 17 Aug 2002 09:41:52 +0000 (09:41 +0000)]
* include/winuser.h (CURSOR_SHOWING) Add define.
brobecke [Sat, 17 Aug 2002 06:12:51 +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().
jjohnstn [Sat, 17 Aug 2002 06:10:32 +0000 (06:10 +0000)]
2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/config.h[__PPC__][__SPE__]: Set
_LONG_DOUBLE to double.
jjohnstn [Sat, 17 Aug 2002 05:57:19 +0000 (05:57 +0000)]
2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
* configure.host: Add powerpc*-*-eabispe* configuration.
* libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
* libc/machine/powerpc/atosfix32.c: Ditto.
* libc/machine/powerpc/atosfix64.c: Ditto.
* libc/machine/powerpc/atoufix16.c: Ditto.
* libc/machine/powerpc/atoufix32.c: Ditto.
* libc/machine/powerpc/atoufix64.c: Ditto.
* libc/machine/powerpc/fix64.h: Ditto.
* libc/machine/powerpc/simdldtoa.c: Ditto.
* libc/machine/powerpc/strtosfix16.c: Ditto.
* libc/machine/powerpc/strtosfix32.c: Ditto.
* libc/machine/powerpc/strtosfix64.c: Ditto.
* libc/machine/powerpc/strtoufix16.c: Ditto.
* libc/machine/powerpc/strtoufix32.c: Ditto.
* libc/machine/powerpc/strtoufix64.c: Ditto.
* libc/machine/powerpc/ufix64toa.c: Ditto.
* libc/machine/powerpc/configure.in: Add check for
powerpc*-eabispe and add fixed-point conversion functions.
* libc/machine/powerpc/configure: Regenerated.
* libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
%r and %R format specifiers which handle fixed-point data.
* libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
* libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
function prototypes.
jjohnstn [Sat, 17 Aug 2002 05:19:16 +0000 (05:19 +0000)]
2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
* Makefile.am: Move cmath stuff into libc/sys/linux.
* Makefile.in: Regenerated.
* configure.host: Default -DMB_CAPABLE for x86-linux.
* libc/include/reent.h: Define _sbrk to take signed int argument.
* libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
* libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
make locale name checking more efficient. Also allow "C-ISO-8859-1"
locale for LC_CTYPE and LC_MESSAGES.
* libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
* libc/sys/linux/brk.c: Change sbrk prototype.
* libc/sys/linux/include/time.h: Remove Cygwin stuff and
include <sys/features.h>.
(CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
(CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
* libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
with a few local additions.
* libc/sys/linux/sys/features.h: New file.
* libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
to take signed argument.
* libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
prototypes to take signed size argument.
dannysmith [Sat, 17 Aug 2002 04:42:25 +0000 (04:42 +0000)]
* include/winerror.h: Cast OLE error codes to HRESULT.
cgf [Sat, 17 Aug 2002 02:16:25 +0000 (02:16 +0000)]
fix typo
cgf [Sat, 17 Aug 2002 02:15:05 +0000 (02:15 +0000)]
* Makefile.in: Change COMPILE_C* definitions.
brobecke [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.
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 ***
amodra [Sat, 17 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update
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.
brobecke [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.
fitzsim [Fri, 16 Aug 2002 21:29:43 +0000 (21:29 +0000)]
* libc/sys/linux/cmath: New directory.
* libc/sys/linux/include/cmathcalls.h: New file.
* libc/sys/linux/include/complex.h: New file.
* libc/sys/linux/machine/i386/huge_val.h: New file
* libm/math/w_sincos.c: New file
* libm/math/wf_sincos.c: New file
* libm/mathfp/s_sincos.c: New file
* libm/mathfp/sf_sincos.c: New file
* Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
* libc/include/math.h: Add sincos and sincosf declarations.
* libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
(SUBLIBS): Likewise.
* libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
* libm/math/Makefile.am (src): Add w_sincos.c.
(fsrc): Add wf_sincos.c.
* libm/mathfp/Makefile.am (src): Add s_sincos.c
(fsrc): Add sf_sincos.c.
brobecke [Fri, 16 Aug 2002 20:32:57 +0000 (20:32 +0000)]
* config/i386/tm-cygwin.h: Remove some "#if 0"'ed macros.
cgf [Fri, 16 Aug 2002 19:50:22 +0000 (19:50 +0000)]
Missed this commit in last checkin.
cgf [Fri, 16 Aug 2002 19:49:54 +0000 (19:49 +0000)]
* winsup.h: Remove malloc_*lock functions.
cgf [Fri, 16 Aug 2002 19:41:39 +0000 (19:41 +0000)]
* Makefile.in: Add support for new malloc.o and renamed malloc_wrapper.o. Use
-fomit-frame-pointer for malloc.o compilation.
* malloc_wrapper.cc: New file. Rename from malloc.cc. Add support for more
malloc functions. Eliminate export_* calls. Just use straight malloc names.
Remove unused argument from malloc lock functions.
* cygwin.din: Just export straight malloc names. Add malloc_stats,
malloc_trim, malloc_usable_size, mallopt, memalign, valloc.
* dcrt0.cc (__cygwin_user): Eliminate export_* malloc entries.
* fork.cc (fork_parent): Remove unused argument from malloc_lock argument.
* malloc.cc: New file. Doug Lea's malloc v2.7.1.
* cygmalloc.h: New file.
* include/cygwin/version.h: Bump API_MINOR.
* sync.h (muto::acquire): Use appropriate number for regparm attribute.
(muto::reset): Ditto.
(muto::release): Ditto.
cgf [Fri, 16 Aug 2002 19:07:28 +0000 (19:07 +0000)]
* exceptions.cc (interrupt_setup): Ensure that the previous signal mask is
properly saved.
sclarke [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.
sclarke [Fri, 16 Aug 2002 18:45:26 +0000 (18:45 +0000)]
* ld-sh/sh64/sh64.exp: Add dlsection.
* ld-sh/sh64/dlsection-1.s, ld-sh/sh64/dlsection.sd: New.
sclarke [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.
sclarke [Fri, 16 Aug 2002 18:19:00 +0000 (18:19 +0000)]
Correct date on previous ChangeLog entry.
sclarke [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.
sclarke [Fri, 16 Aug 2002 18:13:24 +0000 (18:13 +0000)]
* gas/sh/sh64/datal32-3.d: Formatting change to match the current
output of objdump.
brobecke [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.
kseitz [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.
cagney [Fri, 16 Aug 2002 15:37:53 +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.
graces [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.
nickc [Fri, 16 Aug 2002 14:41:15 +0000 (14:41 +0000)]
Put a newline after display an unknown dynamic type.
nickc [Fri, 16 Aug 2002 11:44:03 +0000 (11:44 +0000)]
Cope with demangling function names that include a double underscore.
nickc [Fri, 16 Aug 2002 09:38:09 +0000 (09:38 +0000)]
oops - fix typo in previous delta
nickc [Fri, 16 Aug 2002 07:01:46 +0000 (07:01 +0000)]
Fix assembly of "callt 0x3f"
msnyder [Fri, 16 Aug 2002 04:10:22 +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.