Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.development.system > #423

Starting an application from GDB prompt

From Hari Prasath <gehariprasath@gmail.com>
Newsgroups comp.os.linux.development.system
Subject Starting an application from GDB prompt
Date 2012-05-30 15:55 -0700
Organization http://groups.google.com
Message-ID <8bb99d54-c1e4-4c96-9c48-d0cd3d6eeb50@6g2000vbv.googlegroups.com> (permalink)

Show all headers | View raw


Hello All,

I have an application that is to be debugged using GDB. So I can use
the standard gdb <app_name> and enter into the gdb prompt and then
start my application,make it to crash and get the backtrace.

But the problem is that the application to be debugged is driven by
another application which has to be started after this and from the
same shell session. So my problem is once I am at the gdb prompt, I
don't know how to start my other application(which is not needed to be
debugged) which driver the actual application to be debugged.

Any thoughts how to get this done ?

Back to comp.os.linux.development.system | Previous | NextNext in thread | Find similar


Thread

Starting an application from GDB prompt Hari Prasath <gehariprasath@gmail.com> - 2012-05-30 15:55 -0700
  Re: Starting an application from GDB prompt Rainer Weikusat <rweikusat@mssgmbh.com> - 2012-05-31 14:20 +0100
    Core dumps (was Re: Starting an application from GDB prompt) Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-05-31 21:39 +0000
      Re: Core dumps (was Re: Starting an application from GDB prompt) "Ersek, Laszlo" <lacos@caesar.elte.hu> - 2012-06-01 01:14 +0200
        Re: Core dumps (was Re: Starting an application from GDB prompt) "Ersek, Laszlo" <lacos@caesar.elte.hu> - 2012-06-01 01:44 +0200
        Re: Core dumps Rainer Weikusat <rweikusat@mssgmbh.com> - 2012-06-01 16:16 +0100
          Re: Core dumps Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-06-04 21:22 +0000
            Re: Core dumps "Ersek, Laszlo" <lacos@caesar.elte.hu> - 2012-06-05 00:29 +0200
              Re: Core dumps Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-06-05 06:55 +0000
                Re: Core dumps Rainer Weikusat <rweikusat@mssgmbh.com> - 2012-06-05 15:03 +0100
                Re: Core dumps Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-06-06 06:56 +0000
                Re: Core dumps "Ersek, Laszlo" <lacos@caesar.elte.hu> - 2012-06-06 18:25 +0200
                shell init files (was: Core dumps) Rainer Weikusat <rweikusat@mssgmbh.com> - 2012-06-06 18:30 +0100
                Re: shell init files (was: Core dumps) "Ersek, Laszlo" <lacos@caesar.elte.hu> - 2012-06-06 21:45 +0200
                Re: shell init files Rainer Weikusat <rweikusat@mssgmbh.com> - 2012-06-06 21:17 +0100

csiph-web