* ocd.h (ocd_xfer_memory): Add ``attrib'' parameter.

* ocd.c (ocd_xfer_memory): Ditto.
* ser-ocd.c (ocd_setstopbits): New function. Add to ocd_ops.
* MAINTAINERS: Document powerpc-eabi and powerpcle-eabi as
buildable with ,-Werror.

* Makefile.in (symfile_h): Define.
(mcore-tdep.o): Add $(symfile_h), $(gdbcore_h) and $(inferior_h).
* mcore-tdep.c: Include "symfile.h", "gdbcore.h" and "inferior.h".
* MAINTAINERS: Document mcore-elf and mcore-pe as buildable with
,-Werror.

* dsrec.c (make_srec): Fix internal_error fmt arg.
* MAINTAINERS: Document i960-coff as buildable with ,-Werror.
This commit is contained in:
Andrew Cagney 2001-03-05 16:38:07 +00:00
parent c663138840
commit 58841d58e5
8 changed files with 40 additions and 9 deletions

View file

@ -1,3 +1,20 @@
2001-03-04 Andrew Cagney <ac131313@redhat.com>
* ocd.h (ocd_xfer_memory): Add ``attrib'' parameter.
* ocd.c (ocd_xfer_memory): Ditto.
* ser-ocd.c (ocd_setstopbits): New function. Add to ocd_ops.
* MAINTAINERS: Document powerpc-eabi and powerpcle-eabi as
buildable with ,-Werror.
* Makefile.in (symfile_h): Define.
(mcore-tdep.o): Add $(symfile_h), $(gdbcore_h) and $(inferior_h).
* mcore-tdep.c: Include "symfile.h", "gdbcore.h" and "inferior.h".
* MAINTAINERS: Document mcore-elf and mcore-pe as buildable with
,-Werror.
* dsrec.c (make_srec): Fix internal_error fmt arg.
* MAINTAINERS: Document i960-coff as buildable with ,-Werror.
2001-03-03 Kevin Buettner <kevinb@redhat.com> 2001-03-03 Kevin Buettner <kevinb@redhat.com>
* solib-aix5.c (aix5_relocate_main_executable): Don't use ANOFFSET * solib-aix5.c (aix5_relocate_main_executable): Don't use ANOFFSET

View file

@ -83,7 +83,7 @@ maintainer works with the native maintainer when resolving API issues.
i386 --target=i386-elf,i386-aout ,-Werror i386 --target=i386-elf,i386-aout ,-Werror
Mark Kettenis kettenis@gnu.org Mark Kettenis kettenis@gnu.org
i960 (--target=i960-coff broken) i960 --target=i960-coff ,-Werror
Maintenance only Maintenance only
ia64 (--target=ia64-elf broken) ia64 (--target=ia64-elf broken)
@ -101,7 +101,7 @@ maintainer works with the native maintainer when resolving API issues.
m88k (?) m88k (?)
Maintenance only Maintenance only
mcore (--target=mcore-elf,mcore-pe broken) mcore --target=mcore-elf,mcore-pe ,-Werror
Maintenance only Maintenance only
mips --target=mips-elf,mips64-elf ,-Werror mips --target=mips-elf,mips64-elf ,-Werror
@ -113,13 +113,13 @@ maintainer works with the native maintainer when resolving API issues.
mn10300 --target=mn10300-elf ,-Werror mn10300 --target=mn10300-elf ,-Werror
Andrew Cagney cagney@cygnus.com Andrew Cagney cagney@cygnus.com
ns32k (--target=ns32k-netbsd broken) ns32k (--target=ns32k-pc532 broken)
Maintenance only Maintenance only
pa (--target=hppa1.1-hp-proelf broken) pa (--target=hppa1.1-hp-proelf broken)
Jeff Law law@cygnus.com Jeff Law law@cygnus.com
powerpc (--target=powerpc-eabi,powerpcle-eabi broken) powerpc --target=powerpc-eabi,powerpcle-eabi ,-Werror
Kevin Buettner kevinb@cygnus.com Kevin Buettner kevinb@cygnus.com
Nick Duffek nsd@cygnus.com Nick Duffek nsd@cygnus.com

