how to auto pass the parameters to the gdb command

Oct 11, 2006 1 Replies

when i debug the remote program on the host, i have to type



target remote xxx.xxx.xxx.xxx:xxx



it is boring to do this every time


See the GDB manual for the file .gdbinit (or gdb.ini on Windows-based systems).

Tauno Voipio tauno voipio (at) iki fi

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required