<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problem viewing class types in gdb in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/problem-viewing-class-types-in-gdb/m-p/3999281#M96157</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to debug a C++ code using gdb on HP_UX. When i try to view 'this' pointer, i get the following error:&lt;BR /&gt;&lt;BR /&gt;*****************************************&lt;BR /&gt;Internal error: `this' is not an aggregate&lt;BR /&gt;*************************************&lt;BR /&gt;&lt;BR /&gt;I am not able to see any data members of class.&lt;BR /&gt;Same piece of code is debugged correctly on Linux. Is there any issue with compilation ?&lt;BR /&gt;&lt;BR /&gt;Following are the relevant details:&lt;BR /&gt;OS: HP_UX B.11.11 U 9000/800&lt;BR /&gt;Compiler: gcc 3.4.2&lt;BR /&gt;gdb: HP gdb 5.2 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;-Sunderjs</description>
    <pubDate>Mon, 14 May 2007 09:45:49 GMT</pubDate>
    <dc:creator>Sunderjeet Singh</dc:creator>
    <dc:date>2007-05-14T09:45:49Z</dc:date>
    <item>
      <title>Problem viewing class types in gdb</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-viewing-class-types-in-gdb/m-p/3999281#M96157</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to debug a C++ code using gdb on HP_UX. When i try to view 'this' pointer, i get the following error:&lt;BR /&gt;&lt;BR /&gt;*****************************************&lt;BR /&gt;Internal error: `this' is not an aggregate&lt;BR /&gt;*************************************&lt;BR /&gt;&lt;BR /&gt;I am not able to see any data members of class.&lt;BR /&gt;Same piece of code is debugged correctly on Linux. Is there any issue with compilation ?&lt;BR /&gt;&lt;BR /&gt;Following are the relevant details:&lt;BR /&gt;OS: HP_UX B.11.11 U 9000/800&lt;BR /&gt;Compiler: gcc 3.4.2&lt;BR /&gt;gdb: HP gdb 5.2 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;-Sunderjs</description>
      <pubDate>Mon, 14 May 2007 09:45:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-viewing-class-types-in-gdb/m-p/3999281#M96157</guid>
      <dc:creator>Sunderjeet Singh</dc:creator>
      <dc:date>2007-05-14T09:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem viewing class types in gdb</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-viewing-class-types-in-gdb/m-p/3999282#M96158</link>
      <description>You may want to use a later version, try downloading 5.6.&lt;BR /&gt;&lt;BR /&gt;What does "ptype this" show?</description>
      <pubDate>Mon, 14 May 2007 17:47:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-viewing-class-types-in-gdb/m-p/3999282#M96158</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-05-14T17:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem viewing class types in gdb</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-viewing-class-types-in-gdb/m-p/3999283#M96159</link>
      <description>Hello Sunderjeet,&lt;BR /&gt;&lt;BR /&gt;We were able to reproduce the issue you have mentioned.&lt;BR /&gt;This seems to be a problem with gdb and to some extent with g++ on HPUX. &lt;BR /&gt;Even 'ptype this' will give the same error.&lt;BR /&gt;&lt;BR /&gt;We are looking into this issue and shall get back to you in sometime.&lt;BR /&gt;&lt;BR /&gt;Having said that, we encourage you to use the HP aCC compiler and leverage complete debugging support.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Mithun&lt;BR /&gt;HP-WDB team</description>
      <pubDate>Tue, 15 May 2007 04:24:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-viewing-class-types-in-gdb/m-p/3999283#M96159</guid>
      <dc:creator>Mithun R N</dc:creator>
      <dc:date>2007-05-15T04:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem viewing class types in gdb</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-viewing-class-types-in-gdb/m-p/3999284#M96160</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Any update from HP after recreating the problem locally ?&lt;BR /&gt;&lt;BR /&gt;Meanwhile, i am trying to test the same piece of code using g++ 4.1.2 and gdb 5.3&lt;BR /&gt;(latest available from HP site).&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;-Sunder</description>
      <pubDate>Mon, 21 May 2007 06:58:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-viewing-class-types-in-gdb/m-p/3999284#M96160</guid>
      <dc:creator>Sunderjeet Singh</dc:creator>
      <dc:date>2007-05-21T06:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem viewing class types in gdb</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-viewing-class-types-in-gdb/m-p/3999285#M96161</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;What are the major differences between compiling with g++ and aCC ? My g++ compiled code gives a lot of errors with aCC (even plain typedef enum is generating error). Is there any information manual that list such differences. &lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;-Sunder</description>
      <pubDate>Tue, 22 May 2007 06:48:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-viewing-class-types-in-gdb/m-p/3999285#M96161</guid>
      <dc:creator>Sunderjeet Singh</dc:creator>
      <dc:date>2007-05-22T06:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem viewing class types in gdb</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-viewing-class-types-in-gdb/m-p/3999286#M96162</link>
      <description>&amp;gt;What are the major differences between compiling with g++ and aCC?&lt;BR /&gt;&lt;BR /&gt;aC++ is strict C++, no extensions.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;My g++ compiled code gives a lot of errors with aCC (even plain typedef enum is generating error). Is there any information manual that list such differences?&lt;BR /&gt;&lt;BR /&gt;What does the code look like?&lt;BR /&gt;Check g++ for their list of extensions??</description>
      <pubDate>Tue, 22 May 2007 18:46:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-viewing-class-types-in-gdb/m-p/3999286#M96162</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-05-22T18:46:46Z</dc:date>
    </item>
  </channel>
</rss>

