This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/15437] New: virtual inheritance: __in_chrg and __vtt_parm
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 07 May 2013 17:49:25 +0000
- Subject: [Bug c++/15437] New: virtual inheritance: __in_chrg and __vtt_parm
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15437
Bug #: 15437
Summary: virtual inheritance: __in_chrg and __vtt_parm
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned@sourceware.org
ReportedBy: jan.kratochvil@redhat.com
Classification: Unclassified
Target: x86_64-unknown-linux-gnu
class A {
public:
A(int arg) {}
};
class B:virtual public A {
public:
B(int arg):A(arg) {}
};
int main() {
B b(1);
}
(gdb) start
(gdb) step
B::B (this=0x7fffffffda30, arg=1, __in_chrg=<optimized out>,
__vtt_parm=<optimized out>) at ...C:7
7 B(int arg):A(arg) {}
<2><166>: Abbrev Number: 19 (DW_TAG_formal_parameter)
<167> DW_AT_name : __in_chrg
<16b> DW_AT_type : <0x189>
<16f> DW_AT_artificial : 1
<2><16f>: Abbrev Number: 19 (DW_TAG_formal_parameter)
<170> DW_AT_name : __vtt_parm
<174> DW_AT_type : <0x18e>
<178> DW_AT_artificial : 1
Those two parameters could be probably just ignored.
GNU gdb (GDB) 7.6.50.20130507-cvs
gcc (GCC) 4.9.0 20130507 (experimental)
(but it affects any version I tried)
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.