<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/gdb/m-p/4429387#M682463</link>
    <description>&amp;gt;wdb could be an option by I can only access the server through telnet&lt;BR /&gt;&lt;BR /&gt;WDB comes with wdb and HP's gdb, use the latter.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I added the -g option to every compile lines&lt;BR /&gt;&lt;BR /&gt;Did you also add it to the link line?</description>
    <pubDate>Mon, 01 Jun 2009 09:00:59 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2009-06-01T09:00:59Z</dc:date>
    <item>
      <title>GDB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gdb/m-p/4429382#M682458</link>
      <description>Is ther any propblem when compiling Pro C programs using the -g flag?&lt;BR /&gt;&lt;BR /&gt;When i run gdb &lt;PROGRAM name=""&gt; it allways gives me (no debugging symbols found).&lt;BR /&gt;&lt;BR /&gt;I tried with a simple c program and it is alright but with the Pro C makefile it doesn't work. I've done some research but i could'nt find anything.&lt;BR /&gt;&lt;BR /&gt;Can anyone help??&lt;BR /&gt;&lt;BR /&gt;My Hp Ux version is HP-UX 11i v1&lt;BR /&gt;and my Gdb version is  5.4.0&lt;/PROGRAM&gt;</description>
      <pubDate>Fri, 29 May 2009 14:22:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gdb/m-p/4429382#M682458</guid>
      <dc:creator>j0nas</dc:creator>
      <dc:date>2009-05-29T14:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: GDB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gdb/m-p/4429383#M682459</link>
      <description>&lt;!--!*#--&gt;I know nothing, but ...&lt;BR /&gt;&lt;BR /&gt;How did you specify "the -g flag" when&lt;BR /&gt;"compiling Pro C programs"?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] with the Pro C makefile it doesn't&lt;BR /&gt;&amp;gt; work.&lt;BR /&gt;&lt;BR /&gt;And what's in "the Pro C makefile"?&lt;BR /&gt;&lt;BR /&gt;Assuming that this is actually Oracle Pro*C,&lt;BR /&gt;I'm told that "Your system-specific Oracle&lt;BR /&gt;documentation has instructions on how to link&lt;BR /&gt;a Pro*C/C++ application."  Have you looked?</description>
      <pubDate>Sat, 30 May 2009 02:55:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gdb/m-p/4429383#M682459</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-05-30T02:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: GDB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gdb/m-p/4429384#M682460</link>
      <description>What's your compiler version?  It seems you must be using gcc, since gdb 5.4.0 isn't HP's wdb?</description>
      <pubDate>Sat, 30 May 2009 05:35:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gdb/m-p/4429384#M682460</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-05-30T05:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: GDB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gdb/m-p/4429385#M682461</link>
      <description>In general it is recommended to use latest WDB version (i.e. WDB 6.0). However WDB does not support Pro C.</description>
      <pubDate>Mon, 01 Jun 2009 05:35:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gdb/m-p/4429385#M682461</guid>
      <dc:creator>nitinjain</dc:creator>
      <dc:date>2009-06-01T05:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: GDB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gdb/m-p/4429386#M682462</link>
      <description>Thank you for the reply, wdb could be an option by i can only access the server through telnet, and i can't open a display to use it.&lt;BR /&gt;&lt;BR /&gt;I'm using cc to compile the program and i added the -g option to every compile lines in the makefile.&lt;BR /&gt;&lt;BR /&gt;env_pre.mk&lt;BR /&gt;&lt;BR /&gt;GFLAG = -g +d&lt;BR /&gt;CFLAGS       = -c -I$(REFHEA) -I$(USRXIT) -D_HPUX_SOURCE +DAportable -Ae&lt;BR /&gt;CFLAGS1      = -c -I$(REFHEA) -I$(USRXIT) -D_HPUX_SOURCE +DAportable -Ae&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;makefile&lt;BR /&gt;&lt;BR /&gt; $(CC) $(GFLAG)  $(CFLAGS1)   $(EXEC).c -o $@&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the files have more code, but i would rather not to post here both code.&lt;BR /&gt;&lt;BR /&gt;I think i have tryied everything, and i've seen posts with people  saying that it works.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you need more information i'll send it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;JoÃ£o Lopes</description>
      <pubDate>Mon, 01 Jun 2009 08:35:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gdb/m-p/4429386#M682462</guid>
      <dc:creator>j0nas</dc:creator>
      <dc:date>2009-06-01T08:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: GDB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gdb/m-p/4429387#M682463</link>
      <description>&amp;gt;wdb could be an option by I can only access the server through telnet&lt;BR /&gt;&lt;BR /&gt;WDB comes with wdb and HP's gdb, use the latter.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I added the -g option to every compile lines&lt;BR /&gt;&lt;BR /&gt;Did you also add it to the link line?</description>
      <pubDate>Mon, 01 Jun 2009 09:00:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gdb/m-p/4429387#M682463</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-06-01T09:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: GDB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gdb/m-p/4429388#M682464</link>
      <description>$(CC) $(GFLAG)   $(LDFLAGS)  $^ $(OBJS) $(PROLDLIBS) -lcurses&lt;BR /&gt;&lt;BR /&gt;This is the link line, correct?? I added the -g option to this line and it didn't work.&lt;BR /&gt;&lt;BR /&gt;I didn't made the makefile, it was already made, but there was no debugging option, wich can be a pain...&lt;BR /&gt;&lt;BR /&gt;It's strange because i made a simple c program to test, and it worked, it must have something to do with my makefile correct...&lt;BR /&gt;&lt;BR /&gt;include env_pre.mk&lt;BR /&gt;&lt;BR /&gt;MKFLIBS=$(URLIB) $(USERLIB)&lt;BR /&gt;&lt;BR /&gt;IAP_MK=$(EXEC).o&lt;BR /&gt;#$(IAPOUT)/$(EXEC): $(IAP_MK) $(MKFLIBS)&lt;BR /&gt;$(EXEC): $(IAP_MK) $(MKFLIBS)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;        @echo " HEELOO"&lt;BR /&gt;        @echo "   ********        Linkagem       ********   "&lt;BR /&gt;        @echo&lt;BR /&gt;        $(CC) $(GFLAG)   $(LDFLAGS)  $^ $(OBJS) $(PROLDLIBS) -lcurses&lt;BR /&gt;        @echo "   ********        Stripagem      ********   "&lt;BR /&gt;        @echo&lt;BR /&gt;        strip $@&lt;BR /&gt;        chatr +s enable $@&lt;BR /&gt;        #@rm -f $(EXEC).o&lt;BR /&gt;        @echo&lt;BR /&gt;        @cp $(EXEC) $(HOME)$(VERS)/BIN&lt;BR /&gt;        @echo&lt;BR /&gt;        @echo "   ******** Link/Strip  Completos ********   "&lt;BR /&gt;        @echo&lt;BR /&gt;        @echo "   *************************************** "&lt;BR /&gt;        @echo "   ******** FIM COMPILACAO &amp;lt;$(EXEC).pc&amp;gt;       "&lt;BR /&gt;        @echo "   *************************************** "&lt;BR /&gt;        @echo&lt;BR /&gt;        @echo&lt;BR /&gt;        @echo&lt;BR /&gt;        @echo&lt;BR /&gt;        @echo&lt;BR /&gt;&lt;BR /&gt;$(EXEC).o: $(EXEC).pc&lt;BR /&gt;        @echo&lt;BR /&gt;        @echo "   *************************************** "&lt;BR /&gt;        @echo "   ******** INICIO COMPILACAO &amp;lt;$(EXEC).pc&amp;gt;       "&lt;BR /&gt;        @echo "   *************************************** "&lt;BR /&gt;        @echo&lt;BR /&gt;        @echo "   **********   Pre Compilacao  **********   "&lt;BR /&gt;        @echo&lt;BR /&gt;        @echo&lt;BR /&gt;        $(PROC) $(PROCPLSFLAGS) iname=$^&lt;BR /&gt;        @echo&lt;BR /&gt;        @echo "   **********     Compilacao    **********   "&lt;BR /&gt;        @echo&lt;BR /&gt;        @echo&lt;BR /&gt;        $(CC) $(GFLAG)  $(CFLAGS1)   $(EXEC).c -o $@&lt;BR /&gt;#       @rm -f $(EXEC).lis&lt;BR /&gt;#       @rm -f $(EXEC).lis $(EXEC).c&lt;BR /&gt;        @echo&lt;BR /&gt;        @echo "   ******  PComp./ Comp. Completos  ******   "&lt;BR /&gt;        @echo&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Jun 2009 09:14:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gdb/m-p/4429388#M682464</guid>
      <dc:creator>j0nas</dc:creator>
      <dc:date>2009-06-01T09:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: GDB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gdb/m-p/4429389#M682465</link>
      <description>&amp;gt;This is the link line, correct?&lt;BR /&gt;&lt;BR /&gt;Yes.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;strip $@&lt;BR /&gt;&lt;BR /&gt;Ack!  Comment this, it strips the debug info!</description>
      <pubDate>Mon, 01 Jun 2009 09:37:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gdb/m-p/4429389#M682465</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-06-01T09:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: GDB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gdb/m-p/4429390#M682466</link>
      <description>It worked... :)&lt;BR /&gt;&lt;BR /&gt;Pro*c developing will become much easier.&lt;BR /&gt;&lt;BR /&gt;Thank you so much for your attention... &lt;BR /&gt;You are the best.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Joao Lopes&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Jun 2009 09:54:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gdb/m-p/4429390#M682466</guid>
      <dc:creator>j0nas</dc:creator>
      <dc:date>2009-06-01T09:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: GDB</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gdb/m-p/4429391#M682467</link>
      <description>&amp;gt;It worked... :)&lt;BR /&gt;&lt;BR /&gt;If you are happy with the answers you have gotten, please read the following about assigning points:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;</description>
      <pubDate>Mon, 01 Jun 2009 10:01:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gdb/m-p/4429391#M682467</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-06-01T10:01:33Z</dc:date>
    </item>
  </channel>
</rss>

