From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26723 invoked by alias); 7 Jul 2011 04:38:41 -0000 Received: (qmail 26682 invoked by uid 22791); 7 Jul 2011 04:38:40 -0000 X-SWARE-Spam-Status: No, hits=1.1 required=5.0 tests=AWL,BAYES_50,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 04:38:27 +0000 Received: (qmail 27790 invoked from network); 7 Jul 2011 04:58:04 -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 04:58:04 -0000 Subject: binary debugging and generate source of which that running From: Mohsen Pahlevanzadeh To: gdb@sourceware.org In-Reply-To: <1309985511.4202.15.camel@debian> References: <1309985511.4202.15.camel@debian> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-65wcNxOhqPMTsMcxDr7A" Date: Thu, 07 Jul 2011 04:38:00 -0000 Message-ID: <1310013482.2302.9.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/msg00040.txt.bz2 --=-65wcNxOhqPMTsMcxDr7A Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Content-length: 334 Dear all, I have a binary file what i compile it with -g.So i need to perform a set of action in my computer and see behavior of my file, This mean , i need to see functions of run when i perform those set of actions, So i need to tell to gdb : Please print source of which peace of program that running. How i do it? Yours, Mohsen --=-65wcNxOhqPMTsMcxDr7A 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) iJwEAAECAAYFAk4VOBoACgkQLL00bYOy4Bb6wgP/f58HYGEbRAG7p3BhKhp5XGqQ XjgYoCvrSYYMsMVxXVAbjHA+SkWV0WtyZRbe+GDWP2U9D6oXhgzZI0bjg7dKNgOb 2gpZJG9TO3V+TTdL9tF8CgpdALDrfWyyFhnP624HMWOMNJ5jjKXEzHkwM33FXgiP 4MXZXw4S6GUG2Pd2PM0= =GxaA -----END PGP SIGNATURE----- --=-65wcNxOhqPMTsMcxDr7A--