ddd
[Top][All Lists]
Advanced

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

RE: Bug- DDD- Urgent Clarification Required


From: Iyappan S- CTD, Chennai.
Subject: RE: Bug- DDD- Urgent Clarification Required
Date: Wed, 19 May 2004 10:24:31 +0530

Hi,

Are you using native gdb or target specific gdb ?  Try giving "info
registers" command in the gdb prompt.  If this works, then register window
should not get disabled (hopefully).

Good luck.

-Iyappan

-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent: None
To: address@hidden
Subject: Ddd Digest, Vol 18, Issue 23


Send Ddd mailing list submissions to
        address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.gnu.org/mailman/listinfo/ddd
or, via email, send a message with subject or body 'help' to
        address@hidden

You can reach the person managing the list at
        address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ddd digest..."


Today's Topics:

   1. Bug- DDD- Urgent Clarification Required
      (address@hidden)
   2. Re: Linker Problems with gcc-3.4
      (Max Bernhardt - extern TAGP - Tel. 3749)
   3. Re: Linker Problems with gcc-3.4 (Arnaud Desitter)
   4. ???? ??? ?????? (lisa)
   5. Re: ddd bad performance (lyman wang)
   6. Re: ddd-3.3.9-test2 build feedback (Arnaud Desitter)
   7. Fast moving issues bring short term profits (Elena Gillespie)

----------------------------------------------------------------------

Message: 1
Date: Tue, 18 May 2004 09:31:09 +0530
From: <address@hidden>
Subject: Bug- DDD- Urgent Clarification Required
To: <address@hidden>
Cc: address@hidden, address@hidden
Message-ID:
        <address@hidden>
Content-Type: text/plain;       charset="US-ASCII"

Hello,

I am Jayashree, employee of Infineon Technologies handling Tools and
Integration. I make use of the DDD.3.3.1 version of GNU Debugger on
SunOs, in order to debug my assembly code, unfortunately when I Run the
code I find all the sub windows of The registers gets disabled!!!

Can someone help me regarding this issue as we want this problem need to
be fixed as soon as possible!!

With Best Regards
Jayashree

*91-080-51392027(O)
* email: mailto:address@hidden






------------------------------

Message: 2
Date: Tue, 18 May 2004 10:26:48 +0200
From: "Max Bernhardt - extern TAGP - Tel. 3749"
        <address@hidden>
Subject: Re: Linker Problems with gcc-3.4
To: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset="us-ascii"

Arnaud Desitter wrote:

> ----- Original Message -----
> From: "Max Bernhardt - extern TAGP - Tel. 3749"
<address@hidden>
> To: "Arnaud Desitter" <address@hidden>
> Sent: Monday, May 17, 2004 3:59 PM
> Subject: Re: Linker Problems with gcc-3.4
>
> > Arnaud Desitter wrote:
> >
> > > Hi,
> > >
> > > It looks like a problem with the compiler set-up or your compiler.
> > > Try to build a simple C++ program such as:
> > >
> > > #include <string>
> > > #include <iostream>
> > > int main(){
> > >   std::string s("Hello world.");
> > >   std::cout << s << std::endl;
> > > }
> > >
> > > If it works, then you will have to dig further yourself.
> > > It is vey unlikely to be a ddd problem as it works fine with
> > > gcc 3.4 on Linux and with the native Sun compiler on Solaris.
> > >
> > > Regards,
> >
> > Thanks for the answer, but no ...
> >
> > I can compile the example Program using
> >
> >     g++ hello.cc -o hello
> >
> > or
> >
> >     gcc hello.cc -L/<PATH TO GCC-LIBS> -lstdc++ -o hello
> >
> > just fine.
>
> Then you are the only one that can debug it.

After some trying i found out, that the linker problem originated from the
libs
for the XPM Package. Here they are installed in /opt/pd/lib/. SInce this
path
doesn't turn up in any of my environment variables (especially not in
LD_LIBRARY_PATH or PATH) i was surprised that configure even found the libs.
So
in the linker line '-L/opt/pd/lib -lxxx' showed up.
But this created the problem, because an older version of gcc is also
installed
under /opt/pd/(lib/bin). The new gcc-3.4 is installed in a completely
different
directory. Since i have the directories for new gcc-3.4 in my PATH and
LD_LIBRARY_PATH variables ddd was to be linked against the new libs (ldd
shows
this to be the case), but since the XPM libs were in a path where older gcc
libs live that seemed to throw the linker off.

So configuring with '--without-xpm' did the trick for me.

But i still find it odd that the configure even found the xpm libs.

