[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch for debugapp.in
From: |
Nicola Pero |
Subject: |
Re: Patch for debugapp.in |
Date: |
Fri, 5 Dec 2003 18:04:54 +0000 (GMT) |
> Hi,
>
> This patch adds the switch --gui[=front_end] to debugapp so that
> it can invokes gdb together with your favorite graphical front
> end for gdb. The default value is set to ddd.
>
> For example,
>
> $ debugapp --gui <your_application>.debug
>
> invokes gdb with ddd, whereas
>
> $ debugapp --gui=xgdb <your_application>.debug
>
> with xgdb.
>
> Of course, gdb should be 6.0 or higher. Otherwise, a front end
> won't display source lists correctly, and thus its use doesn't
> make much sense.
>
> I hope some people find it convenient.
>
Thanks. Interesting point.
What about
export GDB=xgdb
debugapp <your_application>.debug
or even
GDB=xgdb debugapp <your_application>.debug
that should do the same.
- Re: Patch for debugapp.in,
Nicola Pero <=