jolmg 6 years ago

I didn't understand the example in the README. There is no "main" in those lines, so why did grep output them?

  • monocasa 6 years ago

    I think they meant to type

      (gdb) shell-pipe disas | grep mov
    • as-j 6 years ago

      Must be because it doesn’t make sense otherwise...I submitted a PR to fix it.

      • hq6 6 years ago

        Thank you for the PR! That error was the result of copy-pasting output and typing the command manually.

wazari972 6 years ago

nice and easy ! I remember that the piping functionality was discussed in GDB mailing list long ago, but I guess it never got accepted!

it would have allowed writing

    (gdb) disas | grep mov
instead of

    (gdb) shell-pipe disas | grep mov