debug/10466: Can't debug the first function in a C file that is included in another C file

stevee@zuken.co.uk stevee@zuken.co.uk
Wed Apr 23 16:46:00 GMT 2003


>Number:         10466
>Category:       debug
>Synopsis:       Can't debug the first function in a C file that is included in another C file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 23 16:46:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Steve Evans
>Release:        3.2.2
>Organization:
>Environment:
Solaris 2.6
>Description:
If a C file #includes another C file that contains function definitions 
it is not possible to break on the first function in the included C file.
The debugger behaves as though there is no debug information for
the function.
All other functions within the included C file can have break points added and they work fine.
This is using gdb 5.3
>How-To-Repeat:

>Fix:

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



More information about the Gcc-bugs mailing list