[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian's GDB still can't handle threads! (or Ada!)



On Tue, Oct 19, 1999 at 11:17:54PM -0400, Daniel Burrows wrote:
>   I am almost at the point of filing a release-critical bug against gdb,
> but I thought I'd ask here first so more people can flame me if I'm an idiot ;-)
> 
>   Basically, here's the problem: gdb, as distributed by Debian, cannot debug
> threaded programs in any meaningful way.  (see bugs #37983, #28058, #36642,
> #37672, and #44536)  

Note that the current gdb cannot debug Ada programs either. I believe this
to be primarily because the Ada support needs the threading support.

> changed; only the Debian build number can move.  Therefore, it seems to me
> that someone should, if possible, either (1) revert gdb to a version that
> works with threads (yuck), or (2) patch the current gdb to at least sort-of
> work with threads. [ this is probably good enough for most stuff -- another
> BTS entry says that the RedHat version does this, could someone look at it? ]
> 
>   Does anyone see a better solution?

One solution that came up earlier was to offer a package, named 
gdb4.17 or gdb-ada-threads or something, that was slink's gdb 
packaged for Potato. Slink's gdb works fine on Potato. This idea 
only needs a maintainer to upload it. (cc'ed to our wonderful 
GNAT maintainer in hopes for a working Ada debugger for potato.)

David Starner - dstarner98@aasaa.ofe.org


Reply to: