OSDN Git Service
gdbadmin [Sun, 28 Dec 2008 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 27 Dec 2008 00:00:09 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 27 Dec 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
sandra [Fri, 26 Dec 2008 19:11:53 +0000 (19:11 +0000)]
2008-12-26 Sandra Loosemore <sandra@codesourcery.com>
gdb/
* breakpoint.c (update_watchpoint): Refactor to avoid compiler
warning.
gdbadmin [Fri, 26 Dec 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 26 Dec 2008 00:00:04 +0000 (00:00 +0000)]
daily update
cgf [Thu, 25 Dec 2008 15:55:30 +0000 (15:55 +0000)]
* mount.cc: Change comment.
(smb_extended_info): Move here from path.cc.
(fs_info::update): Ditto.
(mount_info::create_root_entry): Delay conversion to slashes and use passed in
buffer to figure out fs type.
* path.cc (smb_extended_info): Move.
(fs_info::update): Ditto.
* mount.h: New file. Move mount information here.
* path.h: (fs_info::update): Move.
* shared_info.h (mount_item): Ditto.
amodra [Thu, 25 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 25 Dec 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Wed, 24 Dec 2008 16:34:38 +0000 (16:34 +0000)]
* path.cc (symlink_info::check_shortcut): Ensure that symlink handle is closed
on successful return.
jkratoch [Wed, 24 Dec 2008 10:06:43 +0000 (10:06 +0000)]
Fix the LM32 port entry timestamp for the time of its application.
jkratoch [Wed, 24 Dec 2008 09:58:03 +0000 (09:58 +0000)]
opcodes/
* Makefile.am (CFILES, ALL_MACHINES): Add LM32 source and object files.
* Makefile.in: Regenerate.
ccoutant [Wed, 24 Dec 2008 06:17:18 +0000 (06:17 +0000)]
* gold.cc (gold_exit): Call plugin cleanup handlers on exit.
* plugin.cc (Plugin_manager::finish): Rename as
layout_deferred_objects. Move cleanup to separate function.
(Plugin_manager::cleanup): New function.
(Plugin_finish::run): Call layout_deferred_objects and cleanup
separately.
* plugin.h (Plugin_manager::finish): Rename as
layout_deferred_objects.
(Plugin_manager::cleanup): New function.
(Plugin_manager::cleanup_done): New field.
amodra [Wed, 24 Dec 2008 00:00:04 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 24 Dec 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
ccoutant [Tue, 23 Dec 2008 23:46:55 +0000 (23:46 +0000)]
* plugin.cc (is_visible_from_outside): New function.
(Pluginobj::get_symbol_resolution_info): Call is_visible_from_outside
so we don't return "IR only" status for exported symbols or -r links.
* testsuite/Makefile.am (plugin_test_3): New test case.
* testsuite/Makefile.in: Regenerate.
* testsuite/plugin_test_3.sh: New file.
nickc [Tue, 23 Dec 2008 19:10:17 +0000 (19:10 +0000)]
Add LM32 port.
cgf [Tue, 23 Dec 2008 18:22:31 +0000 (18:22 +0000)]
* fhandler.h (fhandler_base_setup_overlapped): Add new argument.
(fhandler_base::get_overlapped_buffer): Declare new function.
(fhandler_base::set_overlapped): Ditto.
(fhandler_pipe::overlapped): New variable.
(fhandler_pipe::get_overlapped): Rework to return contents of overlapped
variable.
(fhandler_pipe::set_overlapped): Set overlapped variable based on argument.
(fhandler_fifo::get_overlapped_buffer): Return pointer to io_status.
* fhandler.cc (handler_base::setup_overlapped): Set to overlapped pointer to
NULL if new doit parameter is false. Otherwise set up overlapped event as
usual.
(fhandler_base::wait_overlapped): Return inres if this isn't an overlapped
operation.
(fhandler_base::read_overlapped): Remove inappropriate asserts.
* pipe.cc (fhandler_pipe::fhandler_pipe): Zero overlapped element.
(struct pipesync): Delete.
(getov_result): Ditto.
(pipe_handler): Ditto.
(pipesync::pipesync): Ditto.
(fhandler_pipe::init): Don't set up pipesync thread. Just pass opened_properly
flag along to overlapped setup.
fche [Tue, 23 Dec 2008 17:31:59 +0000 (17:31 +0000)]
2008-12-23 Frank Ch. Eigler <fche@redhat.com>
* sim.scm (-op-gen-queued-write): Add needed symbol->string.
jkratoch [Tue, 23 Dec 2008 17:18:58 +0000 (17:18 +0000)]
* gdb.cp/punctuator.exp: Backslash the '$' signs.
hjl [Tue, 23 Dec 2008 15:14:14 +0000 (15:14 +0000)]
gas/
2008-12-23 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (match_template): Changed to return
const template *. Handle i.swap_operand for 3 operands.
(build_vex_prefix): Take const template *. Swap operand for
2-byte VEX prefix if possible.
(md_assemble): Updated.
(build_modrm_byte): Handle RegMem bit for SSE2AVX.
gas/testsuite/
2008-12-23 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp: Run x86-64-avx-swap and x86-64-avx-swap-intel.
* gas/i386/opts.s: Add tests for movsd, movss, vmovsd and
vmovss.
* gas/i386/x86-64-opts.s: Likewise.
* gas/i386/opts.d: Updated.
* gas/i386/opts-intel.d: Likewise.
* gas/i386/sse2avx-opts.d: Likewise.
* gas/i386/sse2avx-opts-intel.d: Likewise.
* gas/i386/x86-64-opts.d: Likewise.
* gas/i386/x86-64-opts-intel.d: Likewise.
* gas/i386/x86-64-sse2avx-opts.d: Likewise.
* gas/i386/x86-64-sse2avx-opts-intel.d: Likewise.
* gas/i386/x86-64-avx-swap.d: New.
* gas/i386/x86-64-avx-swap.s: Likewise.
* gas/i386/x86-64-avx-swap-intel.d: Likewise.
opcodes/
2008-12-23 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (EXdS): New.
(EXdVexS): Likewise.
(EXqVexS): Likewise.
(d_swap_mode): Likewise.
(q_mode): Updated.
(prefix_table): Use EXdS on movss and EXqS on movsd.
(vex_len_table): Use EXdVexS on vmovss and EXqVexS on vmovsd.
(intel_operand_size): Handle d_swap_mode.
(OP_EX): Likewise.
* i386-opc.h (S): Update comments.
* i386-opc.tbl: Add S to movss, movsd, vmovss and vmovsd.
* i386-tbl.h: Regenerated.
hjl [Tue, 23 Dec 2008 14:36:39 +0000 (14:36 +0000)]
2008-12-23 H.J. Lu <hongjiu.lu@intel.com>
PR ld/7036
* elfxx-ia64.c (elfNN_ia64_relax_section): Assume linker will
always insert 32byte between the .plt and .text sections after
the the first relaxation pass.
gingold [Tue, 23 Dec 2008 13:52:58 +0000 (13:52 +0000)]
2008-12-23 Tristan Gingold <gingold@adacore.com>
* Makefile.am (EXTRA_DIST): Add deffilep.c and deffilep.h
* Makefile.in: Regenerate.
nickc [Tue, 23 Dec 2008 11:46:17 +0000 (11:46 +0000)]
PR 7093
* elf32-arm.c (bfd_elf32_arm_init_maps): Only process ARM ELF
object files.
hp [Tue, 23 Dec 2008 11:45:25 +0000 (11:45 +0000)]
* lib/ld-lib.exp (run_dump_test): New option ld_after_inputfiles.
* ld-cris/libdso-1c.d, ld-cris/expdref2.s, ld-cris/libdso-15b.d,
ld-cris/expdyn1w.s, ld-cris/libdso-1d.d, ld-cris/tls-ie-78.d: New
tests.
gingold [Tue, 23 Dec 2008 11:32:44 +0000 (11:32 +0000)]
2008-12-23 Tristan Gingold <gingold@adacore.com>
* mach-o.c (bfd_mach_o_make_bfd_section): Use the standard ELF name
.eh_frame for __TEXT.__eh_frame so that it is recognized by gdb.
Use shorter sections name for well known sections.
(bfd_mach_o_scan_read_dylinker): Only put dylinker name in the
section content.
(bfd_mach_o_scan_read_segment): Use shorter sections name for
well known segments.
(bfd_mach_o_scan_read_command): Ignore some new commands.
(bfd_mach_o_openr_next_archived_file): Use more descriptive names
for members filename.
(bfd_mach_o_fat_extract): New function to easily extract members
of a fat binary.
* mach-o.h (bfd_mach_o_load_command_type): Add new constants.
(bfd_mach_o_dylinker_command): Fix comment and reindent.
(bfd_mach_o_fat_extract): New prototype.
nickc [Tue, 23 Dec 2008 10:59:55 +0000 (10:59 +0000)]
* coffcode.h (coff_write_object_contents): Always initialise
section.s_page.
* ti.h (COFF_ADJUST_SCNHDR_OUT_PRE): Define.
schwab [Tue, 23 Dec 2008 10:23:53 +0000 (10:23 +0000)]
* elf32-m68k.c (elf_m68k_discard_copies): Use SYMBOL_CALLS_LOCAL.
(elf_m68k_relocate_section): Use SYMBOL_CALLS_LOCAL and
SYMBOL_REFERENCES_LOCAL.
(elf_m68k_relocate_section): Likewise.
ktietz [Tue, 23 Dec 2008 10:00:31 +0000 (10:00 +0000)]
2008-12-23 Kai Tietz <kai.tietz@onevision.com>
* rcparse.y (rcdata_data): Allow empty comma elements.
nickc [Tue, 23 Dec 2008 09:54:26 +0000 (09:54 +0000)]
* po/ga.po: Updated Irish translation.
nickc [Tue, 23 Dec 2008 09:51:38 +0000 (09:51 +0000)]
* config/tc-avr.c (mcu_types): Add attiny87, attiny327, atmega4hvd,
atmega8hvd, atmega16hvb, atmega32hvb, atmega64c1, atmega16m1,
atmega64m1, atmega32u6, atmega128rfa1, at90pwm81, at90scr100,
m3000f, m3000s and m3001b devices.
* doc/c-avr.texi: Likewise.
nickc [Tue, 23 Dec 2008 09:01:44 +0000 (09:01 +0000)]
Remove STT_IFUNC support.
ccoutant [Tue, 23 Dec 2008 02:02:20 +0000 (02:02 +0000)]
* object.cc (Sized_relobj::layout_section): New function.
(Sized_relobj::do_layout): Defer layout of input sections until after
plugin has provided replacement files.
(Sized_relobj::do_layout_deferred_sections): New function.
* object.h (Relobj::set_section_offset): Remove virtual keyword.
(Relobj::layout_deferred_sections): New function.
(Relobj::do_layout_deferred_sections): New function.
(Sized_relobj::do_layout_deferred_sections): New function.
(Sized_relobj::layout_section): New function.
(Sized_relobj::Deferred_layout): New structure.
(Sized_relobj::deferred_layout_): New field.
* plugin.cc (Plugin_manager::finish): Renamed, was cleanup.
Change all callers. Layout deferred sections.
(class Plugin_finish): Renamed, was Plugin_cleanup. Change all
references.
(Plugin_hook::run): Move code from do_plugin_hook inline.
(Plugin_hook::do_plugin_hook): Remove.
* plugin.h (Plugin_manager::Plugin_manager): Add missing initializers.
(Plugin_manager::finish): Renamed, was cleanup.
(Plugin_manager::should_defer_layout): New function.
(Plugin_manager::add_deferred_layout_object): New function.
(Plugin_manager::Deferred_layout_list): New type.
(Plugin_manager::deferred_layout_objects_): New field.
(Plugin_hook::do_plugin_hook): Remove.
hp [Tue, 23 Dec 2008 01:40:24 +0000 (01:40 +0000)]
* arch.c, arch.h, cpu.c, cpu.h, cpuall.h, decode.c, decode.h,
model.c, sem.c: Regenerate.
gdbadmin [Tue, 23 Dec 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 23 Dec 2008 00:00:04 +0000 (00:00 +0000)]
daily update
tromey [Mon, 22 Dec 2008 23:11:55 +0000 (23:11 +0000)]
* stack.c (print_block_frame_locals): Print spaces, not tabs.
Update for call to print_variable_and_value.
(print_frame_arg_vars): Update.
* value.h (print_variable_and_value): Rename from
print_variable_value. Add 'name' and 'indent' parameters.
* printcmd.c (print_variable_and_value): Rename from
print_variable_value. Add 'name' and 'indent' parameters. Use
common_val_print.
* f-valprint.c (info_common_command): Update.
tromey [Mon, 22 Dec 2008 19:45:56 +0000 (19:45 +0000)]
* python/python-value.c (valpy_length): Remove #if.
jjohnstn [Mon, 22 Dec 2008 19:45:40 +0000 (19:45 +0000)]
2008-12-19 Jeff Johnston <jjohnstn@redhat.com>
* NEWS: Update with 1.17.0 info.
* README: Ditto.
* acinclude.m4: Change version number to 1.17.0.
* aclocal.m4: Regenerated.
* configure: Ditto.
* doc/aclocal.m4: Ditto.
* doc/configure: Ditto.
* libc/*/aclocal.m4: Ditto.
* libc/*/configure: Ditto.
* libc/libc.texinfo: Ditto.
* libm/*/aclocal.m4: Ditto.
* libm/*/configure: Ditto.
* libm/libm.texinfo: Ditto.
* libc/sys/linux/shared.ld: Add VERS_1.17
cgf [Mon, 22 Dec 2008 19:18:00 +0000 (19:18 +0000)]
* pipe.cc (getov_result): Minor cleanup.
tromey [Mon, 22 Dec 2008 16:25:15 +0000 (16:25 +0000)]
2008-12-22 Paul Pluzhnikov <ppluzhnikov@google.com>
* python/python-internal.h (PyEval_ReleaseLock): New define.
tromey [Mon, 22 Dec 2008 14:20:59 +0000 (14:20 +0000)]
gdb
* c-exp.y (ident_tokens): New global.
(struct token) <cxx_only>: New field.
(tokentab3): Update.
(tokentab2): Update.
(yylex): Use ident_tokens.
gdb/testsuite
* gdb.cp/punctuator.exp: New file.
tromey [Mon, 22 Dec 2008 14:06:25 +0000 (14:06 +0000)]
2008-12-22 Adam Denton <adenton@yahoo.com>
PR gdb/8307:
* environ.c (free_environ): Free e->vector.
jkratoch [Mon, 22 Dec 2008 13:19:28 +0000 (13:19 +0000)]
gdb/
Fix memory double-free.
* completer.c (line_completion_function): Clear LIST after called xfree.
gdb/testsuite/
* gdb.base/completion.exp (Completing non-existing component): New test.
brobecke [Mon, 22 Dec 2008 04:37:37 +0000 (04:37 +0000)]
* breakpoint.c (update_watchpoint): Adjust and extend the description
of this function. Fix one error message accordingly.
amodra [Mon, 22 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 22 Dec 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
hp [Sun, 21 Dec 2008 20:18:05 +0000 (20:18 +0000)]
* gas/cris/rd-dtpoffd1.d, gas/cris/rd-dtpoffd1.s: New test.
hp [Sun, 21 Dec 2008 20:16:47 +0000 (20:16 +0000)]
* config/tc-cris.c (s_cris_dtpoff): New function.
(md_pseudo_table): Add "dtpoffd".
jkratoch [Sun, 21 Dec 2008 17:38:55 +0000 (17:38 +0000)]
Fix for PR gdb/8648.
* gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
jkratoch [Sun, 21 Dec 2008 15:01:30 +0000 (15:01 +0000)]
gdb/
Fix hw watchpoints created before the inferior was started.
* breakpoint.c (update_watchpoint): Convert the bp_watchpoint and
bp_hardware_watchpoint types according to the current runtime state.
gdb/testsuite/
* gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
rwild [Sun, 21 Dec 2008 12:45:51 +0000 (12:45 +0000)]
Add missing ChangeLog entries for my last commit.
cgf [Sun, 21 Dec 2008 01:54:32 +0000 (01:54 +0000)]
* pipe.cc (getov_result): Add parameters to facilitate better EOF checking.
(pipe_handler): Pass extra arguments to getov_result.
gdbadmin [Sun, 21 Dec 2008 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 21 Dec 2008 00:00:07 +0000 (00:00 +0000)]
daily update
cgf [Sat, 20 Dec 2008 19:20:00 +0000 (19:20 +0000)]
* fhandler.cc (fhandler_base::wait_overlapped): Reorganize to eliminate gotos
and to hopefully eliminate one race when a signal is detected or there is a
WFMO error.
hjl [Sat, 20 Dec 2008 18:20:16 +0000 (18:20 +0000)]
2008-12-20 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (parse_insn): Optimize ".s" handling.
hjl [Sat, 20 Dec 2008 17:40:49 +0000 (17:40 +0000)]
gas/
2008-12-20 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (_i386_insn): Add swap_operand.
(parse_insn): Handle ".s".
(match_template): Handle swap_operand.
* doc/c-i386.texi: Document .s suffix.
gas/testsuite/
2008-12-20 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp: Run opts, opts-intel, sse2avx-opts,
sse2avx-opts-intel, x86-64-opts, x86-64-opts-intel,
x86-64-sse2avx-opts and x86-64-sse2avx-opts-intel.
* gas/i386/opts.d: New.
* gas/i386/opts-intel.d: Likewise.
* gas/i386/opts.s: Likewise.
* gas/i386/sse2avx-opts.d: Likewise.
* gas/i386/sse2avx-opts-intel.d: Likewise.
* gas/i386/x86-64-opts.d: Likewise.
* gas/i386/x86-64-opts-intel.d: Likewise.
* gas/i386/x86-64-opts.s: Likewise.
* gas/i386/x86-64-sse2avx-opts.d: Likewise.
* gas/i386/x86-64-sse2avx-opts-intel.d: Likewise.
opcodes/
2008-12-20 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (EbS): New.
(EvS): Likewise.
(EMS): Likewise.
(EXqS): Likewise.
(EXxS): Likewise.
(b_swap_mode): Likewise.
(v_swap_mode): Likewise.
(q_swap_mode): Likewise.
(x_swap_mode): Likewise.
(v_mode): Updated.
(w_mode): Likewise.
(t_mode): Likewise.
(xmm_mode): Likewise.
(swap_operand): Likewise.
(dis386): Use EbS on movB. Use EvS on moveS.
(dis386_twobyte): Use EXxS on movapX.
(prefix_table): Use EXxS on movups, movupd, movdqu, movdqa,
vmovups, vmovdqu, vmovdqa. Use EMS and EXqS on movq.
(vex_table): Use EXxS on vmovapX.
(vex_len_table): Use EXqS on vmovq.
(intel_operand_size): Handle b_swap_mode, v_swap_mode,
q_swap_mode and x_swap_mode.
(OP_E_register): Handle b_swap_mode and v_swap_mode.
(OP_EM): Handle v_swap_mode.
(OP_EX): x_swap_mode and q_swap_mode.
* i386-gen.c (opcode_modifiers): Add S.
* i386-opc.h (S): New.
(Modrm): Updated.
(i386_opcode_modifier): Add s.
* i386-opc.tbl: Add S to movapd, movaps, movdqa, movdqu, movq,
movupd, movups, vmovapd, vmovaps, vmovdqa, vmovdqu and vmovq.
* i386-tbl.h: Regenerated.
cgf [Sat, 20 Dec 2008 17:32:31 +0000 (17:32 +0000)]
* pinfo.h (pinfo::thisproc): Declare. Rename from set_myself.
* pinfo.cc (pinfo::thisproc): Define. Rename from set_myself. Set procinfo to
NULL to avoid confusing subsequent init.
(pinfo_init): Accommodate set_myself -> pinfo::thisproc rename.
* dcrt0.cc (child_info_fork::handle_fork): Ditto.
(child_info_spawn::handle_spawn): Ditto.
corinna [Sat, 20 Dec 2008 09:35:18 +0000 (09:35 +0000)]
* pwdgrp.h (pwdgrp::refresh): Fix indentation.
* uinfo.cc (pwdgrp::load): Open file synchronized to avoid truncated
read. Drop local variable off.
ironhead [Sat, 20 Dec 2008 03:55:37 +0000 (03:55 +0000)]
2008-12-16 Danny Smith <dannysmith@users.sourceforge.net>
* msvcrt.def.in (___lc_codepage_func, ___lc_collate_cp_func,
___lc_handle_func, ___mb_cur_max_func, ___setlc_active_func,
___unguarded_readlc_active_add_func, __crtCompareStringW,
__crtGetStringTypeW, __crtLCMapStringW, __pctype_func,
__pwctype_func, __iob_func, __uncaught_exception, __wcserror,
__CxxDetectRethrow, __CxxExceptionFilter, __CxxQueryExceptionSize,
__CxxRegisterExceptionObject, __CxxUnregisterExceptionObject,
__CxxCallUnwindDtor, __DestructExceptionObject, _aligned_free,
_aligned_malloc, _aligned_offset_malloc, _aligned_offset_realloc,
_aligned_realloc, _cgetws, _cputws, _cwprintf, _cwscanf, _getwch,
_getwche, _putwch, _resetstkoflw, _scprintf, _scwprintf,
_set_SSE2_enable, _snscanf, _snwscanf, _strtoi64, _strtoui64,
_ungetwch, _vscprintf, _vscwprintf, _wcserror, _wcstoi64,
_wcstoui64, _wctype, _wtof, _get_heap_handle): Always export.
hp [Sat, 20 Dec 2008 00:30:39 +0000 (00:30 +0000)]
* ld-cris/tls-err-77.d, ld-cris/tls-gc-79.d, ld-cris/tls-ie-8e.s,
ld-cris/tls-ie-8e1.d: New tests.
hp [Sat, 20 Dec 2008 00:28:57 +0000 (00:28 +0000)]
* gas/cris/rd-tls-1.s, gas/cris/rd-tls-1.d: Test :IE and
decoration on double-indirect.
* gas/cris/tls-err-1.s: Test :IE on wrong-size operand.
hp [Sat, 20 Dec 2008 00:27:34 +0000 (00:27 +0000)]
* config/tc-cris.c (cris_process_instruction): Handle
BFD_RELOC_CRIS_32_IE, in the test whether the relocation fits.
(get_3op_or_dip_prefix_op): Handle TLS/PIC decoration for the
"double indirect" addressing mode.
(cris_get_reloc_suffix): Add entry for :IE for BFD_RELOC_CRIS_32_IE.
(cris_number_to_imm, tc_gen_reloc): Handle BFD_RELOC_CRIS_32_IE.
hp [Sat, 20 Dec 2008 00:26:35 +0000 (00:26 +0000)]
* elf32-cris.c (cris_elf_howto_table): Add entry for R_CRIS_32_IE.
(cris_reloc_map): Similarly.
(cris_elf_relocate_section, cris_elf_gc_sweep_hook)
(cris_elf_check_relocs): Handle R_CRIS_32_IE.
* reloc.c (bfd_reloc_code_type): Add entry for R_CRIS_32_IE.
* bfd-in2.h, libbfd.h: Regenerate.
hp [Sat, 20 Dec 2008 00:24:16 +0000 (00:24 +0000)]
* cris.h (R_CRIS_32_IE): New relocation.
gdbadmin [Sat, 20 Dec 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 20 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update
cgf [Fri, 19 Dec 2008 19:09:48 +0000 (19:09 +0000)]
* pinfo.cc (pinfo_basic): New class.
(pinfo_basic::pinfo_basic): Define constructor for new class.
(myself): Initialize from myself_initial.
(set_myself): Set pid and progname from already myself_initial.
* strace.cc (strace::strace): Split apart strace::hello. Send notification to
strace as early as possible.
(strace::hello): Just send clause which describes the current process. This
can now be preceded by early initialization strace output.
* include/sys/strace.h (strace::strace): Declare new constructor.
corinna [Fri, 19 Dec 2008 14:31:40 +0000 (14:31 +0000)]
* fhandler_registry.cc (perf_data_files): New table.
(PERF_DATA_FILE_COUNT): New constant.
(fhandler_registry::exists): Add check for HKEY_PERFORMANCE_DATA
value names.
(fhandler_registry::fstat): For HKEY_PERFORMANCE_DATA, return
default values only.
(fhandler_registry::readdir): For HKEY_PERFORMANCE_DATA, list
names from perf_data_files only.
(fhandler_registry::fill_filebuf): Use larger buffer to speed up
access to HKEY_PERFORMANCE_DATA values. Remove check for possible
subkey. Add RegCloseKey ().
(open_key): Replace goto by break, remove label. Do not try to
open subkey of HKEY_PERFORMANCE_DATA. Add missing RegCloseKey ()
after open subkey error.
corinna [Fri, 19 Dec 2008 12:15:33 +0000 (12:15 +0000)]
* path.cc (path_conv::check): Handle incoming DOS paths non-POSIXy,
always case-insensitive, always ignoring ACLs.
gdbadmin [Fri, 19 Dec 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 19 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update
hjl [Thu, 18 Dec 2008 22:47:27 +0000 (22:47 +0000)]
gas/testsuite/
2008-12-18 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/intel.d: Remove trailing white spaces after nop.
* gas/i386/intelpic.d: Likewise.
* gas/i386/nops16-1.d: Likewise.
* gas/i386/nops-1-i686.d: Likewise.
* gas/i386/nops-3.d: Likewise.
* gas/i386/nops-3-i386.d: Likewise.
* gas/i386/nops-3-i686.d: Likewise.
* gas/i386/nops-4.d: Likewise.
* gas/i386/nops-4-i386.d: Likewise.
* gas/i386/nops-4-i686.d: Likewise.
* gas/i386/opcode.d: Likewise.
* gas/i386/opcode-suffix.d: Likewise.
* gas/i386/reloc.d: Likewise.
* gas/i386/tlsnopic.d: Likewise.
* gas/i386/x86-64-nops-1.d: Likewise.
* gas/i386/x86-64-nops-1-nocona.d: Likewise.
* gas/i386/x86-64-nops-2.d: Likewise.
* gas/i386/x86-64-nops-3.d: Likewise.
* gas/i386/x86-64-nops-4-core2.d: Likewise.
* gas/i386/x86-64-nops-4.d: Likewise.
* gas/i386/x86-64-nops-4-k8.d: Likewise.
* gas/i386/x86-64-opcode.d: Likewise.
ld/testsuite/
2008-12-18 H.J. Lu <hongjiu.lu@intel.com>
* ld-i386/tlsld1.dd: Remove trailing white spaces after nop.
opcodes/
2008-12-18 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (mnemonicendp): New.
(op): Likewise.
(print_insn): Use mnemonicendp.
(OP_3DNowSuffix): Likewise.
(CMP_Fixup): Likewise.
(CMPXCHG8B_Fixup): Likewise.
(CRC32_Fixup): Likewise.
(OP_DREX_FCMP): Likewise.
(OP_DREX_ICMP): Likewise.
(VZERO_Fixup): Likewise.
(VCMP_Fixup): Likewise.
(PCLMUL_Fixup): Likewise.
(VPERMIL2_Fixup): Likewise.
(MOVBE_Fixup): Likewise.
(putop): Update mnemonicendp.
(oappend): Use stpcpy.
(simd_cmp_op): Changed to struct op.
(vex_cmp_op): Likewise.
(pclmul_op): Likewise.
(vpermil2_op): Likewise.
rwild [Thu, 18 Dec 2008 21:36:44 +0000 (21:36 +0000)]
Backport link test fix from upstream Libtool:
* libltdl.m4 (_LT_SYS_DYNAMIC_LINKER, _LT_LINKER_SHLIBS):
Add cache variables to tests that require the linker to work.
For shlibpath_overrides_runpath, this also changes the semantics
to let the result from the C compiler take precedence.
compiler take precedence.
binutils/
* configure: Regenerate.
opcodes/
* configure: Regenerate.
bfd/
* configure: Regenerate.
gas/
* configure: Regenerate.
gprof/
* configure: Regenerate.
ld/
* configure: Regenerate.
palves [Thu, 18 Dec 2008 21:35:22 +0000 (21:35 +0000)]
* linux-nat.c (linux_child_follow_fork): If following the child,
and not detaching the parent, also add the child fork to the fork
list.
* linux-fork.c (linux_fork_context): Remove dead error call.
Assert that the incoming newfp argument is not null. Do not add a
new fork for inferior_ptid. Assert that there is one already.
corinna [Thu, 18 Dec 2008 18:54:24 +0000 (18:54 +0000)]
* fhandler_disk_file.cc: Set 4th parameter of NtQueryDirectoryFile to
NULL throughout.
(fhandler_disk_file::facl): Fix a condition so that fstat_by_handle
is actually used.
(fhandler_disk_file::readdir): Don't print debug message on a simple
STATUS_NO_MORE_FILES status code.
dj [Thu, 18 Dec 2008 15:56:12 +0000 (15:56 +0000)]
merge from gcc
corinna [Thu, 18 Dec 2008 15:37:19 +0000 (15:37 +0000)]
* path.cc (symlin_info::check): Set 4th parameter of
NtQueryDirectoryFile to NULL instead of 0 since it's a pointer.
Simplify label and break from loop handling in symlink evaluation
conditional expression. Drop a now useless break statement. Fix
behaviour when searching for `foo' and then finding a `foo.lnk'
which is no shortcut.
bje [Thu, 18 Dec 2008 03:26:46 +0000 (03:26 +0000)]
* config.sub, config.guess: Update from upstream sources.
ian [Thu, 18 Dec 2008 01:53:38 +0000 (01:53 +0000)]
* options.h (class General_options): Add --no case for
--export-dynamic.
gdbadmin [Thu, 18 Dec 2008 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 18 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update
jjohnstn [Wed, 17 Dec 2008 23:16:07 +0000 (23:16 +0000)]
2008-12-17 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Updated.
* COPYING.LIBGLOSS: Ditto.
jjohnstn [Wed, 17 Dec 2008 23:09:09 +0000 (23:09 +0000)]
2008-12-17 Jon Beniston <jon@beniston.com>
* configure.host: Set syscall_dir for lm32 target.
jjohnstn [Wed, 17 Dec 2008 23:08:09 +0000 (23:08 +0000)]
2008-12-17 Jon Beniston <jon@beniston.com>
* README: Add description of lm32 directory.
* configure.in: Add lm32 target.
* configure: Regenerated.
* libnosys/configure.in: Add lm32 target.
* libnosys/configure: Regenerated.
* lm32: New directory.
* lm32/aclocal.m4: New file.
* lm32/Makefile.in: New file.
* lm32/configure.in: New file.
* lm32/configure: New file.
* lm32/crt0.S: New file.
* lm32/isatty.c: New file.
* lm32/scall.S: New file.
* lm32/sim.ld: New file.
devans [Wed, 17 Dec 2008 04:27:18 +0000 (04:27 +0000)]
Update my email address.
hp [Wed, 17 Dec 2008 02:31:16 +0000 (02:31 +0000)]
(cris_elf_relocate_section) <R_CRIS_8, R_CRIS_16, R_CRIS_32>: Add missing
gate h != NULL for h->def_regular test.
hp [Wed, 17 Dec 2008 02:15:34 +0000 (02:15 +0000)]
* ld-cris/expalltst3, ld-cris/expdyn2.s, ld-cris/libdso-15.d: New
tests.
hp [Wed, 17 Dec 2008 02:14:30 +0000 (02:14 +0000)]
* elf32-cris.c (elf_cris_copy_indirect_symbol): Return without
action for symbols other than bfd_link_hash_indirect.
amodra [Wed, 17 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 17 Dec 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
ccoutant [Tue, 16 Dec 2008 19:19:15 +0000 (19:19 +0000)]
* plugin.cc (Plugin::load): Move LDPT_MESSAGE to front of transfer
vector.
(Plugin_manager::claim_file): Create plugin object even if
plugin did not call the add_symbols callback.
(Plugin_obj::get_symbol_resolution_info): Guard against plugin
asking for more symbols than were added.
* testsuite/Makefile.am (plugin_test_1): Add test case with
no global symbols.
(empty.syms): New target.
* testsuite/Makefile.in: Regenerate.
* testsuite/plugin_test.c (claim_file_hook): Add new debug
message. Don't call add_symbols if no globals.
(all_symbols_read_hook): Don't provide replacement for empty
claimed file.
denis [Tue, 16 Dec 2008 13:15:50 +0000 (13:15 +0000)]
2008-12-16 Christophe Lyon <christophe.lyon@st.com>
* gdb.base/expand-psymtabs.c: Insert code in foo so that the
compiler actually generate code at the expected line number.
bonzini [Tue, 16 Dec 2008 12:31:18 +0000 (12:31 +0000)]
2008-12-16 Paolo Bonzini <bonzini@gnu.org>
Sync with GCC:
2008-12-12 Sebastian Pop <sebastian.pop@amd.com>
* configure.ac (ppllibs): Add by default the lib flags.
* configure: Regenerate.
2008-12-04 Jack Howarth <howarth@bromo.med.uc.edu>
* configure.ac: Add double brackets on darwin[912].
* configure: Regenerate.
2008-12-02 Jack Howarth <howarth@bromo.med.uc.edu>
* configure.ac: Expand to darwin10 and later.
* configure: Regenerate.
gingold [Tue, 16 Dec 2008 11:15:57 +0000 (11:15 +0000)]
2008-12-16 Tristan Gingold <gingold@adacore.com>
* inflow.c: Remove old_sigio, handle_sigio, old_fcntl_flags,
set_sigio_trap, clear_sigio_trap definitions.
* inferior.h: Remove set_sigio_trap and clear_sigio_trap declarations.
* inf-ptrace.c (inf_ptrace_wait): Remove call to set_sigio_trap
and clear_sigio_trap.
* inf-ttrace.c (inf_ttrace_wait): Ditto.
* linux-nat.c (linux_nat_wait): Ditto.
* spu-linux-nat.c (spu_child_wait): Ditto.
* rs6000-nat.c (rs6000_wait): Ditto.
* target.c: Remove target_activity_function and target_activity_fd.
* target.h: Remove target_activity_function and target_activity_fd
declarations.
corinna [Tue, 16 Dec 2008 10:56:33 +0000 (10:56 +0000)]
* utils.sgml: Fix typo in passwd screen text.
corinna [Tue, 16 Dec 2008 09:20:05 +0000 (09:20 +0000)]
* fhandler_registry.cc (DEFAULT_VALUE_NAME): Remove constant.
(encode_regname): Encode empty (default) name to "@".
Encode "@" to "%40". Change error return to -1.
(decode_regname): Decode "@" to empty name. Decode "%40" to "@".
(fhandler_registry::exists): Skip check for keys if name is empty.
Remove check for DEFAULT_VALUE_NAME, now handled by decode_regname ().
(fhandler_registry::readdir): Remove check for empty name, now
handled by encode_regname ().
(fhandler_registry::open): Remove check for DEFAULT_VALUE_NAME.
(fhandler_registry::open_key): Fail with ENOENT if key name is empty.
denis [Tue, 16 Dec 2008 09:07:57 +0000 (09:07 +0000)]
- Fix a problem with "File Close" menu that let insight becoming unstable
and unable to reopen a new binary (Linux and Win32 hosts)
- Fix a problem with the source window that, once a binary is closed, is
splitted into 2 part and alway displays the old sources. (Win32 hosts only)
2008-12-16 Denis Pilat <denis.pilat@st.com>
on behalf of Nunzio Raciti <nunzio.raciti@st.com>
* library/srctextwin.itb (_clear_cache): Take care of $p variable that
could contains ":" for source pane on windows hosts.
* library/srcwin.itb (choose_and_update): Avoid updating the "source"
window if target executable name is empty.
brobecke [Tue, 16 Dec 2008 06:14:00 +0000 (06:14 +0000)]
* gdb.texinfo (Omissions from Ada): Add missing GDB prompt in
examples.
(Additions to Ada): Likewise. Add the missing opening and closing
parenthesis of the GDB prompt in one of the examples.