View file

@ -574,6 +574,7 @@ gdbcore_h = gdbcore.h $(bfd_h)
frame_h = frame.h frame_h = frame.h
symtab_h = symtab.h bcache.h symtab_h = symtab.h bcache.h
symfile_h = symfile.h
gdbtypes_h = gdbtypes.h gdbtypes_h = gdbtypes.h
expression_h = expression.h expression_h = expression.h
value_h = value.h $(symtab_h) $(gdbtypes_h) $(expression_h) value_h = value.h $(symtab_h) $(gdbtypes_h) $(expression_h)
@ -1623,7 +1624,8 @@ main.o: main.c top.h $(defs_h) gdb_string.h $(event_loop_h) \
maint.o: maint.c $(defs_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) language.h \ maint.o: maint.c $(defs_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) language.h \
$(expression_h) objfiles.h symfile.h $(expression_h) objfiles.h symfile.h
mcore-tdep.o: mcore-tdep.c $(defs_h) $(frame_h) $(gdbcmd_h) $(value_h) $(symtab_h) mcore-tdep.o: mcore-tdep.c $(defs_h) $(frame_h) $(gdbcmd_h) $(value_h) \
$(symtab_h) $(symfile_h) $(gdbcore_h) $(inferior_h)
mcore-rom.o: mcore-rom.c $(defs_h) $(gdbcore_h) target.h monitor.h \ mcore-rom.o: mcore-rom.c $(defs_h) $(gdbcore_h) target.h monitor.h \
gdb_string.h $(regcache_h) gdb_string.h $(regcache_h)

View file

@ -251,8 +251,8 @@ make_srec (char *srec, CORE_ADDR targ_addr, bfd *abfd, asection *sect,
addr_size = 4; addr_size = 4;
else else
internal_error (__FILE__, __LINE__, internal_error (__FILE__, __LINE__,
"make_srec: Bad address (0x%x), or bad flags (0x%x).", "make_srec: Bad address (0x%s), or bad flags (0x%x).",
targ_addr, flags); paddr (targ_addr), flags);
/* Now that we know the address size, we can figure out how much /* Now that we know the address size, we can figure out how much
data this record can hold. */ data this record can hold. */

View file

@ -23,6 +23,9 @@
#include "value.h" #include "value.h"
#include "gdbcmd.h" #include "gdbcmd.h"
#include "regcache.h" #include "regcache.h"
#include "symfile.h"
#include "gdbcore.h"
#include "inferior.h"
/* Functions declared and used only in this file */ /* Functions declared and used only in this file */

View file

@ -760,7 +760,7 @@ ocd_read_bytes (CORE_ADDR memaddr, char *myaddr, int len)
/* ARGSUSED */ /* ARGSUSED */
int int
ocd_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int should_write, ocd_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int should_write,
struct target_ops *target) struct mem_attrib *attrib, struct target_ops *target)
{ {
int res; int res;

View file

@ -103,7 +103,9 @@ void ocd_files_info (struct target_ops *ignore);
int ocd_xfer_memory (CORE_ADDR memaddr, char *myaddr, int ocd_xfer_memory (CORE_ADDR memaddr, char *myaddr,
int len, int should_write, struct target_ops *target); int len, int should_write,
struct mem_attrib *attrib,
struct target_ops *target);
void ocd_mourn (void); void ocd_mourn (void);

View file

@ -133,6 +133,12 @@ ocd_setbaudrate (serial_t scb, int rate)
return 0; return 0;
} }
static int
ocd_setstopbits (serial_t scb, int rate)
{
return 0;
}
static int static int
ocd_write (serial_t scb, const char *str, int len) ocd_write (serial_t scb, const char *str, int len)
{ {
@ -168,6 +174,7 @@ static struct serial_ops ocd_ops =
ocd_print_tty_state, ocd_print_tty_state,
ocd_noflush_set_tty_state, ocd_noflush_set_tty_state,
ocd_setbaudrate, ocd_setbaudrate,
ocd_setstopbits,
ocd_noop, /* wait for output to drain */ ocd_noop, /* wait for output to drain */
}; };