Re: [ECOS] Insight gdb error

Keith Seitz
2002-09-24T16:12:22Z

On 24 Sep 2002, Gary Thomas wrote:

> > When I debug my application with insight GDB 5.2.1, there will always be error message:
> >
> >
> > Error: bad option "-modal": must be -default, -icon, -message, -parent, -title, or -type
> >
> >
> > Where can I change the option? Anybody can save me?

A patch for this was checked in a long time ago:

2002-07-31 Keith Seitz <keiths@redhat.com>

* library/browserwin.itb (_full_funcs_combo): Remove "-modal"
option from tk_messageBox call. It was redhat-local in tk8.0,
but is no longer in tk8.3.
* library/download.itb (download_it): Likewise.
* library/interface.tcl (gdbtk_tcl_query): Likewise.
(show_warning): Likewise.
(set_exe): Likewise.
(set_target): Likewise.
* library/memwin.itb (error_dialog): Likewise.
* library/srcwin.itb (fillFuncCB): Likewise.
* library/util.tcl (tfind_cmd): Likewise.

I suggest grabbing mor recent copy of gdb/gdbtk directory and rebuildng.
(Please move further discussions to insight@sources.redhat.com.)

Keith