public inbox for insight-prs@sourceware.org
help / color / mirror / Atom feed
* insight/323: executable must be colocated with source
@ 2007-11-12 14:03 michaelprocop
  0 siblings, 0 replies; 2+ messages in thread
From: michaelprocop @ 2007-11-12 14:03 UTC (permalink / raw)
  To: insight-gnats


>Number:         323
>Category:       insight
>Synopsis:       executable must be colocated with source
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 12 14:03:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Mike Procopio
>Release:        Insight 6.6
>Organization:
>Environment:
Debug 4
>Description:
I find that I must have my executable file colocated with the source containing the main entry point; otherwise, the gdb child windows pops up with:
>How-To-Repeat:
>From working directory which contains my 1st source file containing main:

insight <Full path to executable in a different directory> &

Depressed run.
A gdb child windows pops up with:
<path to executable>:  No Match.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: insight/323: executable must be colocated with source
@ 2008-02-21  0:54 kseitz
  0 siblings, 0 replies; 2+ messages in thread
From: kseitz @ 2008-02-21  0:54 UTC (permalink / raw)
  To: insight-prs, kseitz, michaelprocop, nobody

Synopsis: executable must be colocated with source

Responsible-Changed-From-To: unassigned->kseitz
Responsible-Changed-By: kseitz
Responsible-Changed-When: Thu Feb 21 00:54:11 2008
Responsible-Changed-Why:
    mine
State-Changed-From-To: open->analyzed
State-Changed-By: kseitz
State-Changed-When: Thu Feb 21 00:54:11 2008
State-Changed-Why:
    There is something else going on. The source does NOT need to be co-located with your executable: gdb (and hence insight) will find your source files from the debug info contained in the executable.
    
    If this mechanism isn't working, you might need to open a console window and use gdb's "dir" command to help it find the source files (sorry, insight currently doesn't have an equivalent command). Type "help dir" for more information on the dir command in gdb.
    
    I hate to say this, but I've just tested this with my local installation (CVS HEAD), and I am unable to reproduce your problem following the procedure you've specified.
    
    Have you tried using the "-nx" option to gdb/insight? Perhaps there is some stale information in .gdbtkinit?

http://sourceware.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=insight&pr=323


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-21  0:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-12 14:03 insight/323: executable must be colocated with source michaelprocop
2008-02-21  0:54 kseitz

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).