OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
18 years ago2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
ams [Tue, 21 Feb 2006 18:22:26 +0000 (18:22 +0000)]
2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>

* symfile.c (generic_load): Use buildargv() and tilde_expand()
to parse file names with quoting, spaces and tildes properly.
(load_command): Quote all special characters before calling
target_load() such that buildargv() doesn't break file names.
(_initialize_symfile): Mention the load offset in the help for
the load command.
* remote-sim.c: Include readline.h.
(gdbsim_load): Use buildargv and tilde_expand() to parse file
names with quoting, spaces and tildes properly.
* target.h (target_load): Comment the parameters better.
* Makefile.in (remote_sim.o): Add readline.h dependency.

testsuite/
* gdb.base/help.exp (help load): Update expected results.

18 years ago2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
ams [Tue, 21 Feb 2006 16:08:25 +0000 (16:08 +0000)]
2006-02-21  Andrew Stubbs  <andrew.stubbs@st.com>

* sh-tdep.c (sh_generic_show_regs): Reformat both code and output.
(sh3_show_regs, sh2e_show_regs, sh2a_show_regs): Likewise.
(sh2a_nofpu_show_regs, sh3e_show_regs, sh3_dsp_show_regs): Likewise.
(sh4_show_regs, sh4_nofpu_show_regs, sh_dsp_show_regs): Likewise.

18 years ago2006-02-21 Paul Brook <paul@codesourcery.com>
pbrook [Tue, 21 Feb 2006 15:13:54 +0000 (15:13 +0000)]
2006-02-21  Paul Brook  <paul@codesourcery.com>

* config/tc-arm.c (md_apply_fix): Fix off-by-one errors.

18 years ago * include/ddk/ntifs,h (FILE_ID_FULL_DIRECTORY_INFORMATION): Revert
dannysmith [Tue, 21 Feb 2006 08:28:01 +0000 (08:28 +0000)]
* include/ddk/ntifs,h (FILE_ID_FULL_DIRECTORY_INFORMATION): Revert
last change.
Remove file level #pragma pack(push,4)/#pragma pop.

18 years agomerge from gcc
dj [Tue, 21 Feb 2006 02:38:06 +0000 (02:38 +0000)]
merge from gcc

18 years agomerge from gcc
dj [Tue, 21 Feb 2006 02:01:56 +0000 (02:01 +0000)]
merge from gcc

18 years ago PR ld/2218
amodra [Tue, 21 Feb 2006 01:51:58 +0000 (01:51 +0000)]
PR ld/2218
* elf32-arm.c (allocate_dynrelocs): Ensure undef weak sym in pie
is dynamic.
* elf32-hppa.c (allocate_dynrelocs): Likewise.
* elf32-i386.c (allocate_dynrelocs): Likewise.
* elf32-s390.c (allocate_dynrelocs): Likewise.
* elf32-sh.c (allocate_dynrelocs): Likewise.
* elf64-s390.c (allocate_dynrelocs): Likewise.
* elf64-x86-64.c (allocate_dynrelocs): Likewise.
* elf32-m32r.c (allocate_dynrelocs): Likewise.  Discard relocs
on undef weak with non-default visibility too.
* elfxx-sparc.c (allocate_dynrelocs): Ditto.

18 years ago * bfd.c: (_bfd_default_error_handler): Don't call abort on
amodra [Tue, 21 Feb 2006 00:14:49 +0000 (00:14 +0000)]
* bfd.c: (_bfd_default_error_handler): Don't call abort on
error, instead call _exit.
(_bfd_abort): Call _exit not xexit.

18 years ago*** empty log message ***
gdbadmin [Tue, 21 Feb 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago2006-02-20 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 20 Feb 2006 23:23:59 +0000 (23:23 +0000)]
2006-02-20  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/fflush.c (fflush): For an fflush on a read-only
        stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
        * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
        seek, turn off the __SNPT no-optimization flag.

18 years ago2006-02-20 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 20 Feb 2006 20:10:59 +0000 (20:10 +0000)]
2006-02-20  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/2218
* ld-pie/pie.exp: Add the weak undefined data test.

* ld-pie/weakundef-data.c: New file.

18 years ago * linux-nat.c (lin_thread_get_thread_signals): Default to __SIGRTMIN
drow [Mon, 20 Feb 2006 17:01:28 +0000 (17:01 +0000)]
* linux-nat.c (lin_thread_get_thread_signals): Default to __SIGRTMIN
and __SIGRTMIN + 1.

