OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
18 years ago*** empty log message ***
gdbadmin [Sun, 11 Dec 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* dirent.h: Change the rest of the d_ino's to __deprecated_d_ino.
cgf [Sat, 10 Dec 2005 23:25:23 +0000 (23:25 +0000)]
* dirent.h: Change the rest of the d_ino's to __deprecated_d_ino.

18 years agodaily update
amodra [Sat, 10 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago* malloc.cc: Update to version 2.8.3.
cgf [Sat, 10 Dec 2005 17:09:58 +0000 (17:09 +0000)]
* malloc.cc: Update to version 2.8.3.
* cygmalloc.h (MSPACE): Remove unneeded definition.

18 years ago * elflink.c (elf_gc_mark_dynamic_ref_symbol): Use !info-executable
amodra [Sat, 10 Dec 2005 03:31:03 +0000 (03:31 +0000)]
* elflink.c (elf_gc_mark_dynamic_ref_symbol): Use !info-executable
to test for linking shared libs, not info->shared.

18 years ago*** empty log message ***
gdbadmin [Sat, 10 Dec 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Fri, 9 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
tausq [Fri, 9 Dec 2005 11:25:04 +0000 (11:25 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

PR corefiles/2026
* hppa-hpux-tdep.c (hppa_hpux_core_osabi_sniffer): Check for HPUX ELF
core files.
(_initialize_hppa_hpux_tdep): Install sniffer for ELF core files.
* config/pa/hpux.mh: Compile corelow.o.

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
tausq [Fri, 9 Dec 2005 11:13:34 +0000 (11:13 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa64_convert_code_addr_to_fptr): New function.
(hppa64_push_dummy_call): If passing a function pointer, ensure
it is a function descriptor address instead of the function entry
point.

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
tausq [Fri, 9 Dec 2005 11:10:24 +0000 (11:10 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa64_dwarf_reg_to_regnum): New funtion.
(hppa_gdbarch_init): Set dwarf_reg_to_regnum and
dwarf2_reg_to_regnum methods.

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
tausq [Fri, 9 Dec 2005 11:05:26 +0000 (11:05 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

* gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
* gdb.asm/pa64.inc: New file.

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
tausq [Fri, 9 Dec 2005 11:02:08 +0000 (11:02 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

* gdb.asm/common.inc: Indent commands.
* gdb.asm/asmsrc1.s: Likewise.
* gdb.asm/asmsrc2.s: Likewise.

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
tausq [Fri, 9 Dec 2005 10:57:40 +0000 (10:57 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

* gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
(get_addr_of_sym): Remove duplicate print.
(gen_core): xfail hppa*-*-hpux*, update expected output.
* gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
* gdb.arch/pa64-nullify.s: New file.

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
tausq [Fri, 9 Dec 2005 10:55:09 +0000 (10:55 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

* gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.

18 years ago * lib/kernel32.def (CreateFiberEx): Correct suffix.
dannysmith [Fri, 9 Dec 2005 07:49:40 +0000 (07:49 +0000)]
* lib/kernel32.def (CreateFiberEx): Correct suffix.

18 years ago2005-12-09 Huw Davies <hdavies@users.sourceforge.net>
dannysmith [Fri, 9 Dec 2005 04:59:24 +0000 (04:59 +0000)]
2005-12-09  Huw Davies <hdavies@users.sourceforge.net>
    Danny Smith <dannysmith@users.sourceforge.net>

* lib/msxml-uuid.c: New file to generate UUIDs for
MSXML interfaces.
* lib/Makefile.in (UUID_OBJS): Add msxml-uuid.o.

Add missing ChangeLog entries for 2005-12-07 commits.

18 years ago*** empty log message ***
gdbadmin [Fri, 9 Dec 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Thu, 8 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago2005-12-08 Shaun Jackman <sjackman@gmail.com>
jjohnstn [Thu, 8 Dec 2005 19:45:42 +0000 (19:45 +0000)]
2005-12-08  Shaun Jackman  <sjackman@gmail.com>

* libc/include/sys/types.h: Remove the ifdef armour around
standard POSIX types.

18 years ago * NEWS (Changes in GDB 6.4): Delete entries indicating that
kevinb [Thu, 8 Dec 2005 19:12:57 +0000 (19:12 +0000)]
* NEWS (Changes in GDB 6.4): Delete entries indicating that
the following configurations have been removed: h8300*-*-*,
mn10300-*-*, and v850-*-*.  These configurations had been
removed within the 6.4 development cycle, but were later
restored within the same cycle.

18 years agoopcodes/
jbeulich [Thu, 8 Dec 2005 15:21:05 +0000 (15:21 +0000)]
opcodes/
2005-12-08  Jan Beulich  <jbeulich@novell.com>

* i386-dis.c (MAXLEN): Reduce to architectural limit.
(fetch_data): Check for sufficient buffer size.

18 years agobfd/
amodra [Thu, 8 Dec 2005 11:41:11 +0000 (11:41 +0000)]
bfd/
* elf32-ppc.c (struct ppc_elf_link_hash_table): Add emit_stub_syms.
(ppc_elf_select_plt_layout): Add emit_stub_syms param, save to htab.
(add_stub_sym): New function.
(allocate_dynrelocs): Call add_stub_sym.
(ppc_elf_size_dynamic_sections): Emit __glink and __glink_PLTresolve
when emit_stub_syms.
* elf32-ppc.h (ppc_elf_select_plt_layout): Update prototype.
ld/
* emultempl/ppc32elf.em (emit_stub_syms): New var.
(ppc_after_open): Pass it to ppc_elf_select_plt_layout.
(PARSE_AND_LIST_PROLOGUE <OPTION_STUBSYMS>): Define.
(PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms.
(PARSE_AND_LIST_OPTIONS): Describe emit-stub-syms.
(PARSE_AND_LIST_OPTIONS): Handle it.

18 years ago * pe-dll.c (build_filler_bfd): Conform error message to standard.
amodra [Thu, 8 Dec 2005 11:38:24 +0000 (11:38 +0000)]
* pe-dll.c (build_filler_bfd): Conform error message to standard.
(pe_dll_generate_implib): Use %E in error message.
(add_bfd_to_link): Likewise.
(pe_implied_import_dll): Likewise.

18 years agoopcodes/
jbeulich [Thu, 8 Dec 2005 11:28:11 +0000 (11:28 +0000)]
opcodes/
2005-12-08  Jan Beulich  <jbeulich@novell.com>

* i386-dis.c (OP_ST): Remove prefix in Intel mode.

18 years ago * reloc.c (enum complain_overflow): Correct comments.
amodra [Thu, 8 Dec 2005 11:05:36 +0000 (11:05 +0000)]
* reloc.c (enum complain_overflow): Correct comments.
(bfd_check_overflow): Combine complain_overflow_bitfield and
complain_overflow_signed code.
(_bfd_relocate_contents): Likewise.
(bfd_howto_32): Use complain_overflow_dont.
* elf32-d10v.c (elf_d10v_howto_table): Revert 2002-06-17 change.
* bfd-in2.h: Regenerate.

18 years ago * fhandler_raw.cc (fhandler_dev_raw::ioctl): Only allow 0, 1 or a
corinna [Thu, 8 Dec 2005 10:55:29 +0000 (10:55 +0000)]
* fhandler_raw.cc (fhandler_dev_raw::ioctl): Only allow 0, 1 or a
multiple of 512 as new buffersize.

18 years ago Add ms2 support.
nathan [Thu, 8 Dec 2005 10:35:18 +0000 (10:35 +0000)]
Add ms2 support.
* ms1-tdep.c (ms1_register_type): Check for ms2.
(ms1_breakpoint_from_pc): ms2 has a different break instruction.
(ms1_pseudo_register_read, ms1_pseudo_register_write,
ms1_registers_info): Add ms2.
  * NEWS (Changes since GDB 6.4): Add ms2

18 years ago * fhandler_socket.cc (fhandler_socket::recvfrom): Mask flags with
corinna [Thu, 8 Dec 2005 10:13:57 +0000 (10:13 +0000)]
* fhandler_socket.cc (fhandler_socket::recvfrom): Mask flags with
MSG_WINMASK for Windows socket calls.
(fhandler_socket::recvmsg): Ditto.
(fhandler_socket::sendmsg): Ditto.

18 years ago * i386-dis.c (dofloat): Handle %rip-relative floating point addressing.
amodra [Thu, 8 Dec 2005 09:59:40 +0000 (09:59 +0000)]
* i386-dis.c (dofloat): Handle %rip-relative floating point addressing.

18 years ago2005-12-07 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 8 Dec 2005 01:34:13 +0000 (01:34 +0000)]
2005-12-07  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (assign_section_numbers): Remove extra code in the last
change.

18 years ago2005-12-08 Randolph Chung <tausq@debian.org>
tausq [Thu, 8 Dec 2005 00:17:33 +0000 (00:17 +0000)]
2005-12-08  Randolph Chung  <tausq@debian.org>

* somread.c (som_symfile_offsets): Iterate through number of sections
in addrs instead of objfile.

18 years ago*** empty log message ***
gdbadmin [Thu, 8 Dec 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agogdb/
drow [Wed, 7 Dec 2005 23:07:53 +0000 (23:07 +0000)]
gdb/
* valops.c (value_struct_elt): Clarify error message.
gdb/testsuite/
2005-12-07  Christophe Lyon  <christophe.lyon@st.com>
* gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
code generation for these functions.
* gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
error message.

18 years agodaily update
amodra [Wed, 7 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago* hires.h (hires_ms::initime_ms): Delete.
cgf [Wed, 7 Dec 2005 22:28:49 +0000 (22:28 +0000)]
* hires.h (hires_ms::initime_ms): Delete.
(hires_ms::initime_us): Just define as LONGLONG.
(hires_ms::uptime): New function.
* select.cc (select_stuff::wait): Use gtod for timing to attempt to avoid
windows 32 bit wraparound.
* times.cc (systime): New function.
(times): Replace GetTickCount with gtod.uptime.
(hires_us::prime): Use systime() to calculate system time rather than calling
GetSystemTimeAsFileTime directly.
(hires_ms::prime): Ditto.  Eliminate initime_ms.
(hires_ms::usecs): Try harder to detect wraparound.
* fhandler_proc.cc (format_proc_partitions): Set drive_size to zero to avoid a
compiler warning.

18 years ago * fhandler_proc.cc (format_proc_partitions): Use modern IOCTLs
corinna [Wed, 7 Dec 2005 20:32:27 +0000 (20:32 +0000)]
* fhandler_proc.cc (format_proc_partitions): Use modern IOCTLs
to determine drive size as far as possible.

18 years ago * include/winbase.h (GetDevicePowerState): Add prototype.
dannysmith [Wed, 7 Dec 2005 20:27:09 +0000 (20:27 +0000)]
* include/winbase.h (GetDevicePowerState): Add prototype.
* lib/kernel32.def (GetDevicePowerState): Correct suffix.

18 years ago2005-12-07 Brian Gunlogson <gmb300@users.sourceforge.net>
dannysmith [Wed, 7 Dec 2005 20:17:38 +0000 (20:17 +0000)]
2005-12-07  Brian Gunlogson  <gmb300@users.sourceforge.net>

* include/winuser.h (GetClassLongPtr{AW}): Guard prototypes with _WIN64.
Define as macro if !_WIN64.
(SetClassLongPtr{AW}): Likewise.
(GCLP_*): Add GetClassLongPtr defines.
* lib/user32.def (GetClassLongPtr{AW}): Remove stubs.
(SetClassLongPtr{AW}): Likewise.

18 years agogdb/ChangeLog:
jimb [Wed, 7 Dec 2005 19:35:43 +0000 (19:35 +0000)]
gdb/ChangeLog:
2005-12-07  Jim Blandy  <jimb@redhat.com>

* target.c (target_xfer_memory_partial): Doc fix.

18 years ago2005-12-07 Jim Blandy <jimb@redhat.com>
jimb [Wed, 7 Dec 2005 19:30:25 +0000 (19:30 +0000)]
2005-12-07  Jim Blandy  <jimb@redhat.com>

* ax-general.c (ax_reqs): Check stack heights for backward jumps,
too.  Correctly check height at target.  Doc fixes.

18 years ago2005-12-07 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 7 Dec 2005 19:21:44 +0000 (19:21 +0000)]
2005-12-07  H.J. Lu  <hongjiu.lu@intel.com>
    Andreas Schwab  <schwab@suse.de>

PR binutils/1991
* elf.c (assign_section_numbers): Always use the output section
when setting up sh_link for SHF_LINK_ORDER.

18 years ago * fhandler_raw.cc (fhandler_dev_raw::ioctl): Fix INVALID_PARAMETER
corinna [Wed, 7 Dec 2005 19:01:29 +0000 (19:01 +0000)]
* fhandler_raw.cc (fhandler_dev_raw::ioctl): Fix INVALID_PARAMETER
condition.  Only copy devbuf to buf if buf is non-NULL.

18 years ago * fhandler_raw.cc (fhandler_dev_raw::ioctl): Fix setting devbuf
corinna [Wed, 7 Dec 2005 18:35:29 +0000 (18:35 +0000)]
* fhandler_raw.cc (fhandler_dev_raw::ioctl): Fix setting devbuf
when rd_parm is 0 or 1.

18 years ago * ptrace-target.c (ptrace_compute_signal, ptrace_process_signal):
kevinb [Wed, 7 Dec 2005 18:16:48 +0000 (18:16 +0000)]
* ptrace-target.c (ptrace_compute_signal, ptrace_process_signal):
Use __SIGRTMIN in place of SIGRTMIN.  Use __SIGRTMAX in place of
SIGRTMAX.
(ptrace_compute_signal): Consolidate logic which computes return
value.

18 years ago * fhandler_floppy.cc (fhandler_dev_floppy::lseek): Fix test for
corinna [Wed, 7 Dec 2005 18:11:10 +0000 (18:11 +0000)]
* fhandler_floppy.cc (fhandler_dev_floppy::lseek): Fix test for
valid file position at EOM.

18 years ago * Makefile.am (EXTRA_rda_SOURCES): Add diagnostics.c.
kevinb [Wed, 7 Dec 2005 17:51:47 +0000 (17:51 +0000)]
* Makefile.am (EXTRA_rda_SOURCES): Add diagnostics.c.
* configure.in (TARGET_MODULES): Add diagnostics.o.
* Makefile.in, configure: Regenerate.
* diagnostics.c: New file.
* diagnostics.h (output_O_packet, print_sigstop_message): New
functions.
* ptrace-target.c (diagnostics.h): Include.
(ptrace_break_program): Call print_sigstop_message().
* thread_db.c (thread_db_break_program): Likewise.

18 years ago* include/cygwin/stdlib.h: Guard compilation of *unsetenv* in newlib.
cgf [Wed, 7 Dec 2005 15:17:43 +0000 (15:17 +0000)]
* include/cygwin/stdlib.h: Guard compilation of *unsetenv* in newlib.

18 years agobfd/
hjl [Wed, 7 Dec 2005 14:43:53 +0000 (14:43 +0000)]
bfd/

2005-12-07  Thiemo Seufer  <ths@networkno.de>
    H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1932
* bfd-in.h (bfd_elf_record_link_assignment): Add output_bfd
and hidden arguments.

* bfd.c (bfd_hide_symbol): Removed.

* bfd-in2.h: Regenerated.

* elflink.c (bfd_elf_record_link_assignment): Handle hidden
symbols which were provided by a linker script.

ld/

2005-12-07  Thiemo Seufer  <ths@networkno.de>
    H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1932
* emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment):
Adjust bfd_elf_record_link_assignment call.

* ldexp.c (exp_fold_tree_1): Remove call to bfd_hide_symbol.

18 years ago * cris-opc.c (cris_opcodes) <"move" "s,P">: Define using
hp [Wed, 7 Dec 2005 12:56:13 +0000 (12:56 +0000)]
* cris-opc.c (cris_opcodes) <"move" "s,P">: Define using
MOVE_M_TO_PREG_OPCODE and MOVE_M_TO_PREG_ZBITS instead of constants.

18 years ago * cris.h (MOVE_M_TO_PREG_OPCODE, MOVE_M_TO_PREG_ZBITS)
hp [Wed, 7 Dec 2005 12:53:57 +0000 (12:53 +0000)]
* cris.h (MOVE_M_TO_PREG_OPCODE, MOVE_M_TO_PREG_ZBITS)
(MOVE_PC_INCR_OPCODE_PREFIX, MOVE_PC_INCR_OPCODE_SUFFIX): New macros.
(ADD_PC_INCR_OPCODE): Don't define.

18 years ago * exceptions.cc (_cygtls::handle_exceptions): In case of a
corinna [Wed, 7 Dec 2005 11:16:47 +0000 (11:16 +0000)]
* exceptions.cc (_cygtls::handle_exceptions): In case of a
STATUS_ACCESS_VIOLATION, check if the page is a mmaped page beyond
a file's EOF.  Generate SIGBUS instead of SIGSEGV then.
* mmap.cc (__PROT_ATTACH): New define.
(__PROT_FILLER): Ditto.
(fh_anonymous): Rename from fh_paging_file;
(fh_disk_file): New global static variable.
(attached): New inline function.
(filler): Ditto.
(gen_create_protect): Split off from gen_protect to use the file's
access mode to create mapping always with maximum allowed protections.
(gen_protect): Accomodate pages attached beyond EOF.  Use symbolic
values instead of numerics when possible.  Drop create parameter.
(gen_access): Use file's access mode instead of protection.
(CreateMapping9x): Create named mapping names so that different
creation access modes result in different mappings.
(CreateMappingNT): Only reserve attached pages, don't commit them.
(MapViewNT): Ditto.  Set AT_ROUND_TO_PAGE for all non-NULL base
addresses.
(mmap_func_t): Define CreateMapping and MapView function pointers
with additional openflags parameter.
(class mmap_record): Add openflags member.
(mmap_record::mmap_record): Add openflags parameter.
(mmap_record::get_openflags): New accessor.
(mmap_record::attached): Call global attached function.
(mmap_record::filler): Call global filler function.
(mmap_record::gen_create_protect): Call global gen_create_protect
function.
(mmap_record::gen_protect): Drop create parameter.
(mmap_record::alloc_fh): Set fhandler's access flags.
(list::search_record): Accomodate filler pages.
(list::set): Use inode number as hash value.
(map::get_list_by_fd): Check hash value against file's inode number.
(mmap_is_attached_page): New function to evaluate if a given address
is on a attached page.  Called from _cygtls::handle_exceptions.
(mmap_worker): New function to do mapping and bookkeeping in a
single call.
(mmap64): Use roundup2 to round length to pagesize alignment.
Initialize global fhandlers.  Simplify anonymous initialization.
Add SUSv3 compatible check of file open mode vs. requested protection.
Try creating new file handles to allow maximum page protection.
Allow creating attached pages in case of mapping beyond EOF.
Close new file handle if one has been created.
(munmap): Align len to pagesize.
(msync): Rework argument checks. Align len to pagesize.
(mprotect): Ditto.  Accomodate attached pages.
(mlock): Use roundup/rounddown macros instead of homemade expressions.
(munlock): Add page alignment as in mlock.
(fhandler_dev_zero::munmap): Fix unmapping of non-private mappings.
(fhandler_dev_zero::fixup_mmap_after_fork): Accomodate filler pages.
(fixup_mmaps_after_fork): Don't fail if attached pages couldn't be
created in child.  Avoid superfluous call to VirtualFree.  Check for
original allocation protection to fix PAGE_WRITECOPY protection.
* ntdll.h: Revert deletion of AT_ROUND_TO_PAGE define.
* winsup.h (mmap_is_attached_page): Declare.

18 years ago * gas/cris/rd-bcnst-pic.d, gas/cris/rd-branch-pic.d,
hp [Wed, 7 Dec 2005 06:43:17 +0000 (06:43 +0000)]
* gas/cris/rd-bcnst-pic.d, gas/cris/rd-branch-pic.d,
gas/cris/rd-brokw-pic-1.d, gas/cris/rd-brokw-pic-2.d,
gas/cris/rd-brokw-pic-3.d, gas/cris/rd-fragtest-pic.d: New tests.

18 years ago Change 32-bit-branch expansion for --pic.
hp [Wed, 7 Dec 2005 06:41:56 +0000 (06:41 +0000)]
Change 32-bit-branch expansion for --pic.
* config/tc-cris.c (STATE_COND_BRANCH_PIC): New relaxation state.
(md_cris_relax_table): Add entry for STATE_COND_BRANCH_PIC.
(cris_any_v0_v10_long_jump_size_pic): New macro.
(md_estimate_size_before_relax): Handle STATE_COND_BRANCH_PIC.
(md_convert_frag): Similar.
(md_create_long_jump): Change 32-bit-branch expansion for --pic.
(md_assemble, gen_cond_branch_32): Adjust similarly.
(md_parse_option) <case OPTION_PIC>: Adjust md_long_jump_size.
<case OPTION_ARCH>: Similar, if --pic.

18 years agoAdd missing ChangeLog entry
hp [Wed, 7 Dec 2005 01:36:14 +0000 (01:36 +0000)]
Add missing ChangeLog entry

18 years ago*** empty log message ***
gdbadmin [Wed, 7 Dec 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * cris/cpuv10.h, cris/cpuv32.h, cris/cris-desc.c, cris/cris-opc.h,
hp [Tue, 6 Dec 2005 22:42:43 +0000 (22:42 +0000)]
* cris/cpuv10.h, cris/cpuv32.h, cris/cris-desc.c, cris/cris-opc.h,
cris/decodev10.c, cris/decodev10.h, cris/decodev32.c,
cris/decodev32.h, cris/modelv10.c, cris/modelv32.c,
cris/semcrisv10f-switch.c, cris/semcrisv32f-switch.c: Regenerate.

18 years ago * sim/cris/asm/movmp8.ms, sim/cris/asm/pcplus.ms: New tests.
hp [Tue, 6 Dec 2005 22:42:07 +0000 (22:42 +0000)]
* sim/cris/asm/movmp8.ms, sim/cris/asm/pcplus.ms: New tests.
* sim/cris/asm/movmp.ms: Do not write to P0, P4 or P8.
* sim/cris/asm/raw13.ms: Write to MOF instead of WZ (P4).

18 years ago2005-12-06 Michael Snyder <msnyder@redhat.com>
msnyder [Tue, 6 Dec 2005 22:13:13 +0000 (22:13 +0000)]
2005-12-06  Michael Snyder  <msnyder@redhat.com>

* cli/cli-decode.c (add_setshow_string_cmd): Indent.
(add_setshow_integer_cmd): Indent.

18 years ago2005-12-06 Michael Snyder <msnyder@redhat.com>
msnyder [Tue, 6 Dec 2005 22:05:51 +0000 (22:05 +0000)]
2005-12-06  Michael Snyder  <msnyder@redhat.com>

* inf-ptrace.c: Fix typos in comments.

18 years ago2005-12-06 Paul Brook <paul@codesourcery.com>
jjohnstn [Tue, 6 Dec 2005 22:04:29 +0000 (22:04 +0000)]
2005-12-06  Paul Brook  <paul@codesourcery.com>

        * m68k/bcc.ld: Add .text.*, .rodata.*, .data.* and .bss.*.
        * m68k/idp.ld: Ditto.
        * m68k/idpgdb: Ditto.
        * m68k/mvme135.ld: Ditto.
        * m68k/sbc5204.ld: Ditto.
        * m68k/sbc5206.ld: Ditto.
        * m68k/sim.ld: Ditto.

18 years ago2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
jjohnstn [Tue, 6 Dec 2005 21:58:45 +0000 (21:58 +0000)]
2005-12-06  Ralf Corsepius <ralf.corsepius@rtems.org>

        * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
        rtems_gxx_key_delete, rtems_gxx_getspecific,
        rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
        rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
        rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.

18 years ago * cris.cpu (simplecris-common-writable-specregs)
hp [Tue, 6 Dec 2005 21:48:28 +0000 (21:48 +0000)]
* cris.cpu (simplecris-common-writable-specregs)
(simplecris-common-readable-specregs): Split from
simplecris-common-specregs.  All users changed.
(cris-implemented-writable-specregs-v0)
(cris-implemented-readable-specregs-v0): Similar from
cris-implemented-specregs-v0.
(cris-implemented-writable-specregs-v3)
(cris-implemented-readable-specregs-v3)
(cris-implemented-writable-specregs-v8)
(cris-implemented-readable-specregs-v8)
(cris-implemented-writable-specregs-v10)
(cris-implemented-readable-specregs-v10)
(cris-implemented-writable-specregs-v32)
(cris-implemented-readable-specregs-v32): Similar.
(bdap-32-pc, move-m-pcplus-p0, move-m-spplus-p8): New
insns and specializations.

18 years agogas/
hjl [Tue, 6 Dec 2005 12:40:57 +0000 (12:40 +0000)]
gas/

2005-12-06  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/1874
* config/tc-i386.c (match_template): Handle monitor.
(process_suffix): Likewise.

gas/testsuite/

2005-12-06  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/1874
* gas/i386/i386.exp: Add x86-64-prescott for 64bit.

* gas/i386/prescott.s: Test address size override for monitor.
* gas/i386/prescott.d: Updated.

* gas/i386/x86-64-prescott.d: New file.
* gas/i386/x86-64-prescott.s: Likewise.

include/opcode/

2005-12-06  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/1874
* i386.h (i386_optab): Add 64bit support for monitor and mwait.

opcodes/

2005-12-06  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/1874
* i386-dis.c (address_mode): New enum type.
(address_mode): New variable.
(mode_64bit): Removed.
(ckprefix): Updated to check address_mode instead of mode_64bit.
(prefix_name): Likewise.
(print_insn): Likewise.
(putop): Likewise.
(print_operand_value): Likewise.
(intel_operand_size): Likewise.
(OP_E): Likewise.
(OP_G): Likewise.
(set_op): Likewise.
(OP_REG): Likewise.
(OP_I): Likewise.
(OP_I64): Likewise.
(OP_OFF): Likewise.
(OP_OFF64): Likewise.
(ptr_reg): Likewise.
(OP_C): Likewise.
(SVME_Fixup): Likewise.
(print_insn): Set address_mode.
(PNI_Fixup): Add 64bit and address size override support for
monitor and mwait.

18 years ago * cpu-powerpc.c (bfd_powerpc_archs): Add ppc 750.
amodra [Tue, 6 Dec 2005 12:10:26 +0000 (12:10 +0000)]
* cpu-powerpc.c (bfd_powerpc_archs): Add ppc 750.

18 years ago * mi/mi-interp.c (mi_interpreter_resume): Route target error
fred [Tue, 6 Dec 2005 05:53:46 +0000 (05:53 +0000)]
* mi/mi-interp.c (mi_interpreter_resume): Route target error
through the MI.

18 years ago*** empty log message ***
gdbadmin [Tue, 6 Dec 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * cris-dis.c (bytes_to_skip): Handle new parameter prefix_matchedp.
hp [Mon, 5 Dec 2005 23:27:01 +0000 (23:27 +0000)]
* cris-dis.c (bytes_to_skip): Handle new parameter prefix_matchedp.
(print_with_operands): Check for prefix when [PC+] is seen.

18 years ago * gas/cris/rd-pcplus.s, gas/cris/rd-pcplus.d: New test.
hp [Mon, 5 Dec 2005 23:26:22 +0000 (23:26 +0000)]
* gas/cris/rd-pcplus.s, gas/cris/rd-pcplus.d: New test.

18 years agodaily update
amodra [Mon, 5 Dec 2005 23:00:08 +0000 (23:00 +0000)]
daily update

18 years ago* include/cygwin/stdlib.h: New file.
cgf [Mon, 5 Dec 2005 22:30:02 +0000 (22:30 +0000)]
* include/cygwin/stdlib.h: New file.
* environ.cc (unsetenv): Change to return -1 on input error.
* include/cygwin/version.h: Add more description to latest api bump.

18 years ago* libc/include/stdlib.h: Move cygwin declarations to cygwin-specific file.
cgf [Mon, 5 Dec 2005 22:15:21 +0000 (22:15 +0000)]
* libc/include/stdlib.h: Move cygwin declarations to cygwin-specific file.
Declare unsetenv and _unsetenv_r when not cygwin.

18 years ago* dir.cc (readdir_workdir): Only fill out d_ino when linked into older app.
cgf [Mon, 5 Dec 2005 21:02:53 +0000 (21:02 +0000)]
* dir.cc (readdir_workdir): Only fill out d_ino when linked into older app.
* include/cygwin/version.h: Bump api minor number to 147, reflecting
obsolescence of d_ino.
(CYGWIN_VERSION_USER_API_VERSION_COMBINED): New convenience macro.
(CYGWIN_VERSION_CHECK_FOR_NEEDS_D_INO): New convenience macro.

18 years agorevert accidental checkin
cgf [Mon, 5 Dec 2005 20:30:40 +0000 (20:30 +0000)]
revert accidental checkin

18 years agoRemove unneeded whitespace.
cgf [Mon, 5 Dec 2005 20:20:15 +0000 (20:20 +0000)]
Remove unneeded whitespace.
* cygtls.cc (_cygtls::set_state): Delete.
(_cygtls::reset_exception): Ditto.
(_cygtls::init_thread): Set initialized state directly here.
(_cygtls::push): Remove exception argument.  Don't treat exceptions specially.
* cygtls.h (_cygtls::push): Ditto.
(_cygtls::isinitialized): Don't treat exceptions specially.
(_cygtls::reset_exception): Delete.
(_cygtls::set_state): Ditto.
(_cygtls::handle_exceptions): Don't push ebp on the stack prior to calling
sig_send.  Just set incyg instead.
(_cygtls::interrupt_setup): Accommodate _cygtls::push argument change.
(_cygtls::interrupt_now): Ditto.
(setup_handler): Don't treat exceptions specially.
* gendef (longjmp): Always zero incyg flag.

18 years ago Bug gas/1948
danglin [Mon, 5 Dec 2005 17:00:35 +0000 (17:00 +0000)]
Bug gas/1948
* symbols.c (colon): Also check if now_seg is bss_section when a symbol
is being redefined.

18 years ago* strace.cc (show_usecs): Renamed from 'usecs'.
cgf [Mon, 5 Dec 2005 16:39:06 +0000 (16:39 +0000)]
* strace.cc (show_usecs): Renamed from 'usecs'.
(main): Use show_usecs rather than usecs.  Toggle delta if '-u' is specified.
(handle_output_debug_string): Avoid printing microsecond timestamp if
show_usecs == 0.
* utils.sgml (strace): Add words to describe '-u'.

18 years agotoplevel:
bonzini [Mon, 5 Dec 2005 15:16:03 +0000 (15:16 +0000)]
toplevel:
2005-12-05  Paolo Bonzini  <bonzini@gnu.org>

Sync with gcc:

2005-12-05  Paolo Bonzini  <bonzini@gnu.org>

        * configure.in (CONFIGURED_BISON, CONFIGURED_YACC, CONFIGURED_M4,
        CONFIGURED_FLEX, CONFIGURED_LEX, CONFIGURED_MAKEINFO): Remove
        "CONFIGURED_" from the AC_CHECK_PROGS invocation.  Move below.
        Find in-tree tools if available.
        (EXPECT, RUNTEST, LIPO, STRIP): Find them and substitute them.
        (CONFIGURED_*_FOR_TARGET): Don't set nor substitute.
        (*_FOR_TARGET): Set them with GCC_TARGET_TOOL.
        (COMPILER_*_FOR_TARGET): New.
        * Makefile.tpl (HOST_EXPORTS): Add *_FOR_TARGET symbols that gcc needs.
        (BASE_TARGET_EXPORTS): Use COMPILER_*_FOR_TARGET symbols.
        (CONFIGURED_*, USUAL_*): Remove.
        (BISON, YACC, FLEX, LEX, M4, MAKEINFO, EXPECT, RUNTEST, LIPO,
        STRIP): Use autoconf substitutions.
        (COMPILER_AS_FOR_TARGET, COMPILER_LD_FOR_TARGET,
        COMPILER_NM_FOR_TARGET): New.
        (EXTRA_HOST_FLAGS): Pass LIPO and STRIP.

        (all): Make all-host and all-target in parallel.
        (do-[+make_target+], do-check, install, [+compare-target+]): Ensure
        that $$r and $$s are set before invoking a recursive make.
        (stage[+id+]-bubble): Likewise, and invoke the comparison at the end.
        ([+bootstrap-target+]): Inline most of the `all' target.

2005-11-29  Ben Elliston  <bje@au.ibm.com>

        * Makefile.tpl (clean-target-libgcc): Invoke clean-target-libgcc
        from the gcc build directory.
        * Makefile.in: Regenerate.

2005-11-29  Ben Elliston  <bje@au.ibm.com>

        * Makefile.def: Add new libdecnumber host_module.  Make all-gcc
        depend on all-libdecnumber.
        * configure.in (host_libs): Include libdecnumber.
        * Makefile.in: Regenerate.
        * configure: Likewise.

2005-11-21  Kean Johnston  <jkj@sco.com>

        * config.sub, config.guess: Sync from upstream sources.

config:
2005-12-05  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4 (GCC_TARGET_TOOL): New.

18 years ago * cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
hp [Mon, 5 Dec 2005 03:11:47 +0000 (03:11 +0000)]
* cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c,
cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c,
cris/decodev10.h, cris/decodev32.c, cris/decodev32.h,
cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c,
cris/semcrisv32f-switch.c: Regenerate.

18 years agoFix typo last entry
hp [Mon, 5 Dec 2005 03:11:08 +0000 (03:11 +0000)]
Fix typo last entry

18 years ago * utils-sim.scm (-gen-decode-insn-entry): Correct last change for
hp [Mon, 5 Dec 2005 01:27:23 +0000 (01:27 +0000)]
* utils-sim.scm (-gen-decode-insn-entry): Correct last change for
non-(adata-integral-insn? CURRENT-ARCH) case.

18 years ago*** empty log message ***
gdbadmin [Mon, 5 Dec 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Sun, 4 Dec 2005 23:00:05 +0000 (23:00 +0000)]
daily update

18 years ago * environ.cc (spenvs): Add "windir" as an "always export" variable
corinna [Sun, 4 Dec 2005 21:47:03 +0000 (21:47 +0000)]
* environ.cc (spenvs): Add "windir" as an "always export" variable
to accomodate WinSock on Windows 95.

18 years ago* amd64obsd-tdep.c: Include "regcache.h" and "bsd-uthread.h".
kettenis [Sun, 4 Dec 2005 20:19:25 +0000 (20:19 +0000)]
* amd64obsd-tdep.c: Include "regcache.h" and "bsd-uthread.h".
(amd64obsd_uthread_reg_offset): New variable.
(AMD64OBSD_UTHREAD_RSP_OFFSET): New define.
(amd64obsd_supply_uthread, amd64obsd_collect_uthread): New
functions.
(amd64obsd_init_abi): Set supply_uthread and collect_uthread.
* Makefile.in (amd64obsd-tdep.o): Update dependencies.

18 years agofix description
cgf [Sun, 4 Dec 2005 19:24:10 +0000 (19:24 +0000)]
fix description

18 years ago* elf64-hppa.c (elf64_hppa_section_from_phdr): Create .kernel
kettenis [Sun, 4 Dec 2005 14:58:10 +0000 (14:58 +0000)]
* elf64-hppa.c (elf64_hppa_section_from_phdr): Create .kernel
pseudo-section.  Make sure .reg section comes after the proc
section it's generated from.

18 years ago* faq-setup.xml: Add note about clean_setup.pl.
joshuadfranklin [Sun, 4 Dec 2005 03:55:28 +0000 (03:55 +0000)]
* faq-setup.xml: Add note about clean_setup.pl.
* faq-using.xml: Remove unnecessary line of elisp.

18 years ago*** empty log message ***
gdbadmin [Sun, 4 Dec 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Sat, 3 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago * gdb.texinfo (Connecting): Explain that `monitor' is a way to
eliz [Sat, 3 Dec 2005 12:44:31 +0000 (12:44 +0000)]
* gdb.texinfo (Connecting): Explain that `monitor' is a way to
extend GDB with commands for external monitor.

18 years ago* include/exceptions.h (exception_list): Revert previous change. Windows
cgf [Sat, 3 Dec 2005 05:01:51 +0000 (05:01 +0000)]
* include/exceptions.h (exception_list): Revert previous change.  Windows
doesn't care.
(exception_handler): Use real exception_list parameter type rather than void *
* tlsoffsets.h: Regenerate.
* cygtls.h (_cygtls::handle_exceptions): Use real exception_list parameter type
rather than void *.
(handle_threadlist_exception): Ditto.
(init_exception_handler): Ditto.
* cygtls.cc (_cygtls::handle_threadlist_exception ): Ditto.
(_cygtls::init_exception_handler): Add kludge to terminate linked list with a
loop, which seems to solve problem of RtlUnwind causing problems
* exceptions.cc (rtl_unwind): Use real exception_list parameter type rather
than void *.
(_cygtls::handle_exceptions): Ditto.

18 years agoAdd missing ChangeLog entry.
cgf [Sat, 3 Dec 2005 04:24:34 +0000 (04:24 +0000)]
Add missing ChangeLog entry.

18 years ago* cygtls.h (_cygtls::el): New field.
cgf [Sat, 3 Dec 2005 04:23:35 +0000 (04:23 +0000)]
* cygtls.h (_cygtls::el): New field.
(_cygtls::handle_exceptions): New function declaration.
(_cygtls::handle_threadlist_exception): Ditto.
(_cygtls::init_exception_handler): Ditto.
(_cygtls::init_threadlist_exceptions): Remove arg from declaration.
* cygtls.cc (_cygtls::call2): Don't initialize exceptions here.
(_cygtls::init_thread): Do it here instead and use member function.
(_cygtls::handle_threadlist_exception): Move into _cygtls class.
(_cygtls::init_exception_handler): Ditto.  Rely on existence of 'el' memmber in
_cygtls.
(_cygtls::init_threadlist_exceptions): Ditto.
* dcrt0.cc (dll_crt0_1): Remove exception_list definition and setting since it
now commonly resides in the tls.
* exceptions.cc (init_exception_handler): Move to cygtls.cc.
(init_exceptions): Ditto.
(rtl_unwind): New, safe wrapper function for RtlUnwind.
(_cygtls::handle_exceptions): Move to _cygtls.  Call rtl_unwind to unwind
frames and eliminate copying of structures.  Put address of failing instruction
in si_addr, not the address on the stack.  Return 0 to indicate that we've
handled this exception.
* external.cc (cygwin_internal): Make CW_INIT_EXCEPTIONS a no-op.
* sigproc.cc (wait_sig): Accommodate argument change to
_cygtls::init_threadlist_exceptions.
* tlsoffsets.h: Regenerate.
* include/exceptions.h (exception_list): Add more stuff to the exception list.
Apparently windows needs this?
(init_exceptions): Remove bogus declaration.
* include/cygwin/signal.h (SI_USER): Redefine as zero as per SUSv3.
* thread.cc (pthread_kill): Set si_pid and si_uid.
* timer.cc (timer_thread): Set si_code to SI_TIMER.

18 years ago*** empty log message ***
gdbadmin [Sat, 3 Dec 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Fri, 2 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years agoconfig/tc-z80.c (emit_ldreg): fix bug in ld rr,<xx>
arnoldm [Fri, 2 Dec 2005 22:31:16 +0000 (22:31 +0000)]
config/tc-z80.c (emit_ldreg): fix bug in ld rr,<xx>

18 years ago * ptrace-target.c (ptrace_break_program): Use SIGSTOP instead of
kevinb [Fri, 2 Dec 2005 20:52:04 +0000 (20:52 +0000)]
* ptrace-target.c (ptrace_break_program): Use SIGSTOP instead of
SIGINT to interrupt inferior process.
* thread-db.c (thread_db_break_program): Likewise.

18 years ago2005-12-02 Dave Brolley <brolley@redhat.com>
brolley [Fri, 2 Dec 2005 20:09:42 +0000 (20:09 +0000)]
2005-12-02  Dave Brolley  <brolley@redhat.com>

        * configure.in (cgen_files): Add cgen-bitset.lo.
        (ta): Add cgen-bitset.lo when arch==bfd_cris_arch.
        * Makefile.am (CFILES): Add cgen-bitset.c.
        (ALL_MACHINES): Add cgen-bitset.lo.
        (cgen-bitset.lo): New target.
        * cgen-opc.c (cgen_bitset_create, cgen_bitset_init, cgen_bitset_clear)
        (cgen_bitset_add, cgen_bitset_set, cgen_bitset_contains)
        (cgen_bitset_compare, cgen_bitset_intersect_p, cgen_bitset_copy)
        (cgen_bitset_union): Moved from here ...
        * cgen-bitset.c: ... to here. New file.
        * Makefile.in: Regenerated.
        * configure: Regenerated.

18 years ago2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
ams [Fri, 2 Dec 2005 14:58:13 +0000 (14:58 +0000)]
2005-12-02  Andrew Stubbs  <andrew.stubbs@st.com>

* breakpoint.c (BREAK_ARGS_HELP): New mecro.
(_initialize_breakpoint): Enhance break, tbreak, hbreak and thbreak
commands' help by adding more information and using BREAK_ARGS_HELP
to duplicate the common parts.  Remove now-redundant cross-references.

testsuite/
* gdb.base/help.exp (help b, help br, help bre, help brea)
(help break): Update the expected message.

18 years ago2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
ams [Fri, 2 Dec 2005 11:44:19 +0000 (11:44 +0000)]
2005-12-02  Andrew Stubbs  <andrew.stubbs@st.com>

* value.c (init_if_undefined_command): New function.
(_initialize_values): Add command init-if-undefined.
* NEWS (Changes since GDB 6.3): Rename to 'Changes in GDB 6.4'.
(Changes since GDB 6.4): New section.
Mention new command init-if-undefined.

doc/
* gdb.texinfo (Convenience variables): Add init-if-undefined command.