From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3930 invoked by alias); 13 Feb 2015 19:30:58 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 3903 invoked by uid 55); 13 Feb 2015 19:30:57 -0000 From: "keiths at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug c++/17970] cannot call any function or method with "print" or "call" Date: Fri, 13 Feb 2015 19:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.8 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: keiths at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q1/txt/msg00244.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17970 --- Comment #5 from Keith Seitz --- On 02/13/2015 11:15 AM, Claude at renegat dot net wrote: > The problem only arises (but each time) when there is a function or method call > in the gdb p or c command. Sorry -- that was my bad. I was retyping the session. I did use "p strlen (foo)", and gdb returned "$1 = 5". > Is there any other diagnostic command I could launch in gdb? As long as I've worked on/with gdb, even I had to ask! Try: (gdb) set debug infrun 1 (gdb) set debug lin-lwp 1 Another co-worker asked to double-check your system security settings. He seemed to recall that Debian had "some SELinux-like security features" which could prevent function calls from happening. [I don't know anything about Ubuntu/Debain -- I use them only for testing.] In any case, hopefully the debug statements will help shed some light on the situation. -- You are receiving this mail because: You are on the CC list for the bug.