#36802: GDB won't "step in" (s) ---------------------+---------------------- Reporter: dave@… | Owner: dweber@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: gdb | ---------------------+---------------------- Comment (by dave@…): There certainly is code emitted for inline functions, and I can step into them using the system gdb. {{{ pluto:/tmp dave% cat > tst.c inline int f() { return 5; } int main() { return !f(); } pluto:/tmp dave% /usr/bin/gcc -O0 -g tst.c -o tst pluto:/tmp dave% /usr/bin/gdb tst GNU gdb 6.3.50-20050815 (Apple version gdb-1822) (Sun Aug 5 03:00:42 UTC 2012) 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 "x86_64-apple-darwin"...Reading symbols for shared libraries .. done (gdb) b main Breakpoint 1 at 0x100000ee4: file tst.c, line 8. (gdb) run Starting program: /private/tmp/tst Reading symbols for shared libraries +............................. done Breakpoint 1, main () at tst.c:8 8 return !f(); (gdb) s f () at tst.c:3 3 return 5; }}} -- Ticket URL: <https://trac.macports.org/ticket/36802#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS