OSDN Git Service
fitzsim [Fri, 23 Aug 2002 01:56:02 +0000 (01:56 +0000)]
* libc/include/langinfo.h: New file.
* libc/include/wchar.h: Likewise.
* libc/include/sys/syslimits.h: Likewise.
* libc/locale/fix_grouping.c: Likewise.
* libc/locale/ldpart.c: Likewise.
* libc/locale/ldpart.h: Likewise.
* libc/locale/lmessages.c: Likewise.
* libc/locale/lmessages.h: Likewise.
* libc/locale/lmonetary.c: Likewise.
* libc/locale/lmonetary.h: Likewise.
* libc/locale/lnumeric.c: Likewise.
* libc/locale/lnumeric.h: Likewise.
* libc/locale/nl_langinfo.3: Likewise.
* libc/locale/nl_langinfo.c: Likewise.
* libc/locale/timelocal.c: Likewise.
* libc/locale/timelocal.h: Likewise.
* libc/stdlib/btowc.c: Likewise.
* libc/stdlib/mbrlen.c: Likewise.
* libc/stdlib/mbrtowc.c: Likewise.
* libc/stdlib/mbsinit.c: Likewise.
* libc/stdlib/mbsrtowcs.c: Likewise.
* libc/stdlib/wcrtomb.c: Likewise.
* libc/stdlib/wcsrtombs.c: Likewise.
* libc/stdlib/wctob.c: Likewise.
* libc/sys/linux/prof-freq.c: Likewise.
* libc/sys/linux/profile.c: Likewise.
* libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
* libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
* libc/include/stdlib.h: Change re-entrant functions to take
mbstate_t pointers.
* libc/include/sys/_types.h: Define _mbstate_t.
* libc/include/sys/config.h (MB_LEN_MAX): New macro.
* libc/include/sys/errno.h (EILSEQ): New error code.
* libc/include/sys/reent.h: Include wchar.h. Change reentrant
structure to use mbstate_t.
* libc/locale/Makefile.am (LIB_SOURCES): Add new files.
* libc/machine/powerpc/vfprintf.c: Use mbstate_t.
* libc/machine/powerpc/vfscanf.c: Likewise.
* libc/stdio/getdelim.c: Reallocate buffer only when necessary.
* libc/stdio/vfprintf.c: Likewise.
* libc/stdio/vfscanf.c: Likewise.
* libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
* libc/stdlib/mblen.c: Use mbstate_t.
* libc/stdlib/mblen_r.c: Likewise.
* libc/stdlib/mbstowcs.c: Likewise.
* libc/stdlib/mbstowcs_r.c: Likewise.
* libc/stdlib/mbtowc.c: Likewise.
* libc/stdlib/mbtowc_r.c: Likewise.
* libc/stdlib/wcstombs.c: Likewise.
* libc/stdlib/wcstombs_r.c: Likewise.
* libc/stdlib/wctomb_r.c: Likewise.
* libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
profile.c.
* libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
dl-procinfo.c.
* libc/sys/linux/sys/errno.h (EILSEQ): New error code.
* libc/sys/linux/sys/types.h (off_t): Define type.
* testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
to C-UTF-8.
* testsuite/newlib.locale/UTF-8.exp: Likewise.
ezannoni [Fri, 23 Aug 2002 01:52:22 +0000 (01:52 +0000)]
2002-08-22 Elena Zannoni <ezannoni@redhat.com>
* gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
not altivec.c.
amodra [Fri, 23 Aug 2002 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 23 Aug 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
ezannoni [Thu, 22 Aug 2002 22:26:41 +0000 (22:26 +0000)]
2002-08-22 Elena Zannoni <ezannoni@redhat.com>
* rs6000-tdep.c (struct rs6000_framedata): Add saved_ev and
ev_offset fields.
(skip_prologue): Add support for BookE/e500 instructions.
(e500_extract_return_value): New function.
(frame_get_saved_regs): Add support for saving ev registers and
pseudo gpr's.
(e500_store_return_value): New function.
(rs6000_gdbarch_init): Move up default intializations of
deprecated_extract_return_value and store_return_value. Overwrite
init of store_return_value with e500 specific version.
Set extract_return_value for e500.
ezannoni [Thu, 22 Aug 2002 22:25:17 +0000 (22:25 +0000)]
2002-08-22 Elena Zannoni <ezannoni@redhat.com>
* blockframe.c (generic_call_dummy_register_unwind): Use
regcache_cooked_read to catch cases in which the variable is
stored in a pseudo register.
cagney [Thu, 22 Aug 2002 21:52:44 +0000 (21:52 +0000)]
Obsolete i960.
nickc [Thu, 22 Aug 2002 20:10:53 +0000 (20:10 +0000)]
Note that if '@' is a comment character then another symbol is used to prefix
the section's type.
nickc [Thu, 22 Aug 2002 20:00:14 +0000 (20:00 +0000)]
Use a simple byte read when reading the return address register column.
nickc [Thu, 22 Aug 2002 19:22:34 +0000 (19:22 +0000)]
opcodes: Fix definition of "in rd,imm16" opcode.
gas: Adjust ptr variable also in "case 0" case.
nickc [Thu, 22 Aug 2002 19:11:50 +0000 (19:11 +0000)]
Set the last bit of DT_INIT and DT_FINI depending on the type of the function.
nickc [Thu, 22 Aug 2002 17:45:35 +0000 (17:45 +0000)]
Add powerpc64-*-*bsd* target.
nickc [Thu, 22 Aug 2002 17:35:41 +0000 (17:35 +0000)]
Add Jeff Law as HPPA maintainer
nickc [Thu, 22 Aug 2002 17:27:18 +0000 (17:27 +0000)]
Add sh-nto support
law [Thu, 22 Aug 2002 16:24:24 +0000 (16:24 +0000)]
* config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define.
nickc [Thu, 22 Aug 2002 16:22:02 +0000 (16:22 +0000)]
Updated Turkish translation.
nickc [Thu, 22 Aug 2002 16:12:00 +0000 (16:12 +0000)]
Set bfd_error to no_symbols if the symbols could not be read.
nickc [Thu, 22 Aug 2002 16:10:04 +0000 (16:10 +0000)]
Fix arm-aout failures
corinna [Thu, 22 Aug 2002 15:27:15 +0000 (15:27 +0000)]
* aix-thread.c (aix_thread_detach): Disable thread debugging on
detach to allow reinitialization.
cagney [Thu, 22 Aug 2002 14:47:51 +0000 (14:47 +0000)]
2002-08-22 Andrew Cagney <
ac131313@redhat.com>
* MAINTAINERS: Change the s390 target to s390-linux-gnu (second
attempt).
nickc [Thu, 22 Aug 2002 11:07:15 +0000 (11:07 +0000)]
Turn off default excluded functions in FLAT profile.
jimb [Thu, 22 Aug 2002 05:50:11 +0000 (05:50 +0000)]
* coffread.c (coff_symfile_read): Don't try to read the line
number table from disk if the image file doesn't have a symbol
table; we'll never actually look at the info anyway, and Windows
ships DLL's with bogus file offsets for the line number data.
amodra [Thu, 22 Aug 2002 05:41:53 +0000 (05:41 +0000)]
* elf32-m68hc11.c: Formatting fixes.
(elf32_m68hc11_gc_mark_hook): Correct params. Remove unnecessary test.
* elf32-m68hc12.c: Formatting fixes.
(elf32_m68hc11_gc_mark_hook): Correct params. Remove unnecessary test.
amodra [Thu, 22 Aug 2002 05:23:43 +0000 (05:23 +0000)]
* gas/ppc/ppc.exp: Don't run e500 test on xcoff targets.
* gas/ppc/astest2.d: Escape dots.
amodra [Thu, 22 Aug 2002 05:13:03 +0000 (05:13 +0000)]
* coff-rs6000.c (rs6000coff_vec <object_flags>): Add SEC_CODE and
SEC_DATA.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.
(aix5coff64_vec): Likewise.
amodra [Thu, 22 Aug 2002 01:27:19 +0000 (01:27 +0000)]
* elf-bfd.h (struct elf_backend_data): Add struct elf_backend_data
param to elf_backend_copy_indirect_symbol.
(_bfd_elf_link_hash_copy_indirect): Likewise.
* elflink.h (elf_add_default_symbol, elf_fix_symbol_flags): Adjust
calls to copy_indirect_symbol.
* elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise.
* elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
* elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
* elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise.
* elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Likewise.
* elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.
* elfxx-mips.c (_bfd_mips_elf_copy_indirect_symbol): Likewise.
* elfxx-mips.h (_bfd_mips_elf_copy_indirect_symbol): Likewise.
* elf.c (_bfd_elf_link_hash_copy_indirect): Likewise. Properly
test refcounts for "used" values.
gdbadmin [Thu, 22 Aug 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 22 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update
ezannoni [Wed, 21 Aug 2002 23:37:34 +0000 (23:37 +0000)]
2002-08-21 Elena Zannoni <ezannoni@redhat.com>
* config/tc-ppc.c (ppc_cleanup): Do something only if format
is ELF.
(ppc_apuinfo_section_add): Define only if format is ELF.
(md_assemble): Emit APUinfo section only if format is ELF.
Fix formatting.
ezannoni [Wed, 21 Aug 2002 22:56:02 +0000 (22:56 +0000)]
2002-08-21 Elena Zannoni <ezannoni@redhat.com>
* rs6000-tdep.c (rs6000_gdbarch_init): Figure out whether we have
an e500 executable.
msnyder [Wed, 21 Aug 2002 22:39:26 +0000 (22:39 +0000)]
2002-08-21 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (DEFAULT_MIPS_TYPE): Delete unused macro.
* config/mips/tm-mips.h (DEFAULT_MIPS_TYPE): Delete unused macro.
* config/mips/tm-embed.h (DEFAULT_MIPS_TYPE): Delete unused macro.
msnyder [Wed, 21 Aug 2002 22:18:25 +0000 (22:18 +0000)]
2002-08-21 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (MSYMBOL_IS_SPECIAL): Replace macro with function.
(MSYMBOL_SIZE): Replace macro with function.
jimb [Wed, 21 Aug 2002 17:24:30 +0000 (17:24 +0000)]
* valops.c (value_cast): Simplify and correct logic for doing a
static cast from a pointer to a base class to a pointer to a
derived class.
cagney [Wed, 21 Aug 2002 16:34:09 +0000 (16:34 +0000)]
2002-08-21 Andrew Cagney <
ac131313@redhat.com>
* infcmd.c (default_print_registers_info): Replace
do_registers_info.
(registers_info): Use gdbarch_print_registers_info instead of
DO_REGISTERS_INFO.
* inferior.h (default_print_registers_info): Replace
do_registers_info.
* gdbarch.sh (PRINT_REGISTERS_INFO): New method.
(DO_REGISTERS_INFO): Change to a predicate function.
* gdbarch.h, gdbarch.c: Regenerate.
2002-08-21 Andrew Cagney <
ac131313@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Document
print_registers_info. Note that DO_REGISTERS_INFO is deprecated.
cgf [Wed, 21 Aug 2002 16:02:17 +0000 (16:02 +0000)]
* dll.sgml: Remove indirect reference to older gccs.
cgf [Wed, 21 Aug 2002 15:45:04 +0000 (15:45 +0000)]
* dll.sgml: Refine dll build instructions.
* ntsec.html: Correct some typos.
cgf [Wed, 21 Aug 2002 15:42:18 +0000 (15:42 +0000)]
fix some glitches
kseitz [Wed, 21 Aug 2002 15:34:36 +0000 (15:34 +0000)]
* gdb-events.sh: Add target-changed event.
* gdb-events.c: Regenerated.
* gdb-events.c: Regenerated.
* valops.c (value_assign): Add target-changed event notification
to inlval_register, lval_memory, and lval_reg_frame_relative.
brobecke [Wed, 21 Aug 2002 13:59:28 +0000 (13:59 +0000)]
* NEWS: Add an entry regarding the improvement of the next/step
operation on Alpha Tru64 multi-processor machines.
earnie [Wed, 21 Aug 2002 12:49:55 +0000 (12:49 +0000)]
* include/sys/param.h: New File.
earnie [Wed, 21 Aug 2002 12:18:27 +0000 (12:18 +0000)]
* include/_mingw.h: Increment version to 2.2.
Makefile.in: Ditto.
earnie [Wed, 21 Aug 2002 12:07:50 +0000 (12:07 +0000)]
* include/commctrl.h (NMCUSTOMDRAW): Fix lItemlParam.
Thanks to: "Phil Dempster" <p_dempster@yahoo.co.uk>.
cagney [Wed, 21 Aug 2002 05:40:06 +0000 (05:40 +0000)]
2002-08-21 Andrew Cagney <
ac131313@redhat.com>
* Makefile.in: Update dependencies for mi/ cli/ and tui/
directores.
cagney [Wed, 21 Aug 2002 05:03:38 +0000 (05:03 +0000)]
2002-08-21 Andrew Cagney <
ac131313@redhat.com>
* Makefile.in: Update all _h macro definitions.
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.
cagney [Wed, 21 Aug 2002 03:34:20 +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.
msnyder [Wed, 21 Aug 2002 01:08:22 +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.
cagney [Wed, 21 Aug 2002 00:57:41 +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 ***
amodra [Wed, 21 Aug 2002 00:00:03 +0000 (00:00 +0000)]
daily update
amodra [Tue, 20 Aug 2002 23:49:26 +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.
amodra [Tue, 20 Aug 2002 23:48:18 +0000 (23:48 +0000)]
* ldlang.c (offsetof): Define if not defined.
amodra [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.
amodra [Tue, 20 Aug 2002 23:46:41 +0000 (23:46 +0000)]
* readelf.c (parse_args): Change debug_dump_opt to static.
amodra [Tue, 20 Aug 2002 23:45:40 +0000 (23:45 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Add PARAMS to
argument declaration.
dannysmith [Tue, 20 Aug 2002 23:26:10 +0000 (23:26 +0000)]
* include/math.h (asm): Change to __asm__ throughout.
Expose ISO C99 functions if __GLIBCPP__.
(hypotf): Use hypot, not _hypot in stub..
dannysmith [Tue, 20 Aug 2002 23:08:14 +0000 (23:08 +0000)]
* include/tchar.h: Ansi-fy another comment.
msnyder [Tue, 20 Aug 2002 23:07:42 +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.
dannysmith [Tue, 20 Aug 2002 23:01:42 +0000 (23:01 +0000)]
* include/tchar.h: Ansi-fy comment.
msnyder [Tue, 20 Aug 2002 23:01:28 +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.
dannysmith [Tue, 20 Aug 2002 22:56:59 +0000 (22:56 +0000)]
* test_headers.c : New file.
* Makefile.in (test_headers): New target, using it,
(SRCDIST_FILES): Distribute it.
msnyder [Tue, 20 Aug 2002 22:44:54 +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.
ezannoni [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.
ezannoni [Tue, 20 Aug 2002 22:11:47 +0000 (22:11 +0000)]
2002-08-20 Elena Zannoni <ezannoni@redhat.com>
* rs6000-tdep.c: Clean up comments.
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.
msnyder [Tue, 20 Aug 2002 21:58:43 +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.
jimb [Tue, 20 Aug 2002 21:32:17 +0000 (21:32 +0000)]
* Makefile.in (LDFLAGS): Allow the configure script to establish a
default for this.
* gdbserver/Makefile.in (LDFLAGS): Same.
kseitz [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.
ezannoni [Tue, 20 Aug 2002 19:57:31 +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.
msnyder [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.
msnyder [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.
msnyder [Tue, 20 Aug 2002 19:26:22 +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.
carlton [Tue, 20 Aug 2002 18:45:29 +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.
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.
kettenis [Tue, 20 Aug 2002 17:38:46 +0000 (17:38 +0000)]
*** empty log message ***
ezannoni [Tue, 20 Aug 2002 17:33:50 +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.
ezannoni [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.
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.
jjohnstn [Tue, 20 Aug 2002 15:29:29 +0000 (15:29 +0000)]
2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
* libc/stdlib/mallocr.c: #include windows.h on Win32.
(AlignPage): Continue macro on next line.
cagney [Tue, 20 Aug 2002 13:17:53 +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.
rsandifo [Tue, 20 Aug 2002 08:28:33 +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.
aoliva [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.
jjohnstn [Tue, 20 Aug 2002 02:16:12 +0000 (02:16 +0000)]
2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/include/pthread.h: New file.
jjohnstn [Tue, 20 Aug 2002 01:40:38 +0000 (01:40 +0000)]
2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/types.h: Support __need_inttypes macro
that only sets the __intxx and __uintxx types.
* libc/machine/powerpc/Makefile.am: Add stdlib to include directories
to get mprec.h.
* libc/machine/powerpc/Makefile.in: Regenerated.
* libc/machine/powerpc/vfprintf.c: Fix state variable type.
* libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
redundant fixed-point conversion prototypes.
* libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
after setting __need_inttypes.
dannysmith [Tue, 20 Aug 2002 00:59:23 +0000 (00:59 +0000)]
* include/ws2spi.h: Modify comment about being part of
mingw32 package.
(winsock2.h): Change "" to <>.
dannysmith [Tue, 20 Aug 2002 00:48:22 +0000 (00:48 +0000)]
2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/ws2spi.h: New file.
* lib/test.c: Include ws2spi.h.
dannysmith [Tue, 20 Aug 2002 00:36:09 +0000 (00:36 +0000)]
* include/winsock2.h (WSAIsBlocking,WSAUnhookBlockingHook,
WSASetBlockingHook,WSACancelBlockingCall): Expose deprecated
functions.
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.