<?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 problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/gdb-problem/m-p/3054311#M719142</link>
    <description>I forgot to ask the question.  &lt;BR /&gt;&lt;BR /&gt;How do I fix this problem?</description>
    <pubDate>Thu, 21 Aug 2003 18:55:52 GMT</pubDate>
    <dc:creator>Joseph Hoh</dc:creator>
    <dc:date>2003-08-21T18:55:52Z</dc:date>
    <item>
      <title>gdb problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gdb-problem/m-p/3054310#M719141</link>
      <description>gdb pmdtm core08202003&lt;BR /&gt;Wildebeest is free software and you are welcome to distribute copies of&lt;BR /&gt;it under certain conditions; type "show copying" to see the conditions.&lt;BR /&gt;There is absolutely no warranty for Wildebeest; type "show warranty"&lt;BR /&gt;for details.&lt;BR /&gt;&lt;BR /&gt;Hewlett-Packard Wildebeest 1.0 (based on GDB 4.16)&lt;BR /&gt;(built for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00)&lt;BR /&gt;Copyright 1996, 1997 Free Software Foundation, Inc...&lt;BR /&gt;(no debugging symbols found)...&lt;BR /&gt;Core was generated by `pmdtm'.&lt;BR /&gt;Program terminated with signal 6, Aborted.&lt;BR /&gt;&lt;BR /&gt;warning: The shared libraries were not privately mapped; setting a&lt;BR /&gt;breakpoint in a shared library will not work until you rerun the program.&lt;BR /&gt;&lt;BR /&gt;#0  0xc01f45a0 in _kill () from /usr/lib/libc.2&lt;BR /&gt;#0  0xc01f45a0 in _kill () from /usr/lib/libc.2&lt;BR /&gt;(gdb)&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Aug 2003 18:55:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gdb-problem/m-p/3054310#M719141</guid>
      <dc:creator>Joseph Hoh</dc:creator>
      <dc:date>2003-08-21T18:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: gdb problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gdb-problem/m-p/3054311#M719142</link>
      <description>I forgot to ask the question.  &lt;BR /&gt;&lt;BR /&gt;How do I fix this problem?</description>
      <pubDate>Thu, 21 Aug 2003 18:55:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gdb-problem/m-p/3054311#M719142</guid>
      <dc:creator>Joseph Hoh</dc:creator>
      <dc:date>2003-08-21T18:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: gdb problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gdb-problem/m-p/3054312#M719143</link>
      <description>The warning is because the text area of shared libraries is usually mapped read-only.  The debugger needs writeable text to set a breakpoint.  You can either restart the program from the debugger, or set a flag for writeable shared library text using '/opt/langtools/bin/pxdb -s on pmdtm'&lt;BR /&gt;before running the program.&lt;BR /&gt;(Newer chatr patches also add a 'chatr +dbg enable pmdtm' option to do the same thing.)&lt;BR /&gt;&lt;BR /&gt;The breakpoint issue is not really an issue when you start the debugger on a core file.  It can't continue from where the core happened.  It can only examine what the process looked like when the core dump occured.&lt;BR /&gt;&lt;BR /&gt;It looks like pmdtm may have dumped core in a call to abort.  You should use gdb's bt command to see what the stack backtrace was at that time.</description>
      <pubDate>Fri, 22 Aug 2003 14:29:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gdb-problem/m-p/3054312#M719143</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2003-08-22T14:29:28Z</dc:date>
    </item>
  </channel>
</rss>