18 years agofix typo
cgf [Mon, 20 Feb 2006 16:26:16 +0000 (16:26 +0000)]
fix typo

18 years ago* spawn.cc (av::fixup): Check for .bat and friends specifically now since these
cgf [Mon, 20 Feb 2006 16:15:50 +0000 (16:15 +0000)]
* spawn.cc (av::fixup): Check for .bat and friends specifically now since these
extensions are no longer automatically detected.

18 years ago * remote.c: Add an enumeration for configurable remote
drow [Mon, 20 Feb 2006 15:19:05 +0000 (15:19 +0000)]
* remote.c: Add an enumeration for configurable remote
packets.
(remote_protocol_packets, set_remote_protocol_packet_cmd)
(show_remote_protocol_packet_cmd): New.
(remote_protocol_vcont)
(set_remote_protocol_vcont_packet_cmd)
(show_remote_protocol_vcont_packet_cmd)
(remote_protocol_qSymbol)
(set_remote_protocol_qSymbol_packet_cmd)
(show_remote_protocol_qSymbol_packet_cmd)
(remote_protocol_P, set_remote_protocol_P_packet_cmd)
(show_remote_protocol_P_packet_cmd)
(remote_protocol_Z)
(set_remote_protocol_Z_software_bp_packet_cmd)
(show_remote_protocol_Z_software_bp_packet_cmd)
(set_remote_protocol_Z_hardware_bp_packet_cmd)
(show_remote_protocol_Z_hardware_bp_packet_cmd)
(set_remote_protocol_Z_write_wp_packet_cmd)
(show_remote_protocol_Z_write_wp_packet_cmd)
(set_remote_protocol_Z_read_wp_packet_cmd)
(show_remote_protocol_Z_read_wp_packet_cmd)
(set_remote_protocol_Z_access_wp_packet_cmd)
(show_remote_protocol_Z_access_wp_packet_cmd)
(remote_protocol_binary_download)
(set_remote_protocol_binary_download_cmd)
(show_remote_protocol_binary_download_cmd)
(remote_protocol_qPart_auxv)
(set_remote_protocol_qPart_auxv_packet_cmd)
(show_remote_protocol_qPart_auxv_packet_cmd)
(remote_protocol_qGetTLSAddr)
(set_remote_protocol_qGetTLSAddr_packet_cmd)
(show_remote_protocol_qGetTLSAddr_packet_cmd)
(remote_protocol_p)
(set_remote_protocol_p_packet_cmd)
(show_remote_protocol_p_packet_cmd): Delete.

(init_all_packet_configs): Simplify.
(set_remote_protocol_Z_packet_cmd)
(show_remote_protocol_Z_packet_cmd)
(remote_check_symbols, remote_vcont_probe, remote_vcont_resume)
(remote_fetch_registers, remote_prepare_to_store)
(remote_store_registers, check_binary_download)
(remote_write_bytes, remote_insert_breakpoint)
(remote_remove_breakpoint, remote_insert_watchpoint)
(remote_remove_watchpoint, remote_insert_hw_breakpoint)
(remote_remove_hw_breakpoint, remote_xfer_partial)
(remote_get_thread_local_address): Update for packet array.
(_initialize_remote): Likewise; also update for common
set/show commands.

18 years ago * symfile.c (place_section): Correct retry logic.
drow [Mon, 20 Feb 2006 15:02:09 +0000 (15:02 +0000)]
* symfile.c (place_section): Correct retry logic.

18 years ago2006-02-20 Paolo Bonzini <bonzini@gnu.org>
bonzini [Mon, 20 Feb 2006 08:34:53 +0000 (08:34 +0000)]
2006-02-20  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/25670

* Makefile.tpl ([+compare-target+]): Print explanation messages.

* Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
* Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
(EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
BUILD_PREFIX, BUILD_PREFIX_1.
* configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.

* Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
* Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.

* Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
of `cat stage_current`.  Always provide the `r' and `s' variables.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
a single shell execution.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
bootstrapped modules, make the stage1 module if the build was not
started yet, else build the current stage.
(all-host, all-target): Omit bootstrapped modules (if bootstrapping).
(all-build, all-host, all-target, [+make_target+]-host,
[+make_target+]-target): Do not use \-continued lines.
(target modules): Depend on stage_last, not all-gcc, if bootstrapping.
(current_stage, restrap, stage_last): New.

* Makefile.in: Regenerate.
* configure: Regenerate.

18 years ago* win32_nat.c (cygwin_load_start): New variable.
cgf [Mon, 20 Feb 2006 05:10:50 +0000 (05:10 +0000)]
* win32_nat.c (cygwin_load_start): New variable.
(cygwin_load_end): Ditto.
(have_saved_context): Ditto.
(saved_context): Ditto.
(max_dll_name_len): Delete obsolete variable.
(do_win32_fetch_inferior_registers): Use context saved from cygwin1.dll if we
are in a cygwin signal rather than a windows signal.
(solib_symbols_add): Detect and store beginning and end of cygwin DLL if dll
being loaded is the cygwin DLL.
(register_loaded_dll): Remove calculation of max_dll_name_len.
(win32_clear_solib): Ditto.
(handle_load_dll): Delete obsolete variable.  Remove unneeded call to
solib_add.
(handle_output_debug_string): Detect and store signal information sent by
Cygwin here.
(handle_exception): Silently pass on errors in the cygwin DLL.  Return -1 on
first pass exception.
(win32_continue): Remove spurious clearing of continue_status.
(get_win32_debug_event): Deal differently first chance exception.

18 years agorevert erroneous checkin
cgf [Mon, 20 Feb 2006 02:06:37 +0000 (02:06 +0000)]
revert erroneous checkin

18 years agorevert erroneous checkin
cgf [Mon, 20 Feb 2006 02:06:15 +0000 (02:06 +0000)]
revert erroneous checkin

18 years ago* exceptions.cc (stackdump): Avoid dumping more than once.
cgf [Mon, 20 Feb 2006 02:04:31 +0000 (02:04 +0000)]
* exceptions.cc (stackdump): Avoid dumping more than once.

18 years ago* exceptions.cc (stackdump): Avoid dumping more than once.
cgf [Mon, 20 Feb 2006 02:04:21 +0000 (02:04 +0000)]
* exceptions.cc (stackdump): Avoid dumping more than once.

18 years ago*** empty log message ***
gdbadmin [Mon, 20 Feb 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Sun, 19 Feb 2006 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago* fhandler_disk_file.cc (fhandler_disk_file::opendir): Use NtOpenFile to open
cgf [Sun, 19 Feb 2006 21:18:36 +0000 (21:18 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Use NtOpenFile to open
the directory.
(fhandler_disk_file::readdir): Use NT_SUCCESS to determine if status represents
success.

18 years agoReviewed and approved by Daniel Jacobowitz
fnf [Sun, 19 Feb 2006 20:53:34 +0000 (20:53 +0000)]
Reviewed and approved by Daniel Jacobowitz

2006-02-19  Fred Fish  <fnf@specifix.com>
* gdb.base/pc-fp.exp (get_valueofx): Don't print environment
specifix hex value as part of results.
* gdb.base/shreloc.exp (get_msym_addrs): Ditto.

18 years ago * include/ddk/ntifs.h (FILE_ID_FULL_DIRECTORY_INFORMATION): Add filler
corinna [Sun, 19 Feb 2006 10:56:19 +0000 (10:56 +0000)]
* include/ddk/ntifs.h (FILE_ID_FULL_DIRECTORY_INFORMATION): Add filler
value to force correct alignment.

18 years ago * include/commctrl.h (LPNMLVCACHEHINT): Correct spelling.
dannysmith [Sun, 19 Feb 2006 09:21:59 +0000 (09:21 +0000)]
* include/commctrl.h (LPNMLVCACHEHINT): Correct spelling.
Thanks to: Sebastian Pipping <hartwork at users dot sf dot net>
(PNM_CACHEHINT): Add backward compatibilty define.
(LPNM_CACHEHINT): Likewise.

18 years ago * fhandler_disk_file.cc (fhandler_disk_file::opendir): Drop generating
corinna [Sun, 19 Feb 2006 08:34:25 +0000 (08:34 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Drop generating
path_conv for root.

18 years ago2006-02-19 Randolph Chung <tausq@debian.org>
tausq [Sun, 19 Feb 2006 07:21:26 +0000 (07:21 +0000)]
2006-02-19  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa_in_solib_call_trampoline): Only use if no
unwind entry.

18 years ago*** empty log message ***
gdbadmin [Sun, 19 Feb 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Sat, 18 Feb 2006 23:00:08 +0000 (23:00 +0000)]
daily update

18 years ago 2006-02-16 Fred Fish <fnf@specifix.com>
fnf [Sat, 18 Feb 2006 20:47:54 +0000 (20:47 +0000)]
2006-02-16  Fred Fish  <fnf@specifix.com>
* eval.c (evaluate_subexp_standard):  For OP_TYPE, return
a non lval value zero, of the appropriate type, when avoiding
side effects.
* typeprint.c (ptype_eval): Remove function and declaration.
(ptype_command): Simplify to just a call to whatis_exp.

18 years ago 2006-02-17 Fred Fish <fnf@specifix.com>
fnf [Sat, 18 Feb 2006 20:45:01 +0000 (20:45 +0000)]
2006-02-17  Fred Fish  <fnf@specifix.com>
* gdb.texinfo (Symbols): Update descriptions of 'whatis' and
'ptype' commands to reflect the fact that the only significant
difference between them is that ptype prints the complete type
description instead of just the name.

18 years ago 2006-02-16 Fred Fish <fnf@specifix.com>
fnf [Sat, 18 Feb 2006 20:01:17 +0000 (20:01 +0000)]
2006-02-16  Fred Fish  <fnf@specifix.com>
* gdb.base/whatis.c: Define variables using typedefs char_addr,
ushort_addr, and slong_addr, so the typedefs are not optimized
away.
* gdb.base/whatis.exp: Add tests using type name for struct type,
union type, enum type, and typedef.

18 years ago * fhandler_disk_file.cc (FS_IS_SAMBA): Move out of
corinna [Sat, 18 Feb 2006 10:46:53 +0000 (10:46 +0000)]
* fhandler_disk_file.cc (FS_IS_SAMBA): Move out of
path_conv::hasgood_inode.
(path_conv::is_samba): New method.
(fhandler_base::fstat_by_handle): Don't even try to use
FileIdBothDirectoryInformation on Samba.
* path.h (class path_conv): Declare is_samba method.

18 years ago*** empty log message ***
gdbadmin [Sat, 18 Feb 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Fri, 17 Feb 2006 23:00:05 +0000 (23:00 +0000)]
daily update

18 years ago* path.cc (conv_path_list): Eat empty paths when converting to POSIX.
cgf [Fri, 17 Feb 2006 20:12:11 +0000 (20:12 +0000)]
* path.cc (conv_path_list): Eat empty paths when converting to POSIX.
(cygwin_conv_to_win32_path): Deal with Cygwin's necessity of adding a '/' to
the end of a path ending in '.'.

18 years ago * elf32-frv.c (elf32_frv_grok_prstatus, elf32_frv_grok_psinfo):
kevinb [Fri, 17 Feb 2006 18:08:00 +0000 (18:08 +0000)]
* elf32-frv.c (elf32_frv_grok_prstatus, elf32_frv_grok_psinfo):
New functions.
* elf_backend_grok_prstatus, elf_backend_grok_psinfo): Define.

18 years agoAdd support for the Infineon XC16X.
nickc [Fri, 17 Feb 2006 14:36:20 +0000 (14:36 +0000)]
Add support for the Infineon XC16X.

18 years ago * readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
skrll [Fri, 17 Feb 2006 12:58:46 +0000 (12:58 +0000)]
* readelf.c (get_machine_flags): Add logic for missing EF_SH flags.

18 years ago * elf32-ppc.c (allocate_dynrelocs): Tweak undef weak handling.
amodra [Fri, 17 Feb 2006 12:52:58 +0000 (12:52 +0000)]
* elf32-ppc.c (allocate_dynrelocs): Tweak undef weak handling.
* elf64-ppc.c (allocate_dynrelocs): Likewise.

18 years ago * cygpath.cc (get_long_name): Load GetLongPathNameA instead of incorrect
corinna [Fri, 17 Feb 2006 12:17:47 +0000 (12:17 +0000)]
* cygpath.cc (get_long_name): Load GetLongPathNameA instead of incorrect
GetLongPathName.
(doit): Create mixed filename after converting to short or long pathname
respectively.

18 years ago * ps.cc (main): Set aflag if -p option is given.
corinna [Fri, 17 Feb 2006 11:16:23 +0000 (11:16 +0000)]
* ps.cc (main): Set aflag if -p option is given.

18 years ago PR ld/2218
amodra [Fri, 17 Feb 2006 04:49:33 +0000 (04:49 +0000)]
PR ld/2218
* elf64-ppc.c (allocate_dynrelocs): Ensure undef weak sym is
dynamic.
(ppc64_elf_relocate_section): Check output reloc section size.
* elf32-ppc.c (allocate_dynrelocs): Simplify undef weak test.

18 years ago*** empty log message ***
gdbadmin [Fri, 17 Feb 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Thu, 16 Feb 2006 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago2006-02-16 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 16 Feb 2006 21:25:44 +0000 (21:25 +0000)]
2006-02-16  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
        will be defined.
        * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
        <features.h> to preset special flags.

18 years ago * cygwin.din: Export sigignore and sigset.
corinna [Thu, 16 Feb 2006 18:21:48 +0000 (18:21 +0000)]
* cygwin.din: Export sigignore and sigset.
* exceptions.cc (sigset): New function.
(sigignore): New function.
* include/cygwin/signal.h (SIG_HOLD): Define.
(sigignore): Declare.
(sigset): Declare.
* include/cygwin/version.h: Bump API minor number to 154.

18 years ago2006-02-16 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 16 Feb 2006 18:07:54 +0000 (18:07 +0000)]
2006-02-16  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/2322
* elf.c (get_segment_type): New function.
(_bfd_elf_print_private_bfd_data): Use it.
(print_segment_map): New function.
(assign_file_positions_for_segments): Call print_segment_map
when there are not enough room for program headers.

18 years ago * ps.cc (longopts): Add --process option.
corinna [Thu, 16 Feb 2006 11:17:19 +0000 (11:17 +0000)]
* ps.cc (longopts): Add --process option.
(opts): Add -p option.
(usage): Mention -p/--process option.
(main): Handle -p option.
* utils.sgml: Describe -p/--process option.

18 years ago bfd:
skrll [Thu, 16 Feb 2006 08:05:02 +0000 (08:05 +0000)]
bfd:
* config.bfd (mips*el-*-netbsd*, mips*-*-netbsd*): Use
traditional MIPS ELF targets.

gas:
* configure.tgt: set emulation for mips-*-netbsd*

ld:
* configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
Use the traditional target.

18 years ago*** empty log message ***
gdbadmin [Thu, 16 Feb 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Wed, 15 Feb 2006 23:00:05 +0000 (23:00 +0000)]
daily update

18 years ago2006-02-15 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 15 Feb 2006 22:29:42 +0000 (22:29 +0000)]
2006-02-15  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/2338
* dwarf2.c (check_function_name): New function.
(_bfd_dwarf2_find_nearest_line): Use check_function_name to
check if function is correct.

18 years agominor comment restructuring
cgf [Wed, 15 Feb 2006 22:11:13 +0000 (22:11 +0000)]
minor comment restructuring

18 years agominor comment restructuring
cgf [Wed, 15 Feb 2006 22:10:56 +0000 (22:10 +0000)]
minor comment restructuring

18 years ago2006-02-15 Paul Brook <paul@codesourcery.com>
pbrook [Wed, 15 Feb 2006 17:36:11 +0000 (17:36 +0000)]
2006-02-15  Paul Brook  <paul@codesourcery.com>

* arm-tdep.c (arm_skip_prologue, thumb_get_next_pc, arm_get_next_pc):
Load insn opcodes as unsigned values.

18 years ago * linux-low.c (regsets_store_inferior_registers): Read the regset
drow [Wed, 15 Feb 2006 14:36:32 +0000 (14:36 +0000)]
* linux-low.c (regsets_store_inferior_registers): Read the regset
from the target before filling it.

18 years ago * elflink.c (_bfd_elf_default_action_discarded): Return 0 for
amodra [Wed, 15 Feb 2006 14:12:53 +0000 (14:12 +0000)]
* elflink.c (_bfd_elf_default_action_discarded): Return 0 for
debug sections.
(elf_link_input_bfd): Adjust comments.

18 years ago * regtool.cc (usage): Clarify help for "-K".
corinna [Wed, 15 Feb 2006 10:57:17 +0000 (10:57 +0000)]
* regtool.cc (usage): Clarify help for "-K".

18 years ago * libc/include/sys/time.h (struct timeval): Change member types
corinna [Wed, 15 Feb 2006 10:26:30 +0000 (10:26 +0000)]
* libc/include/sys/time.h (struct timeval): Change member types
according to SUSv3.
* libc/include/sys/types.h (useconds_t): Change to unsigned
according to SUSv3.
(suseconds_t): Define type.

18 years ago*** empty log message ***
gdbadmin [Wed, 15 Feb 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Tue, 14 Feb 2006 23:00:07 +0000 (23:00 +0000)]
daily update

18 years agoUpdate copyright notice
aoliva [Tue, 14 Feb 2006 19:05:40 +0000 (19:05 +0000)]
Update copyright notice

18 years ago* doublest.h (DOUBLEST): Use long double only if we can scan
aoliva [Tue, 14 Feb 2006 18:45:13 +0000 (18:45 +0000)]
* doublest.h (DOUBLEST): Use long double only if we can scan
it in.  Undefine HAVE_LONG_DOUBLE otherwise.
(DOUBLEST_FORMAT): New.
* c-exp.y (parse_number): Use it.
* jv-exp.y (parse_number): Likewise.
* objc-exp.y (parse_number): Likewise.
* p-exp.y (parse_number): Likewise.
* varobj.c (free_variable): Silence type-punning warnings.
* tui/tui-data.h (struct tui_list): Change type of list member.
* tui/tui-data.c: Remove no-longer-needed type casts.
(source_windows): Silence type-punning warnings.
* tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Likewise.

18 years agoFix PR breakpoints/2080.
kettenis [Tue, 14 Feb 2006 15:41:59 +0000 (15:41 +0000)]
Fix PR breakpoints/2080.
* i386-tdep.c (struct i386_frame_cache): Add stack_align member.
(i386_analyze_stack_align): New function.
(i386_analyze_prologue): Use i386_analyze_stack_align.
(i386_frame_cache): Deal with stack realignment.

18 years ago2006-02-14 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 14 Feb 2006 09:29:42 +0000 (09:29 +0000)]
2006-02-14  Paolo Bonzini  <bonzini@gnu.org>

Sync from gcc:

2006-01-31  Richard Guenther  <rguenther@suse.de>
    Paolo Bonzini  <bonzini@gnu.org>

        * Makefile.def (target_modules): Add libgcc-math target module.
        * configure.in (target_libraries): Add libgcc-math target library.
        (--enable-libgcc-math): New configure switch.
        * Makefile.in: Re-generate.
        * configure: Re-generate.
        * libgcc-math: New toplevel directory.

2006-01-18  Richard Henderson  <rth@redhat.com>
            Jakub Jelinek  <jakub@redhat.com>
            Diego Novillo  <dnovillo@redhat.com>

        * libgomp: New directory.
        * Makefile.def: Add target_module libgomp.
        * Makefile.in: Regenerate.
        * configure.in (target_libraries): Add target-libgomp.
        * configure: Regenerate.

18 years ago2006-02-14 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 14 Feb 2006 09:22:15 +0000 (09:22 +0000)]
2006-02-14  Paolo Bonzini  <bonzini@gnu.org>
    Andreas Schwab  <schwab@suse.de>

