RE: [PATCH] Fix mi "-var-create" regression

Marc Khouzam
2012-10-12T19:57:39Z

> -----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