> > Yes i know that ddd can be compiled with the native Sun Compiler (Sun
C++
> 5.5
> > Patch 113817-06 2004/01/29), which is just what i've done after i
couldn't
> > compile it with gcc-3.4.
> >
> > But this ddd had some massive problems debugging an appilcation that was
> > compiled with gcc-3.4.
> > (Navigating the stack didn't work correctly, 'up' and 'down' missed
> several
> > functions in the stack, setting breakpoints sometimes set the breakpoint
> one
> > line off (although the source were DEFINITEly current, not finding half
of
> the
> > sourcefiles etc.)

Could this in part be a problem that the program i tried to debug is a
multithreaded application??

> > BTW i'm using gdb-6.1, which i compiled with gcc-3.4 and linked with the
> native
> > Sun Linker (/usr/ccs/bin/ld).
> >
> > Might this be a problem between gcc-3.4 and gdb-6.1 ???
>
> Use gdb directly to find out. It may be the ddd needs to be adapted to
> understand
> gdb 6.1. If so, your patches are welcome.

I'd love to but it'd take me quite a while to do something useful, since we
are
just now switching to gcc/gdb/ddd and i'm not really fit yet. If gdb-6.1
might
not work yet, which version gdb is (definitely) safe to use with ddd-3.3.8?

Regards,
                 Max

--

"There is no spoon ..." ;-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Max.Bernhardt.vcf
Type: text/x-vcard
Size: 365 bytes
Desc: Card for Max Bernhardt - extern TAGP - Tel. 3749
Url :
http://mail.gnu.org/pipermail/ddd/attachments/20040518/80d83adc/Max.Bernhard
t.vcf

------------------------------

Message: 3
Date: Tue, 18 May 2004 10:09:53 +0100
From: "Arnaud Desitter" <address@hidden>
Subject: Re: Linker Problems with gcc-3.4
To: "Max Bernhardt - extern TAGP - Tel. 3749"
        <address@hidden>
Cc: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain;       charset="iso-8859-1"


----- Original Message ----- 
From: "Max Bernhardt - extern TAGP - Tel. 3749" <address@hidden>
Newsgroups: gmane.comp.debugging.ddd.general
Sent: Tuesday, May 18, 2004 9:26 AM
Subject: Re: Linker Problems with gcc-3.4


> Arnaud Desitter wrote:
>
> > ----- Original Message -----
> > From: "Max Bernhardt - extern TAGP - Tel. 3749"
<address@hidden>
> > To: "Arnaud Desitter" <address@hidden>
> > Sent: Monday, May 17, 2004 3:59 PM
> > Subject: Re: Linker Problems with gcc-3.4
> >
> > > Arnaud Desitter wrote:
> > >
> > > > Hi,
> > > >
> > > > It looks like a problem with the compiler set-up or your compiler.
> > > > Try to build a simple C++ program such as:
> > > >
> > > > #include <string>
> > > > #include <iostream>
> > > > int main(){
> > > >   std::string s("Hello world.");
> > > >   std::cout << s << std::endl;
> > > > }
> > > >
> > > > If it works, then you will have to dig further yourself.
> > > > It is vey unlikely to be a ddd problem as it works fine with
> > > > gcc 3.4 on Linux and with the native Sun compiler on Solaris.
> > > >
> > > > Regards,
> > >
> > > Thanks for the answer, but no ...
> > >
> > > I can compile the example Program using
> > >
> > >     g++ hello.cc -o hello
> > >
> > > or
> > >
> > >     gcc hello.cc -L/<PATH TO GCC-LIBS> -lstdc++ -o hello
> > >
> > > just fine.
> >
> > Then you are the only one that can debug it.
>
> After some trying i found out, that the linker problem originated from the
libs
> for the XPM Package. Here they are installed in /opt/pd/lib/. SInce this
path
> doesn't turn up in any of my environment variables (especially not in
> LD_LIBRARY_PATH or PATH) i was surprised that configure even found the
libs. So
> in the linker line '-L/opt/pd/lib -lxxx' showed up.

See acinclude.m4, function ICE_FIND_XPM. libxpm is found thanks to the
pattern "/opt/*/lib". Usually, gcc keeps its libraries isolated. It must be
a
very old version of gcc.

