1. 03 Mar, 2020 1 commit
  2. 19 Feb, 2019 1 commit
  3. 24 Nov, 2017 1 commit
    • Camillo Bruni's avatar
      [tools] Add redirect gdb helper · 8081c9da
      Camillo Bruni authored
      Redirect forwards stdout to a file for the duration of a gdb command.
      This is useful when inspecting very large objects that generate several pages
      of output in a gdb session.
      
      If the GDB_EXTERNAL_EDITOR environment variable is set, popup will
      automatically open the generated temporary file in the provided editor.
      A simple default that works is GDB_EXTERNAL_EDITOR="gnome-open". Note that
      this should be a GUI editor since you would otherwise interrupt the
      active gdb session.
      
          redirect jco 0x12345678
          redirect x/2000xg 0x12345678
      
      Examples: 
      Change-Id: I2db78112a0141427c83813d16d94a19bc2cffddf
      Reviewed-on: https://chromium-review.googlesource.com/788861
      Commit-Queue: Camillo Bruni <cbruni@chromium.org>
      Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
      Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#49620}
      8081c9da
  4. 03 Jul, 2016 1 commit
    • honggyu.kp's avatar
      gdb-v8-support.py: Fix old style print statement · c52685a5
      honggyu.kp authored
      Since python3 does not use the old print statement, it may not be able
      to load gdb-v8-support.py script in gdb as below:
      
        (gdb) source tools/gdb-v8-support.py
          File "tools/gdb-v8-support.py", line 170
            print result
                       ^
        SyntaxError: Missing parentheses in call to 'print'
      
      This fixes print statement for both python2 and python3.
      
      R=jochen@chromium.org
      BUG=
      
      Review-Url: https://codereview.chromium.org/2084163004
      Cr-Commit-Position: refs/heads/master@{#37488}
      c52685a5
  5. 21 Jul, 2015 1 commit
  6. 18 Jun, 2015 1 commit
  7. 27 May, 2015 1 commit
  8. 01 Sep, 2011 1 commit
  9. 30 Jun, 2011 1 commit