This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/6] Don't reset errno/bfd_error on 'throw_perror_with_name'
- From: Pedro Alves <palves at redhat dot com>
- To: Sergio Durigan Junior <sergiodj at redhat dot com>, GDB Patches <gdb-patches at sourceware dot org>
- Cc: Tom Tromey <tom at tromey dot com>, Eli Zaretskii <eliz at gnu dot org>, Ruslan Kabatsayev <b7 dot 10110111 at gmail dot com>
- Date: Fri, 28 Feb 2020 19:49:02 +0000
- Subject: Re: [PATCH 2/6] Don't reset errno/bfd_error on 'throw_perror_with_name'
- References: <20190926042155.31481-1-sergiodj@redhat.com> <20200226200542.746617-1-sergiodj@redhat.com> <20200226200542.746617-3-sergiodj@redhat.com>
On 2/26/20 8:05 PM, Sergio Durigan Junior wrote:
>
> git blame tells me that this piece of code is pretty old; the commit
> that "introduced" it is:
>
> commit c906108c21474dfb4ed285bcc0ac6fe02cd400cc
> Author: Stan Shebs <shebs@codesourcery.com>
> Date: Fri Apr 16 01:35:26 1999 +0000
>
> Initial creation of sourceware repository
>
> so yeah...
This is not the oldest commit in the tree. Using git log
starting at the hash, you should be able to find older commits
which touch the file. The thing is that history around the time
of that "initial creation" commit, is quite messy, because the
CVS tree back then was deleted and recreated a number of times
and merged in some odd ways.
Thanks,
Pedro Alves