This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v8] Events when inferior is modified
- From: Yao Qi <yao at codesourcery dot com>
- To: Doug Evans <dje at google dot com>
- Cc: Nick Bull <nicholaspbull at gmail dot com>, gdb-patches <gdb-patches at sourceware dot org>, Pedro Alves <palves at redhat dot com>
- Date: Mon, 15 Dec 2014 16:33:25 +0800
- Subject: Re: [PATCH v8] Events when inferior is modified
- Authentication-results: sourceware.org; auth=none
- References: <5419C597 dot 4000300 at gmail dot com> <542C3F4D dot 70104 at redhat dot com> <5441432B dot 5040103 at gmail dot com> <21569 dot 29405 dot 219428 dot 940000 at ruffy dot mtv dot corp dot google dot com> <21569 dot 30068 dot 738159 dot 240720 at ruffy dot mtv dot corp dot google dot com> <5447A5A1 dot 7040708 at gmail dot com> <546A3AD5 dot 7020508 at gmail dot com> <CADPb22QmjPyaHR8E4s5y+s0P3QVDWEDKR9Dqr6OkbP1EumuubQ at mail dot gmail dot com> <546B75B9 dot 1050407 at gmail dot com> <CADPb22Rxjp6puNCz8a+s3sh84OG3fmB6J-ST6uAc9fWCuOvMdw at mail dot gmail dot com> <546DC41F dot 8020209 at gmail dot com> <21630 dot 4311 dot 741887 dot 195958 at ruffy2 dot mtv dot corp dot google dot com>
Doug Evans <dje@google.com> writes:
> diff --git a/gdb/NEWS b/gdb/NEWS
> index d38266f..7262502 100644
> --- a/gdb/NEWS
> +++ b/gdb/NEWS
> @@ -1,6 +1,16 @@
> What has changed in GDB?
> (Organized release by release)
>
> +* Python Scripting
> +
> + New events which are triggered when GDB modifies the state of the
> + inferior.
> +
> + ** gdb.events.inferior_call_pre: Function call is about to be made.
> + ** gdb.events.inferior_call_post: Function call has just been made.
> + ** gdb.events.memory_changed: A memory location has been altered.
> + ** gdb.events.register_changed: A register has been altered.
> +
> *** Changes since GDB 7.8
These entries should go to "Changes since GDB 7.8" section. This patch
moves them there.
--
Yao (éå)
From: Yao Qi <yao@codesourcery.com>
Date: Mon, 15 Dec 2014 16:29:21 +0800
Subject: [PATCH] Move NEWS entries to the right section
gdb:
2014-12-15 Yao Qi <yao@codesourcery.com>
* NEWS: Move some entries to "Changes since GDB 7.8" section.
diff --git a/gdb/NEWS b/gdb/NEWS
index 168e810..75a05c3 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -1,16 +1,6 @@
What has changed in GDB?
(Organized release by release)
-* Python Scripting
-
- New events which are triggered when GDB modifies the state of the
- inferior.
-
- ** gdb.events.inferior_call_pre: Function call is about to be made.
- ** gdb.events.inferior_call_post: Function call has just been made.
- ** gdb.events.memory_changed: A memory location has been altered.
- ** gdb.events.register_changed: A register has been altered.
-
*** Changes since GDB 7.8
* GDB now supports hardware watchpoints on x86 GNU Hurd.
@@ -30,6 +20,14 @@
** You can now add attributes to gdb.Objfile and gdb.Progspace objects.
** New function gdb.lookup_objfile.
+ New events which are triggered when GDB modifies the state of the
+ inferior.
+
+ ** gdb.events.inferior_call_pre: Function call is about to be made.
+ ** gdb.events.inferior_call_post: Function call has just been made.
+ ** gdb.events.memory_changed: A memory location has been altered.
+ ** gdb.events.register_changed: A register has been altered.
+
* New Python-based convenience functions:
** $_caller_is(name [, number_of_frames])