From: chrmills <chrmills@nortelnetworks.com>
To: help-gcc@gnu.org
Subject: Gnu 2.95 and Gdb 4.16
Date: Fri, 19 Nov 1999 03:11:00 -0000 [thread overview]
Message-ID: <38352AAE.A2978534@nortelnetworks.com> (raw)
I am having problems using GNU 2.95 with GDB 4.16. The problem is symbol
related, I am using the -gstabs+ option when compiling and linking, and
yet when I use a dynamically allocated class and try to call a method it
doesn't step into the method, i.e. when I do:
aClass a=new aClass;
a->someMethod();
GDB doesn't step into someMethod(). Whats more when I use DDD (version
4.1.6) and open a source file I get the message:
"somefile.cpp" is at address 0xXXXX <method(parms)> but contains no code
What's more it seems that the addresses that the symbol table says a
method or function is at is not neccesarily where physically are.
Incedentally I am not using the -O optimisation option. This is really
getting annoying I can't figure it out, any ideas?
ChrisM
WARNING: multiple messages have this Message-ID
From: chrmills <chrmills@nortelnetworks.com>
To: help-gcc@gnu.org
Subject: Gnu 2.95 and Gdb 4.16
Date: Tue, 30 Nov 1999 23:28:00 -0000 [thread overview]
Message-ID: <38352AAE.A2978534@nortelnetworks.com> (raw)
Message-ID: <19991130232800.2kQq1_RwRVS5ZHci7frmhnaMSKH47NxUoWJuJVcEwl0@z> (raw)
I am having problems using GNU 2.95 with GDB 4.16. The problem is symbol
related, I am using the -gstabs+ option when compiling and linking, and
yet when I use a dynamically allocated class and try to call a method it
doesn't step into the method, i.e. when I do:
aClass a=new aClass;
a->someMethod();
GDB doesn't step into someMethod(). Whats more when I use DDD (version
4.1.6) and open a source file I get the message:
"somefile.cpp" is at address 0xXXXX <method(parms)> but contains no code
What's more it seems that the addresses that the symbol table says a
method or function is at is not neccesarily where physically are.
Incedentally I am not using the -O optimisation option. This is really
getting annoying I can't figure it out, any ideas?
ChrisM
next reply other threads:[~1999-11-19 3:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-19 3:11 chrmills [this message]
1999-11-30 23:28 ` chrmills
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=38352AAE.A2978534@nortelnetworks.com \
--to=chrmills@nortelnetworks.com \
--cc=help-gcc@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).