From: Yao Qi <yao@codesourcery.com>
To: Sandra Loosemore <sandra@codesourcery.com>
Cc: <gdb-patches@sourceware.org>
Subject: Re: [1/3 patch, nios2] clean up prologue/epilogue detection code, v2
Date: Tue, 25 Nov 2014 02:50:00 -0000 [thread overview]
Message-ID: <87d28cdmdl.fsf@codesourcery.com> (raw)
In-Reply-To: <5473C72B.4000801@codesourcery.com> (Sandra Loosemore's message of "Mon, 24 Nov 2014 17:02:51 -0700")
Sandra Loosemore <sandra@codesourcery.com> writes:
> This part of the revised Nios II prologue/epilogue refactoring patch
> set includes only the parts that introduce new helper functions to
> match and disassemble instructions. OK to commit, this time?
>
> -Sandra
>
> 2014-11-24 Sandra Loosemore <sandra@codesourcery.com>
>
> gdb/
> * nios2-tdep.c (nios2_fetch_insn): Move up in file. Disassemble
> the instruction as well as reading it from memory.
> (nios2_match_add): New.
> (nios2_match_sub): New.
> (nios2_match_addi): New.
> (nios2_match_orhi): New.
> (nios2_match_stw): New.
> (nios2_match_ldw): New.
> (nios2_match_rdctl): New.
> (enum branch_condition): New.
> (nios2_match_branch): New.
> (nios2_match_jmpi): New.
> (nios2_match_calli): New.
> (nios2_match_jmpr): New.
> (nios2_match_callr): New.
> (nios2_match_break): New.
> (nios2_match_trap): New.
> (nios2_in_epilogue_p): Rewrite to use new functions.
> (nios2_analyze_prologue): Likewise.
> (nios2_skip_prologue): Delete unused local limit_pc.
> (nios2_breakpoint_from_pc): Make R1-specific encodings explicit.
> (nios2_get_next_pc): Rewrite to use new functions.
This is OK.
--
Yao (齐尧)
next prev parent reply other threads:[~2014-11-25 2:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-08 23:01 [patch, nios2] clean up prologue/epilogue detection code Sandra Loosemore
2014-11-11 3:33 ` Yao Qi
2014-11-24 23:52 ` Sandra Loosemore
2014-11-25 0:03 ` [1/3 patch, nios2] clean up prologue/epilogue detection code, v2 Sandra Loosemore
2014-11-25 2:50 ` Yao Qi [this message]
2014-11-25 0:03 ` [3/3 " Sandra Loosemore
2014-11-25 3:00 ` Yao Qi
2014-11-25 0:03 ` [2/3 " Sandra Loosemore
2014-11-25 3:29 ` Yao Qi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d28cdmdl.fsf@codesourcery.com \
--to=yao@codesourcery.com \
--cc=gdb-patches@sourceware.org \
--cc=sandra@codesourcery.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox