This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/18274] gdb crashed when I move my mouse to a const string
- From: "305128674 at qq dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 21 Apr 2015 14:48:05 +0000
- Subject: [Bug gdb/18274] gdb crashed when I move my mouse to a const string
- Auto-submitted: auto-generated
- References: <bug-18274-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18274
--- Comment #6 from jiangtaijin <305128674 at qq dot com> ---
(In reply to Pedro Alves from comment #5)
> > 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.
ok, I will try to run gdb alone.
but i don't kown what command to you use to simulate the mouse move to a const
string.
print is ok.
i use --interpretor mi to send the same cmd as eclipse, it show error also.
--
You are receiving this mail because:
You are on the CC list for the bug.