aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-tdep.c
AgeCommit message (Collapse)AuthorFilesLines
2002-03-102002-03-10 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-44/+167
Don Howard <dhoward@redhat.com> * mips-tdep.c (ST0_FR): Define. (mips2_fp_compat): New function, temporarily disabled. (mips_read_fp_register_single): New function. (mips_read_fp_register_double): New function. (mips_print_register): Use them. (do_fp_register_row): Likewise.
2002-02-202002-02-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-1/+1
* mips-linux-nat.c: Call the operating system GNU/Linux. * mips-linux-tdep.c: Likewise. * mips-tdep.c: Likewise.
2002-02-05* cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.Andrew Cagney1-3/+3
(do_sfunc, set_cmd_sfunc): New functions. * command.h (struct cmd_list_element): Add field func. * cli/cli-decode.h (struct cmd_list_element): Ditto. * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare. * cli/cli-decode.h: Ditto. * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc. (help_all, help_cmd_list): Ditto. (find_cmd, complete_on_cmdlist): Ditto. * top.c (execute_command): Ditto. * cli/cli-setshow.c (do_setshow_command): Call func instead of function.sfunc. * infcmd.c (notice_args_read): Fix function signature. * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc. * cli/cli-decode.c (add_set_cmd): Ditto. * utils.c (initialize_utils): Ditto. * maint.c (_initialize_maint_cmds): Ditto. * infrun.c (_initialize_infrun): Ditto. * demangle.c (_initialize_demangler): Ditto. * remote.c (add_packet_config_cmd): Ditto. * mips-tdep.c (_initialize_mips_tdep): Ditto. * cris-tdep.c (_initialize_cris_tdep): Ditto. * proc-api.c (_initialize_proc_api): Ditto. * kod.c (_initialize_kod): Ditto. * valprint.c (_initialize_valprint): Ditto. * top.c (init_main): Ditto. * infcmd.c (_initialize_infcmd): Ditto. * corefile.c (_initialize_core): Ditto. * arm-tdep.c (_initialize_arm_tdep): Ditto. * arch-utils.c (initialize_current_architecture): Ditto. (_initialize_gdbarch_utils): Ditto. * alpha-tdep.c (_initialize_alpha_tdep): Ditto. * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc. * wince.c (_initialize_inftarg): Ditto. * symfile.c (_initialize_symfile): Ditto. * mips-tdep.c (_initialize_mips_tdep): Ditto. * language.c (_initialize_language): Ditto. * arc-tdep.c (_initialize_arc_tdep): Ditto.
2002-01-20Eliminate IEEE_FLOAT.Andrew Cagney1-1/+0
2002-01-05s/BIG_ENDIAN/BFD_ENDIAN_BIG/Andrew Cagney1-21/+21
2001-12-10* arch-utils.c (generic_register_raw_size): New function.Andrew Cagney1-3/+8
* gdbarch.sh (REGISTER_RAW_SIZE): Use generic_register_raw_size as the static default. * gdbarch.c: Regenerate. * arch-utils.h (generic_register_raw_size): Declare. * config/mips/tm-mips.h (REGISTER_RAW_SIZE): Delete macro. * mips-tdep.c (mips_register_raw_size): Make function static. (mips_gdbarch_init): Initialize register_raw_size.
2001-11-19 * mips-tdep.c (find_proc_desc): Add cur_frame argument. PassDaniel Jacobowitz1-10/+20
cur_frame to heuristic_proc_desc. (heuristic_proc_desc): Add cur_frame argument. Do not read SP if cur_frame == 0. (after_prologue): Pass cur_frame == 0 to find_proc_desc. (mips_frame_chain): Pass cur_frame == 1 to find_proc_desc. (mips_init_extra_frame_info): Likewise.
2001-10-15Add INTEGER_TO_ADDRESS to hadle nasty harvard architectures that doAndrew Cagney1-0/+17
funnies to integer to address conversions.
2001-07-24Doco LE O32 sizeof(struct) < 4 problem.Andrew Cagney1-1/+14
2001-07-15s/value_ptr/struct value */Andrew Cagney1-2/+2
2001-07-12 * mips-tdep.c (mips_type_needs_double_align): New function.Daniel Jacobowitz1-0/+37
(mips_push_arguments): Align o32 structs to even argument registers if necessary.
2001-07-06Branch prediction code cleanupDaniel Jacobowitz1-40/+53
2001-07-05 * mips-tdep.c (mips_software_single_step): New function.Daniel Jacobowitz1-0/+27
* config/mips/tm-mips.h: Add prototype for mips_software_single_step.
2001-06-16* arch-utils.c (init_frame_pc_default): New functionAndrew Cagney1-0/+1
* arch-utils.h (init_frame_pc_default): Declare. * gdbarch.sh (INIT_FRAME_PC): Default to init_frame_pc_default and not init_frame_pc_noop. * gdbarch.h, gdbarch.c: Re-generate. * blockframe.c (INIT_FRAME_PC): Delete macro definition. * mips-tdep.c (mips_gdbarch_init): Set init_frame_pc to init_frame_pc_noop.
2001-06-15Multi-arch INIT_FRAME_PC() and INIT_FRAME_PC_FIRST().Andrew Cagney1-7/+5
2001-06-15multi-arch ADDR_BITS_REMOVE.Andrew Cagney1-1/+5
2001-06-07 * config/mips/tm-irix6.h: New file.Eli Zaretskii1-0/+22
* config/mips/irix6.mh: New file. * config/mips/irix6.mt: New file. * config/mips/xm-irix6.h: New file. * config/mips/nm-irix6.h: New file. * mips-tdep.c (mips_gdbarch_init) <MIPS_ABI_N32>: Set up the disassembler info in tm_print_insn_info as appropriate for the N32 ABI. Force N32 ABI to be the default if the CPU is R8000 or R10000. * configure.tgt (mips*-sgi-irix6*): Map to irix6. * configure.host (mips*-sgi-irix6*): Ditto.
2001-06-04 * mips-tdep.c (show_mipsfpu_command): Remove unused variable msg.Eli Zaretskii1-12/+15
(mips_set_processor_type_command): Remove unused variable j. (mips_breakpoint_from_pc): Declare breakpoint instruction sequences as unsigned char, to avoid compiler warnings.
2001-05-12* mips-tdep.c (mips_store_return_value,Jim Blandy1-2/+2
mips_extract_return_value): Pass arguments to return_value_location in the proper order.
2001-05-04Phase 1 of the ptid_t changes.Kevin Buettner1-2/+2
2001-03-28Gag -Wuninitialized warnings.Andrew Cagney1-1/+4
Add -Wuninitialized to default warning list.
2001-03-26* mips-tdep.c (mips_gdbarch_init): Tweak indentation.Jim Blandy1-1/+1
2001-03-20Change SOFTWARE_SINGLE_STEP_P into SOFTWARE_SINGLE_STEP_P().Andrew Cagney1-5/+2
2001-03-06Update/correct copyright notices.Kevin Buettner1-2/+2
2001-03-01Create new file regcache.h. Update all uses.Andrew Cagney1-0/+1
2001-02-21Fix printf fmt arguments.Andrew Cagney1-10/+32
2001-02-20When the target h/w has 8byte registers, return 8 bytes for the raw buffer sizeAndrew Cagney1-0/+5
(from jim kingdon).
2001-02-08Add __FILE__ and __LINE__ parameter to internal_error() /Andrew Cagney1-3/+6
internal_verror().
2001-01-31Replace strsave() with xstrdup().Andrew Cagney1-5/+5
2001-01-042001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder1-1/+1
* mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
2000-12-15Replace free() with xfree().Kevin Buettner1-1/+1
2000-12-04Multiarch STAB_REG_TO_REGNUM, ECOFF_REG_TO_REGNUM,Andrew Cagney1-0/+27
DWARF_REG_TO_REGNUM, SDB_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM.
2000-12-02* mips-tdep.c (struct upk_mips16): Delete fields ``inst'' andAndrew Cagney1-174/+163
``fmt''. Make ``offset'' a CORE_ADDR. (print_unpack): Delete. (extended_offset): Construct and return a CORE_ADDR. (fetch_mips_16): Return an int. Don't assume short is 16 bits. (unpack_mips16): Rewrite. Add ``extension'' parameter instead of incorrectly guessing if the instruction had an extension. (map16): Delete array. (mips16_op): Delete macro. (extended_mips16_next_pc): Rewrite of old mips16_next_pc function. When an extended instruction do a recursive call. (mips16_next_pc): Call extended_mips16_next_pc. (mips_next_pc): Cleanup.
2000-10-30* gdbarch.sh, hp-psymtab-read.c, hpread.c, m3-nat.c, mcore-tdep.c,J.T. Conklin1-3/+3
mips-tdep.c, monitor.c, regcache.c, remote-es.c, ser-unix.c, somread.c, tracepoint.c: Fix spelling errors in comments. * gdbarch.c: Regenerate. * gnu-nat.c (S_exception_raise_request): Fix typos and spelling errors in strings. * m3-nat.c (intercept_exec_calls, mach_thread_parse_id): Likewise. * mcore-tdep.c (mcore_analyze_prologue): Likewise. * mips-tdep.c (mips16_next_pc, _initialize_mips_tdep): Likewise. * remote-e7000.c (e7000_start_remote): Likewise. * remote-rdp.c (handle_swi): Likewise. * remote-vx.c (vx_load_command): Likewise. * sh-tdep.c (sh_do_pseudo_register): Likewise. * sol-thread.c (td_err_string): Likewise. * symtab.c (decode_line_2): Likewise. -------------------------------------------------------------------
2000-10-27Corrected spelling errors in comments.David Anderson1-2/+2
gdbarch.{c,sh} removed a word from a comment.
2000-10-25 Approved by Andrew Cagney <ac131313@cygnus.com>Fred Fish1-1/+8
* mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Define using either the current arch or use zero.
2000-10-23Corrected spelling errors in commentsDavid Anderson1-1/+1
2000-08-19Check arches->gdbarch and not current_gdbarch when looking for a match.Andrew Cagney1-2/+2
2000-07-30Protoization.Kevin Buettner1-9/+4
2000-07-11* mips-tdep.c: General cleanup. Delete all #if 0 code. ConvertAndrew Cagney1-361/+180
all old style K&R function definitions to ISO-C. (struct gdbarch_tdep): Add mips_abi_string. (mips_gdbarch_init): Initialize. (mips_dump_tdep): Print mips_abi_string and other values. (mips_push_arguments): Add more detailed tracing.
2000-07-11Force MIPS to sign-extend any addresses read from registers.Andrew Cagney1-22/+30
2000-07-11Move the ``set mask-address'' command to remote-mips.c. DisableAndrew Cagney1-15/+71
address masking in mips-tdep.c.
2000-07-10* mips-tdep.c (mips_push_arguments): Always align struct_addr on aAndrew Cagney1-3/+8
16 byte boundary. Align allocated argument space using MIPS_STACK_ARGSIZE. Reserve space on stack for the struct return and floating-point registers. Use fp_register_arg_p to determine if float_argreg should be aligned.
2000-07-07More mult-arch conversions: IEEE_FLOAT, SKIP_PROLOGUE,Andrew Cagney1-29/+26
SAVED_PC_AFTER_CALL, DECR_PC_AFTER_BREAK, BREAKPOINT_FROM_PC, INNER_THAN.
2000-07-062000-07-06 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-3/+5
* mips-tdep.c: Replace '16' with bfd_mach_mips16 where appropriate.
2000-06-23For EABI, start allocting space on the stack when the registers areAndrew Cagney1-11/+16
full. Not when the number of args == 8.
2000-06-23When FP registers are full, store FP arguments on stack and not inAndrew Cagney1-12/+29
integer registers.
2000-06-17Add ``set debug mips'' command. Add much debugging.Andrew Cagney1-11/+91
2000-06-17For MIPS_EABI, squeeze simple floating point structs into an FP register.Andrew Cagney1-1/+8
2000-06-17EABI64 was selecting EABI32Andrew Cagney1-1/+1