public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "palves at redhat dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug gdb/18274] gdb crashed when I move my mouse to a const string Date: Tue, 21 Apr 2015 12:50:00 -0000 [thread overview] Message-ID: <bug-18274-4717-1vceFoDPCO@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-18274-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=18274 --- Comment #5 from Pedro Alves <palves at redhat dot com> --- > I cann't andstand the rsp command "P, G, cont:c",why gdb send this when my > mouse move to a const string. I suspect GDB is evaluating an expression that requires allocating memory in the inferior's address space for the const string in question, and thus GDB is calling "malloc" in the inferior. > the gdbstub is write by my self, some command is > not implemented, such as "P". Is this the problem? Not sure. > here is the log(I have clear logs before my mouse move to the const string, so > this is the logs relate to the problem): Thanks. I'm not seeing anything obviously wrong though. I think you'll need to debug gdb and try to figure out what is going wrong. I'd really try to cut Eclipse out of the equation. Likely you can reproduce this with the "print/call" commands. -- You are receiving this mail because: You are on the CC list for the bug. >From gdb-prs-return-17892-listarch-gdb-prs=sources.redhat.com@sourceware.org Tue Apr 21 12:58:26 2015 Return-Path: <gdb-prs-return-17892-listarch-gdb-prs=sources.redhat.com@sourceware.org> Delivered-To: listarch-gdb-prs@sources.redhat.com Received: (qmail 105157 invoked by alias); 21 Apr 2015 12:58:25 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: <gdb-prs.sourceware.org> List-Subscribe: <mailto:gdb-prs-subscribe@sourceware.org> List-Archive: <http://sourceware.org/ml/gdb-prs/> List-Post: <mailto:gdb-prs@sourceware.org> List-Help: <mailto:gdb-prs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs> Sender: gdb-prs-owner@sourceware.org Delivered-To: mailing list gdb-prs@sourceware.org Received: (qmail 105132 invoked by uid 48); 21 Apr 2015 12:58:25 -0000 From: "david.docteur at intel dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug mi/18282] Pretty Printers - unable to create variable object (string value from children()) Date: Tue, 21 Apr 2015 12:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: mi X-Bugzilla-Version: 7.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: david.docteur at intel 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: <bug-18282-4717-s42MlNkIul@http.sourceware.org/bugzilla/> In-Reply-To: <bug-18282-4717@http.sourceware.org/bugzilla/> References: <bug-18282-4717@http.sourceware.org/bugzilla/> 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-q2/txt/msg00086.txt.bz2 Content-length: 555 https://sourceware.org/bugzilla/show_bug.cgi?id\x18282 --- Comment #2 from David Docteur <david.docteur at intel dot com> --- Thanks for your answer. I just read what you wrote: "Eclipse is taking "name" and assuming it's a class member." The MI errors were due to the fact that I was using different names in my pretty printer than the ones in my class. Now, I can see the "char[N]" in the 'Type' column and the address of the object in the 'Value' column within Eclipse. -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2015-04-21 12:50 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-04-17 12:24 [Bug gdb/18274] New: gdb crashed when I move my mouse point " 305128674 at qq dot com 2015-04-17 12:28 ` [Bug gdb/18274] " 305128674 at qq dot com 2015-04-17 12:29 ` [Bug gdb/18274] gdb crashed when I move my mouse " 305128674 at qq dot com 2015-04-20 8:55 ` palves at redhat dot com 2015-04-21 5:50 ` 305128674 at qq dot com 2015-04-21 9:30 ` 305128674 at qq dot com 2015-04-21 12:50 ` palves at redhat dot com [this message] 2015-04-21 14:48 ` 305128674 at qq dot com 2015-04-22 7:25 ` 305128674 at qq dot com 2015-04-22 10:38 ` palves at redhat dot com 2015-04-25 5:22 ` 305128674 at qq dot com 2015-04-25 5:24 ` 305128674 at qq dot com 2015-04-25 5:24 ` 305128674 at qq dot com 2015-04-25 5:34 ` 305128674 at qq dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-18274-4717-1vceFoDPCO@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).