Re: [IRIX] eliminate deprecated_insert_raw_breakpoint uses

Pedro Alves
2014-09-10T23:02:32Z

On 09/10/2014 11:43 PM, Joel Brobecker wrote:
>> I think I understand this enough now. See patch below, which
>> gets rid of that loop completely.
>
> Thanks for walking me by memory lane :-)
>

:-)

>> Untested, of course.
>
> I found an IRIX machine that's still up and running, and I was able
> to rebuild it. Unfortunately, two issues occured:
> 1. I had to make insert_breakpoint_locations non-static;
> 2. GDB now SIGSEGV-s when starting a program:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x10163180 in bpstat_stop_status (aspace=0x108b97b0, bp_addr=268791248,
> ptid=..., ws=0x7ffd7870)
> at /nfs/nas/homes/brobecke/act/gdb-public/gdb/breakpoint.c:5536
> 5536 b->ops->check_status (bs);
>
> The problem is that b->ops is NULL.

Blah. Probably due to wiping the solib breakpoints in
the so_ops->handle_event() handler.

If you have the patience, could you try quickly commenting out
the remove_solib_event_breakpoints call in solib-irix.c and retrying?

> I can continue investigating,
> but I have this feeling that this is just a waste of time, since

Yeah...

> I strongly suspect that IRIX support is going to be removed
> a couple of weeks from now (I can start the procedure if you'd like).

That'd be super and much appreciated!

Thanks,
Pedro Alves