From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21557 invoked by alias); 7 Jul 2011 09:29:45 -0000 Received: (qmail 21548 invoked by uid 22791); 7 Jul 2011 09:29:44 -0000 X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_SORBS_WEB X-Spam-Check-By: sourceware.org Received: from smtp.hosting.parsonline.net (HELO smtp.hosting.parsonline.net) (213.217.60.12) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Thu, 07 Jul 2011 09:29:17 +0000 Received: (qmail 43385 invoked from network); 7 Jul 2011 09:48:55 -0000 Received: from exit-node-readme.linuxfire.net (HELO ?127.0.0.1?) (mohsen@pahlevanzadeh.org@190.120.231.235) by 0 with SMTP; 7 Jul 2011 09:48:55 -0000 Subject: Re: binary debugging and generate source of which that running From: Mohsen Pahlevanzadeh To: Jan Kratochvil Cc: harish badrinath , gdb@sourceware.org In-Reply-To: <20110707092322.GA14725@host1.jankratochvil.net> References: <1309985511.4202.15.camel@debian> <1310013482.2302.9.camel@debian> <1310028334.2302.15.camel@debian> <1310030069.2302.19.camel@debian> <20110707092322.GA14725@host1.jankratochvil.net> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-8b6J87fyM6opSSE059dF" Date: Thu, 07 Jul 2011 09:29:00 -0000 Message-ID: <1310030936.2302.20.camel@debian> Mime-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-07/txt/msg00049.txt.bz2 --=-8b6J87fyM6opSSE059dF Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Content-length: 494 Can i see executed code with bt command? --mohsen On Thu, 2011-07-07 at 11:23 +0200, Jan Kratochvil wrote: > On Thu, 07 Jul 2011 11:14:29 +0200, Mohsen Pahlevanzadeh wrote: > > You suppose my program has 10 functions, and my program in running now > > by gdb, i wanna know when i send signal x y z to my program, myprgram > > call which function, So i need to a command same as list but immediately > > print source of peace of running. >=20 > Do you mean command `backtrace'? >=20 >=20 > Jan --=-8b6J87fyM6opSSE059dF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-length: 316 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iJwEAAECAAYFAk4VfFgACgkQLL00bYOy4BZUuQQAosj5Z8KXvhAmzfTXjCjR8SKz DjZGzAKP4bELbt9fsE/e5t5k5D8Lz8F9AnMfStUnuLhfDcx/UwUjliofODz7uSxC S93ER8JBDSYYBP6tSUSw+TWvgkk/tbIpeE68zWpemUxHRNpyGTtwRLOB1WnGjTQy G3G7KsThKktGgQi86jA= =ABFJ -----END PGP SIGNATURE----- --=-8b6J87fyM6opSSE059dF--