This is the mail archive of the
mailing list for the GDB project.
Re: [IRIX] eliminate deprecated_insert_raw_breakpoint uses
- From: Pedro Alves <palves at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: "Maciej W. Rozycki" <macro at codesourcery dot com>, Ulrich Weigand <uweigand at de dot ibm dot com>, GDB Patches <gdb-patches at sourceware dot org>
- Date: Thu, 11 Sep 2014 00:01:18 +0100
- Subject: Re: [IRIX] eliminate deprecated_insert_raw_breakpoint uses
- Authentication-results: sourceware.org; auth=none
- References: <201409101445 dot s8AEjILM007935 at d06av02 dot portsmouth dot uk dot ibm dot com> <54106C61 dot 7040400 at redhat dot com> <alpine dot DEB dot 1 dot 10 dot 1409101639030 dot 27075 at tp dot orcam dot me dot uk> <54107860 dot 6060301 at redhat dot com> <20140910224358 dot GS28404 at adacore dot com>
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
> 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!