From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 38344 invoked by alias); 14 Sep 2015 01:19:00 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 38314 invoked by uid 440); 14 Sep 2015 01:18:59 -0000 Date: Mon, 14 Sep 2015 01:19:00 -0000 Message-ID: <20150914011858.38283.qmail@sourceware.org> From: scox@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] scox/globalstate: 53b72aacff3f6171dec3dada5943526912940299 X-Git-Refname: refs/heads/scox/globalstate X-Git-Reftype: branch X-Git-Oldrev: 0000000000000000000000000000000000000000 X-Git-Newrev: 53b72aacff3f6171dec3dada5943526912940299 X-SW-Source: 2015-q3/txt/msg00045.txt.bz2 List-Id: The branch, scox/globalstate has been created at 53b72aacff3f6171dec3dada5943526912940299 (commit) - Log ----------------------------------------------------------------- commit 53b72aacff3f6171dec3dada5943526912940299 Author: Stan Cox Date: Sun Sep 13 21:16:16 2015 -0400 Move global data to client_state and server_state structs * gdbthread.h (last_status): Rename last_waitstatus to avoid conflict with server.h macro. * inferiors.c inferiors.h (all_processes, all_threads, current_thread): Move to server_state. * linux-low.c (last_status): Change all uses to last_waitstatus. * remote-utils.c (get_remote_desc, set_remote_desc): Get/put for current client fd. (readcchar_buf, readchar_bufcnt, readchar_bufp): Move to server_state. (look_up_one_symbol): Rename mem_buf to mem_buffer to avoid conflict * server.c (cont_thread, general_thread, server_waiting) (extended_protocol, response_needed, exit_requested, run_once) (multi_process, report_fork_events, report_vfork_events, non_stop) (swbreak_feature, hwbreak_feature, disable_randomization) (program_argv, wrapper_argv, pass_signals, program_signals) (program_signals_p, signal_pid, last_status, last_ptid, own_buf) (mem_buf): Move to client_state/server_state. (set_client_state, get_client_state): New (own_buf): Rename everywhere to own_buffer. * server.h (server_state, client_state): New. Add get/put macro for all members. commit 6dcaef99fab7e59e3eeb16a95d4c29b7b499b408 Author: Mihail-Marian Nistor Date: Fri Sep 11 15:22:11 2015 +0100 gdb/18947: [aarch64]Step into shared library is very slow. Install gdbarch_skip_solib_resolver on aarch64 GNU/Linux gdb/ChangeLog: 2015-09-11 Mihail-Marian Nistor PR gdb/18947 * aarch64-linux-tdep.c: (aarch64_linux_init_abi): Install glibc_skip_solib_resolver as gdbarch_skip_solib_resolver callback. Signed-off-by: Mihail-Marian Nistor commit 9ed2dcc401dc6b1eea7706592261ad76a976a31d Author: GDB Administrator Date: Fri Sep 11 00:00:08 2015 +0000 Automatic date update in version.in commit 5da1a4d34e730e0b4e2f034c81d22d5948a6ce67 Author: Simon Marchi Date: Thu Sep 10 11:48:47 2015 -0400 Small refactor in ada-lang.c:scan_discrim_bound Factor out common arithmetic operations for clarity. gdb/ChangeLog: * ada-lang.c (scan_discrim_bound): Factor out arithmetic operations. commit 108d56a48b0970a53e237af76440df4a75ff7329 Author: Simon Marchi Date: Thu Sep 10 11:12:51 2015 -0400 Constify variables in ada-lang.c I found this const/not const mixup found by building in C++ mode. gdb/ChangeLog: * ada-lang.c (ada_search_struct_field): Constify parameters and/or variables.. (xget_renaming_scope): Likewise. (ada_is_redundant_range_encoding): Likewise. (scan_discrim_bound): Likewise. (to_fixed_range_type): Likewise. commit be62444771a4a711300e2439fb1232415d9c835c Author: Andreas Krebbel Date: Thu Sep 10 15:18:00 2015 +0200 S/390: Fix instruction format of crj*, clrj*, and clgrj*. This fixes the instruction format for 3 of the compare and branch extended mnemonics. That way the extended mnemonics are actually being found by objdump. gas/testsuite/ChangeLog: 2015-09-10 Andreas Krebbel * gas/s390/zarch-z10.d: Fix testcase for some of the compare and branch extended mnemonics. opcodes/ChangeLog: 2015-09-10 Andreas Krebbel * s390-opc.txt: Fix instruction format of crj*, clrj*, and clgrj*. commit 08f3c71119c8fce6b392bb59b8f3ea82444d38ea Author: Andreas Krebbel Date: Thu Sep 10 14:27:02 2015 +0200 S/390: Remove F_20 and FE_20. Adjust comments. This is cleanup only. opcodes/ChangeLog: 2015-09-10 Andreas Krebbel * s390-opc.c: Remove unused (and broken) F_20 and FE_20 operand types and adjust numbering accordingly. Fix some comments. commit 9c1c2a0bb14ff5f74e68a7f1d67b8a7021c71cdf Author: Andreas Krebbel Date: Thu Sep 10 14:18:14 2015 +0200 S/390: Fix MASK_RIE_R0PI and MASK_RIE_R0PU. This makes objdump to be able to recognize some of the extended mnemonics more often. It does not lead to wrong being generated. opcodes/ChangeLog: 2015-09-10 Andreas Krebbel * s390-opc.c: Fix MASK_RIE_R0PI and MASK_RIE_R0PU. gas/testsuite/ChangeLog: 2015-09-10 Andreas Krebbel * gas/s390/zarch-z10.d: Fix testcase for compare and branch extended mnemonics. commit 64597d827f41faae7e2ee541c02daff1a5cfb52f Author: Nick Clifton Date: Thu Sep 10 12:50:34 2015 +0100 Another updated version of the simplified Chinese translation. * po/zh_CN.po: Updated simplified Chinese translation. commit dd2e65cc2c48f2fe1343840b610bc6dd4246f35b Author: Yao Qi Date: Thu Sep 10 12:31:36 2015 +0100 Call target_can_download_tracepoint if there are tracepoints to download Nowadays, GDB calls target_can_download_tracepoint at the entry of download_tracepoint_locations, which is called by. update_global_location_list. Sometimes, it is not needed to call target_can_download_tracepoint at all because there is no tracepoint created. In remote target, target_can_download_tracepoint send qTStatus to the remote in order to know whether tracepoint can be downloaded or not. This means some redundant qTStatus packets are sent. This patch is to teach GDB to call target_can_download_tracepoint lazily, only on the moment there are tracepoint to download. gdb.perf/single-step.exp (with a local patch to measure RSP packets) shows the number of RSP packets is reduced because there is no tracepoint at all, so GDB doesn't send qTStatus any more. # of RSP packets original patched single-step rsp 1000 7000 6000 single-step rsp 2000 14000 12000 single-step rsp 3000 21000 18000 single-step rsp 4000 28000 24000 gdb: 2015-09-10 Yao Qi * breakpoint.c (download_tracepoint_locations): New local can_download_tracepoint. Check the result of target_can_download_tracepoint and save it in can_download_tracepoint if there are tracepoints to download. * linux-nat.h (enum tribool): Move it to ... * common/common-types.h: ... here. commit 55edd97b4b2fb373e7895c449ff439efb6de1509 Author: Erik Ackermann Date: Thu Sep 10 09:29:13 2015 +0100 Adds an option to the strings program to specify a separator between the emitted pieces of text. * strings.c: Add -s/--output-separator option to specify custom separator string. * NEWS: Mention the new feature. * doc/binutils.text (strings): Document the new command line option. commit 3f263e4b5a20fb8c1818306c845564b2aea0fe50 Author: GDB Administrator Date: Thu Sep 10 00:00:08 2015 +0000 Automatic date update in version.in commit e70b6e8eee4fc1ad1270a63ad000d11fd657d7a7 Author: Doug Evans Date: Wed Sep 9 11:42:52 2015 -0700 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests. gdb/testsuite/ChangeLog: * gdb.python/py-prettyprint.exp: Check result of run_lang_tests. commit 7a551a515815a9888c6117bc5fb8ad49c7fa55a0 Author: Doug Evans Date: Wed Sep 9 11:17:36 2015 -0700 * gdb.base/pie-execl.exp: Fix result test of build_executable. gdb/testsuite/ChangeLog: * gdb.base/pie-execl.exp: Fix result test of build_executable. commit 4c666f844a4481749c60f4f1ba6cfc8efd3a4eee Author: Doug Evans Date: Wed Sep 9 11:00:55 2015 -0700 * gdb.base/savedregs.exp: Fix typo. gdb/testsuite/ChangeLog: * gdb.base/savedregs.exp: Fix typo. commit cfe7570334fc9aefc64bdb0791fec03a736f2851 Author: Pedro Alves Date: Wed Sep 9 18:23:25 2015 +0100 Delete enum inferior_event_handler::INF_TIMER Nothing ever uses this. gdb/ChangeLog: 2015-09-09 Pedro Alves * inf-loop.c (inferior_event_handler): Delete INF_TIMER case. * target.h (enum inferior_event_type) : Delete. commit a85a3079233ddf4c5537ec90c03d3394b93ef355 Author: Pedro Alves Date: Wed Sep 9 18:23:25 2015 +0100 Garbage collect thread continuations Nothing uses thread continuations anymore. (inferior continuations are still used by the attach command.) gdb/ChangeLog: 2015-09-09 Pedro Alves * continuations.c (add_continuation, restore_thread_cleanup) (do_all_continuations_ptid, do_all_continuations_thread_callback) (do_all_continuations_thread, do_all_continuations) (discard_all_continuations_thread_callback) (discard_all_continuations_thread, discard_all_continuations) (add_intermediate_continuation) (do_all_intermediate_continuations_thread_callback) (do_all_intermediate_continuations_thread) (do_all_intermediate_continuations) (discard_all_intermediate_continuations_thread_callback) (discard_all_intermediate_continuations_thread) (discard_all_intermediate_continuations): Delete. * continuations.h (add_continuation, do_all_continuations) (do_all_continuations_thread, discard_all_continuations) (discard_all_continuations_thread, add_intermediate_continuation) (do_all_intermediate_continuations) (do_all_intermediate_continuations_thread) (discard_all_intermediate_continuations) (discard_all_intermediate_continuations_thread): Delete declarations. * event-top.c (stdin_event_handler): Delete references to continuations. * gdbthread.h (struct thread_info): Delete continuations and intermediate_continuations fields. * inf-loop.c (inferior_event_handler): Remove references to continuations. * infrun.c (infrun_thread_stop_requested_callback): Remove references to continuations. * target.h (enum inferior_event_type) : Delete. * thread.c: Don't include "continuations.h". (clear_thread_inferior_resources): Remove references to continuations. commit 0700e23e5f73b2a498526a79de34217429b44988 Author: Pedro Alves Date: Wed Sep 9 18:23:25 2015 +0100 Garbage collect dummy_frame_ctx_saver Since the "finish" command and infcall's FSMs are now responsible for saving the return value, the dummy_frame_ctx_saver is no longer needed anywhere. gdb/ChangeLog: 2015-09-09 Pedro Alves * infcall.c (struct dummy_frame_context_saver): Delete. (dummy_frame_context_saver_free, dummy_frame_context_saver_dtor) (dummy_frame_context_saver_drop) (dummy_frame_context_saver_cleanup) (dummy_frame_context_saver_get_regs) (dummy_frame_context_saver_setup): Delete. * infcall.h (dummy_frame_context_saver_drop) (dummy_frame_context_saver_cleanup) (dummy_frame_context_saver_get_regs, dummy_frame_context_saver): Delete. (get_return_value): Remove 'ctx_saver' paremeter. Adjust. * inferior.h (get_return_value): Remove 'ctx_saver' paremeter. * python/py-finishbreakpoint.c (bpfinishpy_pre_stop_hook): Adjust. commit cfc3163382898a537c742bee1bf8240b3c09df35 Author: Pedro Alves Date: Wed Sep 9 18:23:24 2015 +0100 Convert the until/advance commands to thread_fsm mechanism gdb/ChangeLog: 2015-09-09 Pedro Alves * breakpoint.c: Include "thread-fsm.h". (struct until_break_command_continuation_args): Delete. (struct until_break_fsm): New. (until_break_fsm_ops): New global. (new_until_break_fsm, until_break_fsm_should_stop): New functions. (until_break_command_continuation): Delete. (until_break_fsm_clean_up): New function. (until_break_fsm_async_reply_reason): New function. (until_break_command): Adjust to create an until_break_fsm instead of a continuation. (momentary_bkpt_print_it): No longer print MI's async-stop-reason here. * infcmd.c (struct until_next_fsm): New. (until_next_fsm_ops): New global. (new_until_next_fsm, until_next_fsm_should_stop): New function. (until_next_continuation): Delete. (until_next_fsm_clean_up, until_next_fsm_async_reply_reason): New functions. (until_next_command): Adjust to create a new until_next_fsm instead of a continuation. commit 388a708404618466bbe51b7198de7a64f0a5da9f Author: Pedro Alves Date: Wed Sep 9 18:23:24 2015 +0100 Convert infcalls to thread_fsm mechanism This removes infcall-specific special casing from normal_stop, simplifying it. Like the "finish" command's, the FSM is responsible for storing the function's return value. gdb/ChangeLog: 2015-09-09 Pedro Alves * infcall.c: Include thread_fsm.h. (struct call_return_meta_info): New. (get_call_return_value): New function, factored out from call_function_by_hand_dummy. (struct call_thread_fsm): New. (call_thread_fsm_ops): New global. (new_call_thread_fsm, call_thread_fsm_should_stop) (call_thread_fsm_should_notify_stop): New functions. (run_inferior_call): Add 'sm' parameter. Associate the FSM with the thread. (call_function_by_hand_dummy): Create a new call_thread_fsm instance, associate it with the thread, and wait for the FSM to finish. If finished successfully, fetch the function's result value out of the FSM. * infrun.c (fetch_inferior_event): If the FSM says the stop shouldn't be notified, don't call normal_stop. (maybe_remove_breakpoints): New function, factored out from ... (normal_stop): ... here. Simplify. * infrun.h (maybe_remove_breakpoints): Declare. * thread-fsm.c (thread_fsm_should_notify_stop): New function. (thread-fsm.h) : New field. (thread_fsm_should_notify_stop): Declare. commit 243a925328f8e3184b2356bee497181049c0174f Author: Pedro Alves Date: Wed Sep 9 18:23:24 2015 +0100 Replace "struct continuation" mechanism by something more extensible This adds an object oriented replacement for the "struct continuation" mechanism, and converts the stepping commands (step, next, stepi, nexti) and the "finish" commands to use it. It adds a new thread "class" (struct thread_fsm) that contains the necessary info and callbacks to manage the state machine of a thread's execution command. This allows getting rid of some hacks. E.g., in fetch_inferior_event and normal_stop we no longer need to know whether a thread is doing a multi-step (e.g., step N). This effectively makes the intermediate_continuations unused -- they'll be garbage collected in a separate patch. (They were never a proper abstraction, IMO. See how fetch_inferior_event needs to check step_multi before knowing whether to call INF_EXEC_CONTINUE or INF_EXEC_COMPLETE.) The target async vs !async uiout hacks in mi_on_normal_stop go away too. print_stop_event is no longer called from normal_stop. Instead it is now called from within each interpreter's normal_stop observer. This clears the path to make each interpreter print a stop event the way it sees fit. Currently we have some hacks in common code to differenciate CLI vs TUI vs MI around this area. The "finish" command's FSM class stores the return value plus that value's position in the value history, so that those can be printed to both MI and CLI's streams. This fixes the CLI "finish" command when run from MI -- it now also includes the function's return value in the CLI stream: (gdb) ~"callee3 (strarg=0x400730 \"A string argument.\") at src/gdb/testsuite/gdb.mi/basics.c:35\n" ~"35\t}\n" +~"Value returned is $1 = 0\n" *stopped,reason="function-finished",frame=...,gdb-result-var="$1",return-value="0",thread-id="1",stopped-threads="all",core="0" -FAIL: gdb.mi/mi-cli.exp: CLI finish: check CLI output +PASS: gdb.mi/mi-cli.exp: CLI finish: check CLI output gdb/ChangeLog: 2015-09-09 Pedro Alves * Makefile.in (COMMON_OBS): Add thread-fsm.o. * breakpoint.c (handle_jit_event): Print debug output. (bpstat_what): Split event callback handling to ... (bpstat_run_callbacks): ... this new function. (momentary_bkpt_print_it): No longer handle bp_finish here. * breakpoint.h (bpstat_run_callbacks): Declare. * gdbthread.h (struct thread_info) : Delete field. : New field. (thread_cancel_execution_command): Declare. * infcmd.c: Include thread-fsm.h. (struct step_command_fsm): New. (step_command_fsm_ops): New global. (new_step_command_fsm, step_command_fsm_prepare): New functions. (step_1): Adjust to use step_command_fsm_prepare and prepare_one_step. (struct step_1_continuation_args): Delete. (step_1_continuation): Delete. (step_command_fsm_should_stop): New function. (step_once): Delete. (step_command_fsm_clean_up, step_command_fsm_async_reply_reason) (prepare_one_step): New function, based on step_once. (until_next_command): Remove step_multi reference. (struct return_value_info): New. (print_return_value): Rename to ... (print_return_value_1): ... this. New struct return_value_info parameter. Adjust. (print_return_value): Reimplement as wrapper around print_return_value_1. (struct finish_command_fsm): New. (finish_command_continuation): Delete. (finish_command_fsm_ops): New global. (new_finish_command_fsm, finish_command_fsm_should_stop): New functions. (finish_command_fsm_clean_up, finish_command_fsm_return_value): New. (finish_command_continuation_free_arg): Delete. (finish_command_fsm_async_reply_reason): New. (finish_backward, finish_forward): Change symbol parameter to a finish_command_fsm. Adjust. (finish_command): Create a finish_command_fsm. Adjust. * infrun.c: Include "thread-fsm.h". (clear_proceed_status_thread): Delete the thread's FSM. (infrun_thread_stop_requested_callback): Cancel the thread's execution command. (clean_up_just_stopped_threads_fsms): New function. (fetch_inferior_event): Handle the event_thread's should_stop method saying the command isn't done yet. (process_event_stop_test): Run breakpoint callbacks here. (print_stop_event): Rename to ... (print_stop_location): ... this. (restore_current_uiout_cleanup): New function. (print_stop_event): Reimplement. (normal_stop): No longer notify the end_stepping_range observers here handle "step N" nor "finish" here. No longer call print_stop_event here. * infrun.h (struct return_value_info): Forward declare. (print_return_value): Declare. (print_stop_event): Change prototype. * thread-fsm.c: New file. * thread-fsm.h: New file. * thread.c: Include "thread-fsm.h". (thread_cancel_execution_command): New function. (clear_thread_inferior_resources): Call it. * cli/cli-interp.c (cli_on_normal_stop): New function. (cli_interpreter_init): Install cli_on_normal_stop as normal_stop observer. * mi/mi-interp.c: Include "thread-fsm.h". (restore_current_uiout_cleanup): Delete. (mi_on_normal_stop): If the thread has an FSM associated, and it finished, ask it for the async-reply-reason to print. Always call print_stop_event here, regardless of the top-level interpreter. Check bpstat_what to tell whether an asynchronous breakpoint hit triggered. * tui/tui-interp.c (tui_on_normal_stop): New function. (tui_init): Install tui_on_normal_stop as normal_stop observer. gdb/testsuite/ChangeLog: 2015-09-09 Pedro Alves * gdb.mi/mi-cli.exp: Add CLI finish tests. commit 0b333c5e7d6c3fc65d37ffa11bd21ba52c4adb25 Author: Pedro Alves Date: Wed Sep 9 18:23:23 2015 +0100 Merge async and sync code paths some more This patch makes the execution control code use largely the same mechanisms in both sync- and async-capable targets. This means using continuations and use the event loop to react to target events on sync targets as well. The trick is to immediately mark infrun's event loop source after resume instead of calling wait_for_inferior. Then fetch_inferior_event is adjusted to do a blocking wait on sync targets. Tested on x86_64 Fedora 20, native and gdbserver, with and without "maint set target-async off". gdb/ChangeLog: 2015-09-09 Pedro Alves * breakpoint.c (bpstat_do_actions_1, until_break_command): Don't check whether the target can async. * inf-loop.c (inferior_event_handler): Only call target_async if the target can async. * infcall.c: Include top.h and interps.h. (run_inferior_call): For the interpreter to sync mode while running the infcall. Call wait_sync_command_done instead of wait_for_inferior plus normal_stop. * infcmd.c (prepare_execution_command): Don't check whether the target can async when running in the foreground. (step_1): Delete synchronous case handling. (step_once): Always install a continuation, even in sync mode. (until_next_command, finish_forward): Don't check whether the target can async. (attach_command_post_wait, notice_new_inferior): Always install a continuation, even in sync mode. * infrun.c (mark_infrun_async_event_handler): New function. (proceed): In sync mode, mark infrun's event source instead of waiting for events here. (fetch_inferior_event): If the target can't async, do a blocking wait. (prepare_to_wait): In sync mode, mark infrun's event source. (infrun_async_inferior_event_handler): No longer bail out if the target can't async. * infrun.h (mark_infrun_async_event_handler): New declaration. * linux-nat.c (linux_nat_wait_1): Remove calls to set_sigint_trap/clear_sigint_trap. (linux_nat_terminal_inferior): No longer check whether the target can async. * mi/mi-interp.c (mi_on_sync_execution_done): Update and simplify comment. (mi_execute_command_input_handler): No longer check whether the target is async. Update and simplify comment. * target.c (default_target_wait): New function. * target.h (struct target_ops) : Now defaults to default_target_wait. (default_target_wait): Declare. * top.c (wait_sync_command_done): New function, factored out from ... (maybe_wait_sync_command_done): ... this. * top.h (wait_sync_command_done): Declare. * target-delegates.c: Regenerate. commit ea4a7f9986ed4614d8ffb85ccd4fa4bb49b6d420 Author: jamesbowman Date: Wed Sep 9 09:44:44 2015 -0700 FT32 linker script now parameterized for flash and RAM size. 2015-09-09 James Bowman ld/ * scripttempl/ft32.sc: default linker script RAM and FLASH size symbols commit 7bdf96efeede567ac4b8cd3fdaa665c0e5ba4785 Author: Nick Clifton Date: Wed Sep 9 14:50:08 2015 +0100 Make register name tables in visium.h static in order to prevent multiple definitions. * visium.h (gen_reg_table): Make static. (fp_reg_table): Likewise. (cc_table): Likewise. commit d8f187c1abc0aaf718b92bf4a4ecaf3a9e866c56 Author: Nick Clifton Date: Wed Sep 9 14:33:31 2015 +0100 Remove sentance in binutils documentation saying that thin archives cannot contain absolute paths or paths outside of the current directory - they can. * doc/binutils.texi (ar): Remove bogus sentance concerning thin archives and invalid paths. commit 4af68b9c78aad1b82bfd6e2e960747eb160bb4d8 Author: Jiong Wang Date: Wed Sep 9 14:25:33 2015 +0100 [AArch64] Sort IS_AARCH64_TLS_RELAX_RELOC in alphabetic order This can also speedup the check as TLSDESC is the default model for global/local dynamic that the big "||" check can finish more quickly than putting them at the bottom. 2015-09-09 Jiong. Wang bfd/ * elfnn-aarch64.c (IS_AARCH64_TLS_RELAX_RELOC): Sort alphabetically. commit 259364adb8ced6dc0e3ae5bec2c6f76ec3faf955 Author: Jiong Wang Date: Wed Sep 9 14:19:28 2015 +0100 [AArch64] Relax TLS local dynamic traditional into local executable The linker relaxation logic will be: Code sequence I (tiny): 0x00 adr x0, :tlsldm:x 0x04 bl __tls_get_addr | V 0x00 mrs x0, tpidr_el0 0x04 add x0, x0, TCB_SIZE Code sequence II (small): 0x00 adrp a0, :tlsldm:x 0x04 add a0, #:tlsldm_lo12:x 0x08 bl __tls_get_addr | V 0x00 mrs x0, tpidr_el0 0x04 add x0, x0, TCB_SIZE 0x08 nop 2015-09-09 Jiong Wang bfd/ * elfnn-aarch64.c (aarch64_tls_transition_without_check): Support three TLS local dynamic traditional relocations types. (elfNN_aarch64_tls_relax): Support TLS local dynamic traditional to local executable relaxation. ld/testsuite/ * ld-aarch64/tls-relax-ld-le-tiny.s: New testcase. * ld-aarch64/tls-relax-ld-le-small.s: Likewise. * ld-aarch64/tls-relax-ld-le-tiny.d: New expectation file. * ld-aarch64/tls-relax-ld-le-small.d: Likewise. * ld-aarch64/aarch64-elf.exp: Run new testcases. commit d660d56578248bf3bb56150295cecc763f112061 Author: Andreas Krebbel Date: Mon Sep 7 10:25:58 2015 +0200 S/390: Remove trailing zeros on 4-bytes opcodes. This is a NOP change only relevant when reading the file or parsing it with other tools. opcodes/ChangeLog: 2015-09-09 Andreas Krebbel * s390-opc.c: Add OP32 definition. * s390-opc.txt: Reduce the opcode padding of some extended mnemonics from 6 to the actual length (which is 4). commit c694bafc0bc795a63e607689cc35ad44047790e6 Author: Andreas Krebbel Date: Mon Sep 7 10:25:17 2015 +0200 S/390: Fix opcode of ppno. opcodes/ChangeLog: 2015-09-09 Andreas Krebbel * s390-opc.txt: Fix opcode of ppno instruction. gas/testsuite/ChangeLog: 2015-09-09 Andreas Krebbel * gas/s390/zarch-z13.d: Fix opcode of ppno instruction. commit 081bb924c995324d89df09342200d135aeb8d4cd Author: Nick Clifton Date: Wed Sep 9 09:55:07 2015 +0100 Update the simplified Chinese translation. * po/zh_CN.po: Updated simplified Chinese translation. commit 0568462bbf0f666d5bf9f720e16147da71eec46a Author: Markus Metzger Date: Tue Aug 11 11:05:58 2015 +0200 btrace: kernel address filtering For the BTS recording format, we sometimes get a FROM->TO record where the FROM address lies in the kernel and the TO address lies in user space at whatever address the user process was resumed. GDB has a heuristic to filter out such records based on looking at the most significant bit in the PC. This works fine for 64-bit systems but it doesn't always work for 32-bit systems. Libraries that are loaded at fairly high addresses might be mistaken for kernel code and branches inside the library are filtered out. Change the heuristic to (again heuristically) try to determine the lowest address in kernel space. Any PC that is smaller than that should be in user space. On today's systems, there should be a symbol "_text" at that address. Read /proc/kallsyms and search for that symbol. It is not guaranteed that /proc/kallsyms is readable on all systems. On 64-bit systems, we fall back to check the most significant bit. On 32-bit systems, we refrain from filtering out addresses. The filtering should really be done by the kernel. And it soon will be: https://lkml.org/lkml/2015/8/31/212. gdb/ * nat/linux-btrace.h (struct btrace_target_info) : Remove. * nat/linux-btrace.c: Include filestuff.h and inttypes.h. Remove include of sys/utsname.h. (linux_determine_kernel_ptr_bits): Remove. (linux_determine_kernel_start): New. (perf_event_is_kernel_addr): Remove tinfo argument. Update users. Update check. (perf_event_skip_bts_record): Remove tinfo argument. Update users. (linux_enable_bts, linux_enable_pt): Remove tinfo->ptr_bits initialization. * x86-linux-nat.c (x86_linux_enable_btrace): Remove ptr_bits assignment. gdbserver/ * linux-low.c (linux_low_enable_btrace): Remove. (linux_target_ops): Replace linux_low_enable_btrace with linux_enable_btrace. commit c0fa8fbd1c2f02921b90083e595a8452d3d51ba2 Author: Sandra Loosemore Date: Tue Sep 8 19:49:04 2015 -0700 Improve hand-call-in-threads.exp failure handling. 2015-09-08 Sandra Loosemore gdb/testsuite/ * gdb.threads/hand-call-in-threads.exp: Make sure the thread command actually switches threads. Give up on remaining tests if target fails to stop at breakpoint. commit a79762eef0dddb25fff4f08e208944210b186c9d Author: GDB Administrator Date: Wed Sep 9 00:00:08 2015 +0000 Automatic date update in version.in ----------------------------------------------------------------------- hooks/post-receive -- Repository for Project Archer.