• Leszek Swirski's avatar
    [tools] Fix gdb frame skip over dummy frames · 5e9afd64
    Leszek Swirski authored
    The gdb DCHECK frame skipping automatically skips over all the abort
    etc. frames to get you to that DCHECK callsite you're actually looking
    for.
    
    However, this is annoying if you tried to call a function with a
    breakpoint from the gdb prompt; the frame skipping wold skip over your
    breakpoint back up to the failing DCHECK.
    
    Now, we abort the frame walk on dummy frames inserted by gdb execution.
    
    Change-Id: I2cf89ea9219374ad7c562c6eb13afe471038b033
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3229376
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Auto-Submit: Leszek Swirski <leszeks@chromium.org>
    Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#77436}
    5e9afd64
gdbinit 6.79 KB