OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
12 years agoUpdate gas/i386/x86-64-branch.d to support win64.
hjl [Fri, 5 Aug 2011 14:11:42 +0000 (14:11 +0000)]
Update gas/i386/x86-64-branch.d to support win64.

2011-08-05  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/x86-64-branch.d: Pass -dw to objdump and support
win64.

12 years ago* netbsd-core.c (netbsd_core_vec): Init match_priority field.
kettenis [Fri, 5 Aug 2011 12:37:24 +0000 (12:37 +0000)]
* netbsd-core.c (netbsd_core_vec): Init match_priority field.

12 years agogdb/testsuite/
qiyao [Fri, 5 Aug 2011 09:41:26 +0000 (09:41 +0000)]
gdb/testsuite/
        * gdb.base/callfuncs.exp: Set language after main.
        * gdb.cp/cplusfuncs.exp: Likewise.
        * gdb.cp/inherit.exp: Likewise.

12 years ago * include/winnt.h (IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE,
corinna [Fri, 5 Aug 2011 07:02:26 +0000 (07:02 +0000)]
* include/winnt.h (IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE,
IMAGE_DLLCHARACTERISTICS_FORCE_INTEGRITY,
IMAGE_DLLCHARACTERISTICS_NX_COMPAT): Fix typo in definitions.
(IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE,
IMAGE_DLL_CHARACTERISTICS_FORCE_INTEGRITY,
IMAGE_DLL_CHARACTERISTICS_NX_COMPAT): Keep broken definitions for
backward compatibility.

12 years agobfd/
amodra [Fri, 5 Aug 2011 06:22:21 +0000 (06:22 +0000)]
bfd/
* elf64-ppc.c (maybe_strip_output): New function.
(ppc64_elf_size_stubs): Use it to strip .branch_lt and .eh_frame.
ld/testsuite/
* ld-powerpc/tlsexe.r: Update for stripped .branch_lt.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlsso.r: Likewise.
* ld-powerpc/tlstocso.r: Likewise.

12 years ago PR ld/12762
amodra [Fri, 5 Aug 2011 03:17:09 +0000 (03:17 +0000)]
PR ld/12762
bfd/
* elflink.c (_bfd_elf_section_already_linked): Return matched
status.  Remove COFF comdat section handling.
* linker.c (_bfd_generic_section_already_linked): Return matched
status.  Don't set SEC_GROUP in l_flags for plugin entries.
(bfd_section_already_linked): Update prototype.
* targets.c (_section_already_linked): Likewise.
* elf-bfd.h (_bfd_elf_section_already_linked): Likewise.
* libbfd-in.h (_bfd_generic_section_already_linked): Likewise.
(_bfd_nolink_section_already_linked): Update.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
ld/
* plugin.c (add_symbols): Exclude comdat_key symbols from symbol
table if already seen.

12 years ago * elf32-ppc.c: Include dwarf2.h.
amodra [Fri, 5 Aug 2011 02:24:08 +0000 (02:24 +0000)]
* elf32-ppc.c: Include dwarf2.h.
(struct ppc_elf_link_hash_table): Add glink_eh_frame.
(ppc_elf_create_glink): Create .eh_frame section.
(glink_eh_frame_cie): New array.
(ppc_elf_size_dynamic_sections): Size glink_eh_frame.
(ppc_elf_finish_dynamic_sections): Write glink_eh_frame.

12 years agogdb/
jkratoch [Fri, 5 Aug 2011 01:46:09 +0000 (01:46 +0000)]
gdb/
* spu-tdep.c (info_spu_event_command, info_spu_signal_command)
(info_spu_mailbox_list, info_spu_mailbox_command, info_spu_dma_cmdlist)
(info_spu_dma_command, info_spu_proxydma_command): Rename uiout
references to current_uiout.

12 years ago*** empty log message ***
gdbadmin [Fri, 5 Aug 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Fri, 5 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update

12 years agoCall bfd_cache_close_all on error
hjl [Thu, 4 Aug 2011 20:53:57 +0000 (20:53 +0000)]
Call bfd_cache_close_all on error

2011-08-04  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/13056
* output-file.c (output_file_close): Call bfd_cache_close_all
on error.

* write.c (write_object_file): Revert the last change.

12 years agoReplace remove_output with ld_cleanup in comments.
hjl [Thu, 4 Aug 2011 20:47:45 +0000 (20:47 +0000)]
Replace remove_output with ld_cleanup in comments.

2011-08-04  H.J. Lu  <hongjiu.lu@intel.com>

* ldmain.c (main): Replace remove_output with ld_cleanup in
comments.

12 years agoAdd a testcase for group error.
hjl [Thu, 4 Aug 2011 20:20:05 +0000 (20:20 +0000)]
Add a testcase for group error.

2011-08-04  H.J. Lu  <hongjiu.lu@intel.com>

* gas/elf/bad-group.d: New.
* gas/elf/bad-group.err: Likewise.
* gas/elf/bad-group.s: Likewise.

* gas/elf/elf.exp: Run bad-group.

12 years ago2011-08-04 Pedro Alves <pedro@codesourcery.com>
palves [Thu, 4 Aug 2011 20:09:43 +0000 (20:09 +0000)]
2011-08-04  Pedro Alves  <pedro@codesourcery.com>

* event-loop.c (gdb_do_one_event): Remove `data' parameter.
(start_event_loop): Use TRY_CATCH instead of catch_errors.
* event-loop.h (gdb_do_one_event): Remove `data' parameter.
* top.c (gdb_readline_wrapper): Adjust.
* tui/tui-interp.c (tui_command_loop):
(_initialize_tui_interp): Don't install it.

12 years ago2011-08-04 Pedro Alves <pedro@codesourcery.com>
palves [Thu, 4 Aug 2011 20:09:34 +0000 (20:09 +0000)]
2011-08-04  Pedro Alves  <pedro@codesourcery.com>

* event-loop.c (gdb_do_one_event): Remove `data' parameter.
(start_event_loop): Use TRY_CATCH instead of catch_errors.
* event-loop.h (gdb_do_one_event): Remove `data' parameter.
* top.c (gdb_readline_wrapper): Adjust.
* tui/tui-interp.c (tui_command_loop):
(_initialize_tui_interp): Don't install it.

12 years ago2011-08-04 Pedro Alves <pedro@codesourcery.com>
palves [Thu, 4 Aug 2011 19:10:01 +0000 (19:10 +0000)]
2011-08-04  Pedro Alves  <pedro@codesourcery.com>

* ui-out.h (uiout): Rename to ...
(current_uiout): ... this.
* ui-out.c (uiout): Rename to ...
(current_uiout): ... this.
* ada-lang.c (print_it_exception, print_one_exception)
(print_mention_exception): Adjust.
* breakpoint.c (watchpoint_check): Adjust.
(print_breakpoint_location, print_one_breakpoint, breakpoint_1)
(default_collect_info, watchpoints_info, print_one_catch_fork)
(print_one_catch_vfork, print_one_catch_syscall)
(print_one_catch_exec, mention, print_it_ranged_breakpoint)
(print_one_ranged_breakpoint, print_mention_ranged_breakpoint)
(print_it_watchpoint, print_mention_watchpoint)
(print_it_masked_watchpoint, print_mention_masked_watchpoint)
(print_it_exception_catchpoint, print_one_exception_catchpoint)
(print_mention_exception_catchpoint, say_where, bkpt_print_it)
(bkpt_print_mention, momentary_bkpt_print_it)
(tracepoint_print_mention, update_static_tracepoint)
(tracepoints_info, save_breakpoints): Adjust.
* cli-out.c (field_separator): Adjust.
* cp-abi.c (list_cp_abis, show_cp_abi_cmd): Adjust.
* exceptions.c (catch_exceptions_with_msg, catch_errors): Adjust.
* frame.c (get_current_frame): Adjust.
* infcmd.c (run_command_1, print_return_value): Adjust.
* inferior.c (inferior_command, info_inferiors_command): Adjust.
* infrun.c (print_end_stepping_range_reason): Adjust.
(print_signal_exited_reason, print_exited_reason): Adjust.
(print_signal_received_reason, print_no_history_reason): Adjust.
* interps.c (interp_set): Adjust.
* osdata.c (info_osdata_command): Adjust.
* progspace.c (maintenance_info_program_spaces_command): Adjust.
* remote-fileio.c (remote_fileio_request): Adjust.
* remote.c (show_remote_cmd): Adjust.
* solib.c (info_sharedlibrary_command): Adjust.
* source.c (print_source_lines_base): Adjust.
* stack.c (print_stack_frame): Adjust.
(do_gdb_disassembly, print_frame_info, print_frame): Adjust.
* symfile-mem.c (add_vsyscall_page): Adjust.
* symfile.c (load_progress, generic_load)
(print_transfer_performance): Adjust.
* thread.c (info_threads_command, restore_selected_frame)
(thread_command): Adjust.
* top.c (make_cleanup_restore_ui_file): Adjust.
* tracepoint.c (tvariables_info_1, trace_status_mi, tfind_1)
(print_one_static_tracepoint_marker): Adjust.
* cli/cli-cmds.c (print_disassembly): Adjust.
* cli/cli-decode.c (print_doc_line): Adjust.
* cli/cli-interp.c (safe_execute_command): Adjust.
* cli/cli-logging.c (set_logging_redirect, pop_output_files)
(handle_redirections): Adjust.
* cli/cli-script.c (show_user_1): Adjust.
* cli/cli-setshow.c (do_setshow_command, cmd_show_list): Adjust.
* mi/mi-cmd-break.c (breakpoint_notify): Adjust.
* mi/mi-cmd-disas.c (mi_cmd_disassemble): Adjust.
* mi/mi-cmd-env.c (mi_cmd_env_pwd, mi_cmd_env_path)
(mi_cmd_env_dir): Adjust.
* mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file)
(print_partial_file_name, mi_cmd_file_list_exec_source_files): Adjust.
* mi/mi-cmd-stack.c (mi_cmd_stack_list_frames)
(mi_cmd_stack_info_depth, mi_cmd_stack_list_args)
(list_args_or_locals): Adjust.
* mi/mi-cmd-var.c (print_varobj, mi_cmd_var_create)
(mi_cmd_var_delete, mi_cmd_var_set_format, mi_cmd_var_set_frozen)
(mi_cmd_var_show_format, mi_cmd_var_info_num_children)
(mi_cmd_var_list_children, mi_cmd_var_info_type)
(mi_cmd_var_info_path_expression, mi_cmd_var_info_expression)
(mi_cmd_var_show_attributes, mi_cmd_var_evaluate_expression)
(mi_cmd_var_assign, mi_cmd_var_update, varobj_update_one): Adjust.
* mi/mi-interp.c (mi_on_normal_stop): Adjust.
* mi/mi-main.c (mi_cmd_gdb_exit, mi_cmd_thread_select)
(mi_cmd_thread_list_ids, mi_cmd_thread_info, print_one_inferior)
(list_available_thread_groups, mi_cmd_list_thread_groups)
(mi_cmd_data_list_register_names)
(mi_cmd_data_list_changed_registers)
(mi_cmd_data_list_register_values, get_register)
(mi_cmd_data_evaluate_expression, mi_cmd_data_read_memory)
(mi_cmd_data_read_memory_bytes, mi_cmd_list_features)
(mi_cmd_list_target_features, mi_cmd_add_inferior)
(mi_execute_command, mi_load_progress): Adjust.
* mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Adjust.
* python/py-auto-load.c (print_script, info_auto_load_scripts):
Adjust.
* python/py-breakpoint.c (bppy_get_commands): Adjust.
* tui/tui-interp.c (tui_command_loop): Adjust.
* tui/tui-io.c (tui_setup_io, tui_initialize_io): Adjust.

12 years ago * faq-using.xml (faq.using.bloda): Add NVIDIA. Change wording slightly.
corinna [Thu, 4 Aug 2011 18:25:41 +0000 (18:25 +0000)]
* faq-using.xml (faq.using.bloda): Add NVIDIA.  Change wording slightly.

12 years ago2011-08-04 Pedro Alves <pedro@codesourcery.com>
palves [Thu, 4 Aug 2011 18:19:25 +0000 (18:19 +0000)]
2011-08-04  Pedro Alves  <pedro@codesourcery.com>

* exceptions.c (struct catcher): Remove saved_uiout field.
(exceptions_state_mc_init): Remove the `func_uiout' parameter, and
no longer save/resvore the global ui_out builder.
(catch_exceptions_with_msg): Save/override/restore the global
ui_out builder manually instead of relying on TRY_CATCH to do it.
(catch_errors): Save/restore the global ui_out builder manually
instead of relying on TRY_CATCH to do it.
* exceptions.h (exceptions_state_mc_init): Remove the `func_uiout'
parameter.
(TRY_CATCH): Adjust.
* cli/cli-interp.c (safe_execute_command): Save/override/restore
the global ui_out builder manually instead of relying on TRY_CATCH
to do it.

12 years ago * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
uweigand [Thu, 4 Aug 2011 15:00:49 +0000 (15:00 +0000)]
* gdb.base/nostdlib.exp: Skip on gdb_stub targets.
* gdb.base/watch-vfork.exp: Skip on remote targets.

12 years ago * gdb.threads/thread-find.exp: Support remote targets.
uweigand [Thu, 4 Aug 2011 12:49:32 +0000 (12:49 +0000)]
* gdb.threads/thread-find.exp: Support remote targets.

12 years ago * gdb.base/jit.exp: Download solib_binfile to target.
uweigand [Thu, 4 Aug 2011 11:56:28 +0000 (11:56 +0000)]
* gdb.base/jit.exp: Download solib_binfile to target.
* gdb.base/jit-so.exp:  Likewise.  Also, use gdb_load_shlibs
and call dlopen without full path name.
* gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
dlopen without full path name.

12 years ago * write.c (write_object_file): Call set_symtab even if we had
amodra [Thu, 4 Aug 2011 10:23:59 +0000 (10:23 +0000)]
* write.c (write_object_file): Call set_symtab even if we had
errors.

12 years ago * net.cc (socketpair): Release sb0 if there's no space left for sb1.
corinna [Thu, 4 Aug 2011 08:22:11 +0000 (08:22 +0000)]
* net.cc (socketpair): Release sb0 if there's no space left for sb1.

12 years ago2011-08-04 Tristan Gingold <gingold@adacore.com>
gingold [Thu, 4 Aug 2011 08:13:53 +0000 (08:13 +0000)]
2011-08-04  Tristan Gingold  <gingold@adacore.com>

* vms-alpha.c (_bfd_vms_write_eeom): Round vms_linkage_index.
(_bfd_vms_write_etir): Initialize vms_linkage_index to 0.

12 years ago2011-08-04 Tristan Gingold <gingold@adacore.com>
gingold [Thu, 4 Aug 2011 07:44:42 +0000 (07:44 +0000)]
2011-08-04  Tristan Gingold  <gingold@adacore.com>

* config/obj-elf.c (obj_elf_section): Do not free name.

12 years agodaily update
amodra [Thu, 4 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Thu, 4 Aug 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
philippe [Wed, 3 Aug 2011 21:17:07 +0000 (21:17 +0000)]
2011-08-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>

* breakpoint.c (update_global_location_list): Ensure
invariant 'first loc marked not duplicated and inserted,
following locs marked duplicated/not inserted' is respected
for multiple locations at the same address.
(unduplicated_should_be_inserted) New function.
(swap_insertion) New function.

2011-08-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>

* gdb.base/break-always.exp: Complete the test
with duplicated breakpoints and enabling/disabling them.

12 years ago * mips.h: Document the use of FP_D in MIPS16 mode. Adjust the
macro [Wed, 3 Aug 2011 21:09:46 +0000 (21:09 +0000)]
* mips.h: Document the use of FP_D in MIPS16 mode.  Adjust the
order of flags documented.

12 years ago* new-features.sgml (ov-new1.7.10): Document new POSIX Clock Selection
yselkowitz [Wed, 3 Aug 2011 19:18:07 +0000 (19:18 +0000)]
* new-features.sgml (ov-new1.7.10): Document new POSIX Clock Selection
option APIs.

12 years ago* cygwin.din (clock_nanosleep): Export.
yselkowitz [Wed, 3 Aug 2011 19:17:01 +0000 (19:17 +0000)]
* cygwin.din (clock_nanosleep): Export.
* posix.sgml (std-notimpl): Move clock_nanosleep from here...
(std-susv4): ... to here.
(std-notes): Note limitations of clock_nanosleep.
* signal.cc (clock_nanosleep): Renamed from nanosleep, adding clock_id
and flags arguments and changing return values throughout.
Improve checks for illegal rqtp values.  Add support for
CLOCK_MONOTONIC and TIMER_ABSTIME.
(nanosleep): Rewrite in terms of clock_nanosleep.
(sleep): Ditto.
(usleep): Ditto.
* thread.cc: Mark clock_nanosleep in list of cancellation points.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

12 years ago* dll_init.cc: Use fabort in favor of api_fatal and fork_info->abort where
cgf [Wed, 3 Aug 2011 17:58:59 +0000 (17:58 +0000)]
* dll_init.cc: Use fabort in favor of api_fatal and fork_info->abort where
appropriate throughout.
(fabort): Define.
(dll_list::topsort): Don't print sorting information.  Fix formatting.
(dll_list::topsort_visit): Fix formatting.
(dll_list::load_after_fork_impl): Perform comment fixups.
* sigproc.cc (child_info_fork::abort): (for now?) Always print cause of fork
failure.
* include/sys/strace.h (strace_vprintf): Remove _STRACE_NOTALL when printing.
We really do want to see this.

12 years ago* cygtls.h (struct _local_storage): Add cw_timer member.
yselkowitz [Wed, 3 Aug 2011 16:40:45 +0000 (16:40 +0000)]
* cygtls.h (struct _local_storage): Add cw_timer member.
* cygtls.cc (_cygtls::init_thread): Initialize locals.cw_timer.
(_cygtls::fixup_after_fork): Ditto.
* tlsoffsets.h: Regenerate.
* ntdll.h (enum _TIMER_INFORMATION_CLASS): Define.
(struct _TIMER_BASIC_INFORMATION): Define.
(NtQueryTimer): Declare function.
* thread.h (cancelable_wait): Change timeout argument to
PLARGE_INTEGER and provide NULL default.
(fast_mutex::lock): Adjust accordingly.
(pthread_cond::wait): Change timeout argument to PLARGE_INTEGER
and default to NULL.
* thread.cc (cancelable_wait): Change timeout argument to
PLARGE_INTEGER.  Initialize _cygtls.locals.cw_timer if needed.
Use NT waitable timers for handling timeout.  Return remaining time
to timeout argument if timeout was relative.
(pthread_cond::wait): Change timeout argument to PLARGE_INTEGER.
Adjust to change in cancelable_wait.
(pthread_mutex::lock): Adjust to change in cancelable_wait.
(pthread_spinlock::lock): Ditto.
(pthread::join): Ditto.
(__pthread_cond_dowait): Change waitlength argument to PLARGE_INTEGER.
Adjust to changes in cancelable_wait and pthread_cond::wait.
(pthread_cond_timedwait): Adjust to change in __pthread_cond_dowait.
(pthread_cond_wait): Ditto.
(semaphore::_timedwait): Adjust to change in cancelable_wait.
(semaphore::_wait): Ditto.
* exceptions.cc (handle_sigsuspend): Ditto.
* signal.cc (nanosleep): Ditto.
* wait.cc (wait4): Ditto. Fix copyright dates.
* times.cc (FACTOR, NSPERSEC): Move from here...
* hires.h (FACTOR, NSPERSEC): ...to here.

12 years agogdb/
jkratoch [Wed, 3 Aug 2011 15:17:08 +0000 (15:17 +0000)]
gdb/
* stack.c (print_frame_arguments_choices): Comment typo fix.

12 years ago * config/tc-arm.c (do_t_strexbh): New.
nickc [Wed, 3 Aug 2011 11:35:54 +0000 (11:35 +0000)]
* config/tc-arm.c (do_t_strexbh): New.
(insns): Update accordingly.

* gas/arm/strex-bad-t.d: New testcase.
* gas/arm/strex-bad-t.s: Likewise.
* gas/arm/strex-bad-t.l: Likewise.
* gas/arm/strex-t.s: Likewise.
* gas/arm/strex-t.d: Likewise.

12 years ago2011-08-03 Tristan Gingold <gingold@adacore.com>
gingold [Wed, 3 Aug 2011 08:12:04 +0000 (08:12 +0000)]
2011-08-03  Tristan Gingold  <gingold@adacore.com>

* mach-o.c (bfd_mach_o_canonicalize_symtab): Handle no symbols case.
(bfd_mach_o_read_symtab_symbols): Return if no symbols.

12 years agodaily update
amodra [Wed, 3 Aug 2011 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Wed, 3 Aug 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago PR gdb/11289:
tromey [Tue, 2 Aug 2011 20:59:44 +0000 (20:59 +0000)]
PR gdb/11289:
* gdb.cp/overload.exp: Fix regexps.  Remove kfails.

12 years agoopcodes/
qneill [Tue, 2 Aug 2011 19:58:05 +0000 (19:58 +0000)]
opcodes/

2011-08-02  Quentin Neill  <quentin.neill@amd.com>

       * i386-dis.c (xop_table): Remove spurious bextr insn.

12 years ago Fix timestamps in three ChangeLog entries with wrong year.
ccoutant [Tue, 2 Aug 2011 18:47:07 +0000 (18:47 +0000)]
Fix timestamps in three ChangeLog entries with wrong year.

12 years ago * generic/gdbtk-bp.c (gdb_set_bp): Pass a valid breakpoint_ops
kseitz [Tue, 2 Aug 2011 18:05:22 +0000 (18:05 +0000)]
* generic/gdbtk-bp.c (gdb_set_bp): Pass a valid breakpoint_ops
to create_breakpoint.

12 years ago * elfxx-mips.c (check_4byte_branch): Remove function.
macro [Tue, 2 Aug 2011 14:28:25 +0000 (14:28 +0000)]
* elfxx-mips.c (check_4byte_branch): Remove function.
(check_relocated_bzc): New function.
(_bfd_mips_elf_relax_section): Permit the relaxation of LUI
instructions that immediately follow a compact branch
instruction.

12 years ago * elf64-ppc.c (build_plt_stub): Correct emitted relocs when no
amodra [Tue, 2 Aug 2011 04:44:43 +0000 (04:44 +0000)]
* elf64-ppc.c (build_plt_stub): Correct emitted relocs when no
plt_static_chain.
(ppc_build_one_stub): Adjust get_relocs call to suit..
(ppc_size_one_stub): ..and reloc sizing.  Correct plt size corner case.

12 years agoAdd missing files.
hjl [Tue, 2 Aug 2011 00:37:41 +0000 (00:37 +0000)]
Add missing files.

12 years agodaily update
amodra [Tue, 2 Aug 2011 00:00:07 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Tue, 2 Aug 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years agoCheck R_X86_64_32 overflow and allow R_X86_64_64 for x32.
hjl [Mon, 1 Aug 2011 23:04:18 +0000 (23:04 +0000)]
Check R_X86_64_32 overflow and allow R_X86_64_64 for x32.

bfd/

2011-08-01  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/13048
* archures.c (bfd_mach_i386_intel_syntax): New.
(bfd_mach_i386_i8086): Updated.
(bfd_mach_i386_i386): Likewise.
(bfd_mach_x86_64): Likewise.
(bfd_mach_x64_32): Likewise.
(bfd_mach_i386_i386_intel_syntax): Likewise.
(bfd_mach_x86_64_intel_syntax): Likewise.
(bfd_mach_x64_32_intel_syntax): Likewise.
(bfd_mach_l1om): Likewise.
(bfd_mach_l1om_intel_syntax): Likewise.
(bfd_mach_k1om): Likewise.
(bfd_mach_k1om_intel_syntax): Likewise.

* bfd-in2.h: Regenerated.

* cpu-i386.c (bfd_i386_compatible): Check mach instead of
bits_per_address.
(bfd_x64_32_arch_intel_syntax): Set bits_per_address to 64.
(bfd_x64_32_arch): Likewise.

* elf64-x86-64.c: Include "libiberty.h".
(x86_64_elf_howto_table): Append x32 R_X86_64_32.
(elf_x86_64_rtype_to_howto): Support x32 R_X86_64_32.
(elf_x86_64_reloc_type_lookup): Likewise.
(elf_x86_64_reloc_name_lookup): Likewise.
(elf_x86_64_relocate_section): Likewise.
(elf_x86_64_check_relocs): Allow R_X86_64_64 relocations for x32.

gas/

2011-08-01  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/13048
* config/tc-i386.c (handle_quad): Removed.
(md_pseudo_table): Remove "quad".
(tc_gen_reloc): Don't check BFD_RELOC_64 for disallow_64bit_reloc.
(x86_dwarf2_addr_size): New.

* config/tc-i386.h (x86_dwarf2_addr_size): New.
(DWARF2_ADDR_SIZE): Likewise.

gas/testsuite/

2011-08-01  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/13048
* gas/i386/ilp32/ilp32.exp: Don't run inval.

* gas/i386/ilp32/inval.l: Removed.
* gas/i386/ilp32/inval.s: Likewise.

* gas/i386/ilp32/quad.d: Expect R_X86_64_64 instead of
R_X86_64_32.

* gas/i386/ilp32/x86-64-pcrel.s: Add tests for movabs.
* gas/i386/ilp32/x86-64-pcrel.d: Updated.

ld/testsuite/

2011-08-01  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/13048
* ld-x86-64/ilp32-6.d: New.
* ld-x86-64/ilp32-6.s: Likewise.
* ld-x86-64/ilp32-7.d: Likewise.
* ld-x86-64/ilp32-7.s: Likewise.
* ld-x86-64/ilp32-8.d: Likewise.
* ld-x86-64/ilp32-8.s: Likewise.
* ld-x86-64/ilp32-9.d: Likewise.
* ld-x86-64/ilp32-9.s: Likewise.

* ld-x86-64/x86-64.exp: Run ilp32-6, ilp32-7, ilp32-8 and ilp32-9.

opcodes/

2011-08-01  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/13048
* i386-dis.c (print_insn): Optimize info->mach check.

12 years ago * generic/gdbtk-bp.c (BREAKPOINT_IS_WATCHPOINT): Remove.
kseitz [Mon, 1 Aug 2011 22:08:20 +0000 (22:08 +0000)]
* generic/gdbtk-bp.c (BREAKPOINT_IS_WATCHPOINT): Remove.
(gdb_get_breakpoint_info): Update with recent GDB API changes.
(gdb_actions_command): Likewise.
(gdb_get_tracepoint_info): Likewise.
(breakpoint_notify): Use get_breakpoint.

* generic/gdbtk-cmds.c (gdb_prompt_command): Update with recent
GDB API changes.

12 years ago * gold/testsuite/Makefile.am (justsyms_exec): New testcase.
ccoutant [Mon, 1 Aug 2011 20:09:24 +0000 (20:09 +0000)]
* gold/testsuite/Makefile.am (justsyms_exec): New testcase.
* gold/testsuite/Makefile.in: Regenerate.
* gold/testsuite/justsyms_exec.c: New source file.
* gold/testsuite/justsyms_lib.c: New source file.

12 years agoAdd Disp32S to 64bit call.
hjl [Mon, 1 Aug 2011 19:25:47 +0000 (19:25 +0000)]
Add Disp32S to 64bit call.

gas/testsuite/

2011-08-01  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/13046
* gas/i386/x86-64-branch.s: Add tests for direct branch.
* gas/i386/x86-64-branch.d: Updated.
* gas/i386/ilp32/x86-64-branch.d: Likewise.

opcodes/

2011-08-01  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/13046
* i386-opc.tbl: Add Disp32S to 64bit call.
* i386-tbl.h: Regenerated.

12 years ago Revert:
bauermann [Mon, 1 Aug 2011 18:45:42 +0000 (18:45 +0000)]
Revert:
2011-07-31  Thiago Jung Bauermann  <bauerman@br.ibm.com>
* breakpoint.c (insert_bp_location): Remove disabled_breaks
argument.  Update callers.

12 years ago * layout.cc (Layout::set_segment_offsets): Don't realign text
ccoutant [Mon, 1 Aug 2011 18:25:21 +0000 (18:25 +0000)]
* layout.cc (Layout::set_segment_offsets): Don't realign text
segment if -Ttext was specified.
* object.cc (Sized_relobj_file::Sized_relobj_file): Store the ELF
file type.
* object.h (Sized_relobj_file::e_type): New function.
(Sized_relobj_file::e_type_): New data member.
* symtab.cc (Symbol_table::add_from_relobj): Don't add section
base address for ET_EXEC files.
* target.cc (Target::do_make_elf_object_implementation): Allow
ET_EXEC files with --just-symbols option.

12 years ago2011-08-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
joel [Mon, 1 Aug 2011 17:22:17 +0000 (17:22 +0000)]
2011-08-01  Sebastian Huber <sebastian.huber@embedded-brains.de>

* libc/include/sys/types.h: XML and RTEMS define
_UNIX98_THREAD_MUTEX_ATTRIBUTES and can use the standard
definitions. This avoids redefinition warnings.

12 years ago * syscalls.cc (faccessat): Fix parens in flag expression when calling
corinna [Mon, 1 Aug 2011 17:01:35 +0000 (17:01 +0000)]
* syscalls.cc (faccessat): Fix parens in flag expression when calling
build_fh_name.

* fhandler_disk_file.cc (fhandler_disk_file::mkdir): Fix typo in
comment.
* fhandler_socket.cc (fhandler_socket::bind): Ditto.
* path.cc (symlink_worker): Ditto.

12 years agofix date of last checkin
ppluzhnikov [Mon, 1 Aug 2011 16:03:06 +0000 (16:03 +0000)]
fix date of last checkin

12 years ago2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
ppluzhnikov [Mon, 1 Aug 2011 16:01:55 +0000 (16:01 +0000)]
2011-08-01  Paul Pluzhnikov  <ppluzhnikov@google.com>

PR gdb/13045
* doublest.c (convert_doublest_to_floatformat): Pass correct
mantissa length to put_field.

testsuite/ChangeLog:

2011-07-30  Paul Pluzhnikov  <ppluzhnikov@google.com>

PR gdb/13045
* gdb.base/float.exp: Add new test case for PR gdb/13045
* gdb.base/float.c: New file.

12 years agogdb/
jkratoch [Mon, 1 Aug 2011 14:57:48 +0000 (14:57 +0000)]
gdb/
* stack.c (do_gdb_disassembly): Use RETURN_MASK_ERROR, simplify the
exception_print code path.
(backtrace_command): Remove variable e.  Protect arg by make_cleanup in
advance.  Simplify memset.  Remove TRY_CATCH.  Remove explicit xfree.
(backtrace_full_command):  Remove variable e.  Remove TRY_CATCH.

12 years agogdb/
jkratoch [Mon, 1 Aug 2011 14:56:55 +0000 (14:56 +0000)]
gdb/
Code cleanup.
* stack.c (struct print_stack_frame_args, print_stack_frame_stub):
Remove, merge them into ...
(print_stack_frame): ... here with a TRY_CATCH.  New variable e, remove
variable args and its initialization.
(struct print_args_args, print_args_stub): Remove, merge them into
print_frame.
(struct gdb_disassembly_stub_args, gdb_disassembly_stub): Remove, merge
them into ...
(do_gdb_disassembly): ... here.  Remove variable args and its
initialization.
(print_frame): Remove variable args and its initialization, new
variable gdbarch and numargs (from print_args_stub), inline here
print_args_stub with a TRY_CATCH.
(struct backtrace_command_args, backtrace_command_stub): Remove, merge
them into ...
(backtrace_command, backtrace_full_command): ... here with a TRY_CATCH.
New variable e, remove variable btargs and its initialization.

12 years ago2011-08-01 Tristan Gingold <gingold@adacore.com>
gingold [Mon, 1 Aug 2011 14:07:06 +0000 (14:07 +0000)]
2011-08-01  Tristan Gingold  <gingold@adacore.com>

* darwin-nat.c (darwin_decode_exception_message): Adjust assertion.

12 years ago* dll_init.cc (dll_list::load_after_fork_impl): Add a hint to an error message.
cgf [Mon, 1 Aug 2011 13:11:36 +0000 (13:11 +0000)]
* dll_init.cc (dll_list::load_after_fork_impl): Add a hint to an error message.

12 years ago PR ld/12974
nickc [Mon, 1 Aug 2011 11:27:13 +0000 (11:27 +0000)]
PR ld/12974
* config/tc-arm.c (literal_pool): Add locs field.
(add_to_lit_pool): Initialise the locs entry for the new literal.
(s_ltorg): Generate a DWARF2 line number entry for each emitted
literal pool entry.

12 years ago2011-08-01 Tristan Gingold <gingold@adacore.com>
gingold [Mon, 1 Aug 2011 09:05:40 +0000 (09:05 +0000)]
2011-08-01  Tristan Gingold  <gingold@adacore.com>

* write.c (write_relocs): Fix -Wshadow in DEBUG3 and DEBUG4.

12 years ago2011-08-01 Tristan Gingold <gingold@adacore.com>
gingold [Mon, 1 Aug 2011 08:05:46 +0000 (08:05 +0000)]
2011-08-01  Tristan Gingold  <gingold@adacore.com>

* frags.c (frag_grow): Simplify the code.

12 years ago* sigproc.cc (pending_signals::pending): Define new function.
cgf [Mon, 1 Aug 2011 00:02:03 +0000 (00:02 +0000)]
* sigproc.cc (pending_signals::pending): Define new function.
(sig_dispatch_pending): Avoid calling sig_send if there are no pending signals.

12 years agodaily update
amodra [Mon, 1 Aug 2011 00:00:06 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Mon, 1 Aug 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago * breakpoint.c (insert_bp_location): Document return value.
bauermann [Sun, 31 Jul 2011 20:31:16 +0000 (20:31 +0000)]
* breakpoint.c (insert_bp_location): Document return value.
(insert_breakpoint_locations): Fix documentation.
(remove_breakpoints): Add documentation.

12 years ago * breakpoint.c (insert_bp_location): Remove disabled_breaks
bauermann [Sun, 31 Jul 2011 20:29:31 +0000 (20:29 +0000)]
* breakpoint.c (insert_bp_location): Remove disabled_breaks
argument.  Update callers.

12 years agoSync with gcc.
hjl [Sun, 31 Jul 2011 19:57:23 +0000 (19:57 +0000)]
Sync with gcc.

2011-07-26  H.J. Lu  <hongjiu.lu@intel.com>

* testsuite/demangle-expected: Remove an extra line.

12 years ago * fhandler.h (class fhandler_dev_mem): Remove dup method declaration.
corinna [Sun, 31 Jul 2011 12:37:51 +0000 (12:37 +0000)]
* fhandler.h (class fhandler_dev_mem): Remove dup method declaration.
* fhandler_clipboard.cc (fhandler_dev_clipboard::dup): Accommodate the
fact that the entire fhandler gets copied over to the child in
operator =.
* fhandler_floppy.cc (fhandler_dev_floppy::dup): Ditto.
* fhandler_raw.cc (fhandler_dev_raw::dup): Ditto.
* fhandler_serial.cc (fhandler_serial::dup): Ditto.
* fhandler_socket.cc (fhandler_socket::dup): Ditto.
* fhandler_virtual.cc (fhandler_virtual::dup): Ditto.
* fhandler_mem.cc (fhandler_dev_mem::dup): Ditto.  Remove entirely.

12 years ago*** empty log message ***
gdbadmin [Sun, 31 Jul 2011 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Sun, 31 Jul 2011 00:00:06 +0000 (00:00 +0000)]
daily update

12 years agogdb/
jkratoch [Sat, 30 Jul 2011 22:31:19 +0000 (22:31 +0000)]
gdb/
* stack.c (print_frame_info): Comment typo fix.

12 years agoadd missing entry
cgf [Sat, 30 Jul 2011 21:09:20 +0000 (21:09 +0000)]
add missing entry

12 years ago* cygthread.cc (cygthread::async_create): Define new function.
cgf [Sat, 30 Jul 2011 20:50:23 +0000 (20:50 +0000)]
* cygthread.cc (cygthread::async_create): Define new function.
* cygthread.h (cygthread::create): Use correct regparm.
(cygthread::standalone): Delete from class and from all constructors.
(cygthread::cygthread): Use three only arguments for detached threads, and
start the thread via QueueUserAPC/async_create.
* dcrt0.cc (dll_crt0_0): Remove handling for wincap.has_buggy_thread_startup.
(dll_crt0_1): Ditto.
* wincap.cc: Ditto throughout.
* wincap.h: Ditto.

12 years ago* fhandler.h (fhandler_base_overlapped::size): Declare/define size() function
cgf [Sat, 30 Jul 2011 20:01:26 +0000 (20:01 +0000)]
* fhandler.h (fhandler_base_overlapped::size): Declare/define size() function
for consistency.
(fhandler_termios::size): Ditto.
(fhandler_pty_common::size): Ditto.

12 years ago * fhandler_registry.cc (fhandler_registry::dup): Duplicate value_name.
corinna [Sat, 30 Jul 2011 08:09:42 +0000 (08:09 +0000)]
* fhandler_registry.cc (fhandler_registry::dup): Duplicate value_name.

12 years agogas/
rsandifo [Sat, 30 Jul 2011 06:28:21 +0000 (06:28 +0000)]
gas/
* config/tc-mips.c (nops_for_vr4130): Revert previous commit.

12 years agodaily update
amodra [Sat, 30 Jul 2011 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Sat, 30 Jul 2011 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago * elfxx-mips.c (check_br32): Fix return type.
macro [Fri, 29 Jul 2011 22:56:57 +0000 (22:56 +0000)]
* elfxx-mips.c (check_br32): Fix return type.

12 years ago * elfxx-mips.c (bz_insn_16): Correct opcode mask.
macro [Fri, 29 Jul 2011 22:52:21 +0000 (22:52 +0000)]
* elfxx-mips.c (bz_insn_16): Correct opcode mask.

12 years ago bfd/
macro [Fri, 29 Jul 2011 22:46:26 +0000 (22:46 +0000)]
bfd/
* elfxx-mips.c: Adjust comments throughout.
(mips_elf_relax_delete_bytes): Reshape code.
(_bfd_mips_elf_relax_section): Remove check for
R_MICROMIPS_GPREL16 relocations.  Reshape code.

gas/
* config/tc-mips.c: Adjust comments throughout.
(reglist_lookup): Reshape code.
(jmp_reloc_p, jalr_reloc_p): Reformat.
(got16_reloc_p, hi16_reloc_p, lo16_reloc_p): Handle microMIPS
relocations.
(gpr_mod_mask): Remove unused variable.
(gpr_read_mask, gpr_write_mask): Reshape code.
(fpr_read_mask, fpr_write_mask): Likewise.
(nops_for_vr4130): Ensure non-microMIPS mode.
(can_swap_branch_p): Correct pinfo2 reference.  Reshape code.
(append_insn): Skip Loongson 2F workaround in MIPS16 mode.  Use
the outermost operator of a compound relocation to determines
the relocated field.  Fix formatting.
(md_convert_frag): Reshape code.

include/opcode/
* mips.h: Clarify the description of microMIPS instruction
manipulation macros.
(MICROMIPSOP_MASK_MAJOR, MICROMIPSOP_SH_MAJOR): Remove macros.

12 years ago2011-07-29 Sterling Augustine <saugustine@google.com>
sterling [Fri, 29 Jul 2011 18:37:43 +0000 (18:37 +0000)]
2011-07-29  Sterling Augustine  <saugustine@google.com>

* MAINTAINERS (Write After Approval): Add myself to the list.

12 years ago * solib-target.c: Use DEF_VEC_I, not DEF_VEC_O.
tromey [Fri, 29 Jul 2011 17:38:46 +0000 (17:38 +0000)]
* solib-target.c: Use DEF_VEC_I, not DEF_VEC_O.
(library_list_start_segment): Update.
(library_list_start_section): Update.

12 years ago Throughout change "WinSock" to "Winsock" in comments.
corinna [Fri, 29 Jul 2011 12:47:54 +0000 (12:47 +0000)]
Throughout change "WinSock" to "Winsock" in comments.
* fhandler_socket.cc (fhandler_socket::sendmsg): Add missing call to
get_inet_addr to convert AF_LOCAL to AF_INET sockets.
* net.cc (cygwin_socket): Workaround UDP Winsock problem.  Add comment
to explain why.
* select.cc: Include winsock2.h rather than winsock.h.

12 years ago * include/winsock2.h (SIO_UDP_CONNRESET): Define.
corinna [Fri, 29 Jul 2011 11:45:15 +0000 (11:45 +0000)]
* include/winsock2.h (SIO_UDP_CONNRESET): Define.

12 years ago * gas/elf/warn-2.s: Add other types of NOP insn.
nickc [Fri, 29 Jul 2011 11:02:39 +0000 (11:02 +0000)]
* gas/elf/warn-2.s: Add other types of NOP insn.

12 years ago2011-07-29 Tristan Gingold <gingold@adacore.com>
gingold [Fri, 29 Jul 2011 07:34:13 +0000 (07:34 +0000)]
2011-07-29  Tristan Gingold  <gingold@adacore.com>

* frags.c (frag_var_init): New function.
(frag_var): Call frag_var_init to initialize.
(frag_variant): Ditto.

12 years ago*** empty log message ***
gdbadmin [Fri, 29 Jul 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
amodra [Fri, 29 Jul 2011 00:00:06 +0000 (00:00 +0000)]
daily update

12 years ago * workqueue-internal.h (Workqueue_threader::should_cancel_thread):
ccoutant [Thu, 28 Jul 2011 23:25:06 +0000 (23:25 +0000)]
* workqueue-internal.h (Workqueue_threader::should_cancel_thread):
Add thread_number parameter.
(Workqueue_threader_threadpool::should_cancel_thread): Likewise.
* workqueue-threads.cc
(Workqueue_threader_threadpool::should_cancel_thread): Cancel
current thread if its thread number is greater than desired thread
count.
* workqueue.cc (Workqueue_threader_single::should_cancel_thread):
Add thread_number parameter.
(Workqueue::should_cancel_thread): Likewise.
(Workqueue::find_runnable_or_wait): Pass thread_number to
should_cancel_thread.
* workqueue.h (Workqueue::should_cancel_thread): Add thread_number
parameter.

12 years agoBFD vector for elf32-i386-nacl:
roland [Thu, 28 Jul 2011 22:35:12 +0000 (22:35 +0000)]
BFD vector for elf32-i386-nacl:

bfd/
* elf32-i386.c (NACL_PLT_ENTRY_SIZE, NACLMASK): New macros.
(elf_i386_nacl_plt0_entry): New variable.
(elf_i386_plt_entry): New variable.
(elf_i386_nacl_pic_plt0_entry): New variable.
(elf_i386_nacl_pic_plt_entry): New variable.
(elf_i386_nacl_plt, elf_i386_nacl_arch_bed): New variables.
(elf_backend_arch_data): New macro setting for elf_i386_nacl_vec stanza.
(elf_backend_plt_alignment): Likewise.

* config.bfd: Handle i[3-7]86-*-nacl*.
* elf32-i386.c (bfd_elf32_i386_nacl_vec): New backend vector stanza.
* targets.c: Support bfd_elf32_i386_nacl_vec.
* configure.in: Likewise.
* configure: Regenerated.

12 years agoParameterize elf32-i386 PLT generation:
roland [Thu, 28 Jul 2011 18:47:55 +0000 (18:47 +0000)]
Parameterize elf32-i386 PLT generation:

* elf32-i386.c (struct elf_i386_plt_layout): New type.
(GET_PLT_ENTRY_SIZE): New macro.
(elf_i386_plt): New variable.
(struct elf_i386_backend_data): New member `plt'.
(elf_i386_arch_bed): Add initializer for it.
(elf_i386_vxworks_arch_bed): Likewise.
(elf_i386_allocate_dynrelocs): Use GET_PLT_ENTRY_SIZE.
(elf_i386_plt_sym_val): Likewise.
(elf_i386_relocate_section): Likewise.
(elf_i386_finish_dynamic_symbol): Likewise.
Also use other elf_i386_plt_layout members for PLT details.
(elf_i386_finish_dynamic_sections): Likewise.

12 years agoClean up elf32-i386-vxworks:
roland [Thu, 28 Jul 2011 17:39:19 +0000 (17:39 +0000)]
Clean up elf32-i386-vxworks:

* elf32-i386.c (struct elf_i386_backend_data): New type.
(get_elf_i386_backend_data): New macro.
(elf_i386_arch_bed): New variable.
(elf_backend_arch_data): New macro.
(struct elf_i386_link_hash_table): Remove plt0_pad_byte and is_vxworks.
(elf_i386_link_hash_table_create): Don't initialize them.
(elf_i386_create_dynamic_sections): Find is_vxworks flags in
elf_i386_backend_data, not elf_i386_link_hash_table.
(elf_i386_adjust_dynamic_symbol): Likewise.
(elf_i386_allocate_dynrelocs): Likewise.
(elf_i386_readonly_dynrelocs): Likewise.
(elf_i386_size_dynamic_sections): Likewise.
(elf_i386_relocate_section): Likewise.
(elf_i386_finish_dynamic_symbol): Likewise.
(elf_i386_finish_dynamic_sections): Likewise.  Same for plt0_pad_byte.
(elf_i386_vxworks_link_hash_table_create): Function removed.
(elf_i386_vxworks_arch_bed): New variable.
(elf_backend_arch_data): New macro in elf32-i386-vxworks stanza.

* elf-bfd.h (elf_backend_data): New member arch_backend_data.
* elfxx-target.h (elf_backend_arch_data): New macro.
(elfNN_bed): Use it as initializer for the new member.

12 years ago * dwarf2dbg.c (out_debug_line): Ignore non-normal segments, with a
nickc [Thu, 28 Jul 2011 16:35:44 +0000 (16:35 +0000)]
* dwarf2dbg.c (out_debug_line): Ignore non-normal segments, with a
warning.
* doc/as.texinfo (Offset): Document .offset directive.

testsuite/
* gas/elf/warn-2.s: New.

12 years ago * elf64-hppa.c (elf_hppa_final_link_relocate): Fix handling of out
nickc [Thu, 28 Jul 2011 13:22:24 +0000 (13:22 +0000)]
* elf64-hppa.c (elf_hppa_final_link_relocate): Fix handling of out
of range branches.

12 years ago2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
pmuldoon [Thu, 28 Jul 2011 10:36:37 +0000 (10:36 +0000)]
2011-07-28  Phil Muldoon  <pmuldoon@redhat.com>

* varobj.c (value_get_print_value): Move hint check later into the
function.  Comment function.  Free thevalue before reusing it.

2011-07-28  Phil Muldoon  <pmuldoon@redhat.com>

* gdb.python/py-mi.exp: Test printers returning string hint, and
also not returning a value.
* gdb.python/py-prettyprint.c: Add testcase for above.
* gdb.python/py-prettyprint.py: Add test printer for above.

12 years agodaily update
amodra [Thu, 28 Jul 2011 00:00:05 +0000 (00:00 +0000)]
daily update