This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [PATCH] Fix mi "-var-create" regression
- From: Marc Khouzam <marc dot khouzam at ericsson dot com>
- To: "'Gustavo, Luis'" <luis_gustavo at mentor dot com>, "'gdb-patches at sourceware dot org'" <gdb-patches at sourceware dot org>
- Date: Fri, 12 Oct 2012 15:56:58 -0400
- Subject: RE: [PATCH] Fix mi "-var-create" regression
- References: <5075D4FD.9050900@mentor.com>
> -----Original Message-----
> From: gdb-patches-owner@sourceware.org
> [mailto:gdb-patches-owner@sourceware.org] On Behalf Of Luis Gustavo
> Sent: Wednesday, October 10, 2012 4:05 PM
> To: gdb-patches@sourceware.org
> Subject: [PATCH] Fix mi "-var-create" regression
>
> Hi,
>
> After the commit that fixed #13393
> (http://sourceware.org/bugzilla/show_bug.cgi?id=13393),
> certain calls to
> -var-create with "set print object on" started failing with a
> dereferencing error, like so:
>
> (gdb)
> -var-create - * $sp
> ^error,msg="Attempt to dereference a generic pointer."
> (gdb)
Thanks for proposing this fix. I'm also seeing this error.
Eclipse sets "print object on" by default so I'm seeing it often.
When fixed, can the final patch also go into the 7_5 branch?
Thanks!
Marc