This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 4/4 v2] python support for fetching separate debug files: owner
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 04 Dec 2014 23:28:34 +0200
- Subject: Re: [PATCH 4/4 v2] python support for fetching separate debug files: owner
- Authentication-results: sourceware.org; auth=none
- References: <yjt2y4qn3zhk dot fsf at ruffy dot mtv dot corp dot google dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Doug Evans <dje@google.com>
> Date: Thu, 04 Dec 2014 12:56:55 -0800
>
> This patch is a replacement for
> https://sourceware.org/ml/gdb-patches/2014-11/msg00492.html
>
> That patch just added a boolean "is_separate_debug_file" attribute
> to gdb.Objfile. I wanted to keep things minimal/simple, but OTOH
> I can see a need for getting the objfile backlink field, and why
> have two attributes (is_separate_debug_file and owner) when one will do?
>
> Regression tested on amd64-linux.
>
> 2014-12-04 Doug Evans <dje@google.com>
>
> * NEWS: Mention gdb.Objfile.owner.
> * python/py-objfile.c (objfpy_get_owner): New function.
> (objfile_getset): Add "owner".
>
> doc/
> * python.texi (Objfiles In Python): Document Objfile.owner.
>
> testsuite/
> * gdb.python/py-objfile.exp: Add tests for objfile.owner.
>
OK for the documentation parts.
Thanks.