Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: Fw: [cdt-debug-dev] Will GDB 5.3 work?

Hi Alain -

Thanks for your help below.  (My problem was that I had mistakenly set 
"GDB Server" as my debugger.)

I have some questions regarding your comment at the end:
"suspend does not work well(if at all) for Solaris gdb"

1. Are you referring to Gnats 673? (
http://sources.redhat.com/cgi-bin/gnatsweb.pl)  I could find no other 
gnats report.

2. How does this impact a CDT user's debug session?  (I have been able to 
stop at breakpoints using Solaris gdb.)

Cheers,

- Brent





"Alain Magloire" <alain@xxxxxxx>
Sent by: cdt-debug-dev-admin@xxxxxxxxxxx
07/17/2003 03:53 PM
Please respond to cdt-debug-dev
 
        To:     cdt-debug-dev@xxxxxxxxxxx
        cc: 
        Subject:        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.


_______________________________________________
cdt-debug-dev mailing list
cdt-debug-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-debug-dev




Back to the top