On 01/25/2010 12:21 AM, Hui Zhu wrote: > ../../src/gdb/gdbtk/generic/gdbtk-cmds.c: In function 'gdb_set_inferior_args': > ../../src/gdb/gdbtk/generic/gdbtk-cmds.c:867: error: void value not > ignored as it ought to be I've checked in the attached patch for this. Keith ChangeLog 2010-01-25 Keith Seitz * generic/gdbtk-cmds.c (gdb_set_inferior_args): set_inferior_args now works as expected. Do not strdup/free the argument string.