How to gdb ./a.out < list

Discussion in 'C++' started by Lambda, Nov 16, 2007.

  1. Lambda

    Lambda Guest

    Is it possible gdb this way:
    gdb ./a.out < list

    I need the text in the list file

    I found the gdb quit immediately.
    Lambda, Nov 16, 2007
    1. Advertisements

  2. Lambda

    red floyd Guest

    Wrong group. Try

    Or did you have a C++ language question?
    red floyd, Nov 16, 2007
    1. Advertisements

  3. gdb ./a.out
    run < list
    Juha Nieminen, Nov 16, 2007
  4. Lambda

    Lambda Guest

    Thank you! It works now.
    Lambda, Nov 17, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.