[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [h-e-w] Fixing path for gdb (gud) in NTEmacs
From: |
Stephen Leake |
Subject: |
Re: [h-e-w] Fixing path for gdb (gud) in NTEmacs |
Date: |
25 Jan 2005 11:08:25 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Luetzeler Michael <address@hidden> writes:
> Hi,
>
> I would like to remote debug a mobile device using the gdb debugger. I have
> a cmd-line version running (gdb -nw) from the shell.
>
> When I start gdb from NTEmacs M-x gdb -> run gdb -nw the source code files
> are given with a path:
> v:/V/TTS_SX1/PROJECTS/SITTSS/SRC/sitts.cpp
> which does not exist.
>
> The souce is located in:
> v:/TTS_SX1/PROJECTS/SITTSS/SRC/
The problem is actually in your compiler; it is storing full path
information in the object files, and using a different convention for
the Windows device than Emacs and your local gdb use.
See if there is a compiler option to store only the file name, not the
path. Then you can specify the search path to your local gdb.
--
-- Stephe