Re: [RFA] C++-ify skip.c

Simon Marchi
2017-08-07T14:32:29Z

On 2017-08-07 15:57, Tom Tromey wrote:
>>>>>> "Simon" == Simon Marchi <simon.marchi@polymtl.ca> writes:
>
> Simon> Ah thanks, I tripped on this with me poison-XNEW patch. I
> didn't have
> Simon> the time to fix and post it yet.
>
> Ah, I didn't know about this.
> I think I will wait for that before working in this area any more.
>
> Tom

There are many things to fix before the poison-xnew patch can go in, but
I think the issue you found is worth fixing sooner than later.

Among the things that need to change is the opaque types with multiple
definitions, like arch_lwp_info and private_thread_info. These need to
be made into actual class hierarchies. If anybody is looking for things
to do, feel free to pick up some patches and post them :)

https://github.com/simark/binutils-gdb/commits/poison-xnew

Simon