[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gdb] gdb include paths
From: |
Ignacio Castaño |
Subject: |
[Gdb] gdb include paths |
Date: |
Thu, 20 Jan 2005 01:25:18 -0800 |
Hi,
I've been using gdb for some time, but I had to live with an annoying
problem that finally I've decided to ask about, because I've not been
able to find a solution for it on my own.
The problem is that it seems that gdb is not able to find the source
code of some of the files that I'm debugging. The file structure of my
project is as follows:
./code/*/include
./code/*/src
The binaries are in . and * stands for different module names. I have
no problem listing the contents of the files that are in the src
folders, but I cannot do the same with the files contained in the
include folder. I would like to know if it's possible to add
additional search paths to gdb and if it would be possible to store
those search paths in a config file, so that I don't have to add them
on every session.
I'm also looking for a function to determine whether the debugger is
running or not, similar to the win32 IsDebuggerPresent function, so
that I can determine the presence of the debugger in my error handling
code.
Thanks in advance!
--
Ignacio Castaño
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gdb] gdb include paths,
Ignacio Castaño <=