diff options
author | Stu Grossman <grossman@cygnus> | 1996-08-13 00:01:37 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1996-08-13 00:01:37 +0000 |
commit | 8501c7427079ac2d8668e5e36408fa5af2d59bbe (patch) | |
tree | bb991670ad6baa812543c86951fa94bce7e008ed /gdb/sparcl-tdep.c | |
parent | 817e4f757fcffa848e18e8d49b4aafb9ee101f08 (diff) | |
download | gdb-8501c7427079ac2d8668e5e36408fa5af2d59bbe.zip gdb-8501c7427079ac2d8668e5e36408fa5af2d59bbe.tar.gz gdb-8501c7427079ac2d8668e5e36408fa5af2d59bbe.tar.bz2 |
* defs.h: Define CONST_PTR as blank if compiling with Microsoft
C, else it's `const'.
* c-lang.c c-lang.h ch-lang.c f-lang.c language.c m2-lang.c
scm-lang.c: Microsoft C can't hack const pointers. Use CONST_PTR
macro instead.
* configure configure.in defs.h: Use AC_C_CONST to figure out if
the compiler supports const. Gets rid of some cruft in defs.h.
* dwarf2read.c: <string.h> -> "gdb_string.h"
* remote-sim.c: Add prototypes. Fix call to gdbsim_kill.
* sparcl-tdep.c (download): Add prototypes to write_routine and
start_routine args.
* mswin/gdbwin.c: Don't include both varargs.h AND stdarg.h. Get
rid of varargs.h Include string.h.
* (gdbwin_update gdbwin_fputs regs_changed_f bpt_changed_f
update): Fix prototypes, fix calls.
* (update): Return value for catch_errors.
* (run_execute_command togdb_command_from_tty togdb_command):
Cleanup catching of errors from calls to execute_command. Also,
dup command string to avoid modifying const strings.
* (togdb_breakinfo_i_init togdb_breakinfo_i_next): Use 0 instead
of NULL when see if b->address isn't set.
* (bi_disable_bpt bi_enable_bpt bi_delete_all
bi_delete_breakpoint): Add arg to calls to update.
* (gui_command): Add prototype.
* (mswin_query): Fix prototype.
* (_initialize_gdbwin): Dup string to avoid modifying const.
* (info_path togdb_get_info_path): Remove const from decls cuz
this can't be const (it points at malloc'ed memory).
* (togdb_searchpath): Remove const from path. Dup string to
avoid modifying const strings.
* rindex -> strrchr.
* (gdbwin_list_symbols): Regexp param is const.
* Fix lots of refs to psymtabs to deref correct pointers.
* (togdb_set_breakpoint_sal): Call set_breakpoint_sal with sal,
not &sal.
* mswin/gdbwin.h (togdb_searchpath togdb_get_info_path
toget_set_info_path): Fix prototypes to match reality.
* mswin/gui.cpp: Define _beginthreadex and _endthreadex routines
with proper prototypes.
* mswin/iface.cpp (gdbwin_fputs): Define with correct number of args.
* mswin/ser-win32s.c: Fix defs of min and max.
* mswin/serdll32.c (OpenComm16): Make cbInQueue and cbOutQueue be
USHORT.
* (WriteComm16): Change lpBug from LPVOID to LPCSTR.
* mswin/serdll32.h: Fix prototypes for OpenComm16 and WriteComm16.
Diffstat (limited to 'gdb/sparcl-tdep.c')
-rw-r--r-- | gdb/sparcl-tdep.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/sparcl-tdep.c b/gdb/sparcl-tdep.c index 08736aa..0bcc3a4 100644 --- a/gdb/sparcl-tdep.c +++ b/gdb/sparcl-tdep.c @@ -532,8 +532,9 @@ download (target_name, args, from_tty, write_routine, start_routine) char *target_name; char *args; int from_tty; - void (*write_routine)(); - void (*start_routine)(); + void (*write_routine) PARAMS ((bfd *from_bfd, asection *from_sec, + file_ptr from_addr, bfd_vma to_addr, int len)); + void (*start_routine) PARAMS ((bfd_vma entry)); { struct cleanup *old_chain; asection *section; |