* configure: Regenerate.

config:
2006-02-14  Paolo Bonzini  <bonzini@gnu.org>
            Andreas Schwab  <schwab@suse.de>

        * acx.m4 (NCN_STRICT_CHECK_TARGET_TOOLS): Use correct program name.
(ACX_CHECK_INSTALLED_TARGET_TOOL): Likewise, and always set $1.

18 years agoUse more functions from gdb-ui.el.
nickrob [Tue, 14 Feb 2006 09:20:07 +0000 (09:20 +0000)]
Use more functions from gdb-ui.el.
(gdb-break-list-regexp): Match "what" field if present.
(gdb-stack-list-frames-regexp): Match "from" field if present.
(gdb-stack-list-frames-handler): Present output like "info
breakpoints" so regexps can be shared with gdb-ui

18 years ago*** empty log message ***
nickrob [Tue, 14 Feb 2006 09:18:31 +0000 (09:18 +0000)]
*** empty log message ***

18 years agogas/
jakub [Tue, 14 Feb 2006 08:59:09 +0000 (08:59 +0000)]
gas/
* config.in: Rebuilt.
binutils/
* config.in: Rebuilt.

18 years ago * config/tc-xtensa.c (xg_add_opcode_fix): Number operands starting
bwilson [Tue, 14 Feb 2006 00:58:05 +0000 (00:58 +0000)]
* config/tc-xtensa.c (xg_add_opcode_fix): Number operands starting
from 1, not 0, in error messages.
(md_assemble): Simplify special-case check for ENTRY instructions.
(tinsn_has_invalid_symbolic_operands): Do not include opcode and
operand in error message.

