This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/18987] GDB 7.10 cannot debug programs under X32 (internal-error: find_new_threads_once...)


https://sourceware.org/bugzilla/show_bug.cgi?id=18987

Sergio Durigan Junior <sergiodj at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sergiodj at redhat dot com

--- Comment #6 from Sergio Durigan Junior <sergiodj at redhat dot com> ---
(In reply to Jeffrey Walton from comment #5)
> > Could you try whether applying the patch I pointed at (e0fd7c47bd) on the
> > 7.10 branch fixes the internal error?
> 
> No joy. Git is getting in the way while trying to follow
> https://stackoverflow.com/questions/3489173/how-to-clone-git-repository-with-
> specific-revision-changeset:
> 
>     # git fetch origin e0fd7c47bdfatal: Couldn't find remote ref e0fd7c47bd

Jeffrey,

You can clone the upstream git repository normally:

#> git clone git://sourceware.org/git/binutils-gdb.git

Then switch to the 7.10 branch:

#> git checkout gdb-7.10-branch

After that, you can apply the patch mentioned by Pedro.  There are many ways to
do that; for example:

#> git show e0fd7c47bd | git apply --exclude='*ChangeLog*'

This command should reduce the number of conflicts you get because of the
ChangeLog files; however, be aware because you may still see conflicts.

After that, you can finally perform the compilation on your machine (using the
MAKEINFO=true trick that Pedro mentioned).

> We might as well close this report since it appears to be fixed.

It is important to make sure that the issue has been fixed upstream.  Once we
know that, we can close this report.

Since you are using Debian, you may want to perform a "apt-get build-dep gdb"
in order to fetch the necessary packages to build GDB.  That should make things
easier.

Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]