aboutsummaryrefslogtreecommitdiff
path: root/gdb/d10v-tdep.c
AgeCommit message (Collapse)AuthorFilesLines
2002-01-072002-01-07 Jackie Smith Cashion <jsmith@redhat.com>Jackie Smith Cashion1-1/+1
From Nick Clifton <nickc@redhat.com> * d10v-tdep.c: Set STACK_START to 0x200bffe.
2002-01-05s/BIG_ENDIAN/BFD_ENDIAN_BIG/Andrew Cagney1-2/+2
2001-12-15LITTLE_ENDIAN -> BFD_ENDIAN_LITTLEAndrew Cagney1-1/+1
2001-12-12Approved by Jim Blandy:Fred Fish1-2/+2
2001-12-11 Fred Fish <fnf@redhat.com> * c-typeprint.c (c_type_print_base): Use type flags access macros to test bits. * ch-typeprint.c (chill_type_print_base): Ditto. * ch-valprint.c (chill_val_print): Ditto. * d10v-tdep.c (d10v_pointer_to_address): Ditto. * dwarf2read.c (dwarf2_add_member_fn): Ditto. * dwarfread.c (read_structure_scope): Ditto. * gdbtypes.c (create_range_type): Dittol (create_set_type): Ditto. (check_typedef): Ditto. * jv-typeprint.c (java_type_print_base): Ditto. * p-typeprint.c (pascal_type_print_base): Ditto * p-valprint.c (pascal_val_print): Ditto. * stabsread.c (read_cfront_member_functions): Ditto. (read_member_functions): Ditto. (cleanup_undefined_types): Ditto. * valprint.c (val_print): Ditto. * valops.c (hand_function_call): Remove is_prototyped variable and just use type flag test macro directly.
2001-12-112001-12-11 Michael Snyder <msnyder@redhat.com>Michael Snyder1-10/+1
* d10v-tdep.c (d10v_register_virtual_size): Delete. (d10v_gdbarch_init): Use generic_register_virtual_size. * rs6000-tdep.c (rs6000_register_virtual_size): Delete. (rs6000_gdbarch_init): Use generic_register_virtual_size. * x86-64-tdep.c (x86_64_register_virtual_size): Delete. (i386_gdbarch_init): Use generic_register_virtual_size.
2001-12-052001-12-04 Jackie Smith Cashion <jsmith@redhat.com>Jackie Smith Cashion1-3/+29
* MAINTAINERS (write-after-approval): Add self. * d10v-tdep.c (d10v_gdbarch_init): Change size of long long to 8 bytes. From Andrew Cagney <cagney@redhat.com>: * d10v-tdep.c (d10v_frame_chain_valid): Check if the caller's PC is in the entry function. (d10v_use_struct_convention): Store multi-field struct and union return values on the stack.
2001-11-152001-11-14 Michael Snyder <msnyder@redhat.com>Michael Snyder1-1/+2
* d10v-tdep.c (d10v_pointer_to_address): Use new type flag TYPE_FLAG_CODE_SPACE to recognize a pointer that has been cast into the instruction address space. * Makefile.in (doublest.o): Add dependency on gdbtypes.h.
2001-10-15Add INTEGER_TO_ADDRESS to hadle nasty harvard architectures that doAndrew Cagney1-0/+16
funnies to integer to address conversions.
2001-09-052001-09-05 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-1/+1
* gdbarch.sh: Move include of dis-asm.h so it is generated earlier in gdbarch.h. (TARGET_PRINT_INSN): Multiarch. * gdbarch.h: Regenerate. * gdbarch.c: Regenerate. * arch-utils.c (legacy_print_insn): New function. * arch-utils.h (legacy_print_insn): Export. * cris-tdep.c (cris_delayed_get_disassembler): Use TARGET_PRINT_INSN, instead of tm_print_insn. * d10v-tdep.c (print_insn): Ditto. * d30v-tdep.c (print_insn): Ditto. * m32r-tdep.c (dump_insn): Ditto. * v850-tdep.c (v850_scan_prologue): Ditto. * mcore-tdep.c (mcore_dump_insn): Ditto. * sh-tdep.c (sh_gdbarch_init): Set print_insn gdbarch field.
2001-07-15s/value_ptr/struct value */Andrew Cagney1-2/+2
2001-07-10Clean up the D10V port so that GDB and the target program noJim Blandy1-99/+49
longer disagree on how big pointers are. * findvar.c (value_from_register): Remove special case code for D10V. * printcmd.c (print_frame_args): Same. * valops.c (value_at, value_fetch_lazy): Same. * values.c (unpack_long): Same. * gdbarch.sh: Changes to effect the following: * gdbarch.h (GDB_TARGET_IS_D10V, D10V_MAKE_DADDR, gdbarch_d10v_make_daddr_ftype, gdbarch_d10v_make_daddr, set_gdbarch_d10v_make_daddr, D10V_MAKE_IADDR, gdbarch_d10v_make_iaddr_ftype, gdbarch_d10v_make_iaddr, set_gdbarch_d10v_make_iaddr, D10V_DADDR_P, gdbarch_d10v_daddr_p_ftype, gdbarch_d10v_daddr_p, set_gdbarch_d10v_daddr_p, D10V_IADDR_P, gdbarch_d10v_iaddr_p_ftype, gdbarch_d10v_iaddr_p, set_gdbarch_d10v_iaddr_p, D10V_CONVERT_DADDR_TO_RAW, gdbarch_d10v_convert_daddr_to_raw_ftype, gdbarch_d10v_convert_daddr_to_raw, set_gdbarch_d10v_convert_daddr_to_raw, D10V_CONVERT_IADDR_TO_RAW, gdbarch_d10v_convert_iaddr_to_raw_ftype, gdbarch_d10v_convert_iaddr_to_raw, set_gdbarch_d10v_convert_iaddr_to_raw): Delete declarations. * gdbarch.c: Delete the corresponding definitions. (struct gdbarch): Delete members d10v_make_daddr, d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p, d10v_convert_daddr_to_raw, and d10v_convert_iaddr_to_raw. (startup_gdbarch): Remove initializers for the above. (verify_gdbarch, gdbarch_dump): Don't verify or dump them any more. * d10v-tdep.c (d10v_register_virtual_type): Rather that claiming the stack pointer and PC are 32 bits long (which they aren't), say that the stack pointer is an int16_t, and the program counter is a function pointer. This allows the rest of GDB to make the appropriate conversions between the code pointer format and real addresses. (d10v_register_convertible, d10v_register_convert_to_virtual, d10v_register_convert_to_raw): Delete function; no registers are convertible now, so we use generic_register_convertible_not instead. (d10v_address_to_pointer, d10v_pointer_to_address): New gdbarch methods. (d10v_push_arguments, d10v_extract_return_value): Remove special cases for code and data pointers. (d10v_gdbarch_init): Set gdbarch_ptr_bit to 16, so that GDB and the target agree on how large pointers are. Say that addresses are 32 bits long. Register the address_to_pointer and pointer_to_address conversion functions. Since no registers are convertible now, register generic_register_convertible_not as the gdbarch_register_convertible method instead of d10v_register_convertible. Remove registrations for d10v_register_convert_to_virtual, d10v_register_convert_to_raw, gdbarch_d10v_make_daddr, gdbarch_d10v_make_iaddr, gdbarch_d10v_daddr_p, gdbarch_d10v_iaddr_p, gdbarch_d10v_convert_daddr_to_raw, and gdbarch_d10v_convert_iaddr_to_raw.
2001-07-05* d10v-tdep.c (d10v_frame_chain, d10v_frame_init_saved_regs,Jim Blandy1-17/+17
show_regs, d10v_read_pc, d10v_write_pc, d10v_read_sp, d10v_write_sp, d10v_write_fp, d10v_read_fp, d10v_push_return_address): Call the functions d10v_make_daddr, d10v_make_iaddr, d10v_convert_iaddr_to_raw, and d10v_convert_daddr_to_raw, not the global macros D10V_MAKE_DADDR, D10V_MAKE_IADDR, D10V_CONVERT_IADDR_TO_RAW, and D10V_CONVERT_DADDR_TO_RAW.
2001-06-28* d10v-tdep.c (d10v_ts2_dmap_register): Doc fix.Jim Blandy1-1/+14
2001-06-28* d10v-tdep.c (10v_frame_chain_valid, d10v_use_struct_convention,Jim Blandy1-36/+36
d10v_breakpoint_from_pc, d10v_register_byte, d10v_register_raw_size, d10v_register_virtual_size, d10v_register_virtual_type, d10v_register_convertible, d10v_register_convert_to_virtual, d10v_register_convert_to_raw, d10v_make_daddr, d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p, d10v_convert_iaddr_to_raw, d10v_convert_daddr_to_raw, d10v_store_struct_return, d10v_store_return_value, d10v_extract_struct_value_address, d10v_frame_saved_pc, d10v_saved_pc_after_call, d10v_pop_frame, d10v_skip_prologue, d10v_frame_chain, d10v_frame_init_saved_regs, d10v_init_extra_frame_info, d10v_read_pc, d10v_write_pc, d10v_read_sp, d10v_write_sp, d10v_write_fp, d10v_read_fp, d10v_push_return_address, d10v_push_arguments, d10v_extract_return_value): Make these functions static.
2001-05-04Phase 1 of the ptid_t changes.Kevin Buettner1-10/+10
2001-03-06Update/correct copyright notices.Kevin Buettner1-1/+2
2001-03-01Create new file regcache.h. Update all uses.Andrew Cagney1-0/+1
2001-02-08Add __FILE__ and __LINE__ parameter to internal_error() /Andrew Cagney1-3/+5
internal_verror().
2001-01-022000-12-20 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder1-14/+2
* arch-utils.c (default_frame_address): New function. Default implementation of frame_args_address and frame_locals_address. * arch-utils.h (default_frame_address): Export. * d10v-tdep.c (d10v_gdbarch_init): Use default_frame_address. (d10v_frame_args_address, d10v_frame_locals_address): Delete. * sh-tdep.c (sh_gdbarch_init): Use default_frame_address. (sh_frame_args_address, sh_frame_locals_address): Delete. * sparc-tdep.c (sparc_gdbarch_init): Use default_frame_address. (sparc_frame_address): Delete.
2000-12-15Replace free() with xfree().Kevin Buettner1-3/+3
2000-09-01Spelling correction in comment: dependant->dependentDavid Anderson1-1/+1
2000-08-13Protoization.Kevin Buettner1-7/+3
2000-08-04Multi-arch EXTRA_STACK_ALIGNMENT_NEEDED (nee NO_EXTRA_ALIGNMENT_NEEDED).Andrew Cagney1-0/+1
2000-08-02Multi-arch REGISTER_SIM_REGNO. Update d10v.Andrew Cagney1-9/+5
2000-07-30Protoization.Kevin Buettner1-124/+54
2000-06-04Eliminate PARAMS from function pointer declarations.Kevin Buettner1-2/+2
2000-06-02Multiarch TARGET_FLOAT_FORMAT, TARGET_DOUBLE_FORMAT,Andrew Cagney1-0/+18
TARGET_LONG_DOUBLE_FORMAT. Update d10v.
2000-05-28PARAMS removal.Kevin Buettner1-13/+15
2000-04-27Include "arch-utils.h".Andrew Cagney1-0/+1
2000-04-21* d10v-tdep.c (d10v_gdbarch_init): Initialize stack_align.Andrew Cagney1-1/+2
(d10v_stack_align): Make static. * config/d10v/tm-d10v.h (STACK_ALIGN): Delete.
2000-02-09Stop GDB mis-aligning the stack when doing inferior function calls.Andrew Cagney1-0/+5
2000-02-02import gdb-2000-02-01 snapshotJason Molenda1-2/+2
1999-11-17import gdb-1999-11-16 snapshotJason Molenda1-185/+242
1999-11-09import gdb-1999-11-08 snapshotJason Molenda1-1/+1
1999-09-22import gdb-1999-09-21Jason Molenda1-0/+159
1999-09-13import gdb-1999-09-13 snapshotJason Molenda1-7/+7
1999-09-09import gdb-1999-09-08 snapshotStan Shebs1-32/+34
1999-08-31import gdb-1999-08-30 snapshotJason Molenda1-0/+1
1999-07-07import gdb-1999-07-07 post reformatJason Molenda1-135/+141
1999-06-14import gdb-1999-06-14 snapshotJason Molenda1-1/+111
1999-06-07import gdb-1999-06-07 snapshotJason Molenda1-61/+100
1999-06-01import gdb-1999-06-01 snapshotJason Molenda1-15/+35
1999-05-25import gdb-1999-05-25 snapshotJason Molenda1-4/+231
1999-04-26import gdb-19990422 snapshotStan Shebs1-6/+53
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+1028
1999-04-16Initial creation of sourceware repositoryStan Shebs1-1028/+0
1998-11-30CARP:Andrew Cagney1-0/+9
Cleanup FRAME_CHAIN_VALID. Replace all macro's with functions.
1998-11-23CARP: Convert macro definitions of USE_STRUCT_CONVENTION into targetAndrew Cagney1-0/+16
specific functions.
1998-04-01* d10v-tdep.c (d10v_extract_return_value): Wierd. GCC wants to returnAndrew Cagney1-1/+10
odd sized register quantities with only half of the first register used! * config/d10v/tm-d10v.h (USE_STRUCT_CONVENTION): Use stack when size > 8.
1998-02-12* d10v-tdep.c (show_regs): Avoid use of %llx when printing 8 byteAndrew Cagney1-4/+14
accumulators.