<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 7/28/2013 10:30 PM, Sree Harsha
      Konduri wrote:<br>
    </div>
    <blockquote
cite="mid:CADgTZ990zGsDUKPAU5_toHvz28ttvbhmDHgve42UDDQMgN9bpA@mail.gmail.com"
      type="cite">
      <div dir="ltr">There was a small change in the file <a
          moz-do-not-send="true" href="http://pc386.in" target="_blank">pc386.in</a>
        that i made to get qemu to connect to gdb, but gdb can't seem to
        find the rtems kernel binaries.
        <div><br>
        </div>
        <div>The change was to add GDBARGS = -s if -G option is
          specified.</div>
        <div><br>
        </div>
      </div>
    </blockquote>
    Can you provide the patch? I am happy to commit it. <br>
    <blockquote
cite="mid:CADgTZ990zGsDUKPAU5_toHvz28ttvbhmDHgve42UDDQMgN9bpA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Thanks,</div>
        <div>Sree</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Sun, Jul 28, 2013 at 2:56 PM, Joel
          Sherrill <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:Joel.Sherrill@oarcorp.com" target="_blank">Joel.Sherrill@oarcorp.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div>
              <pre style="font-size:10.0pt;font-family:Tahoma;word-wrap:break-word">Then it should start qemu with the right arguments to so it starts in gdb server. You will need to start gdb in another window and attach with a command like target remote :1234... From memory but that should be close.

You can always check the qemu docs to get the port number but the simulator is separate from gdb so you need to test it as an external target.

Sree harsha <<a moz-do-not-send="true" href="mailto:sreehars@buffalo.edu" target="_blank">sreehars@buffalo.edu</a>> wrote:

</pre>
              <div>
                <div class="im">
                  <div>It is for pc386 to test the globaledf scheduler</div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div>
                    <div style="font-size:75%;color:#575757">Sent from
                      my Verizon Wireless 4G LTE Smartphone</div>
                  </div>
                  <br>
                  <br>
                  <br>
                </div>
                <div>
                  <div class="h5">
                    -------- Original message --------<br>
                    From: Joel Sherrill
                    <a class="moz-txt-link-rfc2396E" href="mailto:Joel.Sherrill@OARcorp.com"><Joel.Sherrill@OARcorp.com></a> <br>
                    Date: 07/28/2013 2:09 PM (GMT-05:00) <br>
                    To: Sree Harsha Konduri <<a
                      moz-do-not-send="true"
                      href="mailto:sreehars@buffalo.edu" target="_blank">sreehars@buffalo.edu</a>>
                    <br>
                    Cc: <a moz-do-not-send="true"
                      href="mailto:rtems-devel@rtems.org"
                      target="_blank">rtems-devel@rtems.org</a> <br>
                    Subject: Re: rtems-testing with gdb option <br>
                    <br>
                    <br>
                    <pre style="font-size:10.0pt;font-family:Tahoma;word-wrap:break-word">Depends on the simulator if that mode is supported. It is for simulators you run in a separate window from the gdb session.

Which simulator?

Sree Harsha Konduri <<a moz-do-not-send="true" href="mailto:sreehars@buffalo.edu" target="_blank">sreehars@buffalo.edu</a>> wrote:

</pre>
                    <div>
                      <div dir="ltr">Hello,
                        <div><br>
                        </div>
                        <div>The rtems-testing module is provided with a
                          -G option to put the executable to run in gdb
                          mode, but this is not the case when we run it
                          with -G. Is there something i am missing, can
                          someone help me on this?</div>
                        <div><br>
                        </div>
                        <div>Thanks,</div>
                        <div>Sree</div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Joel Sherrill, Ph.D.             Director of Research & Development 
<a class="moz-txt-link-abbreviated" href="mailto:joel.sherrill@OARcorp.com">joel.sherrill@OARcorp.com</a>        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805 
Support Available                (256) 722-9985 </pre>
  </body>
</html>