<?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 Re: GDB on HP UNIX Machines in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125149#M93031</link>
    <description>WDB/GDB has some support for gcc/g++ but is isn't perfect as you found.&lt;BR /&gt;Make sure you are on the latest wdb, 5.7:&lt;BR /&gt;&lt;A href="http://www.hp.com/go/wdb" target="_blank"&gt;http://www.hp.com/go/wdb&lt;/A&gt;</description>
    <pubDate>Mon, 07 Jan 2008 17:10:28 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2008-01-07T17:10:28Z</dc:date>
    <item>
      <title>GDB on HP UNIX Machines</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125147#M93029</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;        The need is we have to compile our code with gcc and g++ compiler.&lt;BR /&gt;           So we downloaded gcc version 4.2.1 and we are able to work successfully on our HP UNIx 11i (PA-RISC ) Machine.&lt;BR /&gt;&lt;BR /&gt;           But, when we try to debug our code by compiling the g++ and gcc compilers using "-g" flag the debugger behaves strangely.&lt;BR /&gt;&lt;BR /&gt;        As soon as i open the executable through wdb, a message is displayed saying breakpoint for main is set in the Source that doesnt exist in the PATH.&lt;BR /&gt;&lt;BR /&gt;       So , my doubt is can we use the HP UNIX "gdb" and "wdb" on the executables that are generated by gcc compilers.&lt;BR /&gt;&lt;BR /&gt;       Also, where to get the gcc compilers for HP UNIX Itanium machine.&lt;BR /&gt;&lt;BR /&gt;        Can some one help me to solve these issues?&lt;BR /&gt;&lt;BR /&gt;thanks and regards&lt;BR /&gt;Vikram&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jan 2008 06:04:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125147#M93029</guid>
      <dc:creator>CA1490051</dc:creator>
      <dc:date>2008-01-07T06:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: GDB on HP UNIX Machines</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125148#M93030</link>
      <description>Hi Vikram&lt;BR /&gt;&lt;BR /&gt;you can look at following url for gcc&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-4.2.2/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-4.2.2/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Be carefull about dependencies&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Murat</description>
      <pubDate>Mon, 07 Jan 2008 06:46:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125148#M93030</guid>
      <dc:creator>Murat SULUHAN</dc:creator>
      <dc:date>2008-01-07T06:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: GDB on HP UNIX Machines</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125149#M93031</link>
      <description>WDB/GDB has some support for gcc/g++ but is isn't perfect as you found.&lt;BR /&gt;Make sure you are on the latest wdb, 5.7:&lt;BR /&gt;&lt;A href="http://www.hp.com/go/wdb" target="_blank"&gt;http://www.hp.com/go/wdb&lt;/A&gt;</description>
      <pubDate>Mon, 07 Jan 2008 17:10:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125149#M93031</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-01-07T17:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: GDB on HP UNIX Machines</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125150#M93032</link>
      <description>Hi Dennis,&lt;BR /&gt;&lt;BR /&gt;       It means we cannot use WDB to debug the coredumps produced from gcc 4.2.1 compilers.&lt;BR /&gt;&lt;BR /&gt;         But, we have to do this. Please let me know to achive this.&lt;BR /&gt;&lt;BR /&gt;         even if we can achive through gdb, it is OK for us. But i want to know the exact versions of gdb and gcc and the site where i can download the depot file for gdb for different gcc versions.&lt;BR /&gt;&lt;BR /&gt;thanks and regards&lt;BR /&gt;Vikram</description>
      <pubDate>Mon, 07 Jan 2008 17:44:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125150#M93032</guid>
      <dc:creator>CA1490051</dc:creator>
      <dc:date>2008-01-07T17:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: GDB on HP UNIX Machines</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125151#M93033</link>
      <description>Hi Vikram:&lt;BR /&gt;&lt;BR /&gt;You can fetch 'gdb' from here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Gnu/gdb-5.3/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Gnu/gdb-5.3/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Gnu/gdb-5.3/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Gnu/gdb-5.3/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 07 Jan 2008 18:06:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125151#M93033</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-01-07T18:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: GDB on HP UNIX Machines</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125152#M93034</link>
      <description>Hi (again) Vikram:&lt;BR /&gt;&lt;BR /&gt;It would seem that a better source for 'gdb' than the porting center might be:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://sources.redhat.com/gdb/" target="_blank"&gt;http://sources.redhat.com/gdb/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 07 Jan 2008 18:11:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125152#M93034</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-01-07T18:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: GDB on HP UNIX Machines</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125153#M93035</link>
      <description>Hi JRF,&lt;BR /&gt;&lt;BR /&gt;   thank you very much. But, can i use the GDB 6.7.X from the Linux site in HP UNIX 11i PA RISC and also Itanium.&lt;BR /&gt;&lt;BR /&gt;     Though i havnt installed still and tried,&lt;BR /&gt;i wanted to clearify before installing.&lt;BR /&gt;&lt;BR /&gt;      Please let me know if i have to take any special care to use the same.&lt;BR /&gt;&lt;BR /&gt;thanks and regards&lt;BR /&gt;Vikram</description>
      <pubDate>Mon, 07 Jan 2008 18:17:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125153#M93035</guid>
      <dc:creator>CA1490051</dc:creator>
      <dc:date>2008-01-07T18:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: GDB on HP UNIX Machines</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125154#M93036</link>
      <description>&amp;gt;It means we cannot use WDB to debug the coredumps produced from gcc 4.2.1 compilers.&lt;BR /&gt;&lt;BR /&gt;Are you saying you tried this and it doesn't work?  What version of wdb are you using?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Source that doesn't exist in the PATH.&lt;BR /&gt;&lt;BR /&gt;If this is your only error, just use the "dir" command to add source directories.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;But i want to know the exact versions of gdb and gcc and the site where i can download the depot file for gdb for different gcc versions.&lt;BR /&gt;&lt;BR /&gt;First try using the latest wdb (on my link above) before you fall back to the foreign devil gdb.</description>
      <pubDate>Mon, 07 Jan 2008 18:20:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125154#M93036</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-01-07T18:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: GDB on HP UNIX Machines</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125155#M93037</link>
      <description>Hi Dennis,&lt;BR /&gt;&lt;BR /&gt;    Now i am able to open the executable and the core file using the wdb graphical version.&lt;BR /&gt;&lt;BR /&gt;    Noe i am trying to debug a core dump. Before i explain the problem a overview of my directory structure is as follows&lt;BR /&gt;&lt;BR /&gt;     I have my source files as &lt;BR /&gt;             MAINDIR - DIR1 -Src&lt;BR /&gt;                            - Hdr&lt;BR /&gt;                     - DIR2 - Src &lt;BR /&gt;                             - Hdr  &lt;BR /&gt;                      ..&lt;BR /&gt;                      ..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;        I have a makefile in  MAINDIR which runs the Makefiles Present in all the Sub Directories.&lt;BR /&gt;&lt;BR /&gt;        The Makefiles present in the sub directories compiles the Source codes and generates the shared libraries.&lt;BR /&gt;&lt;BR /&gt;        these shared libraries are stored in a common directory in &lt;BR /&gt;     MAINDIR&lt;BR /&gt;             - DIREXEANDLIB  &lt;BR /&gt;&lt;BR /&gt;        Now i am trying to run the Executable present in the DIREXEANDLIB&lt;BR /&gt;         The gdb debugger in the wdb is able to show me the function from which the core is generated.&lt;BR /&gt;&lt;BR /&gt;         But i am not able to open the Source files and set break points in the Source functions both in gdb and wdb.&lt;BR /&gt;  the Debugger says source file not find in the Path.&lt;BR /&gt;        am i missing out something here.&lt;BR /&gt; Cam any one Please help me to come out of this.&lt;BR /&gt;        &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  &lt;BR /&gt;</description>
      <pubDate>Tue, 08 Jan 2008 14:02:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125155#M93037</guid>
      <dc:creator>CA1490051</dc:creator>
      <dc:date>2008-01-08T14:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: GDB on HP UNIX Machines</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125156#M93038</link>
      <description>&amp;gt;overview of my directory structure is as follows:&lt;BR /&gt;MAINDIR - DIR1 -Src&lt;BR /&gt;- Hdr&lt;BR /&gt;- DIR2 - Src&lt;BR /&gt;- Hdr&lt;BR /&gt;&lt;BR /&gt;(Your spacing is removed unless you check the box when submitting.)&lt;BR /&gt;&lt;BR /&gt;Assuming you have:&lt;BR /&gt;./DIR1/Src&lt;BR /&gt;./DIR1/Hdr  ??&lt;BR /&gt;./DIR2/Src&lt;BR /&gt;./DIR2/Hdr  ??&lt;BR /&gt;./DIREXEANDLIB&lt;BR /&gt;&lt;BR /&gt;&amp;gt;But i am not able to open the Source files&lt;BR /&gt;&lt;BR /&gt;If you are in DIREXEANDLIB, you need to use paths to your source files:&lt;BR /&gt;(gdb) dir ../DIR1/Src ../DIR2/Src&lt;BR /&gt;&lt;BR /&gt;(or use absolute paths)&lt;BR /&gt;&lt;BR /&gt;You shouldn't have to add the header paths since the compiler records everything relative to the compilation directory.&lt;BR /&gt;&lt;BR /&gt;See "7.3 Specifying source directories" in the wdb documentation:&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/portal/download/files/unprot/devresource/Tools/wdb/doc/gdb57.pdf" target="_blank"&gt;http://h21007.www2.hp.com/portal/download/files/unprot/devresource/Tools/wdb/doc/gdb57.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Note on IPF you wouldn't have to do this unless you moved the sources.</description>
      <pubDate>Tue, 08 Jan 2008 20:16:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125156#M93038</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-01-08T20:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: GDB on HP UNIX Machines</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125157#M93039</link>
      <description>&amp;gt;ME: Note on IPF you wouldn't have to do this unless you moved the sources.&lt;BR /&gt;&lt;BR /&gt;Hmm, when I use gcc 3.3.2 and wdb 5.7.4, it appears I don't need the dir command.</description>
      <pubDate>Wed, 09 Jan 2008 00:33:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125157#M93039</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-01-09T00:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: GDB on HP UNIX Machines</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125158#M93040</link>
      <description>Hi Dennis,&lt;BR /&gt;&lt;BR /&gt; Ok ultimately i will go to gcc-3.3.2 which you are also using i tried to get this depot &lt;BR /&gt;in the site u sent for 4.2.2 but i am not able to find it.&lt;BR /&gt;&lt;BR /&gt;  can you please send me the proper link to download the same. &lt;BR /&gt;&lt;BR /&gt; thanks and regards&lt;BR /&gt;Vikram</description>
      <pubDate>Wed, 09 Jan 2008 06:52:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125158#M93040</guid>
      <dc:creator>CA1490051</dc:creator>
      <dc:date>2008-01-09T06:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: GDB on HP UNIX Machines</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125159#M93041</link>
      <description>&amp;gt;ultimately i will go to gcc-3.3.2&lt;BR /&gt;&lt;BR /&gt;Why?  I assume if 3.3.2 has this feature then 4.2.2 will.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;can you please send me the proper link to download the same.&lt;BR /&gt;&lt;BR /&gt;I have no clue.  It just magically appeared in the lab, 4 years ago.  :-)</description>
      <pubDate>Wed, 09 Jan 2008 07:37:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gdb-on-hp-unix-machines/m-p/4125159#M93041</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-01-09T07:37:40Z</dc:date>
    </item>
  </channel>
</rss>

