Is it possible to install gdb in vmware-MN OS?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • subi09
    New Member
    • Nov 2012
    • 6

    #1

    Is it possible to install gdb in vmware-MN OS?

    Is it possible to install gdb in vmware-MN OS?if not possible then how to debug a code in vmware platform.Kindly reply
  • nextstep
    New Member
    • Aug 2012
    • 14

    #2
    yes, it's obsolutely yes.

    you can ssh to the server then use gdb to debug your code by command as well.

    Comment

    • subi09
      New Member
      • Nov 2012
      • 6

      #3
      Thanks for the quick reply.Do you meant remote debugging??if we ssh to a remote machine with command as 'gdb',how will i invoke a process in my target machine. iam not sure about that yar.I searched in net and tried below steps in my environment.But i couldnt connect.Below are the steps i did

      Suppose A is machine which has VM ware OS insatlled with ip address (x.y.z.w) and B a linux machine with ip (b.c.d.e )having gdb installed in it.Commands i ran in both machines A & B.i am not sure what that means exactly.

      A
      ----
      1.gdb server b.c.d.e:15000 MegaCli /*MegaCli is the name of binary */


      B
      ---

      target remote x.y.z.w:15000

      Result was connection timed out.As B couldnt connect to A.

      If you have not meant this,could you pls tell me in a bit detail. What steps should i follow to debug?
      In short my question is "How to debug a process in Vmware machine using a gdb program installed in Linux machine"
      Last edited by subi09; Nov 23 '12, 05:06 AM. Reason: clarification

      Comment

      Working...