diff options
author | Stu Grossman <grossman@cygnus> | 1993-11-12 18:59:43 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1993-11-12 18:59:43 +0000 |
commit | 9a13e99e206b8c400f1ea65869f90b8500731c4c (patch) | |
tree | 8b4ffcf0204742c7106f91b62fc6da3395a1c841 /gdb/coff-solib.c | |
parent | 115f743028a080c89c7201a2d31a7ba61c5259b1 (diff) | |
download | binutils-gdb-9a13e99e206b8c400f1ea65869f90b8500731c4c.tar.gz |
* coff-solib.c (coff_solib_add): Cast result of alloca().
* m68k-tdep.c (m68k_saved_pc_after_call): Get rid of
GDB_TARGET_IS_SUN3. Use more general SYSCALL_TRAP macro.
* config/m68k/m68klynx.mh (NATDEPFILES): Remove exec.o (it's
already in TDEPFILES).
* config/m68k/tm-m68k.h (SAVED_PC_AFTER_CALL): Use
m68k_saved_pc_after_call.
* Remove all Sun3 specific stuff.
* (FIX_CALL_DUMMY): Cast arg to bfd_putb32 to unsigned char *.
* config/m68k/tm-m68klynx.h: Define SYSCALL_TRAP as trap #10.
Disable REMOTE_BREAKPOINT mechanism.
* config/m68k/tm-sun3.h: Get rid of GDB_TARGET_IS_SUN3.
* Protect from multiple includion.
* Move Sun3 specific stuff from tm-m68k.h to here.
* Define SYSCALL_TRAP as trap #0.
* Remove def of SAVED_PC_AFTER_CALL (now in tm-m68k.h).
* gdbserver/low-lynx.c: Redo all register store/fetch stuff to
make it portable for 386 and 68k.
Diffstat (limited to 'gdb/coff-solib.c')
-rw-r--r-- | gdb/coff-solib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/coff-solib.c b/gdb/coff-solib.c index 01ffc9c6347..697fdac2d2a 100644 --- a/gdb/coff-solib.c +++ b/gdb/coff-solib.c @@ -67,7 +67,7 @@ coff_solib_add (arg_string, from_tty, target) libsize = bfd_section_size (exec_bfd, libsect); - lib = alloca (libsize); + lib = (unsigned char *) alloca (libsize); bfd_get_section_contents (exec_bfd, libsect, lib, 0, libsize); |