OSDN Git Service
jules [Wed, 26 Apr 2006 15:42:17 +0000 (15:42 +0000)]
* gas/arm/copro.s: Avoid ldcl which encodes as a bad Neon instruction.
* gas/arm/copro.d: Update accordingly.
* gas/arm/neon-cond.s: New test. Conditional Neon opcodes in ARM mode.
* gas/arm/neon-cond.d: Expected results of above.
* gas/arm/neon-cov.s: New test. Coverage of Neon instructions.
* gas/arm/neon-cov.d: Expected results of above.
* gas/arm/neon-ldst-es.s: New test. Element and structure loads and
stores.
* gas/arm/neon-ldst-es.d: Expected results of above.
* gas/arm/neon-ldst-rm.s: New test. Single and multiple register loads
and stores.
* gas/arm/neon-ldst-rm.d: Expected results of above.
* gas/arm/neon-omit.s: New test. Omission of optional operands.
* gas/arm/neon-omit.d: Expected results of above.
* gas/arm/vfp1.d: Expect Neon syntax for some VFP instructions.
* gas/arm/vfp1_t2.d: Likewise.
* gas/arm/vfp1xD.d: Likewise.
* gas/arm/vfp1xD_t2.d: Likewise.
* gas/arm/vfp2.d: Likewise.
* gas/arm/vfp2_t2.d: Likewise.
* gas/arm/vfp3-32drs.s: New test. Extended D register range for VFP
instructions.
* gas/arm/vfp3-32drs.d: Expected results of above.
* gas/arm/vfp3-const-conv.s: New test. VFPv3 constant-load and
conversion instructions.
* gas/arm/vfp3-const-conv.d: Expected results of above.
jules [Wed, 26 Apr 2006 15:41:15 +0000 (15:41 +0000)]
* opcode/arm.h (FPU_VFP_EXT_V3): Define constant.
(FPU_NEON_EXT_V1): Likewise.
(FPU_VFP_HARD): Update.
(FPU_VFP_V3): Define macro.
(FPU_ARCH_VFP_V3, FPU_ARCH_VFP_V3_PLUS_NEON_V1): Define macros.
jules [Wed, 26 Apr 2006 15:40:55 +0000 (15:40 +0000)]
* opcodes/arm-dis.c (coprocessor_opcodes): Add %A, %B, %k, convert
%<code>[zy] into %[zy]<code>. Expand meaning of %<bitfield>['`?].
Add unified load/store instruction names.
(neon_opcode_table): New.
(arm_opcodes): Expand meaning of %<bitfield>['`?].
(arm_decode_bitfield): New.
(print_insn_coprocessor): Add pc argument. Add %A & %B specifiers.
Use arm_decode_bitfield and adjust numeric specifiers. Adjust %z & %y.
(print_insn_neon): New.
(print_insn_arm): Adjust print_insn_coprocessor call. Call
print_insn_neon. Use arm_decode_bitfield and adjust numeric specifiers.
(print_insn_thumb32): Likewise.
hjl [Wed, 26 Apr 2006 13:37:05 +0000 (13:37 +0000)]
2006-04-26 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/2593
* binutils-all/copy-1.d: New file.
* binutils-all/copy-1.s: Likewise.
* binutils-all/copy-2.d: Likewise.
* binutils-all/objcopy.exp: Add run_dump_test "copy-1" and
run_dump_test "copy-2".
* lib/utils-lib.exp (run_dump_test): New.
(slurp_options): Likewise.
(regexp_diff): Likewise.
(file_contents): Likewise.
(verbose_eval): Likewise.
hjl [Wed, 26 Apr 2006 13:32:26 +0000 (13:32 +0000)]
2006-04-26 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/2593
* elf.c (_bfd_elf_new_section_hook): Don't set section ELF type
and flags if its BFD flags have been set.
(_bfd_elf_init_private_section_data): Don't copy the output ELF
section type from input if it has been set to something
different.
aj [Wed, 26 Apr 2006 09:24:07 +0000 (09:24 +0000)]
Add missing changelog entry
amodra [Wed, 26 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 26 Apr 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
hjl [Tue, 25 Apr 2006 22:05:14 +0000 (22:05 +0000)]
2006-04-25 H.J. Lu <hongjiu.lu@intel.com>
* ld-alpha/tlsbin.rd: Updated for readelf change.
* ld-alpha/tlsbinr.rd: Likewise.
* ld-alpha/tlspic.rd: Likewise.
hjl [Tue, 25 Apr 2006 19:09:58 +0000 (19:09 +0000)]
Regenerate libbfd.h.
kettenis [Tue, 25 Apr 2006 18:58:08 +0000 (18:58 +0000)]
From Masaki MURANAKA <monaka@monami-software.com>:
* mips-mdebug-tdep.c (mips_mdebug_frame_prev_register): Change
type of last argument to `gdb_byte *'
jimb [Tue, 25 Apr 2006 18:02:10 +0000 (18:02 +0000)]
2006-04-11 Jim Blandy <jimb@codesourcery.com>
Add support for 'target remote |' on MinGW.
* ser-mingw.c (struct pipe_state): New structure.
(make_pipe_state, free_pipe_state, cleanup_pipe_state)
(pipe_windows_open, pipe_windows_close, pipe_windows_read)
(pipe_windows_write, pipe_wait_handle): New functions.
(_initialize_ser_windows): Register a "pipe" interface based on
them.
hjl [Tue, 25 Apr 2006 17:46:15 +0000 (17:46 +0000)]
2006-04-25 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/2467
* elf.c (_bfd_elf_close_and_cleanup): Check elf_tdata (abfd)
is NULL first.
* elf32-arm.c (elf32_arm_close_and_cleanup): Check if
abfd->sections is NULL.
(elf32_arm_bfd_free_cached_info): New.
(bfd_elf32_bfd_free_cached_info): Defined.
* elfxx-target.h (bfd_elfNN_bfd_free_cached_info): Default it
to _bfd_free_cached_info.
* libbfd-in.h (_bfd_free_cached_info): New.
* libbfd: Regenerated.
* opncls.c (_bfd_delete_bfd): Check if abfd->memory is NULL.
(_bfd_free_cached_info): New.
bwilson [Tue, 25 Apr 2006 17:11:10 +0000 (17:11 +0000)]
* config/xtensa-relax.c (widen_spec_list): Use new "WIDE.<opcode>"
syntax instead of hardcoded opcodes with ".w18" suffixes.
(wide_branch_opcode): New.
(build_transition): Use it to check for wide branch opcodes with
either ".w18" or ".w15" suffixes.
bwilson [Tue, 25 Apr 2006 16:32:56 +0000 (16:32 +0000)]
* config/tc-xtensa.c (xtensa_create_literal_symbol,
xg_assemble_literal, xg_assemble_literal_space): Do not set the
frag's is_literal flag.
nickc [Tue, 25 Apr 2006 16:20:47 +0000 (16:20 +0000)]
PR 2587
* Makefile.am: Add empty rule for .m -> .o build in order to work around bug
in gmake shipped by Apple.
* Makefile.in: Regenerate.
bwilson [Tue, 25 Apr 2006 15:41:16 +0000 (15:41 +0000)]
* config/xtensa-relax.c (XCHAL_HAVE_WIDE_BRANCHES): Provide default.
hjl [Tue, 25 Apr 2006 14:06:09 +0000 (14:06 +0000)]
2006-04-25 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/2467
* binutils-all/objcopy.exp (strip_test): Also test "strip -g"
on archive.
msnyder [Tue, 25 Apr 2006 00:18:25 +0000 (00:18 +0000)]
Remove spurious entry
amodra [Tue, 25 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 25 Apr 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
msnyder [Mon, 24 Apr 2006 22:39:03 +0000 (22:39 +0000)]
forgotten changelog entry
jules [Mon, 24 Apr 2006 21:34:41 +0000 (21:34 +0000)]
* floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case.
drow [Mon, 24 Apr 2006 21:00:12 +0000 (21:00 +0000)]
* ser-mingw.c: Include <conio.h>.
(struct ser_console_state, struct net_windows_state): Add exit_select,
have_stopped, thread.
(pipe_select_thread, console_select_thread)
(net_windows_select_thread): Don't create a local state copy or
close stop_select. Exit on exit_select instead of stop_select. Set
have_stopped.
(console_select_thread): Don't report control keypresses as pending
input.
(pipe_select_thread): Allow stop_select to interrupt sleeping.
(set_console_wait_handle): Create exit_select and have_stopped.
Save the thread handle. Check _kbhit before starting a thread.
(ser_console_done_wait_handle): New.
(ser_console_close): Close new handles. Wait for the thread to
exit.
(new_windows_select_thread): Assert that an event occurred.
(net_windows_wait_handle): Check for pending input before starting
a thread.
(net_windows_done_wait_handle): New.
(net_windows_open): Create exit_select and have_stopped.
Save the thread handle.
(net_windows_close): Close new handles. Wait for the thread to
exit.
(_intiialize_ser_windows): Register done_wait_handle methods.
* serial.c [USE_WIN32API] (serial_done_wait_handle): New.
* serial.h [USE_WIN32API] (struct serial_ops): Add done_wait_handle.
[USE_WIN32API] (serial_done_wait_handle): New prototype.
* mingw-hdep.c (gdb_select): Use serial_done_wait_handle.
dj [Mon, 24 Apr 2006 20:19:51 +0000 (20:19 +0000)]
* libc/machine/sh/configure.in: Avoid link tests.
* libc/machine/sh/configure: Regenerate.
cgf [Mon, 24 Apr 2006 16:42:07 +0000 (16:42 +0000)]
* environ.cc (getearly): Force correct dereference order when inspecting
environ table.
corinna [Mon, 24 Apr 2006 15:16:42 +0000 (15:16 +0000)]
* select.cc (thread_pipe): Raise sleep time only every 8th iteration.
(thread_mailslot): Ditto.
papadopo [Mon, 24 Apr 2006 11:53:16 +0000 (11:53 +0000)]
* include/ws2tcpip.h (gai_strerror): Remove thread-safety comment.
This function cannot be made thread-safe, the API would have to be
changed for that, just like strerror() -> strerror_r() and similar
ISO C or POSIX functions...
amodra [Mon, 24 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 24 Apr 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
kazu [Sun, 23 Apr 2006 22:12:43 +0000 (22:12 +0000)]
* config/obj-coff.c, config/tc-arm.c, config/tc-bfin.c,
config/tc-cris.c, config/tc-crx.c, config/tc-i386.c,
config/tc-ia64.c, config/tc-maxq.c, config/tc-maxq.h,
config/tc-mips.c, config/tc-msp430.c, config/tc-sh.c,
config/tc-tic4x.c, config/tc-xtensa.c: Fix comment typos.
schwab [Sun, 23 Apr 2006 14:54:42 +0000 (14:54 +0000)]
* Makefile.in (tmp-ld-decode): Fix dependencies.
(tmp-ld-cache): Likewise.
(tmp-ld-insn): Likewise.
schwab [Sun, 23 Apr 2006 14:15:01 +0000 (14:15 +0000)]
* rs6000-tdep.c: Include "reggroups.h" only once.
* Makefile.in (rs6000-tdep.o): Update dependencies.
corinna [Sun, 23 Apr 2006 08:39:06 +0000 (08:39 +0000)]
* select.cc (thread_pipe): Raise sleep time dynamically to speed up
select on pipes when copying lots of data.
(thread_mailslot): Ditto for mailslots.
amodra [Sun, 23 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 23 Apr 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Sat, 22 Apr 2006 23:13:18 +0000 (23:13 +0000)]
* signal.cc (abort): On second thought, just set incyg once.
cagney [Sat, 22 Apr 2006 23:12:03 +0000 (23:12 +0000)]
2006-04-22 Andrew Cagney <cagney@redhat.com>
* gdb.texinfo (Contributors): Credit frame unwinder contributors.
* gdbint.texinfo (Algorithms): Fix errors in frame documentation.
cgf [Sat, 22 Apr 2006 23:09:44 +0000 (23:09 +0000)]
* abort.cc (abort): Set incyg manually to help get a reliable gdb stack trace.
* cygwin.din (abort): Make NOSIGFE.
gdbadmin [Sat, 22 Apr 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 22 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update
cgf [Fri, 21 Apr 2006 21:34:38 +0000 (21:34 +0000)]
* environ.cc (getearly): Use GetEnvironmentVariable and cmalloc instead of
GetEnvironmentStrings.
(environ_init): Revert rawenv stuff.
fred [Fri, 21 Apr 2006 20:26:06 +0000 (20:26 +0000)]
2006-04-21 Frederic Riss <frederic.riss@st.com>
* dwarf2read.c (dwarf2_start_subfile): Change prototype to accept
compilation directory as last argument.
Always pass comp_dir as second argument to start_subfile and prepend
dirname to the filename when necessary.
Remove now superfluous search for pre-existing subfile.
(dwarf_decode_lines): Pass the compilation directory to
dwarf2_start_subfile.
cgf [Fri, 21 Apr 2006 19:40:48 +0000 (19:40 +0000)]
format comment using GNU-style
cgf [Fri, 21 Apr 2006 19:19:30 +0000 (19:19 +0000)]
* environ.cc (rawenv): Make this variable a file-scope static.
(getearly): Rename 's' variable to 'len' since 's' is used fairly consistently
throughout cygwin as a string variable. Remove rawenv declaration. Perform
other minor cleanups.
(environ_init): Remove rawenv declaration. Only set rawenv to
GetEnvironmentStrings() if it has not already been set. Properly free rawenv
in all cases.
cgf [Fri, 21 Apr 2006 18:53:05 +0000 (18:53 +0000)]
* tty.h (tty::hwnd): Move to tty_min.
(tty::gethwnd): Ditto.
(tty::sethwnd): Ditto.
(tty_min::hwnd): Receive variable from tty class.
(tty_min::gethwnd): Receive function from tty classs.
(tty_min::sethwnd): Ditto.
* dtable.cc (dtable::stdio_init): Only call init_console_handler when we
actually own the console.
* fhandler_console.cc (fhandler_console::get_tty_stuff): Set tty's hwnd to
non-zero value.
* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Semi-reinstate handling of
console when pgrp is set.
corinna [Fri, 21 Apr 2006 17:21:40 +0000 (17:21 +0000)]
* environ.cc (getearly): New function.
(findenv_func): New function pointer, predefined to getearly.
(getenv): Call findenv function over the findenv_func pointer.
(environ_init): Change findenv_func pointer to my_findenv after Cygwin
environment is initialized.
corinna [Fri, 21 Apr 2006 14:29:53 +0000 (14:29 +0000)]
* include/asm/byteorder.h (__ntohl): Fix the missing uint32_t.
corinna [Fri, 21 Apr 2006 11:35:43 +0000 (11:35 +0000)]
* fhandler_socket.cc (fhandler_socket::wait): Reorder setting
WSAError to avoid spurious errors with WSAError set to 0.
corinna [Fri, 21 Apr 2006 09:59:07 +0000 (09:59 +0000)]
* include/asm/byteorder.h: Include stdint.h. Per standard, change
datatypes in ntohX and htonX functions to uintXX_t types.
amodra [Fri, 21 Apr 2006 07:26:08 +0000 (07:26 +0000)]
* elf.c (assign_file_positions_except_relocs): Move code setting
file position of non-loaded sections..
(assign_file_positions_for_segments): ..to here.
hjl [Fri, 21 Apr 2006 03:42:47 +0000 (03:42 +0000)]
2006-04-20 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2537
* elf.c (bfd_section_from_shdr): Allow sections reserved for
applications. Issue an error on sections we don't know how
to handle.
gdbadmin [Fri, 21 Apr 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 21 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update
msnyder [Thu, 20 Apr 2006 23:24:23 +0000 (23:24 +0000)]
2006-04-20 Michael Snyder <msnyder@redhat.com>
* 2006-03-22 Jim Blandy <jimb@redhat.com>
Add support for the Renesas M32C and M16C.
* gdb.asm/asm-source.exp: Add m32c target.
* gdb.asm/m32c.inc: Support for m32c target.
msnyder [Thu, 20 Apr 2006 23:18:48 +0000 (23:18 +0000)]
2006-04-20 Michael Snyder <msnyder@redhat.com>
* 2006-03-22 Jim Blandy <jimb@redhat.com>
Add support for the Renesas M32C and M16C.
* configure.tgt (m32c-*-*): New entry.
* config/m32c/m32c.mt: New file.
* m32c-tdep.c: New file.
* Makefile.in (elf_m32c_h): New variable.
(m32c-tdep.o): New rule.
* NEWS: Mention new target.
* MAINTAINERS: Designate Jim Blandy as responsible maintainer.
ezannoni [Thu, 20 Apr 2006 20:13:20 +0000 (20:13 +0000)]
touched all sources to ease import of readline-5.1
ezannoni [Thu, 20 Apr 2006 20:05:49 +0000 (20:05 +0000)]
Initial revision
ezannoni [Thu, 20 Apr 2006 20:05:33 +0000 (20:05 +0000)]
Initial revision
drow [Thu, 20 Apr 2006 17:29:47 +0000 (17:29 +0000)]
* m68klinux-tdep.c (m68k_linux_sigtramp_frame_prev_register):
Correct type of VALUEP. Reported by Jean-Rene Peulve
<jr.peulve@wanadoo.fr>.
pbrook [Thu, 20 Apr 2006 12:39:51 +0000 (12:39 +0000)]
2005-04-20 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (s_arm_arch, s_arm_cpu, s_arm_fpu): Enable for
all targets.
(md_pseudo_table): Enable .arch, .cpu and .fpu for all targets.
gas/testsuite/
* gas/arm/arch7.d: Remove skip.
* gas/arm/svc.d: Ditto.
* gas/arm/thumb2_bcond.d: Ditto.
* gas/arm/thumb2_it_bad.d: Ditto.
papadopo [Thu, 20 Apr 2006 10:47:43 +0000 (10:47 +0000)]
* include/winnt.h: revert to 1.102
* include/ddk/winddk.h: revert to 1.25
amodra [Thu, 20 Apr 2006 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 20 Apr 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
jjohnstn [Wed, 19 Apr 2006 19:44:03 +0000 (19:44 +0000)]
2006-04-19 Jeff Johnston <jjohnstn@redhat.com>
* configure.in: Modified to support autoconf 2.59.
* */configure.in: Ditto.
* configure: Regenerated.
* */configure: Ditto.
* wince/aclocal.m4: Ditto.
* acinclude.m4: New file.
* aclocal.m4: Ditto.
* arm/aclocal.m4: Ditto.
* cris/aclocal.m4: Ditto.
* crx/aclocal.m4: Ditto.
* d30v/aclocal.m4: Ditto.
* fr30/aclocal.m4: Ditto.
* frv/aclocal.m4: Ditto.
* hp74x/aclocal.m4: Ditto.
* i386/aclocal.m4: Ditto.
* i960/aclocal.m4: Ditto.
* iq2000/aclocal.m4: Ditto.
* libnosys/aclocal.m4: Ditto.
* m32c/aclocal.m4: Ditto.
* m32r/aclocal.m4: Ditto.
* m68hc11/aclocal.m4: Ditto.
* m68k/aclocal.m4: Ditto.
* mcore/aclocal.m4: Ditto.
* mips/aclocal.m4: Ditto.
* mn10200/aclocal.m4: Ditto.
* mn10300/aclocal.m4: Ditto.
* mt/aclocal.m4: Ditto.
* pa/aclocal.m4: Ditto.
* rs6000/aclocal.m4: Ditto.
* sparc/aclocal.m4: Ditto.
* sparc/libsys/aclocal.m4: Ditto.
* xstormy16/aclocal.m4: Ditto.
amodra [Wed, 19 Apr 2006 12:10:45 +0000 (12:10 +0000)]
* Makefile.am (CPU_TYPES): Add maxq and mt. Sort.
(CPU_OBJ_VALID): Change sense of COFF test to default to invalid.
Make some cpus unsupported on ELF. Run "make dep-am".
* Makefile.in: Regenerate.
amodra [Wed, 19 Apr 2006 12:10:21 +0000 (12:10 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
amodra [Wed, 19 Apr 2006 12:10:00 +0000 (12:10 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
amodra [Wed, 19 Apr 2006 12:09:41 +0000 (12:09 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
papadopo [Wed, 19 Apr 2006 11:03:17 +0000 (11:03 +0000)]
* include/edevdefs.h: New file.
papadopo [Wed, 19 Apr 2006 08:57:16 +0000 (08:57 +0000)]
* include/mmsystem.h (_LPCWAVEFORMATEX_DEFINED): Define.
Use as guard for the WAVEFORMATEX structure instead of
_WAVEFORMATEX_ to avoid clashes with DirectSound. Keep
_WAVEFORMATEX_ for compatibility.
Thanks to: Andrew Jones <guln at sf dot net>
papadopo [Wed, 19 Apr 2006 08:40:52 +0000 (08:40 +0000)]
* include/winnt.h, include/ddk/winddk.h (FIELD_OFFSET):
Compile with recent C++ compiler such as gcc 3.4.
* include/ddk/winddk.h: Ditto.
papadopo [Wed, 19 Apr 2006 08:15:18 +0000 (08:15 +0000)]
* include/winuser.h (CharNextEx,CharNextExW,CharPrevEx,CharPrevExW):
Delete. Only CharNextExA and CharPrevExA are documented in MSDN.
Thanks to: David Golub <david_golub at sf dot net>
ksakamot [Wed, 19 Apr 2006 06:36:37 +0000 (06:36 +0000)]
2006-04-19 Masaki Muranaka <monaka@monami-software.com>
* m32r-rom.c: On MinGW, include winsock.h instead of sys/types.h,
netdb.h, netinet/in.h.
(m32r_upload_command); Add calls WSAStartup().
* remote-m32r-sdi.c: On MinGW, include winsock.h instead of
netinet/in.h.
amodra [Wed, 19 Apr 2006 02:15:05 +0000 (02:15 +0000)]
* avr-dis.c (avr_operand): Warning fix.
amodra [Wed, 19 Apr 2006 02:10:43 +0000 (02:10 +0000)]
* ldlang.c (wild): Tidy default_common_section loop.
(print_input_section): Format.
amodra [Wed, 19 Apr 2006 02:06:13 +0000 (02:06 +0000)]
bfd/
* warning.m4 (--enable-werror, -build-warnings): Format help messages.
* configure: Regenerate.
binutils/
* configure: Regenerate.
gas/
* configure.in (--enable-targets): Indent help message.
* configure: Regenerate.
gprof/
* configure: Regenerate.
ld/
* configure: Regenerate.
opcodes/
* configure: Regenerate.
dj [Wed, 19 Apr 2006 00:57:59 +0000 (00:57 +0000)]
* configure.in (m32c): Build libstdc++-v3. Pass flags to
reference libgloss so that libssp can be built in a combined
tree.
* configure: Regenerate.
gdbadmin [Wed, 19 Apr 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 19 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update
jjohnstn [Tue, 18 Apr 2006 20:06:08 +0000 (20:06 +0000)]
2006-04-18 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
(sigaddset, sigemptyset): Add return code.
drow [Tue, 18 Apr 2006 19:20:05 +0000 (19:20 +0000)]
gdb/
* breakpoint.c (deprecated_read_memory_nobpt): Update to use
shadow_len.
(insert_bp_location, reattach_breakpoints, remove_breakpoint)
(delete_breakpoint): Update calls to changed methods.
(deprecated_insert_raw_breakpoint, deprecated_remove_raw_breakpoint)
(single_step_breakpoints, insert_single_step_breakpoint)
(remove_single_step_breakpoints): New.
* breakpoint.h (struct bp_target_info): New.
(struct bp_location): Replace shadow_contents with
target_info and overlay_target_info.
(deprecated_insert_raw_breakpoint, deprecated_remove_raw_breakpoint)
(insert_single_step_breakpoint, remove_single_step_breakpoints): New
prototypes.
* gdbarch.sh: Forward declare struct bp_target_info in gdbarch.h.
(memory_insert_breakpoint, memory_remove_breakpoint): Update second
argument.
* mem-break.c (default_memory_insert_breakpoint): Update. Set
placed_address, placed_size, and shadow_len.
(default_memory_remove_breakpoint): Update. Don't use
BREAKPOINT_FROM_PC.
(memory_insert_breakpoint, memory_remove_breakpoint): Update.
* target.c (update_current_target): Update prototypes for changed
functions.
(debug_to_insert_breakpoint, debug_to_remove_breakpoint)
(debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint):
Update.
* target.h: Forward declare struct bp_target_info.
(struct target_ops): Use a bp_target_info argument for
to_insert_breakpoint, to_remove_breakpoint,
to_insert_hw_breakpoint, and to_remove_hw_breakpoint.
(target_insert_breakpoint, target_remove_breakpoint)
(target_insert_hw_breakpoint, target_remove_hw_breakpoint)
(memory_insert_breakpoint, memory_remove_breakpoint)
(default_memory_insert_breakpoint, default_memory_remove_breakpoint):
Update.
* config/i386/nm-i386.h: Forward declare struct bp_target_info.
(i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): Update.
(target_insert_hw_breakpoint, target_remove_hw_breakpoint): Likewise.
* gdbarch.c, gdbarch.h: Regenerated.
* alpha-tdep.c (alpha_software_single_step): Use
insert_single_step_breakpoint and remove_single_step_breakpoints.
Remove unused statics.
* arm-tdep.c (arm_software_single_step): Likewise. Add a note.
* cris-tdep.c (cris_software_single_step): Likewise.
* mips-tdep.c (mips_software_single_step): Likewise.
* rs6000-tdep.c (rs6000_software_single_step): Likewise.
* sparc-tdep.c (sparc_software_single_step): Likewise.
* wince.c (struct thread_info_struct): Remove step_prev.
(undoSStep): Use remove_single_step_breakpoints.
(wince_software_single_step): Use insert_single_step_breakpoint.
* corelow.c (ignore): Remove unneeded prototype. Update arguments.
* exec.c (ignore): Likewise.
* sol-thread.c (ignore): Likewise.
* procfs.c (dbx_link_shadow_contents): Delete.
(dbx_link_bpt): New.
(procfs_mourn_inferior): Remove it if necessary.
(remove_dbx_link_breakpoint): Use it.
(insert_dbx_link_bpt_in_file): Set it.
(procfs_init_inferior): Don't update dbx_link_bpt_addr.
* rs6000-nat.c (exec_one_dummy_insn): Use
deprecated_insert_raw_breakpoint and
deprecated_remove_raw_breakpoint.
* solib-irix.c (shadow_contents, breakpoint_addr): Delete.
(base_breakpoint): New.
(disable_break): Use it.
(enable_break): Set it.
* i386-nat.c (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint):
Update.
* ia64-tdep.c (ia64_memory_insert_breakpoint)
(ia64_memory_remove_breakpoint): Likewise.
* m32r-tdep.c (m32r_memory_insert_breakpoint)
(m32r_memory_remove_breakpoint): Likewise.
* monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
Likewise. Remove unnecessary prototypes. Use placed_address
and placed_size. Removed useless read from memory.
* nto-procfs.c (procfs_insert_breakpoint)
(procfs_remove_breakpoint, procfs_insert_hw_breakpoint)
(procfs_remove_hw_breakpoint): Update.
* ocd.c (ocd_insert_breakpoint, ocd_remove_breakpoint): Likewise.
* ocd.h (ocd_insert_breakpoint, ocd_remove_breakpoint): Likewise.
* ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
* ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Likewise.
* remote-e7000.c (e7000_insert_breakpoint)
(e7000_remove_breakpoint): Likewise.
* remote-m32r-sdi.c (m32r_insert_breakpoint)
(m32r_remove_breakpoint): Likewise.
* remote-mips.c (mips_insert_breakpoint)
(mips_remove_breakpoint): Likewise.
* remote-rdp.c (remote_rdp_insert_breakpoint)
(remote_rdp_remove_breakpoint): Likewise.
(rdp_step): Use deprecated_insert_raw_breakpoint and
deprecated_remove_raw_breakpoint.
* remote-sds.c (sds_insert_breakpoint, sds_remove_breakpoint):
Update.
* remote-sim.c (gdbsim_insert_breakpoint, gdbsim_remove_breakpoint):
Delete.
(init_gdbsim_ops): Use memory_insert_breakpoint and
memory_remove_breakpoint.
* remote-st.c (st2000_insert_breakpoint)
(st2000_remove_breakpoint): Update. Remove unused
BREAKPOINT_FROM_PC.
* remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
Update. Use placed_address and placed_size.
(remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Likewise.
gdb/doc/
* gdbint.texinfo (x86 Watchpoints, Target Conditionals): Update insert
and remove breakpoint prototypes.
(Watchpoints): Move description of target_insert_hw_breakpoint and
target_remove_hw_breakpoint ...
(Breakpoints): ... to here. Document target_insert_breakpoint and
target_remove_breakpoint.
hjl [Tue, 18 Apr 2006 17:52:37 +0000 (17:52 +0000)]
gas/
2006-04-18 H.J. Lu <hongjiu.lu@intel.com>
PR gas/2533
* config/tc-i386.c (i386_immediate): Check illegal immediate
register operand.
gas/testsuite/
2006-04-18 H.J. Lu <hongjiu.lu@intel.com>
PR gas/2533
* gas/i386/inval.s: Add test for illegal immediate register
operand.
* gas/i386/inval.l: Updated.
cgf [Tue, 18 Apr 2006 16:24:53 +0000 (16:24 +0000)]
* exceptions.cc (ctrl_c_handler): Only exit TRUE on CTRL_LOGOFF_EVENT when we
have actually handled the event.
mmitchel [Tue, 18 Apr 2006 16:14:57 +0000 (16:14 +0000)]
* doc/porting.texi: Document libgloss build conventions.
amodra [Tue, 18 Apr 2006 10:11:09 +0000 (10:11 +0000)]
* config/tc-i386.c: Formatting.
(output_disp, output_imm): ISO C90 params.
amodra [Tue, 18 Apr 2006 09:58:26 +0000 (09:58 +0000)]
* frags.c (frag_offset_fixed_p): Constify args.
* frags.h (frag_offset_fixed_p): Ditto.
amodra [Tue, 18 Apr 2006 09:55:27 +0000 (09:55 +0000)]
* config/tc-dlx.h (tc_coff_symbol_emit_hook): Delete.
(COFF_MAGIC): Delete.
amodra [Tue, 18 Apr 2006 09:50:08 +0000 (09:50 +0000)]
* config/tc-xc16x.h (TC_LINKRELAX_FIXUP): Delete.
dannysmith [Tue, 18 Apr 2006 09:48:05 +0000 (09:48 +0000)]
2006-04-18 Eric House <ehouse@eehouse.org>
PocketPC support.
* include/aygshell.h: New file [_WIN32_WCE]. Declare most common
functions for using aygshell on PocketPC:
SHCreateMenuBar, SHFindMenuBar, SHCreateNewItem, SHFullScreen,
SHSipInfo, SHHandleWMActivate, SHHandleWMSettingChange
* include/commctrl.h [_WIN32_WCE] Add function prototypes for
command bar API on PocketPC:
CommandBar_Create, CommandBar_Show, CommandBar_AddBitmap,
CommandBar_InsertComboBox, CommandBar_InsertMenubar,
CommandBar_InsertMenubarEx, CommandBar_DrawMenuBar,
CommandBar_GetMenu, CommandBar_AddAdornments, CommandBar_Height,
CommandBar_InsertButton, CommandBar_Destroy.
* include/winbase.h [_WIN32_WCE] (WIN32_FIND_DATA{A|W}): Remove
fields not present on PocketPC.
(GetCurrentThreadId): Conditionally declare as extern function
without dllimport attribute on PocketPC.
(ResetEvent): Likwise.
(SetEvent): Likewise.
* include/wingdi.h [_WIN32_WCE] (GetTextExtentPoint32{A|W}):
Conditionally declare as extern function without dllimport
attribute on PocketPC.
* winuser.h [_WIN32_WCE] (DialogBoxParam{A|W}): Conditionally
declare as extern function without dllimport attribute on PocketPC.
nickc [Tue, 18 Apr 2006 09:41:35 +0000 (09:41 +0000)]
PR 2257
* elfcode.h (elf_object_p): Allow files with corrupt e_shstrndx fields to
still be handled as ELF files.
* readelf.c (SECTION_NAME): Cope with a missing string table.
(process_file_header): Cope with a corrupt e_shstrndx field.
(process_section_headers): Correctly handle an e_shstrndx value of SHF_UNDEF.
dannysmith [Tue, 18 Apr 2006 09:35:29 +0000 (09:35 +0000)]
2006-04-18 Eric House <ehouse@eehouse.org>
PocketPC support.
* include/aygshell.h: New file [_WIN32_WCE]. Declare most common
functions for using aygshell on PocketPC:
SHCreateMenuBar, SHFindMenuBar, SHCreateNewItem, SHFullScreen,
SHSipInfo, SHHandleWMActivate, SHHandleWMSettingChange
* include/commctrl.h [_WIN32_WCE] Add function prototypes for
command bar API on PocketPC:
CommandBar_Create, CommandBar_Show, CommandBar_AddBitmap,
CommandBar_InsertComboBox, CommandBar_InsertMenubar,
CommandBar_InsertMenubarEx, CommandBar_DrawMenuBar,
CommandBar_GetMenu, CommandBar_AddAdornments, CommandBar_Height,
CommandBar_InsertButton, CommandBar_Destroy.
* include/winbase.h [_WIN32_WCE] (WIN32_FIND_DATA{A|W}): Remove
fields not present on PocketPC.
(GetCurrentThreadId): Conditionally declare as extern function
without dllimport attribute on PocketPC.
(ResetEvent): Likwise.
(SetEvent): Likewise.
* include/wingdi.h [_WIN32_WCE] (GetTextExtentPoint32{A|W}):
Conditionally declare as extern function without dllimport
attribute on PocketPC.
* winuser.h [_WIN32_WCE] (DialogBoxParam{A|W}): Conditionally
declare as extern function without dllimport attribute on PocketPC.
nickc [Tue, 18 Apr 2006 09:19:28 +0000 (09:19 +0000)]
* dv-tx3904tmr.c (deliver_tx3904tmr_tick): Add missing break statement.
nickc [Tue, 18 Apr 2006 09:16:01 +0000 (09:16 +0000)]
ooops - omitted from previous delta
nickc [Tue, 18 Apr 2006 09:15:29 +0000 (09:15 +0000)]
* interp.c (sim_stop_reason): Fix typo.
dannysmith [Tue, 18 Apr 2006 04:38:03 +0000 (04:38 +0000)]
2006-04-18 Thorsten Dahlheimer (dahlheim@users.sf.net>
* include/wingdi.h (ColorCorrectPalette): Add declaration.
(CreateColorSpace): Add UNICODE mappings.
* lib/gdi32.def (ColorCorrectPalette): Add stub.
* include/icm.h: New file.
* lib/mscms.def: New file.
* lib/icmui.def: New file.
dannysmith [Tue, 18 Apr 2006 03:58:21 +0000 (03:58 +0000)]
2006-04-18 Thorsten Dahlheimer (dahlheim@users.sf.net>
* include/winnt.h (IMAGE_FILE_MACHINE_IA64): New define.
(IMAGE_FILE_MACHINE_AMD64): New define.
(IMAGE_NT_OPTIONAL_HDR{32|64}_MAGIC. New. Map to IMAGE_NT_OPTIONAL_HDR_MAGIC.
(IMAGE_SUBSYSTEM_NATIVE_WINDOWS): New define.
(IMAGE_SUBSYSTEM_WINDOWS_CE_GUI): New define.
(IMAGE_DLLCHARACTERISTICS_WDM_DRIVER): New define.
(IMAGE_DIRECTORY_ENTRY_*): New defines.
(IMAGE_SCN_TYPE_*): New defines.
(IMAGE_SCN_ALIGN_*): New defines.
(IMAGE_DEBUG_TYPE_BORLAND): New define.
(IMAGE_OPTIONAL_HEADER{32|64}): New structure definitions and typedefs. Map to
IMAGE_OPTIONAL_HEADERS.
(IMAGE_NT_HEADERS{32|64}): New structure definitions and typedefs. Map to
IMAGE_NT_HEADERS.
(IMAGE_LOAD_CONFIG_DIRECTORY64): New structure definition and typedefs.
(IMAGE_CE_RUNTIME_FUNCTION_ENTRY): Likewise.
(IMAGE_FUNCTION_ENTRY64): Likewise.
dannysmith [Tue, 18 Apr 2006 02:57:59 +0000 (02:57 +0000)]
2006-04-18 Bart Oldeman <bartoldeman@users.sf.net>
* lib/test.c: Fix typo in #inlcude.
* include/aclui.h: INTERFACE should not remain
defined at the end of the header.
* include/servprov.h: Ditto.
jimb [Tue, 18 Apr 2006 00:17:55 +0000 (00:17 +0000)]
gdb/doc/ChangeLog:
2006-04-17 Jim Blandy <jimb@codesourcery.com>
* gdb.texinfo (Packets): Note that 'addr' arguments to s, S, c,
and C packets are optional.
amodra [Tue, 18 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update