From: Kevin Buettner <kevinb@redhat.com>
To: Jim Blandy <jimb@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: RFA: PowerPC sim & GDB: use fixed register numbering
Date: Fri, 23 Jul 2004 23:12:00 -0000 [thread overview]
Message-ID: <20040723161249.5690ea4c@saguaro> (raw)
In-Reply-To: <vt23c3mwgzk.fsf@zenia.home>
On 20 Jul 2004 15:39:27 -0500
Jim Blandy <jimb@redhat.com> wrote:
> gdb/ChangeLog:
> 2004-07-20 Jim Blandy <jimb@redhat.com>
>
> Use a fixed register numbering when communicating with the PowerPC
> simulator.
> * ppc-tdep.h (struct gdbarch_tdep): New member: 'sim_regno'.
> * rs6000-tdep.c: #include "sim-regno.h" and "gdb/sim-ppc.h".
> (set_sim_regno, init_sim_regno_table, rs6000_register_sim_regno):
> New functions.
> (rs6000_gdbarch_init): Register rs6000_register_sim_regno. Call
> init_sim_regno_table.
> * Makefile.in (gdb_sim_ppc_h): New variable.
> (rs6000-tdep.o): Update dependencies.
Please add a comment before each of set_sim_regno(), init_sim_regno_table(),
and rs6000_register_sim_regno() stating what each of these functions does,
the I/O behavior of any parameters, etc.
Otherwise, okay.
> include/gdb/ChangeLog:
> 2004-07-20 Jim Blandy <jimb@redhat.com>
>
> * sim-ppc.h: New file.
Okay. (Though it's not clear to me that I need to approve this part.)
> sim/ppc/ChangeLog:
> 2004-07-20 Jim Blandy <jimb@redhat.com>
>
> Use a fixed register numbering when communicating with the PowerPC
> simulator.
> * sim_calls.c: #include "registers.h" and "gdb/sim-ppc.h"; do not
> include GDB's "defs.h".
> (gdb_register_name_table): New variable.
> (gdb_register_name_table_size): New enum constant.
> (gdb_register_name): New function.
> (sim_fetch_register, sim_store_register): Use gdb_register_name,
> instead of calling gdbarch_register_name.
> * Makefile.in (GDB_SIM_PPC_H): New variable.
> (DEFS_H): Delete variable.
> (sim_calls.o): Update dependencies.
Someone else needs to approve this part...
Kevin
next prev parent reply other threads:[~2004-07-23 23:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-20 20:40 Jim Blandy
2004-07-23 23:12 ` Kevin Buettner [this message]
2004-08-03 14:23 ` Andrew Cagney
2004-08-04 5:47 ` Jim Blandy
2004-08-04 13:53 ` Andrew Cagney
2004-08-04 17:13 ` Jim Blandy
2004-08-04 17:33 ` Andrew Cagney
2004-08-04 17:56 ` Jim Blandy
2004-08-04 18:07 ` Andrew Cagney
2004-08-04 21:26 ` Jim Blandy
2004-08-05 0:18 ` Andrew Cagney
2004-08-05 15:22 ` Jim Blandy
2004-08-05 16:10 ` Andrew Cagney
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=20040723161249.5690ea4c@saguaro \
--to=kevinb@redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=jimb@redhat.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