From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Tromey To: Syd Polk Cc: Insight List Subject: Re: Patch: fixlet in gdbtk-cmds.c Date: Tue, 28 Nov 2000 13:46:00 -0000 Message-id: <878zq392x7.fsf@creche.cygnus.com> References: <4.2.0.58.20001128125809.01a7f100@pop.cygnus.com> X-SW-Source: 2000-q4/msg00304.html >>>>> "Syd" == Syd Polk writes: Syd> Approved, although I would have preferred using Tcl_WrongNumArgs. I wasn't even aware of that function. It must have been added since I last used Tcl. gdbtk-cmds.c uses the "broken" method everywhere. Bummer. Also, gdb_get_breakpoint_list() uses error(), which seems wrong. I looked in gdb/testsuite/gdb.gdbtk and I didn't see anything that mentions `gdb_clear_file'. So I could check in the patch you prefer, if you want. Is there somewhere else I should look for tests? Tom