This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb/1684: gdb cannot access source file (Sun C 5.3)


>Number:         1684
>Category:       gdb
>Synopsis:       gdb cannot access source file (Sun C 5.3)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 23 15:18:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     m.mueller99@kay-mueller.de
>Release:        gcc 6.1.1
>Organization:
>Environment:
Solaris SPARC, Sun C 5.3
>Description:
gdb outputs the directory name of the source file with the actual file name (like xxx.c) missing.
>How-To-Repeat:
GNU gdb 6.1.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8"...
(gdb) b main
Breakpoint 1 at 0x100000a3c: file /export/home/michaelm/gdb/tst, line 7.
(gdb) run
Starting program: /export/home/michaelm/gdb/tst/p4 
hello world

Breakpoint 1, main () at /export/home/michaelm/gdb/tst:7
7       /export/home/michaelm/gdb/tst: No such file or directory.
        in /export/home/michaelm/gdb/tst
(gdb) # correct source file is /export/home/michaelm/gdb/tst/p4.c
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="p4.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="p4.c"

I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQKbWFpbigpCnsKCXByaW50ZigiaGVsbG8gd29ybGRcbiIp
Owp9Cg==


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]