and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

  1. 04 Jun, 2017 2 commits
  2. 03 Jun, 2017 1 commit
  3. 02 Jun, 2017 1 commit
  4. 01 Jun, 2017 1 commit
  5. 31 May, 2017 4 commits
  6. 30 May, 2017 2 commits
    • Simon Marchi's avatar
      Fix NEWS formatting in GDB 8.0 section · d65c730f
      Simon Marchi authored
      Change the GDB 8.0 section of the NEWS file to try to follow this order:
      
        * Functional changes
        * Added and removed configurations and targets
        * New commands
        * New options
        * MI changes
      
      In particular, there were two "New commands" sections.
      
      gdb/ChangeLog:
      
      	* NEWS (Changes in GDB 8.0): Remove extra empty line.  Move
      	"Removed targets and native configurations" up.  Merge duplicate
      	"New commands" sub-sections.  Add "New options" sub-sections.
      d65c730f
    • GDB Administrator's avatar
      Automatic date update in version.in · c6ef7a72
      GDB Administrator authored
      c6ef7a72
  7. 29 May, 2017 1 commit
  8. 28 May, 2017 1 commit
  9. 27 May, 2017 1 commit
  10. 26 May, 2017 2 commits
  11. 25 May, 2017 1 commit
  12. 24 May, 2017 1 commit
  13. 23 May, 2017 1 commit
  14. 22 May, 2017 1 commit
  15. 21 May, 2017 1 commit
  16. 20 May, 2017 1 commit
  17. 19 May, 2017 5 commits
  18. 18 May, 2017 2 commits
  19. 17 May, 2017 5 commits
    • Yao Qi's avatar
      Add alias command to cmd_list_element · efaba6bc
      Yao Qi authored
      When we add alias command, we call add_alias_cmd and pass the alias name
      and command name.  This implicitly requires the command and its prefix
      commands are already added to cmdlist.  This may not be true, for example,
      
        add_com_alias ("tty", "set inferior-tty", class_alias, 0);
      
      "inferior-tty" command is added to setlist, but setlist may not be added
      to cmdlist (It depends on the order of related _initialize_XXX functions
      called) so that we can't find "set inferior-tty" from cmdlist.
      
      This patch fixes this problem by passing cmd_list_element of "inferior-tty"
      to add_alias_cmd, so that cmd_list_element of "inferior-tty" doesn't have
      to be reachable from cmdlist at that moment.
      
      gdb:
      
      2017-05-17  Yao Qi  <yao.qi@linaro.org>
      
      	* cli/cli-decode.c (add_alias_cmd): New function.
      	* command.h (add_alias_cmd): Declare.
      	* infcmd.c (_initialize_infcmd): Don't call add_com_alias,
      	instead call add_alias_cmd.
      
      gdb/testsuite:
      
      2017-05-17  Simon Marchi  <simon.marchi@ericsson.com>
      
      	* gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
      	argument command.
      	(top-level): Invoke test_set_inferior_tty.
      efaba6bc
    • Tom Tromey's avatar
      Avoid exponential behavior in rust_evaluate_subexp · 69e9e8a0
      Tom Tromey authored
      The STRUCTOP_STRUCT case in rust_evaluate_subexp would evaluate its
      LHS, and then, if it did not need Rust-specific treatment, it would
      back up and re-evaluate the entire STRUCTOP_STRUCT part of the
      expression using evaluate_subexp_standard.  This yields exponential
      behavior and causes some expressions to evaluate extremely slowly.
      
      The fix is to simply do the needed work inline.
      
      This is PR rust/21483.
      
      2017-05-12  Tom Tromey  <tom@tromey.com>
      
      	PR rust/21483:
      	* rust-lang.c (rust_evaluate_subexp) <STRUCTOP_STRUCT>: Don't
      	recurse, just call value_struct_elt directly.
      69e9e8a0
    • Tom Tromey's avatar
      Fix rust_dump_subexp_body · b6486c1f
      Tom Tromey authored
      rust_dump_subexp_body was not correct in a couple of cases.  While
      debugging the bug I was really interested in, this caused a crash.
      This patch fixes the problems.  No test case because, IIRC there
      generally aren't tests for expression dumping.
      
      2017-05-12  Tom Tromey  <tom@tromey.com>
      
      	* rust-lang.c (rust_dump_subexp_body) <STRUCTOP_ANONYMOUS,
      	OP_RUST_ARRAY>: Fix.
      b6486c1f
    • Tom Tromey's avatar
      Replace "return" with "break" · d05228c1
      Tom Tromey authored
      This replaces a "return" with a "break" in rust_print_subexp, for
      consistency.
      
      2017-05-12  Tom Tromey  <tom@tromey.com>
      
      	* rust-lang.c (rust_print_subexp): Replace "return" with "break".
      d05228c1
    • GDB Administrator's avatar
      Automatic date update in version.in · 18c0a7cd
      GDB Administrator authored
      18c0a7cd
  20. 16 May, 2017 1 commit
  21. 15 May, 2017 2 commits
    • Rainer Orth's avatar
      Fix gdb 8.0 procfs.c compilation on Solaris · 81aeac9b
      Rainer Orth authored
      Prompted by the creation of the gdb 8.0 branch, I tried to build it on
      x86_64-pc-solaris2.12, but failed:
      
      /vol/src/gnu/gdb/gdb-8.0-branch/local/gdb/procfs.c: In function `target_ops* procfs_target()':
      /vol/src/gnu/gdb/gdb-8.0-branch/local/gdb/procfs.c:186:27: error: invalid conversion from `void (*)(target_ops*, char*, char*, char**, int)' to `void (*)(target_ops*, const char*, const string&, char**, int) {aka void (*)(target_ops*, const char*, const std::__cxx11::basic_string<char>&, char**, int)}' [-fpermissive]
         t->to_create_inferior = procfs_create_inferior;
                                 ^~~~~~~~~~~~~~~~~~~~~~
      /vol/src/gnu/gdb/gdb-8.0-branch/local/gdb/procfs.c: At global scope:
      /vol/src/gnu/gdb/gdb-8.0-branch/local/gdb/procfs.c:125:13: warning: `void procfs_create_inferior(target_ops*, char*, char*, char**, int)' declared `static' but never defined [-Wunused-function]
       static void procfs_create_inferior (struct target_ops *, char *,
                   ^~~~~~~~~~~~~~~~~~~~~~
      /vol/src/gnu/gdb/gdb-8.0-branch/local/gdb/procfs.c:4529:1: warning: `void procfs_create_inferior(target_ops*, const char*, const string&, char**, int)' defined but not used [-Wunused-function]
       procfs_create_inferior (struct target_ops *ops, const char *exec_file,
       ^~~~~~~~~~~~~~~~~~~~~~
      
      This can easily be fixed by the following patch.
      
      	* procfs.c (procfs_create_inferior): Change prototype to match
      	definition.
      81aeac9b
    • GDB Administrator's avatar
      Automatic date update in version.in · f35e662d
      GDB Administrator authored
      f35e662d
  22. 14 May, 2017 1 commit
  23. 13 May, 2017 1 commit
  24. 12 May, 2017 1 commit