aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2005-05-232005-05-23 Orjan Friberg <orjanf@axis.com>Orjan Friberg5-1/+536
* linux-cris-low.c: New file with support for CRIS. * linux-crisv32-low.c: Ditto for CRISv32. * Makefile.in (SFILES): Add linux-cris-low.c, linux-crisv32-low.c. (clean): Add reg-cris.c and reg-crisv32.c. Add linux-cris-low.o, linux-crisv32-low.o, reg-cris.o, reg-cris.c, reg-crisv32.o, and reg-crisv32.c to make rules. * configure.srv: Add cris-*-linux* and crisv32-*-linux* to list of recognized targets.
2005-05-23* Last commit contained the wrong ChangeLog entry.Orjan Friberg1-2/+1
2005-05-232005-05-23 Orjan Friberg <orjanf@axis.com>Orjan Friberg2-2/+7
* cris-tdep.c: Tweak values for cris-mode.
2005-05-232005-05-23 Orjan Friberg <orjanf@axis.com>Orjan Friberg2-6/+20
* gdb.texinfo (CRIS): Update the cris-version and cris-dwarf2-cfi documentation. Add documentation for cris-mode.
2005-05-23 * mdebugread.c (record_minimal_symbol): New procedure.Joel Brobecker2-22/+97
(parse_partial_symbols): Use record_minimal_symbol to record the new minimal symbols instead of prim_record_minimal_symbol and prim_record_minimal_symbol_and_info.
2005-05-23*** empty log message ***gdbadmin1-1/+1
2005-05-22* NEWS: Mention OpenBSD/arm as a new native configuration.Mark Kettenis2-0/+3
2005-05-22* armnbsd-nat.c: Include "gdb_string.h" and "inf_ptrace.h".Mark Kettenis5-21/+42
Reorder includes. Don't require FETCH_INFERIOR_REGISTERS to be defined. (armnbsd_fetch_registers): Rename from armnbsd_fetch_registers. Make static. (armnbsd_store_registers): Rename from armnbsd_store_registers. Make static. (_initialize_arm_netbsd_nat): Construct and add target vector. * Makefile.in (armnbsd-nat.o): Update dependencies. * config/arm/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and intarg.o, add inf-ptrace.o. (NAT_FILE): Set to solib.h. * config/arm/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and inftarg.o, add inf-ptrace.o. (NAT_FILE): Remove.
2005-05-22* arm-tdep.c (arm_extract_return_value, arm_store_return_value):Mark Kettenis2-8/+6
Change type of last argument to `gdb_byte *'.
2005-05-22* configure.host: Add arm*-*-openbsd*.Mark Kettenis3-0/+7
* configure.tgt: Add arm*-*-openbsd*.
2005-05-222005-05-22 Andrew Cagney <cagney@gnu.org>Andrew Cagney19-49/+79
* frame.h (frame_register_unwind, frame_unwind_register) (get_frame_register, frame_register, put_frame_register) (get_frame_memory, safe_frame_unwind_memory) (frame_register_read): Use gdb_byte for byte buffer parameters. * trad-frame.h (trad_frame_get_register) (frame_get_prev_register): Ditto. * frame-unwind.h (frame_prev_register_ftype): Ditto. * frame.c (frame_pop, frame_register, frame_unwind_register) (get_frame_register, frame_unwind_register_signed) (frame_unwind_register_unsigned, frame_unwind_unsigned_register) (frame_register_read, get_frame_memory): Update. * trad-frame.c (trad_frame_get_prev_register): Update. (trad_frame_get_register): Update. * gdbcore.h (deprecated_read_memory_nobpt, read_memory): Ditto. * breakpoint.c (deprecated_read_memory_nobpt): Update. * corefile.c (read_memory): Update. * tramp-frame.c (tramp_frame_prev_register): Update. * valops.c (value_assign): Update. * sentinel-frame.c (sentinel_frame_prev_register): Update. * std-regs.c (value_of_builtin_frame_fp_reg) (value_of_builtin_frame_pc_reg): Update. * infcmd.c (default_print_registers_info): Update * dummy-frame.c (dummy_frame_prev_register): Update. * findvar.c (value_of_register, value_from_register): Update. * tui/tui-regs.c (tui_register_format, tui_get_register): Update. * mi/mi-main.c (register_changed_p, get_register): Update.
2005-05-22*** empty log message ***gdbadmin1-1/+1
2005-05-21*** empty log message ***gdbadmin1-1/+1
2005-05-20 * configure.ac: Fix bad description of _MSE_INT_H that caused eachEli Zaretskii3-6/+7
word in config.in to be enclosed in []. * config.in: Regenerate.
2005-05-20*** empty log message ***Eli Zaretskii1-0/+1
2005-05-20 * configure, config.in: Regenerate.Eli Zaretskii2-1/+154
2005-05-20*** empty log message ***Eli Zaretskii1-0/+5
2005-05-20 * gdb.texinfo (Numbers): Explain the example and make the wordingEli Zaretskii1-8/+12
more acurate.
2005-05-20 * configure.ac: Add snprintf and vsnprintf to AC_CHECK_DECLS.Eli Zaretskii2-1/+7
2005-05-20 * alpha-tdep.c (fp_register_zero_p): New function.Joel Brobecker2-2/+60
(fp_register_sign_bit): New function. (alpha_next_pc): Add support for floating-point control instructions.
2005-05-20*** empty log message ***gdbadmin1-1/+1
2005-05-192005-05-19 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-75/+37
* defs.h (extract_signed_integer, extract_unsigned_integer) (extract_long_unsigned_integer, extract_typed_address) (store_signed_integer, store_unsigned_integer) (store_typed_address): Use gdb_byte for byte buffer parameters. (push_bytes, push_word): Delete declaration. * valops.c (push_bytes, push_word): Delete function. * findvar.c (extract_signed_integer, extract_unsigned_integer) (extract_typed_address, store_signed_integer) (store_unsigned_integer): Update. Index: defs.h =================================================================== RCS file: /cvs/src/src/gdb/defs.h,v retrieving revision 1.185 diff -p -u -r1.185 defs.h --- defs.h 9 May 2005 17:20:18 -0000 1.185 +++ defs.h 19 May 2005 17:54:12 -0000 @@ -1042,27 +1042,25 @@ enum { MAX_REGISTER_SIZE = 16 }; /* In findvar.c. */ -extern LONGEST extract_signed_integer (const void *, int); +extern LONGEST extract_signed_integer (const gdb_byte *, int); -extern ULONGEST extract_unsigned_integer (const void *, int); +extern ULONGEST extract_unsigned_integer (const gdb_byte *, int); -extern int extract_long_unsigned_integer (const void *, int, LONGEST *); +extern int extract_long_unsigned_integer (const gdb_byte *, int, LONGEST *); -extern CORE_ADDR extract_typed_address (const void *buf, struct type *type); +extern CORE_ADDR extract_typed_address (const gdb_byte *buf, + struct type *type); -extern void store_signed_integer (void *, int, LONGEST); +extern void store_signed_integer (gdb_byte *, int, LONGEST); -extern void store_unsigned_integer (void *, int, ULONGEST); +extern void store_unsigned_integer (gdb_byte *, int, ULONGEST); -extern void store_typed_address (void *buf, struct type *type, CORE_ADDR addr); +extern void store_typed_address (gdb_byte *buf, struct type *type, + CORE_ADDR addr); /* From valops.c */ -extern CORE_ADDR push_bytes (CORE_ADDR, char *, int); - -extern CORE_ADDR push_word (CORE_ADDR, ULONGEST); - extern int watchdog; /* Hooks for alternate command interfaces. */ Index: findvar.c =================================================================== RCS file: /cvs/src/src/gdb/findvar.c,v retrieving revision 1.91 diff -p -u -r1.91 findvar.c --- findvar.c 14 May 2005 06:07:41 -0000 1.91 +++ findvar.c 19 May 2005 17:54:12 -0000 @@ -49,7 +49,7 @@ you lose #endif LONGEST -extract_signed_integer (const void *addr, int len) +extract_signed_integer (const gdb_byte *addr, int len) { LONGEST retval; const unsigned char *p; @@ -83,7 +83,7 @@ That operation is not available on integ } ULONGEST -extract_unsigned_integer (const void *addr, int len) +extract_unsigned_integer (const gdb_byte *addr, int len) { ULONGEST retval; const unsigned char *p; @@ -117,16 +117,18 @@ That operation is not available on integ function returns 1 and sets *PVAL. Otherwise it returns 0. */ int -extract_long_unsigned_integer (const void *addr, int orig_len, LONGEST *pval) +extract_long_unsigned_integer (const gdb_byte *addr, int orig_len, + LONGEST *pval) { - char *p, *first_addr; + const gdb_byte *p; + const gdb_byte *first_addr; int len; len = orig_len; if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG) { - for (p = (char *) addr; - len > (int) sizeof (LONGEST) && p < (char *) addr + orig_len; + for (p = addr; + len > (int) sizeof (LONGEST) && p < addr + orig_len; p++) { if (*p == 0) @@ -138,9 +140,9 @@ extract_long_unsigned_integer (const voi } else { - first_addr = (char *) addr; - for (p = (char *) addr + orig_len - 1; - len > (int) sizeof (LONGEST) && p >= (char *) addr; + first_addr = addr; + for (p = addr + orig_len - 1; + len > (int) sizeof (LONGEST) && p >= addr; p--) { if (*p == 0) @@ -164,7 +166,7 @@ extract_long_unsigned_integer (const voi /* Treat the bytes at BUF as a pointer of type TYPE, and return the address it represents. */ CORE_ADDR -extract_typed_address (const void *buf, struct type *type) +extract_typed_address (const gdb_byte *buf, struct type *type) { if (TYPE_CODE (type) != TYPE_CODE_PTR && TYPE_CODE (type) != TYPE_CODE_REF) @@ -177,11 +179,11 @@ extract_typed_address (const void *buf, void -store_signed_integer (void *addr, int len, LONGEST val) +store_signed_integer (gdb_byte *addr, int len, LONGEST val) { - unsigned char *p; - unsigned char *startaddr = (unsigned char *) addr; - unsigned char *endaddr = startaddr + len; + gdb_byte *p; + gdb_byte *startaddr = addr; + gdb_byte *endaddr = startaddr + len; /* Start at the least significant end of the integer, and work towards the most significant. */ @@ -204,7 +206,7 @@ store_signed_integer (void *addr, int le } void -store_unsigned_integer (void *addr, int len, ULONGEST val) +store_unsigned_integer (gdb_byte *addr, int len, ULONGEST val) { unsigned char *p; unsigned char *startaddr = (unsigned char *) addr; @@ -233,7 +235,7 @@ store_unsigned_integer (void *addr, int /* Store the address ADDR as a pointer of type TYPE at BUF, in target form. */ void -store_typed_address (void *buf, struct type *type, CORE_ADDR addr) +store_typed_address (gdb_byte *buf, struct type *type, CORE_ADDR addr) { if (TYPE_CODE (type) != TYPE_CODE_PTR && TYPE_CODE (type) != TYPE_CODE_REF) Index: valops.c =================================================================== RCS file: /cvs/src/src/gdb/valops.c,v retrieving revision 1.157 diff -p -u -r1.157 valops.c --- valops.c 9 May 2005 21:20:35 -0000 1.157 +++ valops.c 19 May 2005 17:54:12 -0000 @@ -933,54 +933,6 @@ value_ind (struct value *arg1) return 0; /* For lint -- never reached */ } -/* Pushing small parts of stack frames. */ - -/* Push one word (the size of object that a register holds). */ - -CORE_ADDR -push_word (CORE_ADDR sp, ULONGEST word) -{ - int len = DEPRECATED_REGISTER_SIZE; - char buffer[MAX_REGISTER_SIZE]; - - store_unsigned_integer (buffer, len, word); - if (INNER_THAN (1, 2)) - { - /* stack grows downward */ - sp -= len; - write_memory (sp, buffer, len); - } - else - { - /* stack grows upward */ - write_memory (sp, buffer, len); - sp += len; - } - - return sp; -} - -/* Push LEN bytes with data at BUFFER. */ - -CORE_ADDR -push_bytes (CORE_ADDR sp, char *buffer, int len) -{ - if (INNER_THAN (1, 2)) - { - /* stack grows downward */ - sp -= len; - write_memory (sp, buffer, len); - } - else - { - /* stack grows upward */ - write_memory (sp, buffer, len); - sp += len; - } - - return sp; -} - /* Create a value for an array by allocating space in the inferior, copying the data into that space, and then setting up an array value.
2005-05-192005-05-19 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-55/+90
* regcache.h (regcache_raw_read, regcache_raw_write) (regcache_raw_read_part, regcache_raw_write_part) (regcache_cooked_read_part, regcache_cooked_write_part) (regcache_cooked_read, regcache_cooked_write) (regcache_raw_supply, regcache_raw_collect) (regcache_cooked_read_ftype, regcache_save, regcache_restore) (deprecated_read_register_gen, deprecated_write_register_gen) (deprecated_read_register_bytes, deprecated_write_register_bytes) (deprecated_grub_regcache_for_registers): Use gdb_byte for byte buffer parameters. * ia64-tdep.c (ia64_extract_return_value): Update. * frame.c (do_frame_register_read): Update. * regcache.c (deprecated_grub_regcache_for_registers) (struct regcache, regcache_save, regcache_restore, regcache_cpy) (do_cooked_read, regcache_xmalloc, register_buffer) (deprecated_read_register_bytes, regcache_raw_read) (regcache_raw_read_signed, regcache_raw_read_unsigned) (deprecated_read_register_gen, regcache_cooked_read) (regcache_cooked_read_signed, regcache_cooked_read_unsigned) (deprecated_write_register_gen, regcache_cooked_write) (deprecated_write_register_bytes, regcache_raw_read_part) (regcache_raw_write_part, regcache_cooked_read_part) (regcache_cooked_write_part, read_register, regcache_raw_supply):
2005-05-19*** empty log message ***gdbadmin1-1/+1
2005-05-18 * MAINTAINERS: Undelete v850.Corinna Vinschen6-1/+1108
* Makefile.in: Re-add v850-tdep.o dependencies. * configure.tgt: Re-add v850. * v850-tdep.c: Reorder code slightly. Add register number enumerator. (struct v850_frame_cache): New structure. (v850_processor_type_table): Remove. Move functionality into v850_register_name, v850e_register_name and v850_gdbarch_init. (v850_register_name): New function. (v850e_register_name): New function. (struct prologue_info): Remove definition. (v850_register_type): New function. (v850_type_is_scalar): New function. (v850_use_struct_convention): Align to gcc behaviour. (v850_handle_prepare): Renamed from handle_prepare. Change third parameter to struct v850_frame_cache *. (v850_handle_pushm): Renamed from handle_pushm. Change third parameter to struct v850_frame_cache *. (v850_is_save_register): New function to evaluate if a register is caller-save. (v850_analyze_prologue): Replace v850_scan_prologue. Change to support new frame code. (v850_init_extra_frame_info): Remove. (v850_frame_chain): Remove. (v850_find_callers_reg): Remove. (v850_skip_prologue): Make static. (v850_pop_frame): Remove. (v850_frame_align): New function. (v850_push_dummy_call): Replace v850_push_arguments. (v850_push_return_address): Remove. (v850_extract_return_value): New function. (v850_store_return_value): New function. (v850_return_value): New function. (v850_frame_saved_pc): Remove. (v850_breakpoint_from_pc): New function. (v850_alloc_frame_cache): New function. (v850_fix_call_dummy): Remove. (v850_frame_cache): New function. (v850_target_architecture_hook): Remove. (v850_frame_prev_register): New function. (v850_frame_this_id): New function. (v850_frame_unwind): New structure. (v850_frame_sniffer): New function. (v850_unwind_sp): New function. (v850_unwind_pc): New function. (v850_unwind_dummy_id): New function. (v850_frame_base_address): New function. (v850_frame_base): New structure. (v850_gdbarch_init): New function. * config/v850/v850.mt: Undelete. Drop TM_FILE.
2005-05-182005-05-17 Daniel Jacobowitz <dan@codesourcery.com>Daniel Jacobowitz21-118/+174
Dennis Brueni <dennis@slickedit.com> gdb/ * stack.c (print_frame): In MI mode, output a fullname attribute with the stack frame. gdb/doc/ * gdb.texinfo (GDB/MI Breakpoint Table Commands) (GDB/MI Data Manipulation, GDB/MI Program Control) (GDB/MI Stack Manipulation): Update examples to include the fullname attribute in stack frames. gdb/testsuite/ * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp, gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp, gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames. * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
2005-05-18 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support forDaniel Jacobowitz4-21/+44
IBM's xlc compiler. * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1. * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
2005-05-18*** empty log message ***gdbadmin1-1/+1
2005-05-17*** empty log message ***gdbadmin1-1/+1
2005-05-16Oops.Mark Kettenis1-2/+3
2005-05-16* corelow.c (core_xfer_partial): Change type of readbuf andMark Kettenis8-39/+71
writebuf to `gdb_byte *'. * sparc-nat.c (sparc_xfer_wcookie, sparc_xfer_partial): Change type of readbuf and writebuf to `gdb_byte *'. * bsd-uthread.c (bsd_uthread_xfer_partial): Change type of readbuf and writebuf to `gdb_byte *'. * inf-ptrace.c (inf_ptrace_xfer_partial): Change type of readbuf and writebuf to `gdb_byte *'. * bsd-kvm.c (bsd_kvm_xfer_memory): Replace. (bsd_kvm_xfer_partial): New function. (bsd_kvm_add_target): Set to_xfer_partial instead of to_xfer_memory. * bfd-target.c (target_bfd_xfer_partial): Change type of readbuf and writebuf to `gdb_byte *'. * target.c (deprecated_debug_xfer_memory): Remove prototype. (deprecated_debug_xfer_memory): Change type of second argument to `gdb_byte *'. * remote.c (remote_xfer_memory): Remove prototype. (remote_xfer_memory): Change type of second argument to `gdb_byte *'. (remote_xfer_partial): Change type of readbuf and writebuf to `gdb_byte *'.
2005-05-16* config/sparc/fbsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.Mark Kettenis3-3/+10
* config/sparc/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o and solib-legacy.o. (NAT_FILE): Remove.
2005-05-16 * s390-tdep.c (s390_return_value): Remove unnecessary casts.Ulrich Weigand2-6/+10
(s390_breakpoint_from_pc): Change type of return value and 'breakpoint' to const gdb_byte *.
2005-05-16 * s390-tdep.c (s390_pseudo_register_read, s390_pseudo_register_write):Ulrich Weigand2-9/+21
Change type of 'buf' argument to gdb_byte *. (s390x_pseudo_register_read, s390x_pseudo_register_write): Likewise. (s390_register_to_value): Change type of 'out' to gdb_byte *, change type of 'in' to gdb_byte []. (s390_value_to_register): Change type of 'in' to gdb_byte *, change type of 'out' to gdb_byte []. (s390_return_value): Change type of 'out' and 'in' to gdb_byte *.
2005-05-16 * linux-low.c (fetch_register): Ensure buffer size is a multipleUlrich Weigand2-6/+17
of sizeof (PTRACE_XFER_TYPE). (usr_store_inferior_registers): Likewise. Zero out excess bytes.
2005-05-162005-05-16 Andrew Cagney <cagney@gnu.org>Andrew Cagney8-36/+52
* target.h (target_read_partial, target_write_partial) (do_xfer_memory, xfer_memory, target_read, target_write) (get_target_memory): For buffers, change "void*" to gdb_byte. (struct target_ops): Ditto for to_xfer_partial and deprecated_xfer_memory. * dcache.h (dcache_xfer_memory): Ditto. * target.c (default_xfer_partial, target_read_partial) (target_write_partial, target_read, target_write) (do_xfer_memory, update_current_target, get_target_memory): Update. (target_read_string): Change buf to a gdb_byte. * dcache.c (dcache_xfer_memory): Update. * exec.c (xfer_memory): Make buffer type to gdb_byte. * mem-break.c (default_memory_insert_breakpoint): Remove cast. * disasm.c (dis_asm_read_memory): Remove cast, use gdb_byte.
2005-05-16*** empty log message ***gdbadmin1-1/+1
2005-05-15* sol-thread.c (ignore): Change last argument to `gdb_byte.'Mark Kettenis2-1/+3
2005-05-15* config/i386/fbsd.mt (DEPRECATED_TM_FILE): Remove.Mark Kettenis7-6/+7
* config/i386/fbsd64.mt (DEPRECATED_TM_FILE): Remove. * config/i386/nbsd.mt (DEPRECATED_TM_FILE): Remove. * config/i386/nbsd64.mt (DEPRECATED_TM_FILE): Remove. * config/sparc/nbsd.mt (DEPRECATED_TM_FILE): Remove. * config/sparc/nbsd64.mt (DEPRECATED_TM_FILE): Remove.
2005-05-15* observer.sh: Quote $DJGPP.Mark Kettenis2-1/+5
2005-05-15./Daniel Jacobowitz2-1/+5
* ylwrap: Import from Automake 1.9.5. binutils/ * acinclude.m4: Remove obsolete code. * configure.in: Update AC_PREREQ. * doc/Makefile.am (binutils_TEXINFOS): Define. (config.texi): Depend on distributed files instead of built files. (binutils.dvi, binutils.info): Remove unnecessary rules. (DISTCLEANFILES): Remove. (install-data-local): Renamed from install. (info-local): Renamed from info. * Makefile.in, aclocal.m4, config.in, configure, doc/Makefile.in: Regenerated. gas/ * Makefile.am (m68k-parse.c, itbl-parse.c): Update ylwrap invocation. * Makefile.in: Regenerated. ld/ * Makefile.am (AM_MAKEINFOFLAGS): Define. (TEXI2DVI): Define. (ldver.texi): Depend on distributed files instead of built files. (ld.info): Include $(srcdir) in the rule target. Remove actions. (ld.dvi): Remove actions. (MAINTAINERCLEANFILES): Add configdoc.texi. (CONFIG_STATUS_DEPENDENCIES): Add bfd/configure.in. (install-data-local): Renamed from install. (Makefile): Remove explicit dependency. * acinclude.m4: Remove obsolete code. * configure.in: Update AC_PREREQ. Remove extra $CONFIG_SHELL. * Makefile.in, aclocal.m4, config.in, configure: Regenerated. gdb/ * Makefile.in (.y.c): Update ylwrap invocation.
2005-05-15 * linux-nat.c (child_follow_fork, linux_handle_extended_wait)Daniel Jacobowitz2-18/+24
(lin_lwp_attach_lwp, linux_nat_attach, wait_lwp, child_wait) (linux_nat_wait, kill_wait_callback): Use my_waitpid. (_initialize_linux_nat, lin_thread_get_thread_signals): Use SA_RESTART.
2005-05-15*** empty log message ***gdbadmin1-1/+1
2005-05-14* configure.tgt (vax-*-openbsd*): Set gdb_target to obsd.Mark Kettenis3-1/+6
* config/vax/obsd.mt (TDEPFILES): New file.
2005-05-14* i386-tdep.c (i386_supply_gregset, i386_collect_gregset): UseMark Kettenis2-2/+5
gdb_byte instead of bfd_byte.
2005-05-14* mips-tdep.c (mips_pseudo_register_read)Mark Kettenis2-48/+76
(mips_pseudo_register_write): Change type of last argument to `gdb_byte *'. (mips_register_to_value, mips_value_to_register): Change type of last argument to `gdb_byte *'. Remove casts that are no longer needed. (mips_fetch_instruction, fetch_mips_16): Use gdb_byte for buf. (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call) (mips_o32_push_dummy_call, mips_o32_return_value): Use `const gdb_byte *' for val and gdb_byte for valbuf. Remove casts that are no longer needed. (mips_eabi_return_value, mips_n32n64_return_value) (mips_o32_return_value, mips_o64_return_value): Change type of readbuf and writebuf arguments to `gdb_byte *'. (mips_read_fp_register_single): Change type of last argument to `gdb_byte *'. Use `gdb_byte *' for raw_buffer. (mips_read_fp_register_double): Change type of last argument to `gdb_byte *'. (mips_print_fp_register): Use `gdb_byte *' for raw_buffer. Remove casts that are no longer needed. (mips_print_register, print_gp_register_row): Use gdb_byte for raw_buffer. Remove casts that are no longer needed. (mips_single_step_through_delay): Use gdb_byte for buf. (mips_breakpoint_from_pc): Change return type to `const gdb_byte *'. Use gdb_byte for mips16_big_breakpoint, big_breakpoint, pmon_big_breakpoint, idt_big_breakpoint, mips16_little_breakpoint, little_breakpoint, pmon_little_breakpoint and idt_little_breakpoint. (mips_integer_to_address): Use `gdb_byte *' for tmp.
2005-05-14* config/m68k/obsd.mt (DEPRECATED_TM_FILE): Remove.Mark Kettenis7-6/+7
* config/i386/obsd.mt (DEPRECATED_TM_FILE): Remove. * config/i386/obsd64.mt (DEPRECATED_TM_FILE): Remove. * config/pa/obsd.mt (DEPRECATED_TM_FILE): Remove. * config/sparc/obsd.mt (DEPRECATED_TM_FILE): Remove. * config/sparc/obsd64.mt (DEPRECATED_TM_FILE): Remove.
2005-05-14* sparc-tdep.c (sparc_fetch_instruction, sparc_fetch_wcookie): UseMark Kettenis3-53/+88
gdb_byte for buf. (sparc32_pseudo_register_read, sparc32_pseudo_register_write): Change type of last argument to `gdb_byte *'. Remove casts that are no longer needed. (sparc32_push_dummy_code, sparc32_store_arguments): Use gdb_byte for buf. (sparc_breakpoint_from_pc): Change return type to `const gdb_byte *'. Use gdb_byte for break_insn. (sparc32_extract_return_value, sparc32_store_return_value): Change type of last argument to `gdb_byte *'. Use gdb_byte for buf. (sparc32_return_value): Change type of readbuf and writebuf arguments to `gdb_byte *'. (sparc_software_single_step): Use gdb_byte for npc_save and nnpc_save. (sparc_supply_rwindow, sparc_collect_rwindow): Use gdb_byte for buf. (sparc32_supply_gregset, sparc32_collect_gregset) (sparc32_supply_fpregset, sparc32_collect_fpregset): Use `gdb_byte *' for regs. * sparc64-tdep.c (sparc64_pseudo_register_read) (sparc64_pseudo_register_write): Change type of last argument to `gdb_byte *'. Remove casts that are no longer needed. (sparc64_store_floating_fields, sparc64_extract_floating_fields): Change type of valbuf argument to `gfd_byte *'. (sparc64_store_arguments): Use `gdb_byte *' for valbuf. use gdb_byte for buf. (sparc64_extract_return_value, sparc64_store_return_value): Change type of last argument to `gdb_byte *'. Use gdb_byte for buf. (sparc64_return_value): Change type of readbuf and writebuf arguments to `gdb_byte *'. (sparc64_supply_gregset, sparc64_collect_gregset) (sparc64_supply_fpregset, sparc64_collect_fpregset): Use `gdb_byte *' for regs.
2005-05-14* m68k-tdep.c (m68k_local_breakpoint_from_pc): Change return typeMark Kettenis3-29/+49
to `const gdb_byte *'. Use gdb_byte for break_insn. (m68k_register_to_value): Change type of last argument to `gdb_byte *'. Use gdb_byte for from. (m68k_value_to_register): Change type of last argument to `gdb_byte *'. Use gdb_byte for to. (m68k_extract_return_value): Change type of last argument to `gdb_byte *'. Use gdb_byte for buf. Remove unnecessary cast. (m68k_svr4_extract_return_value): Change type of last argument to `gdb_byte *'. Use gdb_byte for buf. (m68k_store_return_value): Change type of last argument to `gdb_byte *'. Remove unnecessary cast. (m68k_svr4_store_return_value): Change type of last argument to `gdb_byte *'. Use gdb_byte for buf. (m68k_return_value, m68k_svr4_return_value): Change type of readbuf and writebuf arguments to `gdb_byte *'. (m68k_push_dummy_call, m68k_unwind_pc, m68k_frame_cache) (m68k_unwind_dummy_id): Use gdb_byte for buf. (m68k_get_longjmp_target): Use `gdb_byte *' for buf. * m68kbsd-tdep.c (m68kbsd_supply_fpregset) (m68kbsd_supply_gregset): Use `gdb_byte *' for regs.
2005-05-14* m88k-tdep.c (m88k_breakpoint_from_pc): Change return type toMark Kettenis2-6/+12
`const gdb_byte *'. Use gdb_byte for break_insn. (m88k_return_value): Change type of readbuf and writebuf arguments to `gdb_byte *'. Use gdb_byte for buf. (m88k_supply_gregset): Use `gdb_byte *' for regs.