From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karsten Ahnert Newsgroups: gmane.emacs.help Subject: gud and shared objects Date: Wed, 26 Dec 2012 21:53:01 +0100 Message-ID: <50DB63AD.9090009@googlemail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1356570946 9270 80.91.229.3 (27 Dec 2012 01:15:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Dec 2012 01:15:46 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 27 02:16:01 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1To24l-00054H-D3 for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Dec 2012 02:15:59 +0100 Original-Received: from localhost ([::1]:59549 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1To24W-0000TJ-D0 for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Dec 2012 20:15:44 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TnxyO-0005xu-W4 for help-gnu-emacs@gnu.org; Wed, 26 Dec 2012 15:53:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TnxyM-00012Z-AU for help-gnu-emacs@gnu.org; Wed, 26 Dec 2012 15:53:08 -0500 Original-Received: from mail-bk0-f45.google.com ([209.85.214.45]:36524) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TnxyM-00012T-2M for help-gnu-emacs@gnu.org; Wed, 26 Dec 2012 15:53:06 -0500 Original-Received: by mail-bk0-f45.google.com with SMTP id jk13so3991018bkc.18 for ; Wed, 26 Dec 2012 12:53:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=5MhIavmGotu8gLkw8guiMwbzUvPlHAp8+3DRApbIL/A=; b=NPNyVzxbRlxliTpbGQtmK4Cmi+st/PRNVc71AwmMh65DNcOPkd7y4zQ/owORHaTpuC Ylf2zAJ5geBLlO9NdW5fz2G12frNvXqxMnXrfqdWsrfPe6Z3czzBiZZyy2MOZcT8A9n0 kLmWs2rGDOM1tUJM3F6xzmAcnheG1eewtlpBU/XIaIRpTCBFrHEXz4Dn9MBtR6Sh/W1o YdhdYjo/+bRseIHItvas5wBUVDSn9joE0rgEYT3s0xKzM1wKOt92aWkpPR1zGlBngGdS VpUqy4QxvqJ17SI+nT0BMKWVnZ1ZI0Nwsa6mhD8q6u2UucthkPs+qxb0tCrulL2c1Z08 /DGg== X-Received: by 10.205.139.16 with SMTP id iu16mr14044260bkc.88.1356555184380; Wed, 26 Dec 2012 12:53:04 -0800 (PST) Original-Received: from [192.168.1.218] (e179072125.adsl.alicedsl.de. [85.179.72.125]) by mx.google.com with ESMTPS id 18sm19144853bkv.0.2012.12.26.12.53.02 (version=SSLv3 cipher=OTHER); Wed, 26 Dec 2012 12:53:03 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.214.45 X-Mailman-Approved-At: Wed, 26 Dec 2012 20:15:39 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:88323 Archived-At: Hi, I have a problem with debugging C++ with emacs and gdb. I can set breakpoints in functions defined in shared objects by simply adding them manually via b file_in_so.cpp:23 But if I open file_in_so.cpp in an emacs window I can not use the graphical debugging facilities. I guess, that emacs does not yet know that this file belongs to the sources of the executable. Files belonging not to the shared object are already usable for graphical debugging. Files from the shared object are also usable if a manual breakpoint or an uncaught exception are hit within the shared object. Is there a command telling emacs to reload the current list of all sources, even the ones defined in shared objects? (http://stackoverflow.com/questions/14040242/emacs-gdb-show-sources-of-shared-objects)