Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/gdb/sim/ppc - (required) const poison



details:   https://anonhg.NetBSD.org/src/rev/807a10985f88
branches:  trunk
changeset: 565237:807a10985f88
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Apr 02 13:34:50 2004 +0000

description:
- (required) const poison
- fix some function argument type issues (struct _bfd vs bfd)

diffstat:

 gnu/dist/gdb/sim/ppc/sim_calls.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 9459210169a9 -r 807a10985f88 gnu/dist/gdb/sim/ppc/sim_calls.c
--- a/gnu/dist/gdb/sim/ppc/sim_calls.c  Fri Apr 02 13:33:04 2004 +0000
+++ b/gnu/dist/gdb/sim/ppc/sim_calls.c  Fri Apr 02 13:34:50 2004 +0000
@@ -120,7 +120,7 @@
 
 
 SIM_RC
-sim_load (SIM_DESC sd, char *prog, bfd *abfd, int from_tty)
+sim_load (SIM_DESC sd, char *prog, struct _bfd *abfd, int from_tty)
 {
   TRACE(trace_gdb, ("sim_load(prog=%s, from_tty=%d) called\n",
                    prog, from_tty));
@@ -180,7 +180,7 @@
 int
 sim_fetch_register (SIM_DESC sd, int regno, unsigned char *buf, int length)
 {
-  char *regname;
+  const char *regname;
 
   if (simulator == NULL) {
     return 0;
@@ -212,7 +212,7 @@
 int
 sim_store_register (SIM_DESC sd, int regno, unsigned char *buf, int length)
 {
-  char *regname;
+  const char *regname;
 
   if (simulator == NULL)
     return 0;



Home | Main Index | Thread Index | Old Index