> But this created the problem, because an older version of gcc is also
installed
> under /opt/pd/(lib/bin). The new gcc-3.4 is installed in a completely
different
> directory. Since i have the directories for new gcc-3.4 in my PATH and
> LD_LIBRARY_PATH variables ddd was to be linked against the new libs (ldd
shows
> this to be the case), but since the XPM libs were in a path where older
gcc
> libs live that seemed to throw the linker off.
>
> So configuring with '--without-xpm' did the trick for me.
>
> But i still find it odd that the configure even found the xpm libs.
>
> > > Yes i know that ddd can be compiled with the native Sun Compiler (Sun
C++
> > 5.5
> > > Patch 113817-06 2004/01/29), which is just what i've done after i
couldn't
> > > compile it with gcc-3.4.
> > >
> > > But this ddd had some massive problems debugging an appilcation that
was
> > > compiled with gcc-3.4.
> > > (Navigating the stack didn't work correctly, 'up' and 'down' missed
> > several
> > > functions in the stack, setting breakpoints sometimes set the
breakpoint
> > one
> > > line off (although the source were DEFINITEly current, not finding
half of
> > the
> > > sourcefiles etc.)
>
> Could this in part be a problem that the program i tried to debug is a
> multithreaded application??
>
> > > BTW i'm using gdb-6.1, which i compiled with gcc-3.4 and linked with
the
> > native
> > > Sun Linker (/usr/ccs/bin/ld).
> > >
> > > Might this be a problem between gcc-3.4 and gdb-6.1 ???
> >
> > Use gdb directly to find out. It may be the ddd needs to be adapted to
> > understand
> > gdb 6.1. If so, your patches are welcome.
>
> I'd love to but it'd take me quite a while to do something useful, since
we are
> just now switching to gcc/gdb/ddd and i'm not really fit yet. If gdb-6.1
might
> not work yet, which version gdb is (definitely) safe to use with
ddd-3.3.8?
>

gdb 5.x works. If gdb 6.x is supported by ddd, your best bet is to create a
patch.

Regards,





------------------------------

Message: 4
Date: Tue, 18 May 2004 09:52:49 +0000
From: lisa <address@hidden>
Subject: ???? ??? ??????
To: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset="us-ascii"

An HTML attachment was scrubbed...
URL:
http://mail.gnu.org/pipermail/ddd/attachments/20040518/d77c4aa5/attachment.h
tm

------------------------------

Message: 5
Date: Tue, 18 May 2004 19:05:35 +0800
From: "lyman wang" <address@hidden>
Subject: Re: ddd bad performance
To: address@hidden, address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset="us-ascii"

An HTML attachment was scrubbed...
URL:
http://mail.gnu.org/pipermail/ddd/attachments/20040518/a59a5213/attachment.h
tml

------------------------------

Message: 6
Date: Tue, 18 May 2004 12:41:23 +0100
From: "Arnaud Desitter" <address@hidden>
Subject: Re: ddd-3.3.9-test2 build feedback
To: "Andrew Gaylard" <address@hidden>
Cc: Tim Mooney <address@hidden>, address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain;       charset="iso-8859-1"


----- Original Message ----- 
From: "Andrew Gaylard" <address@hidden>
Sent: Monday, May 17, 2004 7:27 PM
Subject: Re: ddd-3.3.9-test2 build feedback


> >>I personally don't care for "artificial version inflation", but the
> >>changes seem significant enough so that you may want to call the
official
> >>release 3.4.0 or perhaps 3.5.0.
> >
> >
> > I do not mind except that somebody as to generate a new splash screen.
> > Ask Andrew.
>
> Errr, y-e-a-h (pronounced with an air of doubt).
>
> I'm happy to go to 3.4.0, but I'd also need someone to produce the new
> splash screen...
>
> Any volunteers?

convert \
 -colors 32 \
 -fill '#838385' -draw 'rectangle 344,104 393,88' \
 -font helvetica-bold -fill '#fefefc' \
 -pointsize 20 -draw 'text 344,105 "v3.4"' \
 dddsplash.xpm d1.xpm

may do it (colors could be 'gray' and 'white').
Maybe,  a similar command should create the proper splash screen in
ddd/Makefile.am.

Regards,







------------------------------

Message: 7
Date: Tue, 18 May 2004 17:11:26 +0100
From: "Elena Gillespie" <address@hidden>
Subject: Fast moving issues bring short term profits
To: address@hidden, address@hidden,
        address@hidden, address@hidden,
address@hidden,
        address@hidden, address@hidden, address@hidden, address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset="us-ascii"

An HTML attachment was scrubbed...
URL:
http://mail.gnu.org/pipermail/ddd/attachments/20040518/3c80ed58/attachment.h
tm

------------------------------

_______________________________________________
Ddd mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/ddd


End of Ddd Digest, Vol 18, Issue 23
***********************************




reply via email to

[Prev in Thread] Current Thread [Next in Thread]