[MacPorts] #36802: GDB won't "step in" (s)
MacPorts
noreply at macports.org
Mon Oct 29 14:56:50 PDT 2012
#36802: GDB won't "step in" (s)
--------------------+--------------------------------
Reporter: dave@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: High | Milestone:
Component: ports | Version: 2.1.2
Keywords: | Port: gdb
--------------------+--------------------------------
Compile this program with {{{gcc -O0 -g x.c -o x}}}, then {{{ggdb x}}}.
Enter {{{b main}}}, then {{{run}}}, then {{{s}}}. The program should be
stopped on line 3 ({{{return 5}}}), but it's not.
{{{
#!c
int f()
{
return 5;
}
int main()
{
return !f();
}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/36802>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list