18 years ago*** empty log message ***
gdbadmin [Tue, 14 Feb 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Mon, 13 Feb 2006 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago* gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
kettenis [Mon, 13 Feb 2006 22:33:26 +0000 (22:33 +0000)]
* gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.

18 years ago* include/mntent.h: Add missing #include.
cgf [Mon, 13 Feb 2006 19:01:32 +0000 (19:01 +0000)]
* include/mntent.h: Add missing #include.

18 years ago* gentls_offsets: Fix typo in error message.
cgf [Mon, 13 Feb 2006 18:58:58 +0000 (18:58 +0000)]
* gentls_offsets: Fix typo in error message.

18 years agogdb/testsuite/ChangeLog:
jimb [Mon, 13 Feb 2006 18:11:38 +0000 (18:11 +0000)]
gdb/testsuite/ChangeLog:
2006-02-13  Jim Blandy  <jimb@redhat.com>

* gdb.base/scope.exp (test_at_main): Remove logic to handle the
case where it takes two "next" commands to skip past the init
call.

18 years ago2006-02-13 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 13 Feb 2006 17:27:46 +0000 (17:27 +0000)]
2006-02-13  Jeff Johnston  <jjohnstn@redhat.com>
            David Carne  <davidcarne@gmail.com>

        * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
        instead of strlen to determine number of bytes to copy.
        * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
        before looking at storage location.

