Nish Deodhar <[EMAIL PROTECTED]> writes:
> I downloaded the sources from:
> ftp://sources.redhat.com/pub/gdb/releases/
>
>
> I had to make the following modifications, I didn't want go through all the
> code...so I'm not certain waht imapct this has
> but I could build sucessfully and run!

Great!

> In thread-db.c
>
> // supply_gregset ((gdb_gregset_t *) gregset);
> // above changed to :
>   supply_gregset ((gdb_gregset_t *) &gregset);
>
>  // fill_gregset ((gdb_gregset_t *) gregset, -1);
> // above changed to :
>   fill_gregset ((gdb_gregset_t *) &gregset, -1);
>
> Similarly in proc-service.c

Hmm.  What was the error message?  If SuSE has changed the way these
data structures are defined, I think some more work is going to be
needed.

By the way, could you use `diff -c' or `diff -u' to show your changes?
That makes it a lot easier for me to find the text you're referring
to.

> Have I picked outdated sources?

When you're dealing with the bleeding edge sources, you can expect
exactly this kind of issue to come up.  Folks like yourself fixing
little things like this and sending in patches is how a lot of stuff
gets done.

That said, did you download a tar file, or check out the sources via
anonymous CVS?  The latter is the bleeding edge.  The tar files are
made from branches possibly cut a while ago.

Reply via email to