This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Add an objfile getter to gdb.Type
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tom at tromey dot com>, Christian Biesinger via gdb-patches <gdb-patches at sourceware dot org>
- Cc: Christian Biesinger <cbiesinger at google dot com>
- Date: Tue, 4 Jun 2019 22:48:14 +0100
- Subject: Re: [PATCH] Add an objfile getter to gdb.Type
- References: <20190523203227.260432-1-cbiesinger@google.com> <20190523213729.27928-1-cbiesinger@google.com> <87k1ea5j2i.fsf@tromey.com> <CAPTJ0XHdJd4duf5zk2Uat0ZkeiV67Xuh0g66wT6grW9N5A3RDA@mail.gmail.com> <87muiyla77.fsf@tromey.com> <CAPTJ0XFgYXaLtUyeNA6jiyjC-mDt3kSpG3=BPO702c8hXC2xtw@mail.gmail.com> <87d0jtl5dm.fsf@tromey.com>
On 6/4/19 4:47 PM, Tom Tromey wrote:
>>>>>> "Christian" == Christian Biesinger via gdb-patches <gdb-patches@sourceware.org> writes:
>
> Christian> I don't think I'll be writing enough patches for that to be worth it,
> Christian> so it would be great if you could commit this. Thanks!
>
> I checked it in.
FYI, I pushed in these fixes to the ChangeLog files.
Christian, the issue here is that entry paths are relative to the
corresponding ChangeLog file.
>From d3238f7d90715dad7e8da2a8c2486d26124b0c84 Mon Sep 17 00:00:00 2001
From: Pedro Alves <palves@redhat.com>
Date: Tue, 4 Jun 2019 22:44:36 +0100
Subject: [PATCH] Fix paths to ChangeLog files
---
gdb/ChangeLog | 4 ++--
gdb/doc/ChangeLog | 2 +-
gdb/testsuite/ChangeLog | 3 +--
3 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 933f23249ff..e36eae9ac16 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,8 +1,8 @@
2019-06-04 Christian Biesinger <cbiesinger@google.com>
Add objfile property to gdb.Type.
- * gdb/NEWS: Mention Python API addition.
- * gdb/python/py-type.c (typy_get_objfile): New method.
+ * NEWS: Mention Python API addition.
+ * python/py-type.c (typy_get_objfile): New method.
2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index ea98096845a..5da25996b1c 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,6 +1,6 @@
2019-06-04 Christian Biesinger <cbiesinger@google.com>
- * gdb/doc/python.texi: Document new gdb.Type.objfile property.
+ * python.texi: Document new gdb.Type.objfile property.
2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index af451fa4e12..722249f822c 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,7 +1,6 @@
2019-06-04 Christian Biesinger <cbiesinger@google.com>
- * gdb/testsuite/gdb.python/py-type.exp: Test for new
- gdb.Type.objfile property.
+ * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
--
2.14.5