This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Python API: Add gdb.is_in_prologue and gdb.is_in_epilogue.
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Martin Galvan <martin dot galvan at tallertechnologies dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 22 Oct 2014 21:37:19 +0300
- Subject: Re: [PATCH] Python API: Add gdb.is_in_prologue and gdb.is_in_epilogue.
- Authentication-results: sourceware.org; auth=none
- References: <1413986485-4673-1-git-send-email-martin dot galvan at tallertechnologies dot com> <83tx2w87j0 dot fsf at gnu dot org> <CAOKbPbYowBgw3_cpApgF6WH2iUenZcqfUSsvNo+h_JreNu71LA at mail dot gmail dot com> <83fveg809v dot fsf at gnu dot org> <83egu07zbu dot fsf at gnu dot org> <CAOKbPbY=JY14=hDAn5htCSN+wYLnWm=BKv2=UcQoud1yxKofvw at mail dot gmail dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Wed, 22 Oct 2014 15:32:38 -0300
> From: Martin Galvan <martin.galvan@tallertechnologies.com>
> Cc: gdb-patches@sourceware.org
>
> "The optional @var{functionStart} argument is the start address of the
> function @var{pc} belongs to. If your binary doesn't have debugging info,
> @value{GDBN} will need to use this value to guess whether @var{pc}
> belongs to the ^^^^^^^^
> prologue, otherwise it'll ignore it. Notice that in the latter case you can pass
> any valid address as @var{functionStart}; the result will only depend
> on @var{pc}
> being in a prologue, even if it's not the prologue of the function starting at
> @var{functionStart}."
I'd say "to determine" instead of "to guess"/
Otherwise, fine with me, thanks. (But please remember to leave 2
spaces between sentences.)