18 years agogas:
jsm28 [Mon, 13 Feb 2006 15:08:43 +0000 (15:08 +0000)]
gas:
* configure.tgt (arm-*-linux-gnueabi*): Change to
arm-*-linux-*eabi*.

ld:
* configure.tgt (arm*b-*-linux-gnueabi): Change to
arm*b-*-linux-*eabi.
(arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.

18 years ago2006-02-13 Earnie Boyd <earnie@users.sf.net>
earnie [Mon, 13 Feb 2006 13:33:07 +0000 (13:33 +0000)]
2006-02-13  Earnie Boyd  <earnie@users.sf.net>

* Makefile.in (libmsvcr80.a): Add import lib.
(libmsvcr80d.a): Ditto.

18 years agoReviewed and approved by Jim Blandy
fnf [Mon, 13 Feb 2006 10:41:26 +0000 (10:41 +0000)]
Reviewed and approved by Jim Blandy

2006-02-12  Fred Fish  <fnf@specifix.com>
* gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
to handle cases where it takes two "next" commands to skip
past the init call.

18 years ago * gdbint.texinfo (Watchpoints): Delete
woodzltc [Mon, 13 Feb 2006 08:34:11 +0000 (08:34 +0000)]
* gdbint.texinfo (Watchpoints): Delete
        TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT.

18 years ago*** empty log message ***
gdbadmin [Mon, 13 Feb 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Sun, 12 Feb 2006 23:00:05 +0000 (23:00 +0000)]
daily update

18 years ago2006-02-12 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 12 Feb 2006 17:26:21 +0000 (17:26 +0000)]
2006-02-12  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/x86-64-crx-suffix.d: Undo the last change.

