This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/14423] Missing debug_line info for non-inline function call site with inline call in parameter
- From: "rdelashmit at soe dot sony dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Mar 2004 16:01:15 -0000
- Subject: [Bug debug/14423] Missing debug_line info for non-inline function call site with inline call in parameter
- References: <20040304002203.14423.rdelashmit@soe.sony.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rdelashmit at soe dot sony dot com 2004-03-04 16:01 -------
(In reply to comment #3)
dwarfdump can be found at http://reality.sgi.com/davea
'dwarfdump -l' output as I used previously is the equivalent of 'readelf -wl',
so I'll switch to that format for consistency.
Using gcc 3.3.3 and readelf -wl, I don't get the same results that you did.
I get the following (once again missing source lines 17 and 18):
Extended opcode 2: set Address to 0x0
Advance Line by 10 to 11
Copy
Special opcode 48: advance Address by 3 to 0x3 and Line by 1 to 12
Special opcode 118: advance Address by 8 to 0xb and Line by 1 to 13
Special opcode 50: advance Address by 3 to 0xe and Line by 3 to 16
Advance Line by -10 to 6
Special opcode 131: advance Address by 9 to 0x17 and Line by 0 to 6
Special opcode 144: advance Address by 10 to 0x21 and Line by -1 to 5
Special opcode 174: advance Address by 12 to 0x2d and Line by 1 to 6
Special opcode 144: advance Address by 10 to 0x37 and Line by -1 to 5
Advance Line by 15 to 20
Special opcode 173: advance Address by 12 to 0x43 and Line by 0 to 20
Advance PC by 11 to 4e
Extended opcode 1: End of Sequence
Compile output is as follows:
Reading specs from /home/rdelashmit/bin/gcc-3.3.3/lib/gcc-lib/i686-pc-linux-
gnu/3.3.3/specs
Configured with: ../configure --prefix=/home/rdelashmit/bin/gcc-3.3.3
Thread model: posix
gcc version 3.3.3
/home/rdelashmit/bin/gcc-3.3.3/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/cc1plus -E -
D__GNUG__=3 -quiet -v -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=3 -
dD -D_GNU_SOURCE a.cpp -O1 a.ii
ignoring nonexistent directory "/home/rdelashmit/bin/gcc-3.3.3/i686-pc-linux-
gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/home/rdelashmit/bin/gcc-3.3.3/include/c++/3.3.3
/home/rdelashmit/bin/gcc-3.3.3/include/c++/3.3.3/i686-pc-linux-gnu
/home/rdelashmit/bin/gcc-3.3.3/include/c++/3.3.3/backward
/usr/local/include
/home/rdelashmit/bin/gcc-3.3.3/include
/home/rdelashmit/bin/gcc-3.3.3/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include
/usr/include
End of search list.
/home/rdelashmit/bin/gcc-3.3.3/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/cc1plus -
fpreprocessed a.ii -quiet -dumpbase a.cpp -auxbase-strip a-inline-3.3.3 -g3 -
O1 -version -o a.s
GNU C++ version 3.3.3 (i686-pc-linux-gnu)
compiled by GNU C version 3.2.3.
GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=128726
as -V -Qy -o a-inline-3.3.3 a.s
GNU assembler version 2.13.90.0.18 (i386-redhat-linux) using BFD version
2.13.90.0.18 20030206
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14423