[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: Fw: [cdt-debug-dev] Will GDB 5.3 work?
|
>
> ----- Original Message -----
> From: "Brent Nicolle" <bnicolle@xxxxxxxxxx>
> To: <cdt-debug-dev@xxxxxxxxxxx>
> Sent: Wednesday, July 09, 2003 5:47 PM
> Subject: [cdt-debug-dev] Will GDB 5.3 work?
>
>
> > Hi cdt-debug-dev,
> >
> > My first attempt to debug CDT 1.2.0.9 on Solaris resulted in:
> > Failed Launching CDI Debugger: Error initializing: gdb:
> > unrecognized option '-i'
> >
8-)
Yes you need 5.2.1 or above.
> > Then I saw that I need gdb-5.2.1. Foolishly, I downloaded gdb-5.3
> > assuming that is a superset of gdb 5.2.1. Now I get:
> > Failed Launching CDI Debugger: Error initializing: /dev/ttyS0: No
> > such file or directory.
> >
/dev/ttyS0 ?
That is device for serial com/port under GNU/Linux
Are you trying to do some serial debugging on Linux?
The "/dev/ttyS0" is part of the "GDB Server" debugger.
Use the normal "GDB Debugger" or use the appropriate serial device
for a Solaris box.
> > Of course, it works fine from the command-line.
> >
> > Is GDB 5.2.1 going to fix my problem? i.e. is 5.3 a known unsupported
> > version of GDB?
> >
5.3 should work ok. The issues are with registers certain bugs were introduce
in gdb in that version. But the latest CDT/GDBMI tries the best it can to cope with it.
Also note that suspend does not work well(if at all) for Solaris gdb, there
was not enough pressure or resources to fix this. Note, a PR was fill
in GDB gnats mailing list.