18 years agomerge from gcc
dj [Sun, 12 Feb 2006 15:54:25 +0000 (15:54 +0000)]
merge from gcc

18 years ago*** empty log message ***
gdbadmin [Sun, 12 Feb 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Sat, 11 Feb 2006 23:00:04 +0000 (23:00 +0000)]
daily update

18 years agogas/testsuite/
hjl [Sat, 11 Feb 2006 18:08:34 +0000 (18:08 +0000)]
gas/testsuite/

2006-02-11  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Add "x86-64-drx" and "x86-64-drx-suffix".

* gas/i386/x86-64-crx-suffix.d: Minor update.

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

opcodes/

2006-02-11  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (dis386_twobyte): Use "movZ" for debug register
moves.

18 years agogas/testsuite/
hjl [Sat, 11 Feb 2006 17:00:57 +0000 (17:00 +0000)]
gas/testsuite/

2006-02-11  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Add "x86-64-crx" and "x86-64-crx-suffix".

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

opcodes/

2006-02-11  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c ('Z'): Add a new macro.
(dis386_twobyte): Use "movZ" for control register moves.

18 years ago* fhandler_process.cc (format_process_stat): Use cygwin-derived start time even
cgf [Sat, 11 Feb 2006 04:53:14 +0000 (04:53 +0000)]
* fhandler_process.cc (format_process_stat): Use cygwin-derived start time even
on NT since it is the logical start time of the "process".
* pinfo.cc (set_myself): Don't set start time when it should have already been
set previously.

18 years agorevert previously applied patch.
cgf [Sat, 11 Feb 2006 00:07:43 +0000 (00:07 +0000)]
revert previously applied patch.

18 years ago* times.cc (clock_getres): Use correct conversion from milliseconds to
cgf [Sat, 11 Feb 2006 00:06:49 +0000 (00:06 +0000)]
* times.cc (clock_getres): Use correct conversion from milliseconds to
seconds/nanoseconds.
(clock_setres): Use correct conversion to nanoseconds.

18 years ago*** empty log message ***
gdbadmin [Sat, 11 Feb 2006 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Fri, 10 Feb 2006 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago * NEWS: Mention native Windows support.
drow [Fri, 10 Feb 2006 22:01:43 +0000 (22:01 +0000)]
* NEWS: Mention native Windows support.
* Makefile.in (gdb_select_h, ser_tcp_h): New.
(ALLDEPFILES): Add ser-mingw.c.
(event-loop.o, inflow.o, mingw-hdep.o, posix-hdep.o, ser-base.o)
(ser-tcp.o, ser-unix.o): Update.
(ser-mingw.o): New rule.
* configure: Regenerated.
* configure.ac: Add ser-mingw.o for mingw32.
* ser-mingw.c: New file.
* event-loop.c: Include "gdb_select.h".
(gdb_select): Remove, moved to mingw-hdep.c and posix-hdep.c.
* ser-base.c: Include "gdb_select.h".
(ser_base_wait_for): Use gdb_select.
* serial.c (serial_for_fd): New function.
(serial_fdopen): Try "terminal" before "hardwire".  Initialize
the allocated struct serial.
(serial_wait_handle): New function.
* serial.h (serial_for_fd, serial_wait_handle): New prototypes.
(struct serial_ops) [USE_WIN32API]: Add wait_handle.
* gdb_select.h: New file.
* ser-tcp.c: Include "ser-tcp.h".  Remove unused "ser-unix.h" include.
(net_close, net_read_prim, net_write_prim): Make global.
(net_open): Likewise.  Pass an exception set to select.  Whitespace fix.
Document why we can not use gdb_select.
(_initialize_ser_tcp) [USE_WIN32API]: Do not register TCP support here.
* ser-tcp.h: New file.
* inflow.c (gdb_has_a_terminal): Don't initialize stdin_serial here.
(handle_sigio): Use gdb_select.
(initialize_stdin_serial): New function.
* terminal.h (initialize_stdin_serial): New prototype.
* top.c (gdb_init): Call initialize_stdin_serial.
* mingw-hdep.c (gdb_select): New function, moved from gdb_select in
event-loop.c.  Add exception condition support.  Use serial_for_fd
and serial_wait_handle.  Fix timeout handling.
* posix-hdep.c: Include "gdb_select.h".
(gdb_select): New function.
* remote-st.c (connect_command): Use gdb_select.
* ser-unix.c: Include "gdb_select.h".
(hardwire_send_break, wait_for): Use gdb_select.

18 years ago * Makefile.in (mingw-hdep.o, posix-hdep.o): New dependencies.
drow [Fri, 10 Feb 2006 21:53:50 +0000 (21:53 +0000)]
* Makefile.in (mingw-hdep.o, posix-hdep.o): New dependencies.
(ALLDEPFILES): Add mingw-hdep.c and posix-hdep.c.
* configure.ac: Add gdb_host_obs to CONFIG_OBS.  Set gdb_host_obs
to posix-hdep.o by default.
* configure: Regenerated.
* configure.host: Document gdb_host_obs.  Add an entry for
i[34567]86-*-mingw32*.
* mingw-hdep.c, posix-hdep.c: New files.
* utils.c (safe_strerror): Remove, moved to posix-hdep.o.