DDD - Can't set source file path

QNX 6.2.1B on x86

I’m trying to use DDD to debug an executable containing some static
libraries that were built in a different setting than my current
environment. I have the source for the libraries, but the path is different
than where they were built. DDD identifies the correct list of source files
in the libraries, but doesn’t know where to find them. I try to tell it in
“Edit”, “GDB Settings”, “Search path for source files”. The box looks like
it would be editable, but when I try it doesn’t accept any changes I make.

This all works fine using the IDE (not using DDD), but I’ve got some
co-workers that don’t have IDE access.

  1. Is my DDD installation broken? or
  2. How do I tell DDD where to find the source files?

P.S. If the answer is to somehow set it directly in gdb, please be specific,
as I’m somewhat gdb-impaired.

Thanks,

Marty Doane
Siemens Dematic

ping.


Marty Doane
Siemens Dematic

“Marty Doane” <martin.doane@siemens.com> wrote in message
news:c206vi$i1$1@inn.qnx.com

QNX 6.2.1B on x86

I’m trying to use DDD to debug an executable containing some static
libraries that were built in a different setting than my current
environment. I have the source for the libraries, but the path is
different
than where they were built. DDD identifies the correct list of source
files
in the libraries, but doesn’t know where to find them. I try to tell it in
“Edit”, “GDB Settings”, “Search path for source files”. The box looks like
it would be editable, but when I try it doesn’t accept any changes I make.

This all works fine using the IDE (not using DDD), but I’ve got some
co-workers that don’t have IDE access.

  1. Is my DDD installation broken? or
  2. How do I tell DDD where to find the source files?

P.S. If the answer is to somehow set it directly in gdb, please be
specific,
as I’m somewhat gdb-impaired.

Thanks,

Marty Doane
Siemens Dematic

Marty Doane <martin.doane@siemens.com> wrote:

ping.

I think you are running into the trouble that DDD isn’t actually supported
by QSS and that no one who has read your posting actually uses it. :slight_smile:
You might want to try asking on a DDD specific forum to see if you are
going down the right road and report back if there is some QNX specific
problem.

chris


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/